OSDN Git Service

Documentation: Document Hisilicon hix5hd2 sata PHY
authorJiancheng Xue <xuejiancheng@huawei.com>
Thu, 3 Jul 2014 14:28:37 +0000 (22:28 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 22 Jul 2014 07:16:10 +0000 (12:46 +0530)
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>
Documentation/devicetree/bindings/phy/hix5hd2-phy.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt b/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt
new file mode 100644 (file)
index 0000000..296168b
--- /dev/null
@@ -0,0 +1,22 @@
+Hisilicon hix5hd2 SATA PHY
+-----------------------
+
+Required properties:
+- compatible: should be "hisilicon,hix5hd2-sata-phy"
+- reg: offset and length of the PHY registers
+- #phy-cells: must be 0
+Refer to phy/phy-bindings.txt for the generic PHY binding properties
+
+Optional Properties:
+- hisilicon,peripheral-syscon: phandle of syscon used to control peripheral.
+- hisilicon,power-reg: offset and bit number within peripheral-syscon,
+       register of controlling sata power supply.
+
+Example:
+       sata_phy: phy@f9900000 {
+               compatible = "hisilicon,hix5hd2-sata-phy";
+               reg = <0xf9900000 0x10000>;
+               #phy-cells = <0>;
+               hisilicon,peripheral-syscon = <&peripheral_ctrl>;
+               hisilicon,power-reg = <0x8 10>;
+       };