[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1488440945-27291-3-git-send-email-daniel.meng@rock-chips.com>
Date: Thu, 2 Mar 2017 15:49:04 +0800
From: Meng Dongyang <daniel.meng@...k-chips.com>
To: robh+dt@...nel.org, mark.rutland@....com, geert+renesas@...der.be,
yoshihiro.shimoda.uh@...esas.com,
martin.blumenstingl@...glemail.com, devicetree@...r.kernel.org,
kishon@...com, linux-kernel@...r.kernel.org, heiko@...ech.de
Cc: linux-usb@...r.kernel.org, linux-rockchip@...ts.infradead.org,
huangtao@...k-chips.com, kever.yang@...k-chips.com,
william.wu@...k-chips.com, frank.wang@...k-chips.com,
daniel.meng@...k-chips.com
Subject: [PATCH v2 2/3] Documentation: bindings: add DT documentation for u2phy and u2phy grf
Due to the u2phy registers are separated from general grf, we need to
add u2phy grf node and place u2phy node in it. So this patch add u2phy
grf node.
Changes in v2:
- add u2phy grf specification
Signed-off-by: Meng Dongyang <daniel.meng@...k-chips.com>
---
Documentation/devicetree/bindings/soc/rockchip/grf.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt b/Documentation/devicetree/bindings/soc/rockchip/grf.txt
index 013e71a..6ac23f9 100644
--- a/Documentation/devicetree/bindings/soc/rockchip/grf.txt
+++ b/Documentation/devicetree/bindings/soc/rockchip/grf.txt
@@ -7,6 +7,9 @@ From RK3368 SoCs, the GRF is divided into two sections,
- GRF, used for general non-secure system,
- PMUGRF, used for always on system
+On RK3328 SoCs, the GRF is divided into three sections,
+except GRF and PMUGRF, add a section for USB2PHYGRF,
+
Required Properties:
- compatible: GRF should be one of the followings
@@ -19,6 +22,8 @@ Required Properties:
- compatible: PMUGRF should be one of the followings
- "rockchip,rk3368-pmugrf", "syscon": for rk3368
- "rockchip,rk3399-pmugrf", "syscon": for rk3399
+- compatible: USB2GRF should be one of the followings
+ - "rockchip,rk3328-usb2phy-grf", "syscon": for rk3328
- reg: physical base address of the controller and length of memory mapped
region.
@@ -33,3 +38,13 @@ Example: GRF and PMUGRF of RK3399 SoCs
compatible = "rockchip,rk3399-grf", "syscon";
reg = <0x0 0xff770000 0x0 0x10000>;
};
+
+Example: USB2GRF of RK3328 SoCs
+
+ usb2phy_grf: syscon@...50000 {
+ compatible = "rockchip,rk3328-usb2phy-grf", "syscon",
+ "simple-mfd";
+ reg = <0x0 0xff450000 0x0 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
--
1.9.1
Powered by blists - more mailing lists