Documentation: bindings: add dt documentation for Rockchip eMMC PHY
authorShawn Lin <shawn.lin@rock-chips.com>
Tue, 5 Jan 2016 01:07:14 +0000 (09:07 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 1 Mar 2016 11:43:50 +0000 (17:13 +0530)
This patch adds a binding that describes the Rockchip eMMC PHYs
found on Rockchip SoCs eMMC interface.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt b/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt
new file mode 100644 (file)
index 0000000..61916f1
--- /dev/null
@@ -0,0 +1,19 @@
+Rockchip EMMC PHY
+-----------------------
+
+Required properties:
+ - compatible: rockchip,rk3399-emmc-phy
+ - rockchip,grf : phandle to the syscon managing the "general
+   register files"
+ - #phy-cells: must be 0
+ - reg: PHY configure reg address offset in "general
+   register files"
+
+Example:
+
+emmcphy: phy {
+       compatible = "rockchip,rk3399-emmc-phy";
+       rockchip,grf = <&grf>;
+       reg = <0xf780>;
+       #phy-cells = <0>;
+};