Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

authored by

Elaine Zhang and committed by
Heiko Stuebner
71daabca 4506697d

+10
+10
Documentation/devicetree/bindings/soc/rockchip/power_domain.txt
··· 20 20 "include/dt-bindings/power/rk3399-power.h" - for RK3399 type power domain. 21 21 - clocks (optional): phandles to clocks which need to be enabled while power domain 22 22 switches state. 23 + - pm_qos (optional): phandles to qos blocks which need to be saved and restored 24 + while power domain switches state. 25 + 26 + Qos Example: 27 + 28 + qos_gpu: qos_gpu@ffaf0000 { 29 + compatible ="syscon"; 30 + reg = <0x0 0xffaf0000 0x0 0x20>; 31 + }; 23 32 24 33 Example: 25 34 ··· 41 32 pd_gpu { 42 33 reg = <RK3288_PD_GPU>; 43 34 clocks = <&cru ACLK_GPU>; 35 + pm_qos = <&qos_gpu>; 44 36 }; 45 37 }; 46 38