Re: [PATCH v6 05/11] soc: renesas: rcar-sysc: Enable Clock Domain for I/O devices

2016-04-25 Thread Ulf Hansson
On 22 April 2016 at 09:59, Geert Uytterhoeven wrote: > Hi Ulf, > > On Fri, Apr 22, 2016 at 9:28 AM, Ulf Hansson wrote: >>> @@ -217,6 +218,8 @@ static int rcar_sysc_pd_power_on(struct >>> generic_pm_domain *genpd) >>> return

Re: [PATCH v6 05/11] soc: renesas: rcar-sysc: Enable Clock Domain for I/O devices

2016-04-22 Thread Geert Uytterhoeven
Hi Ulf, On Fri, Apr 22, 2016 at 9:28 AM, Ulf Hansson wrote: >> @@ -217,6 +218,8 @@ static int rcar_sysc_pd_power_on(struct >> generic_pm_domain *genpd) >> return rcar_sysc_power_up(>ch); >> } >> >> +static bool has_cpg_mstp; >> + > > That's seems lazy. :-) > >

[PATCH v6 05/11] soc: renesas: rcar-sysc: Enable Clock Domain for I/O devices

2016-04-20 Thread Geert Uytterhoeven
On R-Car H3, some power areas (e.g. A3VP) contain I/O devices, which are also part of the CPG/MSSR Clock Domain. On all R-Car SoCs, devices in the "always-on" PM Domain are part of the Clock Domain served by the CPG/MSSR or CPG/MSTP driver. Hook up the CPG/MSTP or CPG/MSSR Clock Domain