All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions
@ 2018-08-28 15:12 ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2018-08-28 15:12 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm, Michel Pollet
  Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven

Replace the hardcoded clock indices by R9A06G032_CLK_* symbols.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 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 afe29c95a006e8fa..3e45375b79aa9c0d 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.17.1

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

* [PATCH] ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions
@ 2018-08-28 15:12 ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2018-08-28 15:12 UTC (permalink / raw)
  To: linux-arm-kernel

Replace the hardcoded clock indices by R9A06G032_CLK_* symbols.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 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 afe29c95a006e8fa..3e45375b79aa9c0d 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.17.1

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

* RE: [PATCH] ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions
  2018-08-28 15:12 ` Geert Uytterhoeven
@ 2018-08-30  9:44   ` Phil Edworthy
  -1 siblings, 0 replies; 6+ messages in thread
From: Phil Edworthy @ 2018-08-30  9:44 UTC (permalink / raw)
  To: Geert Uytterhoeven, Simon Horman, Magnus Damm
  Cc: linux-renesas-soc, linux-arm-kernel

Hi Geert,

On 28 August 2018 16:13, Geert Uytterhoeven wrote:
> 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>

Thanks!
Phil

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

* [PATCH] ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions
@ 2018-08-30  9:44   ` Phil Edworthy
  0 siblings, 0 replies; 6+ messages in thread
From: Phil Edworthy @ 2018-08-30  9:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Geert,

On 28 August 2018 16:13, Geert Uytterhoeven wrote:
> 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>

Thanks!
Phil

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

* Re: [PATCH] ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions
  2018-08-30  9:44   ` Phil Edworthy
@ 2018-08-30 14:48     ` Simon Horman
  -1 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2018-08-30 14:48 UTC (permalink / raw)
  To: Phil Edworthy
  Cc: Geert Uytterhoeven, Magnus Damm, linux-renesas-soc, linux-arm-kernel

On Thu, Aug 30, 2018 at 09:44:23AM +0000, Phil Edworthy wrote:
> Hi Geert,
> 
> On 28 August 2018 16:13, Geert Uytterhoeven wrote:
> > 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>

Thanks Geert, thanks Phil, applied for v4.20.

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

* [PATCH] ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions
@ 2018-08-30 14:48     ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2018-08-30 14:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Aug 30, 2018 at 09:44:23AM +0000, Phil Edworthy wrote:
> Hi Geert,
> 
> On 28 August 2018 16:13, Geert Uytterhoeven wrote:
> > 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>

Thanks Geert, thanks Phil, applied for v4.20.

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

end of thread, other threads:[~2018-08-30 18:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-28 15:12 [PATCH] ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions Geert Uytterhoeven
2018-08-28 15:12 ` Geert Uytterhoeven
2018-08-30  9:44 ` Phil Edworthy
2018-08-30  9:44   ` Phil Edworthy
2018-08-30 14:48   ` Simon Horman
2018-08-30 14:48     ` Simon Horman

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.