From: Elaine Zhang Date: Thu, 14 Apr 2016 06:20:19 +0000 (+0800) Subject: UPSTREAM: dt-bindings: modify document of Rockchip power domains X-Git-Tag: firefly_0821_release~2763 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=47138e271d5fdfeae29ad6b47d58bc97e98ce861;p=firefly-linux-kernel-4.4.55.git UPSTREAM: dt-bindings: modify document of Rockchip power domains Rockchip Socs contain quality of service (qos) blocks managing priority, bandwidth, etc of the connection of each domain to the interconnect. These blocks loose state when their domain gets disabled and therefore need to be saved when disabling and restored when enabling a power-domain. These qos blocks also are similar over all currently available Rockchip SoCs. Change-Id: I03c80e01ae0fd1a66a67db15f24869047862f13f Signed-off-by: Elaine Zhang Signed-off-by: Heiko Stuebner (cherry picked from git.kernel.org mmind/linux-rockchip.git v4.7-armsoc/drivers commit 71daabca344b503f98c59e4bdd53a818cd01f2af) --- diff --git a/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt b/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt index 41a252131cc6..89b6376a4e95 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt +++ b/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt @@ -22,6 +22,15 @@ Required properties for power domain sub nodes: "include/dt-bindings/power/rk3399-power.h" - for RK3399 type power domain. - clocks (optional): phandles to clocks which need to be enabled while power domain switches state. +- pm_qos (optional): phandles to qos blocks which need to be saved and restored + while power domain switches state. + +Qos Example: + + qos_gpu: qos_gpu@ffaf0000 { + compatible ="syscon"; + reg = <0x0 0xffaf0000 0x0 0x20>; + }; Example: @@ -34,6 +43,7 @@ Example: pd_gpu { reg = ; clocks = <&cru ACLK_GPU>; + pm_qos = <&qos_gpu>; }; };