ARM, arm64: dts: renesas: Use R-Car SATA Gen[23] fallback compat strings
Subsystems (2)
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.
Based on renesas-devel-20170807-v4.13-rc4
Simon Horman (3):
ARM: dts: r8a7790: Use R-Car GPIO Gen2 fallback compat string
ARM: dts: r8a7791: Use R-Car GPIO Gen2 fallback compat string
arm64: dts: r8a7795: Use R-Car GPIO 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
PATCH 1/3 ARM: dts: r8a7790: Use R-Car GPIO Gen2 fallback compat string
Use newly added R-Car GPIO 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
@@ -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
PATCH 2/3 ARM: dts: r8a7791: Use R-Car GPIO Gen2 fallback compat string
In reply to Simon HormanUse newly added R-Car GPIO 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
@@ -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
PATCH 3/3 arm64: dts: r8a7795: Use R-Car GPIO Gen3 fallback compat string
In reply to Simon HormanUse newly added R-Car GPIO 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
@@ -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
Magnus Damm
maintainerPATCH 3/3 arm64: dts: r8a7795: Use R-Car GPIO Gen3 fallback compat string
Hi Simon,
Quoted 26 lines · Simon Horman
Use newly added R-Car GPIO 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.
Signed-off-by Simon Horman <[email protected]>--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/arm64/boot/dts/renesas/r8a7795.dtsi +2
-2@@ -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>; --
Quoted 1 line
2.1.4
This patch looks odd. The subject and patch description says GPIO but the hunk above modifies SATA...?
Cheers,
/ magnus
PATCH 3/3 arm64: dts: r8a7795: Use R-Car GPIO Gen3 fallback compat string
Quoted 21 lines · Magnus Damm
Hi Simon,
Quoted 18 lines · Simon Horman
Use newly added R-Car GPIO 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.
Signed-off-by Simon Horman <[email protected]>--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/arm64/boot/dts/renesas/r8a7795.dtsi +0
-0@@ -1451,7 +1451,8 @@ };
Quoted 12 lines
Quoted 9 lines
arch/arm64/boot/dts/renesas/r8a7795.dtsi +2
-2sata: 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>; --2.1.4
This patch looks odd. The subject and patch description says GPIO but the hunk above modifies SATA...?
Yes, it looks like I have made a cut-and-paste error there. I'll repost.