devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
To: Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>,
	Magnus Damm <magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Laurent Pinchart
	<laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>,
	linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Geert Uytterhoeven
	<geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
Subject: [PATCH v6 00/12] ARM/arm64: dts: rcar: Add SYSC PM domains
Date: Fri, 22 Apr 2016 11:07:22 +0200	[thread overview]
Message-ID: <1461316054-27999-1-git-send-email-geert+renesas@glider.be> (raw)

	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 (more specifically patch 1) is a dependency for the enablement of the
Display Unit on R-Car H3, as on this SoC the DU needs to use the VSPs, and the
VSPs are located in a PM Domain.

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

Changes compared to v5:
  - Add Acked-by,
  - Rebased R-Car Gen2 patches because of dropping of references to the
    second DMA controllers,
  - Updated for addition of sdhi[0-2] device nodes on r8a7793,
  - Reordered arm64 patches first, as these have a higher priority.

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-20160422v2-v4.6-rc4.

Suggested patch application strategy:
  - On branch arm64-dt-for-v4.7:
      - Merge rcar-sysc-for-v4.7,
      - Apply patches 1-2.
  - On branch dt-for-v4.7:
      - Merge rcar-sysc-for-v4.7,
      - Apply patches 3-12.

Suggested arm-soc pull request strategy:
  - Send pull-request for rcar-sysc-for-v4.7,
  - Send pull-request for arm64-dt-for-v4.7,
  - Send pull-request for dt-for-v4.7.

For your convenience, I've pushed this to the topic/rcar-sysc-pd-dt-v6
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):
  arm64: dts: r8a7795: Add SYSC PM Domains
  arm64: dts: r8a7795: Use SYSC "always-on" PM Domain
  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
  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

 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           | 111 ++++++++++++----------
 arch/arm/boot/dts/r8a7794.dtsi           | 116 ++++++++++++-----------
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 123 +++++++++++++-----------
 6 files changed, 392 insertions(+), 323 deletions(-)

-- 
1.9.1

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

             reply	other threads:[~2016-04-22  9:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-22  9:07 Geert Uytterhoeven [this message]
2016-04-22  9:07 ` [PATCH v6 01/12] arm64: dts: r8a7795: Add SYSC PM Domains Geert Uytterhoeven
2016-04-22  9:07 ` [PATCH v6 02/12] arm64: dts: r8a7795: Use SYSC "always-on" PM Domain Geert Uytterhoeven
2016-04-22  9:07 ` [PATCH v6 03/12] ARM: dts: r8a7779: Add SYSC PM Domains Geert Uytterhoeven
2016-04-22  9:07 ` [PATCH v6 04/12] ARM: dts: r8a7790: " Geert Uytterhoeven
     [not found] ` <1461316054-27999-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2016-04-22  9:07   ` [PATCH v6 05/12] ARM: dts: r8a7791: " Geert Uytterhoeven
2016-04-22  9:07 ` [PATCH v6 06/12] ARM: dts: r8a7793: " Geert Uytterhoeven
2016-04-22  9:07 ` [PATCH v6 07/12] ARM: dts: r8a7794: " Geert Uytterhoeven
2016-04-22  9:07 ` [PATCH v6 08/12] ARM: dts: r8a7779: Use SYSC "always-on" PM Domain Geert Uytterhoeven
2016-04-22  9:07 ` [PATCH v6 09/12] ARM: dts: r8a7790: " Geert Uytterhoeven
2016-04-22  9:07 ` [PATCH v6 10/12] ARM: dts: r8a7791: " Geert Uytterhoeven
2016-04-22  9:07 ` [PATCH v6 11/12] ARM: dts: r8a7793: " Geert Uytterhoeven
2016-04-22  9:07 ` [PATCH v6 12/12] ARM: dts: r8a7794: " Geert Uytterhoeven
2016-04-22 10:45 ` [PATCH v6 00/12] ARM/arm64: dts: rcar: Add SYSC PM domains Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461316054-27999-1-git-send-email-geert+renesas@glider.be \
    --to=geert+renesas-gxvu3+zwzmszqb+pc5nmwq@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org \
    --cc=laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).