Re: [PATCH/RFC v2 04/11] soc: renesas: rcar: Add DT support for SYSC PM domains
From: Geert Uytterhoeven <hidden>
Date: 2016-02-17 12:45:37
Also in:
linux-arm-kernel, linux-pm, linux-renesas-soc
From: Geert Uytterhoeven <hidden>
Date: 2016-02-17 12:45:37
Also in:
linux-arm-kernel, linux-pm, linux-renesas-soc
Hi Laurent, On Mon, Feb 15, 2016 at 11:51 PM, Laurent Pinchart [off-list ref] wrote:
On Monday 15 February 2016 22:16:53 Geert Uytterhoeven wrote:quoted
Populate the SYSC 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 we have to scan for PM domains even if CONFIG_PM=n. FIXME: - This needs better integration with the PM code in pm-rcar-gen2, the SMP code in smp-r8a7790, and Magnus' DT APMU series.Have you given this some thoughts already ? Unfortunately smp_prepare_cpus() is called before any initcall :-/ How do the other platforms handle this ?
I'm afraid no other platform already handles this.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html