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

dt-bindings: phy: Convert hisilicon,hi6220-usb-phy to DT schema

Convert the HiSilicon HI6220 USB PHY binding to DT schema format. It's a
straight forward conversion.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250607212524.741770-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rob Herring (Arm) and committed by
Vinod Koul
40f1d821 1fac100a

+35 -16
+35
Documentation/devicetree/bindings/phy/hisilicon,hi6220-usb-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/hisilicon,hi6220-usb-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Hisilicon hi6220 USB PHY 8 + 9 + maintainers: 10 + - Zhangfei Gao <zhangfei.gao@linaro.org> 11 + 12 + properties: 13 + compatible: 14 + const: hisilicon,hi6220-usb-phy 15 + 16 + '#phy-cells': 17 + const: 0 18 + 19 + phy-supply: 20 + description: PHY power supply. 21 + 22 + hisilicon,peripheral-syscon: 23 + description: Phandle to the system controller for PHY control. 24 + $ref: /schemas/types.yaml#/definitions/phandle 25 + 26 + additionalProperties: false 27 + 28 + examples: 29 + - | 30 + usbphy { 31 + compatible = "hisilicon,hi6220-usb-phy"; 32 + #phy-cells = <0>; 33 + phy-supply = <&fixed_5v_hub>; 34 + hisilicon,peripheral-syscon = <&sys_ctrl>; 35 + };
-16
Documentation/devicetree/bindings/phy/phy-hi6220-usb.txt
··· 1 - Hisilicon hi6220 usb PHY 2 - ----------------------- 3 - 4 - Required properties: 5 - - compatible: should be "hisilicon,hi6220-usb-phy" 6 - - #phy-cells: must be 0 7 - - hisilicon,peripheral-syscon: phandle of syscon used to control phy. 8 - Refer to phy/phy-bindings.txt for the generic PHY binding properties 9 - 10 - Example: 11 - usb_phy: usbphy { 12 - compatible = "hisilicon,hi6220-usb-phy"; 13 - #phy-cells = <0>; 14 - phy-supply = <&fixed_5v_hub>; 15 - hisilicon,peripheral-syscon = <&sys_ctrl>; 16 - };