All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	Magnus Damm <magnus.damm@gmail.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 3/7] ARM: dts: r8a7745: Link ARM GIC to clock and clock domain
Date: Thu, 26 Jan 2017 11:11:05 +0100	[thread overview]
Message-ID: <db017f399639f68827edc954205803272ef20b24.1485425227.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1485425227.git.horms+renesas@verge.net.au>

From: Geert Uytterhoeven <geert+renesas@glider.be>

Link the ARM GIC to the INTC-SYS module clock, and add it to the SYSC
"always-on" PM Domain, so it can be power managed using that clock.

Note that currently the GIC-400 driver doesn't support module clocks nor
Runtime PM, so this must be handled as a critical clock.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7745.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index 2f60c3cb9117..a81dcc82e2ea 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -60,6 +60,9 @@
 			      <0 0xf1006000 0 0x2000>;
 			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
 						 IRQ_TYPE_LEVEL_HIGH)>;
+			clocks = <&cpg CPG_MOD 408>;
+			clock-names = "clk";
+			power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
 		};
 
 		irqc: interrupt-controller@e61c0000 {
-- 
2.7.0.rc3.207.g0ac5344

WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/7] ARM: dts: r8a7745: Link ARM GIC to clock and clock domain
Date: Thu, 26 Jan 2017 11:11:05 +0100	[thread overview]
Message-ID: <db017f399639f68827edc954205803272ef20b24.1485425227.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1485425227.git.horms+renesas@verge.net.au>

From: Geert Uytterhoeven <geert+renesas@glider.be>

Link the ARM GIC to the INTC-SYS module clock, and add it to the SYSC
"always-on" PM Domain, so it can be power managed using that clock.

Note that currently the GIC-400 driver doesn't support module clocks nor
Runtime PM, so this must be handled as a critical clock.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7745.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index 2f60c3cb9117..a81dcc82e2ea 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -60,6 +60,9 @@
 			      <0 0xf1006000 0 0x2000>;
 			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
 						 IRQ_TYPE_LEVEL_HIGH)>;
+			clocks = <&cpg CPG_MOD 408>;
+			clock-names = "clk";
+			power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
 		};
 
 		irqc: interrupt-controller at e61c0000 {
-- 
2.7.0.rc3.207.g0ac5344

  parent reply	other threads:[~2017-01-26 10:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-26 10:11 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Simon Horman
2017-01-26 10:11 ` Simon Horman
2017-01-26 10:11 ` [PATCH 1/7] ARM: dts: r8a7779, marzen: Fix sata device status Simon Horman
2017-01-26 10:11   ` Simon Horman
2017-01-26 10:11 ` [PATCH 2/7] ARM: dts: r8a7743: Link ARM GIC to clock and clock domain Simon Horman
2017-01-26 10:11   ` Simon Horman
2017-01-26 10:11 ` Simon Horman [this message]
2017-01-26 10:11   ` [PATCH 3/7] ARM: dts: r8a7745: " Simon Horman
2017-01-26 10:11 ` [PATCH 4/7] ARM: dts: r7s72100: add ostm clock to device tree Simon Horman
2017-01-26 10:11   ` Simon Horman
2017-01-26 10:11 ` [PATCH 5/7] ARM: dts: r7s72100: add ostm " Simon Horman
2017-01-26 10:11   ` Simon Horman
2017-01-26 10:11 ` [PATCH 6/7] ARM: dts: rskrza1: add ostm DT support Simon Horman
2017-01-26 10:11   ` Simon Horman
2017-01-26 10:11 ` [PATCH 7/7] ARM: dts: r7s72100: add power-domains to mmcif Simon Horman
2017-01-26 10:11   ` Simon Horman
2017-01-30  4:54 ` [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.11 Olof Johansson
2017-01-30  4:54   ` Olof Johansson

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=db017f399639f68827edc954205803272ef20b24.1485425227.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=geert+renesas@glider.be \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.