Commit 40f1d821 authored by Rob Herring (Arm)'s avatar Rob Herring (Arm) Committed by Vinod Koul
Browse files

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: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250607212524.741770-1-robh@kernel.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 1fac100a
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/hisilicon,hi6220-usb-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Hisilicon hi6220 USB PHY

maintainers:
  - Zhangfei Gao <zhangfei.gao@linaro.org>

properties:
  compatible:
    const: hisilicon,hi6220-usb-phy

  '#phy-cells':
    const: 0

  phy-supply:
    description: PHY power supply.

  hisilicon,peripheral-syscon:
    description: Phandle to the system controller for PHY control.
    $ref: /schemas/types.yaml#/definitions/phandle

additionalProperties: false

examples:
  - |
    usbphy {
        compatible = "hisilicon,hi6220-usb-phy";
        #phy-cells = <0>;
        phy-supply = <&fixed_5v_hub>;
        hisilicon,peripheral-syscon = <&sys_ctrl>;
    };
+0 −16
Original line number Diff line number Diff line
Hisilicon hi6220 usb PHY
-----------------------

Required properties:
- compatible: should be "hisilicon,hi6220-usb-phy"
- #phy-cells: must be 0
- hisilicon,peripheral-syscon: phandle of syscon used to control phy.
Refer to phy/phy-bindings.txt for the generic PHY binding properties

Example:
	usb_phy: usbphy {
		compatible = "hisilicon,hi6220-usb-phy";
		#phy-cells = <0>;
		phy-supply = <&fixed_5v_hub>;
		hisilicon,peripheral-syscon = <&sys_ctrl>;
	};