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

Documentation: Document Hisilicon hix5hd2 sata PHY

Add necessary binding documentation SATA PHY on Hisilicon hix5hd2 soc.

Signed-off-by: Jiancheng Xue <xuejiancheng@huawei.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Jiancheng Xue and committed by
Kishon Vijay Abraham I
f1876acc f0e2cf7b

+22
+22
Documentation/devicetree/bindings/phy/hix5hd2-phy.txt
··· 1 + Hisilicon hix5hd2 SATA PHY 2 + ----------------------- 3 + 4 + Required properties: 5 + - compatible: should be "hisilicon,hix5hd2-sata-phy" 6 + - reg: offset and length of the PHY registers 7 + - #phy-cells: must be 0 8 + Refer to phy/phy-bindings.txt for the generic PHY binding properties 9 + 10 + Optional Properties: 11 + - hisilicon,peripheral-syscon: phandle of syscon used to control peripheral. 12 + - hisilicon,power-reg: offset and bit number within peripheral-syscon, 13 + register of controlling sata power supply. 14 + 15 + Example: 16 + sata_phy: phy@f9900000 { 17 + compatible = "hisilicon,hix5hd2-sata-phy"; 18 + reg = <0xf9900000 0x10000>; 19 + #phy-cells = <0>; 20 + hisilicon,peripheral-syscon = <&peripheral_ctrl>; 21 + hisilicon,power-reg = <0x8 10>; 22 + };