Re: [PATCH/RFC 02/15] ARM: shmobile: R-Car: Add DT support for PM domains

2015-06-24 Thread Geert Uytterhoeven
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

[PATCH/RFC 02/15] ARM: shmobile: R-Car: Add DT support for PM domains

2015-06-04 Thread Geert Uytterhoeven
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