Skip to contentSkip to conversation

ARM, arm64: dts: renesas: Use R-Car SATA Gen[23] fallback compat strings

PATCH Superseded Simon Horman 3 participants 8 messages Aug 9, 2017 – Aug 15, 2017

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover ARM, arm64: dts: renesas: Use R-Car SATA Gen[23] fallback compat strings

Use newly added R-Car SATA Gen 2 and 3 fallback compat strings.

This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.

Changes since v1:
* Update patch changelogs to refer to SATA instead of GPIO, cut-and-paste madness in action

Based on renesas-devel-20170807-v4.13-rc4

Simon Horman (3):
ARM: dts: r8a7790: Use R-Car SATA Gen2 fallback compat string
ARM: dts: r8a7791: Use R-Car SATA Gen2 fallback compat string
arm64: dts: r8a7795: Use R-Car SATA Gen3 fallback compat string

 arch/arm/boot/dts/r8a7790.dtsi           | 4 ++--
 arch/arm/boot/dts/r8a7791.dtsi           | 4 ++--
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.4
#1 lore raw

PATCH v2 1/3 ARM: dts: r8a7790: Use R-Car SATA Gen2 fallback compat string

Use newly added R-Car SATA Gen2 fallback compat string in the DT of the r8a7790 SoC.

This should have no run-time effect as the driver matches against the per-SoC compat string before the fallback compat string is considered.

---
 arch/arm/boot/dts/r8a7790.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/r8a7790.dtsi +2 -2
index 167fd57aea68..16358bf8d1db 100644
@@ -873,7 +873,7 @@
 	};
 
 	sata0: sata at ee300000 {
-		compatible = "renesas,sata-r8a7790";
+		compatible = "renesas,sata-r8a7790", "renesas,rcar-gen2-sata";
 		reg = <0 0xee300000 0 0x2000>;
 		interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp8_clks R8A7790_CLK_SATA0>;
@@ -882,7 +882,7 @@
 	};
 
 	sata1: sata at ee500000 {
-		compatible = "renesas,sata-r8a7790";
+		compatible = "renesas,sata-r8a7790", "renesas,rcar-gen2-sata";
 		reg = <0 0xee500000 0 0x2000>;
 		interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp8_clks R8A7790_CLK_SATA1>;
Signature · 1 line
2.1.4
#2 lore raw

PATCH v2 1/3 ARM: dts: r8a7790: Use R-Car SATA Gen2 fallback compat string

Quoted 7 lines · Simon Horman

Use newly added R-Car SATA Gen2 fallback compat string in the DT of the r8a7790 SoC.

This should have no run-time effect as the driver matches against the per-SoC compat string before the fallback compat string is considered.

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 v2 1/3 ARM: dts: r8a7790: Use R-Car SATA Gen2 fallback compat string

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

Use newly added R-Car SATA Gen2 fallback compat string in the DT of the r8a7790 SoC.

This should have no run-time effect as the driver matches against the per-SoC compat string before the fallback compat string is considered.

Thanks. I have applied this and the other two patches in this series with your Acks.

#4 lore raw

PATCH v2 2/3 ARM: dts: r8a7791: Use R-Car SATA Gen2 fallback compat string

In reply to Simon Horman

Use newly added R-Car SATA Gen2 fallback compat string in the DT of the r8a7791 SoC.

This should have no run-time effect as the driver matches against the per-SoC compat string before the fallback compat string is considered.

---
 arch/arm/boot/dts/r8a7791.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/r8a7791.dtsi +2 -2
index ea4a8147d995..f1d1a9772153 100644
@@ -933,7 +933,7 @@
 	};
 
 	sata0: sata at ee300000 {
-		compatible = "renesas,sata-r8a7791";
+		compatible = "renesas,sata-r8a7791", "renesas,rcar-gen2-sata";
 		reg = <0 0xee300000 0 0x2000>;
 		interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp8_clks R8A7791_CLK_SATA0>;
@@ -942,7 +942,7 @@
 	};
 
 	sata1: sata at ee500000 {
-		compatible = "renesas,sata-r8a7791";
+		compatible = "renesas,sata-r8a7791", "renesas,rcar-gen2-sata";
 		reg = <0 0xee500000 0 0x2000>;
 		interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp8_clks R8A7791_CLK_SATA1>;
Signature · 1 line
2.1.4
#5 lore raw

PATCH v2 2/3 ARM: dts: r8a7791: Use R-Car SATA Gen2 fallback compat string

Quoted 7 lines · Simon Horman

Use newly added R-Car SATA Gen2 fallback compat string in the DT of the r8a7791 SoC.

This should have no run-time effect as the driver matches against the per-SoC compat string before the fallback compat string is considered.

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

#6 lore raw

PATCH v2 3/3 arm64: dts: r8a7795: Use R-Car SATA Gen3 fallback compat string

In reply to Simon Horman

Use newly added R-Car SATA Gen3 fallback compat string in the DT of the r8a7795 SoC.

This should have no run-time effect as the driver matches against the per-SoC compat string before the fallback compat string is considered.

---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +2 -1
index a87ae76880ab..c9f2b87e7ee3 100644
@@ -1451,7 +1451,8 @@
 		};
 
 		sata: sata at ee300000 {
-			compatible = "renesas,sata-r8a7795";
+			compatible = "renesas,sata-r8a7795",
+				     "renesas,rcar-gen3-sata";
 			reg = <0 0xee300000 0 0x200000>;
 			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 815>;
Signature · 1 line
2.1.4
#7 lore raw

PATCH v2 3/3 arm64: dts: r8a7795: Use R-Car SATA Gen3 fallback compat string

Quoted 7 lines · Simon Horman

Use newly added R-Car SATA Gen3 fallback compat string in the DT of the r8a7795 SoC.

This should have no run-time effect as the driver matches against the per-SoC compat string before the fallback compat string is considered.

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