devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/09] ARM: shmobile: APMU DT support via SMP Enable method V3
@ 2015-09-17  6:32 Magnus Damm
  2015-09-17  6:32 ` [PATCH v3 01/09] devicetree: bindings: Renesas APMU and SMP Enable method Magnus Damm
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Magnus Damm @ 2015-09-17  6:32 UTC (permalink / raw)
  To: linux-sh
  Cc: mark.rutland, devicetree, lorenzo.pieralisi, keita.kobayashi.ym,
	horms, geert, laurent.pinchart, Magnus Damm

ARM: shmobile: APMU DT support via SMP Enable method V3

[PATCH v3 01/09] devicetree: bindings: Renesas APMU and SMP Enable method
[PATCH v3 02/09] ARM: shmobile: Add APMU DT support via Enable method
[PATCH v3 03/09] ARM: shmobile: Add APMU nodes to r8a7793 DTSI
[PATCH v3 04/09] ARM: shmobile: r8a7793 boot address update
[PATCH v3 05/09] ARM: shmobile: Add APMU nodes to r8a7790 DTSI
[PATCH v3 06/09] ARM: shmobile: Add APMU nodes to r8a7791 DTSI
[PATCH v3 07/09] ARM: shmobile: Add function to prioritize DT SMP
[PATCH v3 08/09] ARM: shmobile: Prioritize r8a7790 DT APMU support
[PATCH v3 09/09] ARM: shmobile: Prioritize r8a7791 DT APMU support

These patches add DT support for the APMU hardware commonly found in
Renesas R-Car Gen2 SoCs. Without these patches the APMU gets configured
through data expressed in C, and with this series applied it is possible
to describe the APMU configuration in DT and let the enable method point
out that the APMU should be used.

Patch 1 and 2 are Documenting and adding DT support to the APMU driver
together with enabling use of the enable-method way to describe that
the APMU hardware is needed for SMP operation.

Patch 3 and 4 add r8a7793 SMP support using this the new APMU DT interface.

Patch 5 and 6 are related to r8a7790/r8a7791 support that get a DTSI update
to describe the APMU hardware. To avoid breaking support for older DTBs out
in the wild these patches keep the older existing C code APMU configuration
as-is. Patch 7-9 make sure that during run-time, if the APMU is installed
via the DT enable-method then it will not be overriden by older non-DT
configuration.

I suggest making APMU DT configuration mandatory for SMP operation on
newer SoCs and that we keep the old APMU support code in place for a
good number of kernel releases or until we can identify a couple of major
reasons good enough to force a DTB update on the end users.

In the future r8a7794 support may be added by using code similar to
patch 3 and 4 - without any C-based SMP code and fallback.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 Written against renesas-drivers-2015-09-15-v4.3-rc1
 
 Documentation/devicetree/bindings/arm/cpus.txt           |    1 
 Documentation/devicetree/bindings/power/renesas,apmu.txt |   31 ++++
 arch/arm/boot/dts/r8a7790.dtsi                           |   13 +
 arch/arm/boot/dts/r8a7791.dtsi                           |    7 +
 arch/arm/boot/dts/r8a7793.dtsi                           |   14 ++
 arch/arm/mach-shmobile/common.h                          |    1 
 arch/arm/mach-shmobile/platsmp-apmu.c                    |   92 +++++++++++++-
 arch/arm/mach-shmobile/platsmp.c                         |    7 +
 arch/arm/mach-shmobile/pm-rcar-gen2.c                    |    5 
 arch/arm/mach-shmobile/setup-r8a7790.c                   |    1 
 arch/arm/mach-shmobile/setup-r8a7791.c                   |    1 
 11 files changed, 168 insertions(+), 5 deletions(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-10-02 12:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-17  6:32 [PATCH v3 00/09] ARM: shmobile: APMU DT support via SMP Enable method V3 Magnus Damm
2015-09-17  6:32 ` [PATCH v3 01/09] devicetree: bindings: Renesas APMU and SMP Enable method Magnus Damm
2015-09-17  6:33 ` [PATCH v3 02/09] ARM: shmobile: Add APMU DT support via " Magnus Damm
2015-10-02 11:32   ` Geert Uytterhoeven
2015-10-02 12:02   ` Geert Uytterhoeven
2015-09-17  6:33 ` [PATCH v3 03/09] ARM: shmobile: Add APMU nodes to r8a7793 DTSI Magnus Damm
2015-09-17  6:33 ` [PATCH v3 04/09] ARM: shmobile: r8a7793 boot address update Magnus Damm
2015-09-17  6:33 ` [PATCH v3 05/09] ARM: shmobile: Add APMU nodes to r8a7790 DTSI Magnus Damm
2015-09-17  6:33 ` [PATCH v3 06/09] ARM: shmobile: Add APMU nodes to r8a7791 DTSI Magnus Damm
2015-09-17  6:33 ` [PATCH v3 07/09] ARM: shmobile: Add function to prioritize DT SMP Magnus Damm
2015-09-17  6:33 ` [PATCH v3 08/09] ARM: shmobile: Prioritize r8a7790 DT APMU support Magnus Damm
2015-09-17  6:34 ` [PATCH v3 09/09] ARM: shmobile: Prioritize r8a7791 " Magnus Damm
2015-10-02 11:25 ` [PATCH v3 00/09] ARM: shmobile: APMU DT support via SMP Enable method V3 Geert Uytterhoeven

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).