Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy: nuvoton,ma35-usb2-phy: add new bindings

Add dt-bindings for USB2 PHY found on the Nuvoton MA35 SoC.

Signed-off-by: Hui-Ping Chen <hpchen0nvt@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240805030356.14565-2-hpchen0nvt@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Hui-Ping Chen and committed by
Vinod Koul
c174f1c6 00c5f322

+45
+45
Documentation/devicetree/bindings/phy/nuvoton,ma35d1-usb2-phy.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/phy/nuvoton,ma35d1-usb2-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Nuvoton MA35D1 USB2 phy 8 + 9 + maintainers: 10 + - Hui-Ping Chen <hpchen0nvt@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - nuvoton,ma35d1-usb2-phy 16 + 17 + "#phy-cells": 18 + const: 0 19 + 20 + clocks: 21 + maxItems: 1 22 + 23 + nuvoton,sys: 24 + $ref: /schemas/types.yaml#/definitions/phandle 25 + description: 26 + phandle to syscon for checking the PHY clock status. 27 + 28 + required: 29 + - compatible 30 + - "#phy-cells" 31 + - clocks 32 + - nuvoton,sys 33 + 34 + additionalProperties: false 35 + 36 + examples: 37 + - | 38 + #include <dt-bindings/clock/nuvoton,ma35d1-clk.h> 39 + 40 + usb_phy: usb-phy { 41 + compatible = "nuvoton,ma35d1-usb2-phy"; 42 + clocks = <&clk USBD_GATE>; 43 + nuvoton,sys = <&sys>; 44 + #phy-cells = <0>; 45 + };