* [PATCH v2] ARM: dts: r8a7745: Add APMU node and second CPU core @ 2017-12-06 12:05 Fabrizio Castro [not found] ` <1512561929-16540-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Fabrizio Castro @ 2017-12-06 12:05 UTC (permalink / raw) To: Simon Horman Cc: Fabrizio Castro, Rob Herring, Mark Rutland, Magnus Damm, Russell King, devicetree, linux-renesas-soc, linux-arm-kernel, Chris Paterson, Geert Uytterhoeven Add DT node for the Advanced Power Management Unit (APMU), add the second CPU core, and use "renesas,apmu" as "enable-method". Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com> Reviewed-by: Biju Das <biju.das@bp.renesas.com> --- Dear All, I am reposting this patch now that its dependecy ("ARM: shmobile: rcar-gen2: Make sure CNTVOFF is initialized on CA7/15") is part of v4.15-rc1, similarly to patch "ARM: dts: r8a7794: Add SMP support". v2: - rebased against renesas-devel-20171205-v4.15-rc2 Thanks arch/arm/boot/dts/r8a7745.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index de13e15..0fa7861 100644 --- a/arch/arm/boot/dts/r8a7745.dtsi +++ b/arch/arm/boot/dts/r8a7745.dtsi @@ -38,6 +38,7 @@ cpus { #address-cells = <1>; #size-cells = <0>; + enable-method = "renesas,apmu"; cpu0: cpu@0 { device_type = "cpu"; @@ -49,6 +50,15 @@ next-level-cache = <&L2_CA7>; }; + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <1>; + clock-frequency = <1000000000>; + power-domains = <&sysc R8A7745_PD_CA7_CPU1>; + next-level-cache = <&L2_CA7>; + }; + L2_CA7: cache-controller-0 { compatible = "cache"; cache-unified; @@ -65,6 +75,12 @@ #size-cells = <2>; ranges; + apmu@e6151000 { + compatible = "renesas,r8a7745-apmu", "renesas,apmu"; + reg = <0 0xe6151000 0 0x188>; + cpus = <&cpu0 &cpu1>; + }; + gic: interrupt-controller@f1001000 { compatible = "arm,gic-400"; #interrupt-cells = <3>; -- 2.7.4 ^ permalink raw reply related [flat|nested] 3+ messages in thread
[parent not found: <1512561929-16540-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>]
* Re: [PATCH v2] ARM: dts: r8a7745: Add APMU node and second CPU core [not found] ` <1512561929-16540-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> @ 2017-12-06 12:12 ` Geert Uytterhoeven [not found] ` <CAMuHMdWTepYLpySfo6hq10-9TrGh+o=P9k5RnTYxBTe-eh-pQw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Geert Uytterhoeven @ 2017-12-06 12:12 UTC (permalink / raw) To: Fabrizio Castro Cc: Simon Horman, Rob Herring, Mark Rutland, Magnus Damm, Russell King, devicetree-u79uwXL29TY76Z2rM5mHXA, Linux-Renesas, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Chris Paterson On Wed, Dec 6, 2017 at 1:05 PM, Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> wrote: > > Add DT node for the Advanced Power Management Unit (APMU), add the > second CPU core, and use "renesas,apmu" as "enable-method". > > Signed-off-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> > Signed-off-by: Chris Paterson <chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> > Reviewed-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> > v2: > - rebased against renesas-devel-20171205-v4.15-rc2 Seems my Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org> was not added. 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <CAMuHMdWTepYLpySfo6hq10-9TrGh+o=P9k5RnTYxBTe-eh-pQw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH v2] ARM: dts: r8a7745: Add APMU node and second CPU core [not found] ` <CAMuHMdWTepYLpySfo6hq10-9TrGh+o=P9k5RnTYxBTe-eh-pQw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2017-12-07 9:03 ` Simon Horman 0 siblings, 0 replies; 3+ messages in thread From: Simon Horman @ 2017-12-07 9:03 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Fabrizio Castro, Rob Herring, Mark Rutland, Magnus Damm, Russell King, devicetree-u79uwXL29TY76Z2rM5mHXA, Linux-Renesas, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Chris Paterson On Wed, Dec 06, 2017 at 01:12:02PM +0100, Geert Uytterhoeven wrote: > On Wed, Dec 6, 2017 at 1:05 PM, Fabrizio Castro > <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> wrote: > > > > Add DT node for the Advanced Power Management Unit (APMU), add the > > second CPU core, and use "renesas,apmu" as "enable-method". > > > > Signed-off-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> > > Signed-off-by: Chris Paterson <chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> > > Reviewed-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> > > > v2: > > - rebased against renesas-devel-20171205-v4.15-rc2 > > Seems my > Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org> > was not added. Its added now :) I've applied this for v4.16. -- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-07 9:03 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-12-06 12:05 [PATCH v2] ARM: dts: r8a7745: Add APMU node and second CPU core Fabrizio Castro [not found] ` <1512561929-16540-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> 2017-12-06 12:12 ` Geert Uytterhoeven [not found] ` <CAMuHMdWTepYLpySfo6hq10-9TrGh+o=P9k5RnTYxBTe-eh-pQw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2017-12-07 9:03 ` Simon Horman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).