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

dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY

This patch adds binding documentation for supporting the hi3660 usb
phy on boards like the HiKey960.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Binghui Wang <wangbinghui@hisilicon.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Yu Chen <chenyu56@huawei.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Yu Chen and committed by
Kishon Vijay Abraham I
e4d0cf63 ea4059fc

+26
+26
Documentation/devicetree/bindings/phy/phy-hi3660-usb3.txt
··· 1 + Hisilicon hi3660 USB PHY 2 + ----------------------- 3 + 4 + Required properties: 5 + - compatible: should be "hisilicon,hi3660-usb-phy" 6 + - #phy-cells: must be 0 7 + - hisilicon,pericrg-syscon: phandle of syscon used to control phy. 8 + - hisilicon,pctrl-syscon: phandle of syscon used to control phy. 9 + - hisilicon,eye-diagram-param: parameter set for phy 10 + Refer to phy/phy-bindings.txt for the generic PHY binding properties 11 + 12 + This is a subnode of usb3_otg_bc register node. 13 + 14 + Example: 15 + usb3_otg_bc: usb3_otg_bc@ff200000 { 16 + compatible = "syscon", "simple-mfd"; 17 + reg = <0x0 0xff200000 0x0 0x1000>; 18 + 19 + usb-phy { 20 + compatible = "hisilicon,hi3660-usb-phy"; 21 + #phy-cells = <0>; 22 + hisilicon,pericrg-syscon = <&crg_ctrl>; 23 + hisilicon,pctrl-syscon = <&pctrl>; 24 + hisilicon,eye-diagram-param = <0x22466e4>; 25 + }; 26 + };