public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 00/12] ARM/arm64: dts: rcar: Add SYSC PM domains
@ 2016-04-13 14:44 Geert Uytterhoeven
  2016-04-13 14:44 ` [PATCH v5 01/12] ARM: dts: r8a7779: Add SYSC PM Domains Geert Uytterhoeven
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Geert Uytterhoeven @ 2016-04-13 14:44 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm
  Cc: Laurent Pinchart, linux-renesas-soc, linux-arm-kernel, linux-pm,
	devicetree, Geert Uytterhoeven

	Hi Simon, Magnus,

This patch series adds the R-Car System Controller to the DTS files for
the various Renesas R-Car SoCs, and hooks up devices to their respective
PM domains.

This is a dependency for the enablement of DU and VSP on R-Car H3, as
on this SoC the VSPs are located in a PM Domain.

This series contains 2 parts:
  1. Patches 1-6 add device node for the System Controllers, and hook
     up CPU cores and L2 caches/SCUs to their respective PM Domains,
  2. Patches 7-12 hook up devices to the SYSC "always-on" PM Domain, for
     a more consistent device-power-area description in DT.

As "[PATCH v5 00/11] soc: renesas: Add R-Car SYSC PM Domain Support"
merged the two initialization phases again, the issues in v4 caused by
excessive deferred probing are gone, and both parts are now safe to
apply.

Changes compared to v4:
  - Add Acked-by,
  - Remove "power-domains" property again from the sysc nodes, as the
    System Controller theirselves are not part of the Clock Domains.

Changes compared to v3:
  - Add power-domains properties to the sysc nodes, to refer to the
    SoC's Clock Domains,
  - Extract using the SYSC "always-on" PM Domain on R-Car H3 into its
    own patch,
  - Add patches to use the SYSC "always-on" PM Domain on R-Car H1 and
    R-Car Gen2,
  - Update for recently added can0, can1, pciec0, and pciec1 device
    nodes on R-Car H3.

Changes compared to v2:
  - Move power area hierarchy from DT to C (cfr. DT bindings for Renesas
    CPG/MSSR), and switch to "#power-domain-cells = <1>",
  - Drop fallback compatibility strings, as the bindings are
    SoC-specific,
  - Add an "always-on" power area on R-Car H3.

Changes compared to v1:
  - Add R-Car H3 (r8a7795) support,
  - Use "renesas,<type>-sysc" instead of "renesas,sysc-<type>",
  - Add fallback compatibility strings for R-Car Gen2 and Gen3.

Dependencies:
  - renesas-devel-20160411-v4.6-rc3
  - clk-renesas-for-v4.7
  - "[PATCH v2 0/4] clk: renesas: R-Car SYSC PM Domain Preparation",
  - "[PATCH v5 0/7] PM / Domains: Add DT bindings for the R-Car System
    Controller",
  - "[PATCH v5 00/11] soc: renesas: Add R-Car SYSC PM Domain Support".
Note that these are hard dependencies: adding SYSC PM Domains to DTS
files without driver support will cause breakage!

For your convenience, I've pushed this, incl. all dependencies, to the
topic/rcar-sysc-pd-v5 branch of
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git.
Integration with renesas-drivers-2016-04-12-v4.6-rc3 is available in the
topic/gen3-latest branch.

This has been tested on r8a7779/marzen, r8a7790/lager, r8a7791/koelsch,
r8a7794/alt, and r8a7795/salvator-x.

Thanks for applying!

Geert Uytterhoeven (12):
  ARM: dts: r8a7779: Add SYSC PM Domains
  ARM: dts: r8a7790: Add SYSC PM Domains
  ARM: dts: r8a7791: Add SYSC PM Domains
  ARM: dts: r8a7793: Add SYSC PM Domains
  ARM: dts: r8a7794: Add SYSC PM Domains
  arm64: dts: r8a7795: Add SYSC PM Domains
  ARM: dts: r8a7779: Use SYSC "always-on" PM Domain
  ARM: dts: r8a7790: Use SYSC "always-on" PM Domain
  ARM: dts: r8a7791: Use SYSC "always-on" PM Domain
  ARM: dts: r8a7793: Use SYSC "always-on" PM Domain
  ARM: dts: r8a7794: Use SYSC "always-on" PM Domain
  arm64: dts: r8a7795: Use SYSC "always-on" PM Domain

 arch/arm/boot/dts/r8a7779.dtsi           |  54 ++++++-----
 arch/arm/boot/dts/r8a7790.dtsi           | 155 ++++++++++++++++--------------
 arch/arm/boot/dts/r8a7791.dtsi           | 156 ++++++++++++++++---------------
 arch/arm/boot/dts/r8a7793.dtsi           | 105 +++++++++++----------
 arch/arm/boot/dts/r8a7794.dtsi           | 116 ++++++++++++-----------
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 123 +++++++++++++-----------
 6 files changed, 389 insertions(+), 320 deletions(-)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.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

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

end of thread, other threads:[~2016-04-14 16:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-13 14:44 [PATCH v5 00/12] ARM/arm64: dts: rcar: Add SYSC PM domains Geert Uytterhoeven
2016-04-13 14:44 ` [PATCH v5 01/12] ARM: dts: r8a7779: Add SYSC PM Domains Geert Uytterhoeven
2016-04-13 14:44 ` [PATCH v5 02/12] ARM: dts: r8a7790: " Geert Uytterhoeven
2016-04-13 14:44 ` [PATCH v5 03/12] ARM: dts: r8a7791: " Geert Uytterhoeven
2016-04-13 14:44 ` [PATCH v5 04/12] ARM: dts: r8a7793: " Geert Uytterhoeven
2016-04-13 14:44 ` [PATCH v5 05/12] ARM: dts: r8a7794: " Geert Uytterhoeven
2016-04-13 14:44 ` [PATCH v5 06/12] arm64: dts: r8a7795: " Geert Uytterhoeven
2016-04-13 14:44 ` [PATCH v5 07/12] ARM: dts: r8a7779: Use SYSC "always-on" PM Domain Geert Uytterhoeven
     [not found] ` <1460558692-10414-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2016-04-13 14:44   ` [PATCH v5 08/12] ARM: dts: r8a7790: " Geert Uytterhoeven
2016-04-13 14:44   ` [PATCH v5 09/12] ARM: dts: r8a7791: " Geert Uytterhoeven
2016-04-13 14:44   ` [PATCH v5 12/12] arm64: dts: r8a7795: " Geert Uytterhoeven
2016-04-13 14:44 ` [PATCH v5 10/12] ARM: dts: r8a7793: " Geert Uytterhoeven
2016-04-13 14:44 ` [PATCH v5 11/12] ARM: dts: r8a7794: " Geert Uytterhoeven
2016-04-14 16:39 ` [PATCH v5 00/12] ARM/arm64: dts: rcar: Add SYSC PM domains Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox