[PATCH 1/7] Documentation: bindings: add dt documentation for Rockchip eMMC PHY

2016-03-01 Thread Kishon Vijay Abraham I
From: Shawn Lin 

This patch adds a binding that describes the Rockchip eMMC PHYs
found on Rockchip SoCs eMMC interface.

Signed-off-by: Shawn Lin 
Signed-off-by: Kishon Vijay Abraham I 
---
 .../devicetree/bindings/phy/rockchip-emmc-phy.txt  |   19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt

diff --git a/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt 
b/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt
new file mode 100644
index 000..61916f1
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt
@@ -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 = <>;
+   reg = <0xf780>;
+   #phy-cells = <0>;
+};
-- 
1.7.9.5



[PATCH 1/7] Documentation: bindings: add dt documentation for Rockchip eMMC PHY

2016-03-01 Thread Kishon Vijay Abraham I
From: Shawn Lin 

This patch adds a binding that describes the Rockchip eMMC PHYs
found on Rockchip SoCs eMMC interface.

Signed-off-by: Shawn Lin 
Signed-off-by: Kishon Vijay Abraham I 
---
 .../devicetree/bindings/phy/rockchip-emmc-phy.txt  |   19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt

diff --git a/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt 
b/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt
new file mode 100644
index 000..61916f1
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt
@@ -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 = <>;
+   reg = <0xf780>;
+   #phy-cells = <0>;
+};
-- 
1.7.9.5