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 13/13] ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions
Date: Thu, 13 Sep 2018 11:08:36 +0200	[thread overview]
Message-ID: <1926bd6bf20fe306797fbf366902674d2d6c20cc.1536824376.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1536824376.git.horms+renesas@verge.net.au>

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

Replace the hardcoded clock indices by R9A06G032_CLK_* symbols.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r9a06g032.dtsi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/r9a06g032.dtsi b/arch/arm/boot/dts/r9a06g032.dtsi
index afe29c95a006..3e45375b79aa 100644
--- a/arch/arm/boot/dts/r9a06g032.dtsi
+++ b/arch/arm/boot/dts/r9a06g032.dtsi
@@ -7,6 +7,7 @@
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/clock/r9a06g032-sysctrl.h>
 
 / {
 	compatible = "renesas,r9a06g032";
@@ -21,14 +22,14 @@
 			device_type = "cpu";
 			compatible = "arm,cortex-a7";
 			reg = <0>;
-			clocks = <&sysctrl 84>;
+			clocks = <&sysctrl R9A06G032_CLK_A7MP>;
 		};
 
 		cpu@1 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a7";
 			reg = <1>;
-			clocks = <&sysctrl 84>;
+			clocks = <&sysctrl R9A06G032_CLK_A7MP>;
 			enable-method = "renesas,r9a06g032-smp";
 			cpu-release-addr = <0 0x4000c204>;
 		};
@@ -82,7 +83,7 @@
 			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
 			reg-shift = <2>;
 			reg-io-width = <4>;
-			clocks = <&sysctrl 146>;
+			clocks = <&sysctrl R9A06G032_CLK_UART0>;
 			clock-names = "baudclk";
 			status = "disabled";
 		};
-- 
2.11.0

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 13/13] ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions
Date: Thu, 13 Sep 2018 11:08:36 +0200	[thread overview]
Message-ID: <1926bd6bf20fe306797fbf366902674d2d6c20cc.1536824376.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1536824376.git.horms+renesas@verge.net.au>

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

Replace the hardcoded clock indices by R9A06G032_CLK_* symbols.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r9a06g032.dtsi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/r9a06g032.dtsi b/arch/arm/boot/dts/r9a06g032.dtsi
index afe29c95a006..3e45375b79aa 100644
--- a/arch/arm/boot/dts/r9a06g032.dtsi
+++ b/arch/arm/boot/dts/r9a06g032.dtsi
@@ -7,6 +7,7 @@
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/clock/r9a06g032-sysctrl.h>
 
 / {
 	compatible = "renesas,r9a06g032";
@@ -21,14 +22,14 @@
 			device_type = "cpu";
 			compatible = "arm,cortex-a7";
 			reg = <0>;
-			clocks = <&sysctrl 84>;
+			clocks = <&sysctrl R9A06G032_CLK_A7MP>;
 		};
 
 		cpu at 1 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a7";
 			reg = <1>;
-			clocks = <&sysctrl 84>;
+			clocks = <&sysctrl R9A06G032_CLK_A7MP>;
 			enable-method = "renesas,r9a06g032-smp";
 			cpu-release-addr = <0 0x4000c204>;
 		};
@@ -82,7 +83,7 @@
 			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
 			reg-shift = <2>;
 			reg-io-width = <4>;
-			clocks = <&sysctrl 146>;
+			clocks = <&sysctrl R9A06G032_CLK_UART0>;
 			clock-names = "baudclk";
 			status = "disabled";
 		};
-- 
2.11.0

  parent reply	other threads:[~2018-09-13 14:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-13  9:08 [GIT PULL] Renesas ARM Based SoC DT Updates for v4.20 Simon Horman
2018-09-13  9:08 ` Simon Horman
2018-09-13  9:08 ` [PATCH 01/13] ARM: dts: rcar: Correct SATA device sizes to 2 MiB Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 02/13] ARM: dts: r8a77470: Use r8a77470-sysc binding definitions Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 03/13] ARM: dts: r8a77470: Add PFC support Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 04/13] ARM: dts: iwg23s-sbc: Add pinctl support for scif1 Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 05/13] ARM: dts: rcar-gen2: Convert to new DU DT bindings Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 06/13] ARM: dts: gose: Add DA9210 node for CPU DVFS Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 07/13] ARM: dts: silk: Add DA9063 PMIC node Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 08/13] ARM: dts: r8a77470: Add GPIO support Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 09/13] ARM: dts: iwg23s-sbc: specify EtherAVB PHY IRQ Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 10/13] ARM: dts: silk: Add DA9063 RTC and OnKey node Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 11/13] ARM: dts: stout: Add DA9063 " Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 12/13] ARM: dts: Include R-Car Gen1 product name in DTSI files Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` Simon Horman [this message]
2018-09-13  9:08   ` [PATCH 13/13] ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions Simon Horman
2018-09-23 13:18 ` [GIT PULL] Renesas ARM Based SoC DT Updates for v4.20 Olof Johansson
2018-09-23 13:18   ` Olof Johansson
2018-09-24 15:38   ` Simon Horman
2018-09-24 15:38     ` 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=1926bd6bf20fe306797fbf366902674d2d6c20cc.1536824376.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.