[PATCH v2 1/2] dt-bindings: modify document of Rockchip power domains

From: Elaine Zhang
Date: Wed Apr 13 2016 - 22:11:30 EST


Add qos example for power domain which found on Rockchip SoCs.
These qos register description in TRMs
(rk3036, rk3228, rk3288, rk3366, rk3368, rk3399) looks the same.

Changes in v2:
No Changes.

Signed-off-by: Elaine Zhang <zhangqing@xxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/soc/rockchip/power_domain.txt | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt b/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt
index 98085c888d65..6c571a40cd31 100644
--- a/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt
+++ b/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt
@@ -21,6 +21,13 @@ Required properties for power domain sub nodes:
- clocks (optional): phandles to clocks which need to be enabled while power domain
switches state.

+Qos Example:
+
+ qos_gpu: qos_gpu@ffaf0000 {
+ compatible ="syscon";
+ reg = <0x0 0xffaf0000 0x0 0x20>;
+ };
+
Example:

power: power-controller {
@@ -32,6 +39,7 @@ Example:
pd_gpu {
reg = <RK3288_PD_GPU>;
clocks = <&cru ACLK_GPU>;
+ pm_qos = <&qos_gpu>;
};
};

--
1.9.1