On Thu, Jun 4, 2015 at 8:53 PM, Geert Uytterhoeven
wrote:
> --- a/arch/arm/mach-shmobile/pm-rcar.c
> +++ b/arch/arm/mach-shmobile/pm-rcar.c
> @@ -51,11 +54,29 @@
> static void __iomem *rcar_sysc_base;
> static DEFINE_SPINLOCK(rcar_sysc_lock); /* SMP CPUs + I/O devices */
>
> +static unsigned in
Populate the PM domains from DT.
Special cases, like PM domains containing CPU cores or SCUs, are
handled by scanning the DT topology.
The SYSCIER register value is derived from the PM domains found in DT,
which will allow to get rid of the hardcoded values in pm-rcar-gen2.c.
However, this means