From: Shawn Lin Date: Tue, 5 Jan 2016 01:07:14 +0000 (+0800) Subject: UPSTREAM: Documentation: bindings: add dt documentation for Rockchip eMMC PHY X-Git-Tag: firefly_0821_release~3346 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e7e7401ac59e984e6390600fac6a84c4ac68b704;p=firefly-linux-kernel-4.4.55.git UPSTREAM: Documentation: bindings: add dt documentation for Rockchip eMMC PHY 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 (cherry picked from git.kernel.org kishon/linux-phy next commit c9a1ddcac5b95a9dbf3d3f71d3be8b157239cce5) Change-Id: I6913babddbc70c1ad3ea2234d8afac79190852a4 --- 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 000000000000..61916f15a949 --- /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 = <&grf>; + reg = <0xf780>; + #phy-cells = <0>; +};