Skip to contentSkip to conversation

ARM, arm64: dts: Use R-Car fallback bindings for msiof nodes

PATCH New Simon Horman 3 participants 12 messages Dec 20, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ARM, arm64: dts: Use R-Car fallback bindings for msiof nodes

Hi,

this short series makes use of newly added R-Car fallback bindings in msiof nodes of the DTs for SoCs where the drivers in question are already used.

This should have no run-time effect at this time as the current driver implementations use the same initialisation sequences for SoC-specific and R-Car fallback bindings for all the cases covered by this patch-set.

Based on renesas-devel-20161212-v4.9

Simon Horman (4):
arm64: dts: r8a7796: Use R-Car Gen 3 fallback binding for msiof nodes
ARM: dts: r8a7791: Use R-Car Gen 2 fallback binding for msiof nodes
ARM: dts: r8a7792: Use R-Car Gen 2 fallback binding for msiof nodes
ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes

 arch/arm/boot/dts/r8a7790.dtsi           | 12 ++++++++----
 arch/arm/boot/dts/r8a7791.dtsi           |  9 ++++++---
 arch/arm/boot/dts/r8a7792.dtsi           |  6 ++++--
 arch/arm64/boot/dts/renesas/r8a7796.dtsi | 12 ++++++++----
 4 files changed, 26 insertions(+), 13 deletions(-)
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#1 lore raw

PATCH 1/4 arm64: dts: r8a7796: Use R-Car Gen 3 fallback binding for msiof nodes

Use recently added R-Car Gen 3 fallback binding for msiof nodes in DT for r8a7796 SoC.

This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r8a7796 and the fallback binding for R-Car Gen 3.

---
 arch/arm64/boot/dts/renesas/r8a7796.dtsi | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +8 -4
index 7bf0f2f6c224..936c9c48f0db 100644
@@ -435,7 +435,8 @@
 		};
 
 		msiof0: spi at e6e90000 {
-			compatible = "renesas,msiof-r8a7796";
+			compatible = "renesas,msiof-r8a7796",
+				     "renesas,rcar-gen3-msiof";
 			reg = <0 0xe6e90000 0 0x0064>;
 			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 211>;
@@ -449,7 +450,8 @@
 		};
 
 		msiof1: spi at e6ea0000 {
-			compatible = "renesas,msiof-r8a7796";
+			compatible = "renesas,msiof-r8a7796",
+				     "renesas,rcar-gen3-msiof";
 			reg = <0 0xe6ea0000 0 0x0064>;
 			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 210>;
@@ -463,7 +465,8 @@
 		};
 
 		msiof2: spi at e6c00000 {
-			compatible = "renesas,msiof-r8a7796";
+			compatible = "renesas,msiof-r8a7796",
+				     "renesas,rcar-gen3-msiof";
 			reg = <0 0xe6c00000 0 0x0064>;
 			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 209>;
@@ -476,7 +479,8 @@
 		};
 
 		msiof3: spi at e6c10000 {
-			compatible = "renesas,msiof-r8a7796";
+			compatible = "renesas,msiof-r8a7796",
+				     "renesas,rcar-gen3-msiof";
 			reg = <0 0xe6c10000 0 0x0064>;
 			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 208>;
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#2 lore raw

PATCH 1/4 arm64: dts: r8a7796: Use R-Car Gen 3 fallback binding for msiof nodes

Quoted 8 lines · Simon Horman

Use recently added R-Car Gen 3 fallback binding for msiof nodes in DT for r8a7796 SoC.

This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r8a7796 and the fallback binding for R-Car Gen 3.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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

#3 lore raw

PATCH 1/4 arm64: dts: r8a7796: Use R-Car Gen 3 fallback binding for msiof nodes

Quoted 5 lines · Geert Uytterhoeven
Quoted 3 lines · Simon Horman

Use recently added R-Car Gen 3 fallback binding for msiof nodes in DT for r8a7796 SoC.

Quoted 7 lines
Quoted 5 lines

This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r8a7796 and the fallback binding for R-Car Gen 3.

and

;-)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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

#4 lore raw

PATCH 1/4 arm64: dts: r8a7796: Use R-Car Gen 3 fallback binding for msiof nodes

Quoted 11 lines · Geert Uytterhoeven
Quoted 9 lines · Geert Uytterhoeven
Quoted 7 lines · Simon Horman

Use recently added R-Car Gen 3 fallback binding for msiof nodes in DT for r8a7796 SoC.

This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r8a7796 and the fallback binding for R-Car Gen 3.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

and

I have taken the liberty of only adding your second tag.

#5 lore raw

PATCH 2/4 ARM: dts: r8a7791: Use R-Car Gen 2 fallback binding for msiof nodes

In reply to Simon Horman

Use recently added R-Car Gen 2 fallback binding for msiof nodes in DT for r8a7791 SoC.

This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r8a7791 and the fallback binding for R-Car Gen 2.

---
 arch/arm/boot/dts/r8a7791.dtsi | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
arch/arm/boot/dts/r8a7791.dtsi +6 -3
index 93f446db6a21..ba5748dc5171 100644
@@ -1518,7 +1518,8 @@
 	};
 
 	msiof0: spi at e6e20000 {
-		compatible = "renesas,msiof-r8a7791";
+		compatible = "renesas,msiof-r8a7791",
+			     "renesas,rcar-gen2-msiof";
 		reg = <0 0xe6e20000 0 0x0064>;
 		interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>;
@@ -1532,7 +1533,8 @@
 	};
 
 	msiof1: spi at e6e10000 {
-		compatible = "renesas,msiof-r8a7791";
+		compatible = "renesas,msiof-r8a7791",
+			     "renesas,rcar-gen2-msiof";
 		reg = <0 0xe6e10000 0 0x0064>;
 		interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp2_clks R8A7791_CLK_MSIOF1>;
@@ -1546,7 +1548,8 @@
 	};
 
 	msiof2: spi at e6e00000 {
-		compatible = "renesas,msiof-r8a7791";
+		compatible = "renesas,msiof-r8a7791",
+			     "renesas,rcar-gen2-msiof";
 		reg = <0 0xe6e00000 0 0x0064>;
 		interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp2_clks R8A7791_CLK_MSIOF2>;
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#6 lore raw

PATCH 2/4 ARM: dts: r8a7791: Use R-Car Gen 2 fallback binding for msiof nodes

Quoted 8 lines · Simon Horman

Use recently added R-Car Gen 2 fallback binding for msiof nodes in DT for r8a7791 SoC.

This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r8a7791 and the fallback binding for R-Car Gen 2.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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

#7 lore raw

PATCH 3/4 ARM: dts: r8a7792: Use R-Car Gen 2 fallback binding for msiof nodes

In reply to Simon Horman

Use recently added R-Car Gen 2 fallback binding for msiof nodes in DT for r8a7792 SoC.

This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r8a7792 and the fallback binding for R-Car Gen 2.

---
 arch/arm/boot/dts/r8a7792.dtsi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm/boot/dts/r8a7792.dtsi +4 -2
index c5e834073cb3..a43eb857ba80 100644
@@ -585,7 +585,8 @@
 		};
 
 		msiof0: spi at e6e20000 {
-			compatible = "renesas,msiof-r8a7792";
+			compatible = "renesas,msiof-r8a7792",
+				     "renesas,rcar-gen2-msiof";
 			reg = <0 0xe6e20000 0 0x0064>;
 			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&mstp0_clks R8A7792_CLK_MSIOF0>;
@@ -599,7 +600,8 @@
 		};
 
 		msiof1: spi at e6e10000 {
-			compatible = "renesas,msiof-r8a7792";
+			compatible = "renesas,msiof-r8a7792",
+				     "renesas,rcar-gen2-msiof";
 			reg = <0 0xe6e10000 0 0x0064>;
 			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&mstp2_clks R8A7792_CLK_MSIOF1>;
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#8 lore raw

PATCH 3/4 ARM: dts: r8a7792: Use R-Car Gen 2 fallback binding for msiof nodes

Quoted 8 lines · Simon Horman

Use recently added R-Car Gen 2 fallback binding for msiof nodes in DT for r8a7792 SoC.

This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r8a7792 and the fallback binding for R-Car Gen 2.

Signature · 10 lines
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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
#9 lore raw

PATCH 4/4 ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes

In reply to Simon Horman

Use recently added R-Car Gen 2 fallback binding for msiof nodes in DT for r8a7790 SoC.

This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r8a7790 and the fallback binding for R-Car Gen 2.

---
 arch/arm/boot/dts/r8a7790.dtsi | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
arch/arm/boot/dts/r8a7790.dtsi +8 -4
index b7ed7466308b..63648f1a2e19 100644
@@ -1504,7 +1504,8 @@
 	};
 
 	msiof0: spi at e6e20000 {
-		compatible = "renesas,msiof-r8a7790";
+		compatible = "renesas,msiof-r8a7790",
+			     "renesas,rcar-gen2-msiof";
 		reg = <0 0xe6e20000 0 0x0064>;
 		interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp0_clks R8A7790_CLK_MSIOF0>;
@@ -1518,7 +1519,8 @@
 	};
 
 	msiof1: spi at e6e10000 {
-		compatible = "renesas,msiof-r8a7790";
+		compatible = "renesas,msiof-r8a7790",
+			     "renesas,rcar-gen2-msiof";
 		reg = <0 0xe6e10000 0 0x0064>;
 		interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp2_clks R8A7790_CLK_MSIOF1>;
@@ -1532,7 +1534,8 @@
 	};
 
 	msiof2: spi at e6e00000 {
-		compatible = "renesas,msiof-r8a7790";
+		compatible = "renesas,msiof-r8a7790",
+			     "renesas,rcar-gen2-msiof";
 		reg = <0 0xe6e00000 0 0x0064>;
 		interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp2_clks R8A7790_CLK_MSIOF2>;
@@ -1546,7 +1549,8 @@
 	};
 
 	msiof3: spi at e6c90000 {
-		compatible = "renesas,msiof-r8a7790";
+		compatible = "renesas,msiof-r8a7790",
+			     "renesas,rcar-gen2-msiof";
 		reg = <0 0xe6c90000 0 0x0064>;
 		interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp2_clks R8A7790_CLK_MSIOF3>;
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#10 lore raw

PATCH 4/4 ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes

Quoted 8 lines · Simon Horman

Use recently added R-Car Gen 2 fallback binding for msiof nodes in DT for r8a7790 SoC.

This has no run-time effect for the current driver as the initialisation sequence is the same for the SoC-specific binding for r8a7790 and the fallback binding for R-Car Gen 2.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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

#11 lore raw

cover ARM, arm64: dts: Use R-Car fallback bindings for msiof nodes

In reply to Simon Horman
Quoted 9 lines · Simon Horman

Hi,

this short series makes use of newly added R-Car fallback bindings in msiof nodes of the DTs for SoCs where the drivers in question are already used.

This should have no run-time effect at this time as the current driver implementations use the same initialisation sequences for SoC-specific and R-Car fallback bindings for all the cases covered by this patch-set.

Quoted 7 lines

Based on renesas-devel-20161212-v4.9

Simon Horman (4):
arm64: dts: r8a7796: Use R-Car Gen 3 fallback binding for msiof nodes
ARM: dts: r8a7791: Use R-Car Gen 2 fallback binding for msiof nodes
ARM: dts: r8a7792: Use R-Car Gen 2 fallback binding for msiof nodes
ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes

I have queued these up with Geert's Acks.