diff options
author | Geert Uytterhoeven | 2016-04-20 14:02:38 +0200 |
---|---|---|
committer | Simon Horman | 2016-04-22 17:30:37 +1000 |
commit | dcc09fd143bb97c2e83e443f7343c07aa0a9a6c0 (patch) | |
tree | e98508aebce84779290f9ff18d17d3ad9ad5f89e /include | |
parent | 68667cebfc0d27d2153d7a6b489f3231b533d9bc (diff) |
soc: renesas: rcar-sysc: Add DT support for SYSC PM domains
Populate the SYSC PM domains from DT, based on the presence of a device
node for the System Controller. The actual power area hiearchy, and
features of specific areas are obtained from tables in the C code.
The SYSCIER and SYSCIMR register values are derived from the power areas
present, which will help to get rid of the hardcoded values in R-Car H1
and R-Car Gen2 platform code later.
Initialization is done from an early_initcall(), to make sure the PM
Domains are initialized before secondary CPU bringup.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions