arm64: dts: rockchip: add the power domain node for rk3399
authorElaine Zhang <zhangqing@rock-chips.com>
Mon, 4 Jul 2016 12:34:04 +0000 (20:34 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 8 Aug 2016 08:57:04 +0000 (10:57 +0200)
commit807a2371d3b31ef0a9e09fce55704b68bce771a5
tree71a39dcc3bc7c724dc6a8e04782c5262127dd880
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
arm64: dts: rockchip: add the power domain node for rk3399

In order to meet low power requirements, a power management unit (PMU) is
designed for controlling power resources in RK3399. The RK3399 PMU is
dedicated for managing the power of the whole chip.

1. add pd node for RK3399 Soc
2. create power domain tree
3. add qos node for domain

From the DT/binds and driver can get more detail information:
The driver:
        drivers/soc/rockchip/pm_domains.c
The document:
        Documentation/devicetree/bindings/soc/rockchip/power_domain.txt

Note:
As the TRM lists many voltage domains and power domains, then this patch
adds some domains for driver. Due to some domains
(e.g. emmc, usb, core)...We can't turned off it on
bootup, or says some device driver can't handle the power domain enough.
Maybe We will add more other domains in the future or later.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi