ARM, arm64: dts: renesas: Use R-Car GPIO Gen[123] fallback compat strings
Subsystems (2)
cover ARM, arm64: dts: renesas: Use R-Car GPIO Gen[123] fallback compat strings
Use newly added R-Car GPIO Gen 1, 2 and 3 fallback compat strings in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of Renesas ARM and arm64 based SoCs.
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 (10):
ARM: dts: r8a7778: Use R-Car GPIO Gen1 fallback compat string
ARM: dts: r8a7779: Use R-Car GPIO Gen1 fallback compat string
ARM: dts: r8a7743: Use R-Car GPIO Gen2 fallback compat string
ARM: dts: r8a7790: Use R-Car GPIO Gen2 fallback compat string
ARM: dts: r8a7791: Use R-Car GPIO Gen2 fallback compat string
ARM: dts: r8a7792: Use R-Car GPIO Gen2 fallback compat string
ARM: dts: r8a7793: Use R-Car GPIO Gen2 fallback compat string
ARM: dts: r8a7794: Use R-Car GPIO Gen2 fallback compat string
arm64: dts: r8a7795: Use R-Car GPIO Gen3 fallback compat string
arm64: dts: r8a7796: Use R-Car GPIO Gen3 fallback compat string
arch/arm/boot/dts/r8a7743.dtsi | 16 ++++++++-------- arch/arm/boot/dts/r8a7778.dtsi | 10 +++++----- arch/arm/boot/dts/r8a7779.dtsi | 14 +++++++------- arch/arm/boot/dts/r8a7790.dtsi | 12 ++++++------ arch/arm/boot/dts/r8a7791.dtsi | 16 ++++++++-------- arch/arm/boot/dts/r8a7792.dtsi | 24 ++++++++++++------------ arch/arm/boot/dts/r8a7793.dtsi | 16 ++++++++-------- arch/arm/boot/dts/r8a7794.dtsi | 14 +++++++------- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 16 ++++++++-------- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 16 ++++++++-------- 10 files changed, 77 insertions(+), 77 deletions(-)
Signature · 1 line
2.1.4
PATCH 1/10 ARM: dts: r8a7778: Use R-Car GPIO Gen1 fallback compat string
Use newly added R-Car GPIO Gen1 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in DT of r8a7778 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
--- arch/arm/boot/dts/r8a7778.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/arm/boot/dts/r8a7778.dtsi +5 -5
@@ -88,7 +88,7 @@ }; gpio0: gpio at ffc40000 { - compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen2-gpio"; reg = <0xffc40000 0x2c>; interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -99,7 +99,7 @@ }; gpio1: gpio at ffc41000 { - compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen1-gpio"; reg = <0xffc41000 0x2c>; interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -110,7 +110,7 @@ }; gpio2: gpio at ffc42000 { - compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen1-gpio"; reg = <0xffc42000 0x2c>; interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -121,7 +121,7 @@ }; gpio3: gpio at ffc43000 { - compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen1-gpio"; reg = <0xffc43000 0x2c>; interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -132,7 +132,7 @@ }; gpio4: gpio at ffc44000 { - compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen1-gpio"; reg = <0xffc44000 0x2c>; interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
Signature · 1 line
2.1.4
PATCH 1/10 ARM: dts: r8a7778: Use R-Car GPIO Gen1 fallback compat string
Hi Simon,
Quoted 6 lines · Simon Horman
Use newly added R-Car GPIO Gen1 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in DT of r8a7778 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
That is not correct: the driver does not match against "renesas,gpio-r8a7778". Hence this breaks using a new DTS and an old kernel (which we may decide not to care about for R-Car Gen1, though).
But at least the DTS change should be postponed until commit d10bbd156926e65d ("gpio: rcar: add gen[123] fallback compatibility strings") has hit mainline.
Quoted 10 lines
Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/r8a7778.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)arch/arm/boot/dts/r8a7778.dtsi +0
-0
arch/arm/boot/dts/r8a7778.dtsi line 91
Quoted 5 lines
arch/arm/boot/dts/r8a7778.dtsi +1
-1@@ -88,7 +88,7 @@ }; gpio0: gpio at ffc40000 { - compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen2-gpio";
... "renesas,rcar-gen1-gpio";
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
PATCH 2/10 ARM: dts: r8a7779: Use R-Car GPIO Gen1 fallback compat string
In reply to Simon HormanUse newly added R-Car GPIO Gen1 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in DT of r8a7779 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
--- arch/arm/boot/dts/r8a7779.dtsi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
arch/arm/boot/dts/r8a7779.dtsi +7 -7
@@ -76,7 +76,7 @@ }; gpio0: gpio at ffc40000 { - compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; reg = <0xffc40000 0x2c>; interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -87,7 +87,7 @@ }; gpio1: gpio at ffc41000 { - compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; reg = <0xffc41000 0x2c>; interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -98,7 +98,7 @@ }; gpio2: gpio at ffc42000 { - compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; reg = <0xffc42000 0x2c>; interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -109,7 +109,7 @@ }; gpio3: gpio at ffc43000 { - compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; reg = <0xffc43000 0x2c>; interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -120,7 +120,7 @@ }; gpio4: gpio at ffc44000 { - compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; reg = <0xffc44000 0x2c>; interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -131,7 +131,7 @@ }; gpio5: gpio at ffc45000 { - compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; reg = <0xffc45000 0x2c>; interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -142,7 +142,7 @@ }; gpio6: gpio at ffc46000 { - compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; reg = <0xffc46000 0x2c>; interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
Signature · 1 line
2.1.4
PATCH 2/10 ARM: dts: r8a7779: Use R-Car GPIO Gen1 fallback compat string
Quoted 6 lines · Simon Horman
Use newly added R-Car GPIO Gen1 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in DT of r8a7779 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
That is not correct: the driver does not match against "renesas,gpio-r8a7779". Hence this breaks using a new DTS and an old kernel (which we may decide not to care about for R-Car Gen1, though).
But at least the DTS change should be postponed until commit d10bbd156926e65d ("gpio: rcar: add gen[123] fallback compatibility strings") has hit mainline.
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
PATCH 3/10 ARM: dts: r8a7743: Use R-Car GPIO Gen2 fallback compat string
In reply to Simon HormanUse newly added R-Car GPIO Gen2 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of the r8a7743 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
--- arch/arm/boot/dts/r8a7743.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
arch/arm/boot/dts/r8a7743.dtsi +8 -8
@@ -67,7 +67,7 @@ gpio0: gpio at e6050000 { compatible = "renesas,gpio-r8a7743", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6050000 0 0x50>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -82,7 +82,7 @@ gpio1: gpio at e6051000 { compatible = "renesas,gpio-r8a7743", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6051000 0 0x50>; interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -97,7 +97,7 @@ gpio2: gpio at e6052000 { compatible = "renesas,gpio-r8a7743", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6052000 0 0x50>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -112,7 +112,7 @@ gpio3: gpio at e6053000 { compatible = "renesas,gpio-r8a7743", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6053000 0 0x50>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -127,7 +127,7 @@ gpio4: gpio at e6054000 { compatible = "renesas,gpio-r8a7743", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6054000 0 0x50>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -142,7 +142,7 @@ gpio5: gpio at e6055000 { compatible = "renesas,gpio-r8a7743", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6055000 0 0x50>; interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -157,7 +157,7 @@ gpio6: gpio at e6055400 { compatible = "renesas,gpio-r8a7743", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6055400 0 0x50>; interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -172,7 +172,7 @@ gpio7: gpio at e6055800 { compatible = "renesas,gpio-r8a7743", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6055800 0 0x50>; interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
Signature · 1 line
2.1.4
PATCH 3/10 ARM: dts: r8a7743: Use R-Car GPIO Gen2 fallback compat string
Quoted 8 lines · Simon Horman
Use newly added R-Car GPIO Gen2 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of the r8a7743 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
Signed-off-by Simon Horman <[email protected]>
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
PATCH 4/10 ARM: dts: r8a7790: Use R-Car GPIO Gen2 fallback compat string
In reply to Simon HormanUse newly added R-Car GPIO Gen2 fallback compat string in place of now deprecated non-generation specific R-Car GPIO 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 considering the fallback compat string.
--- arch/arm/boot/dts/r8a7790.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm/boot/dts/r8a7790.dtsi +6 -6
@@ -191,7 +191,7 @@ }; gpio0: gpio at e6050000 { - compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7790", "renesas,rcar-gen2-gpio"; reg = <0 0xe6050000 0 0x50>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -204,7 +204,7 @@ }; gpio1: gpio at e6051000 { - compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7790", "renesas,rcar-gen2-gpio"; reg = <0 0xe6051000 0 0x50>; interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -217,7 +217,7 @@ }; gpio2: gpio at e6052000 { - compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7790", "renesas,rcar-gen2-gpio"; reg = <0 0xe6052000 0 0x50>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -230,7 +230,7 @@ }; gpio3: gpio at e6053000 { - compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7790", "renesas,rcar-gen2-gpio"; reg = <0 0xe6053000 0 0x50>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -243,7 +243,7 @@ }; gpio4: gpio at e6054000 { - compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7790", "renesas,rcar-gen2-gpio"; reg = <0 0xe6054000 0 0x50>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -256,7 +256,7 @@ }; gpio5: gpio at e6055000 { - compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7790", "renesas,rcar-gen2-gpio"; reg = <0 0xe6055000 0 0x50>; interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
Signature · 1 line
2.1.4
PATCH 4/10 ARM: dts: r8a7790: Use R-Car GPIO Gen2 fallback compat string
Quoted 8 lines · Simon Horman
Use newly added R-Car GPIO Gen2 fallback compat string in place of now deprecated non-generation specific R-Car GPIO 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 considering the fallback compat string.
Signed-off-by Simon Horman <[email protected]>
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
PATCH 5/10 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 place of now deprecated non-generation specific R-Car GPIO 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 considering the fallback compat string.
--- arch/arm/boot/dts/r8a7791.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
arch/arm/boot/dts/r8a7791.dtsi +8 -8
@@ -123,7 +123,7 @@ }; gpio0: gpio at e6050000 { - compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio"; reg = <0 0xe6050000 0 0x50>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -136,7 +136,7 @@ }; gpio1: gpio at e6051000 { - compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio"; reg = <0 0xe6051000 0 0x50>; interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -149,7 +149,7 @@ }; gpio2: gpio at e6052000 { - compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio"; reg = <0 0xe6052000 0 0x50>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -162,7 +162,7 @@ }; gpio3: gpio at e6053000 { - compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio"; reg = <0 0xe6053000 0 0x50>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -175,7 +175,7 @@ }; gpio4: gpio at e6054000 { - compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio"; reg = <0 0xe6054000 0 0x50>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -188,7 +188,7 @@ }; gpio5: gpio at e6055000 { - compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio"; reg = <0 0xe6055000 0 0x50>; interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -201,7 +201,7 @@ }; gpio6: gpio at e6055400 { - compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio"; reg = <0 0xe6055400 0 0x50>; interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -214,7 +214,7 @@ }; gpio7: gpio at e6055800 { - compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio"; reg = <0 0xe6055800 0 0x50>; interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
Signature · 1 line
2.1.4
PATCH 5/10 ARM: dts: r8a7791: Use R-Car GPIO Gen2 fallback compat string
Quoted 8 lines · Simon Horman
Use newly added R-Car GPIO Gen2 fallback compat string in place of now deprecated non-generation specific R-Car GPIO 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 considering the fallback compat string.
Signed-off-by Simon Horman <[email protected]>
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
PATCH 6/10 ARM: dts: r8a7792: Use R-Car GPIO Gen2 fallback compat string
In reply to Simon HormanUse newly added R-Car GPIO Gen2 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of the r8a7792 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
--- arch/arm/boot/dts/r8a7792.dtsi | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
arch/arm/boot/dts/r8a7792.dtsi +12 -12
@@ -145,7 +145,7 @@ gpio0: gpio at e6050000 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6050000 0 0x50>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -159,7 +159,7 @@ gpio1: gpio at e6051000 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6051000 0 0x50>; interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -173,7 +173,7 @@ gpio2: gpio at e6052000 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6052000 0 0x50>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -187,7 +187,7 @@ gpio3: gpio at e6053000 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6053000 0 0x50>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -201,7 +201,7 @@ gpio4: gpio at e6054000 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6054000 0 0x50>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -215,7 +215,7 @@ gpio5: gpio at e6055000 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6055000 0 0x50>; interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -229,7 +229,7 @@ gpio6: gpio at e6055100 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6055100 0 0x50>; interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -243,7 +243,7 @@ gpio7: gpio at e6055200 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6055200 0 0x50>; interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -257,7 +257,7 @@ gpio8: gpio at e6055300 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6055300 0 0x50>; interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -271,7 +271,7 @@ gpio9: gpio at e6055400 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6055400 0 0x50>; interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -285,7 +285,7 @@ gpio10: gpio at e6055500 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6055500 0 0x50>; interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -299,7 +299,7 @@ gpio11: gpio at e6055600 { compatible = "renesas,gpio-r8a7792", - "renesas,gpio-rcar"; + "renesas,rcar-gen2-gpio"; reg = <0 0xe6055600 0 0x50>; interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
Signature · 1 line
2.1.4
PATCH 6/10 ARM: dts: r8a7792: Use R-Car GPIO Gen2 fallback compat string
Quoted 8 lines · Simon Horman
Use newly added R-Car GPIO Gen2 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of the r8a7792 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
Signed-off-by Simon Horman <[email protected]>
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
PATCH 7/10 ARM: dts: r8a7793: Use R-Car GPIO Gen2 fallback compat string
In reply to Simon HormanUse newly added R-Car GPIO Gen2 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of the r8a7793 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
--- arch/arm/boot/dts/r8a7793.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
arch/arm/boot/dts/r8a7793.dtsi +8 -8
@@ -114,7 +114,7 @@ }; gpio0: gpio at e6050000 { - compatible = "renesas,gpio-r8a7793", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7793", "renesas,rcar-gen2-gpio"; reg = <0 0xe6050000 0 0x50>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -127,7 +127,7 @@ }; gpio1: gpio at e6051000 { - compatible = "renesas,gpio-r8a7793", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7793", "renesas,rcar-gen2-gpio"; reg = <0 0xe6051000 0 0x50>; interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -140,7 +140,7 @@ }; gpio2: gpio at e6052000 { - compatible = "renesas,gpio-r8a7793", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7793", "renesas,rcar-gen2-gpio"; reg = <0 0xe6052000 0 0x50>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -153,7 +153,7 @@ }; gpio3: gpio at e6053000 { - compatible = "renesas,gpio-r8a7793", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7793", "renesas,rcar-gen2-gpio"; reg = <0 0xe6053000 0 0x50>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -166,7 +166,7 @@ }; gpio4: gpio at e6054000 { - compatible = "renesas,gpio-r8a7793", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7793", "renesas,rcar-gen2-gpio"; reg = <0 0xe6054000 0 0x50>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -179,7 +179,7 @@ }; gpio5: gpio at e6055000 { - compatible = "renesas,gpio-r8a7793", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7793", "renesas,rcar-gen2-gpio"; reg = <0 0xe6055000 0 0x50>; interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -192,7 +192,7 @@ }; gpio6: gpio at e6055400 { - compatible = "renesas,gpio-r8a7793", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7793", "renesas,rcar-gen2-gpio"; reg = <0 0xe6055400 0 0x50>; interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -205,7 +205,7 @@ }; gpio7: gpio at e6055800 { - compatible = "renesas,gpio-r8a7793", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7793", "renesas,rcar-gen2-gpio"; reg = <0 0xe6055800 0 0x50>; interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
Signature · 1 line
2.1.4
PATCH 7/10 ARM: dts: r8a7793: Use R-Car GPIO Gen2 fallback compat string
Quoted 8 lines · Simon Horman
Use newly added R-Car GPIO Gen2 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of the r8a7793 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
Signed-off-by Simon Horman <[email protected]>
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
PATCH 8/10 ARM: dts: r8a7794: Use R-Car GPIO Gen2 fallback compat string
In reply to Simon HormanUse newly added R-Car GPIO Gen2 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of the r8a7794 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
--- arch/arm/boot/dts/r8a7794.dtsi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
arch/arm/boot/dts/r8a7794.dtsi +7 -7
@@ -81,7 +81,7 @@ }; gpio0: gpio at e6050000 { - compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7794", "renesas,rcar-gen2-gpio"; reg = <0 0xe6050000 0 0x50>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -94,7 +94,7 @@ }; gpio1: gpio at e6051000 { - compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7794", "renesas,rcar-gen2-gpio"; reg = <0 0xe6051000 0 0x50>; interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -107,7 +107,7 @@ }; gpio2: gpio at e6052000 { - compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7794", "renesas,rcar-gen2-gpio"; reg = <0 0xe6052000 0 0x50>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -120,7 +120,7 @@ }; gpio3: gpio at e6053000 { - compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7794", "renesas,rcar-gen2-gpio"; reg = <0 0xe6053000 0 0x50>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -133,7 +133,7 @@ }; gpio4: gpio at e6054000 { - compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7794", "renesas,rcar-gen2-gpio"; reg = <0 0xe6054000 0 0x50>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -146,7 +146,7 @@ }; gpio5: gpio at e6055000 { - compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7794", "renesas,rcar-gen2-gpio"; reg = <0 0xe6055000 0 0x50>; interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -159,7 +159,7 @@ }; gpio6: gpio at e6055400 { - compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; + compatible = "renesas,gpio-r8a7794", "renesas,rcar-gen2-gpio"; reg = <0 0xe6055400 0 0x50>; interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
Signature · 1 line
2.1.4
PATCH 9/10 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 place of now deprecated non-generation specific R-Car GPIO 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 considering the fallback compat string.
--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +8 -8
@@ -220,7 +220,7 @@ gpio0: gpio at e6050000 { compatible = "renesas,gpio-r8a7795", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6050000 0 0x50>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -235,7 +235,7 @@ gpio1: gpio at e6051000 { compatible = "renesas,gpio-r8a7795", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6051000 0 0x50>; interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -250,7 +250,7 @@ gpio2: gpio at e6052000 { compatible = "renesas,gpio-r8a7795", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6052000 0 0x50>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -265,7 +265,7 @@ gpio3: gpio at e6053000 { compatible = "renesas,gpio-r8a7795", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6053000 0 0x50>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -280,7 +280,7 @@ gpio4: gpio at e6054000 { compatible = "renesas,gpio-r8a7795", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6054000 0 0x50>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -295,7 +295,7 @@ gpio5: gpio at e6055000 { compatible = "renesas,gpio-r8a7795", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6055000 0 0x50>; interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -310,7 +310,7 @@ gpio6: gpio at e6055400 { compatible = "renesas,gpio-r8a7795", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6055400 0 0x50>; interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -325,7 +325,7 @@ gpio7: gpio at e6055800 { compatible = "renesas,gpio-r8a7795", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6055800 0 0x50>; interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
Signature · 1 line
2.1.4
PATCH 9/10 arm64: dts: r8a7795: Use R-Car GPIO Gen3 fallback compat string
Quoted 8 lines · Simon Horman
Use newly added R-Car GPIO Gen3 fallback compat string in place of now deprecated non-generation specific R-Car GPIO 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 considering the fallback compat string.
Signed-off-by Simon Horman <[email protected]>
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
PATCH 10/10 arm64: dts: r8a7796: Use R-Car GPIO Gen3 fallback compat string
In reply to Simon HormanUse newly added R-Car GPIO Gen3 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of the r8a7796 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +8 -8
@@ -214,7 +214,7 @@ gpio0: gpio at e6050000 { compatible = "renesas,gpio-r8a7796", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6050000 0 0x50>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -229,7 +229,7 @@ gpio1: gpio at e6051000 { compatible = "renesas,gpio-r8a7796", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6051000 0 0x50>; interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -244,7 +244,7 @@ gpio2: gpio at e6052000 { compatible = "renesas,gpio-r8a7796", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6052000 0 0x50>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -259,7 +259,7 @@ gpio3: gpio at e6053000 { compatible = "renesas,gpio-r8a7796", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6053000 0 0x50>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -274,7 +274,7 @@ gpio4: gpio at e6054000 { compatible = "renesas,gpio-r8a7796", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6054000 0 0x50>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -289,7 +289,7 @@ gpio5: gpio at e6055000 { compatible = "renesas,gpio-r8a7796", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6055000 0 0x50>; interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -304,7 +304,7 @@ gpio6: gpio at e6055400 { compatible = "renesas,gpio-r8a7796", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6055400 0 0x50>; interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
@@ -319,7 +319,7 @@ gpio7: gpio at e6055800 { compatible = "renesas,gpio-r8a7796", - "renesas,gpio-rcar"; + "renesas,rcar-gen3-gpio"; reg = <0 0xe6055800 0 0x50>; interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;
Signature · 1 line
2.1.4
PATCH 10/10 arm64: dts: r8a7796: Use R-Car GPIO Gen3 fallback compat string
Quoted 8 lines · Simon Horman
Use newly added R-Car GPIO Gen3 fallback compat string in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of the r8a7796 SoC.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
Signed-off-by Simon Horman <[email protected]>
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
Magnus Damm
maintainercover ARM, arm64: dts: renesas: Use R-Car GPIO Gen[123] fallback compat strings
In reply to Simon HormanHi Simon,
Quoted 6 lines · Simon Horman
Use newly added R-Car GPIO Gen 1, 2 and 3 fallback compat strings in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of Renesas ARM and arm64 based SoCs.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
Thanks for your efforts.I have no issue with your series (apart from the GPIO and SATA mistake), but at the same time I believe the GPIO hardware itself is backwards compatible between various generations.
In the nitpick department I would like to point out that the level of hardware difference between say R-Car Gen1 GPIO and R-Car Gen2 GPIO is similar to say good old uarts like 8250 and 16450 hardware. Basically a couple of registers were added to the hardware in a backwards-compatible way if I recall correctly.
So if we are going to use "compatible" to point out if hardware is compatible or not then I would do this instead:
arch/arm64/boot/dts/renesas/r8a7796.dtsi +1 -0
@@ -214,7 +214,7 @@ gpio0: gpio at e6050000 { compatible = "renesas,gpio-r8a7796", + "renesas,rcar-gen3-gpio"; "renesas,gpio-rcar"; reg = <0 0xe6050000 0 0x50>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>;
At the same time I'm not sure if I care _that_ much. =)
Thanks,
/ magnus
cover ARM, arm64: dts: renesas: Use R-Car GPIO Gen[123] fallback compat strings
Quoted 14 lines · Magnus Damm
Hi Simon,
Quoted 6 lines · Simon Horman
Use newly added R-Car GPIO Gen 1, 2 and 3 fallback compat strings in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of Renesas ARM and arm64 based SoCs.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
Thanks for your efforts.I have no issue with your series (apart from the GPIO and SATA mistake), but at the same time I believe the GPIO hardware itself is backwards compatible between various generations.
Quoted 8 lines
In the nitpick department I would like to point out that the level of hardware difference between say R-Car Gen1 GPIO and R-Car Gen2 GPIO is similar to say good old uarts like 8250 and 16450 hardware. Basically a couple of registers were added to the hardware in a backwards-compatible way if I recall correctly.
So if we are going to use "compatible" to point out if hardware is compatible or not then I would do this instead:
Thanks for your feedback.
When the generation specific compat strings were recently
added the renesas,gpio-rcar compat string was marked as deprecated as I was under the understanding that it was only compatibile with gen 1 SoCs.
It now seems that was not the best thing to do and renesas,gpio-rcar should be re-instated as being a generic fallback for all R-Car versions supported in upstream.
Do you concur?
Quoted 19 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +1
-0@@ -214,7 +214,7 @@ gpio0: gpio at e6050000 { compatible = "renesas,gpio-r8a7796", + "renesas,rcar-gen3-gpio"; "renesas,gpio-rcar"; reg = <0 0xe6050000 0 0x50>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;At the same time I'm not sure if I care _that_ much. =)
Thanks,
/ magnus
cover ARM, arm64: dts: renesas: Use R-Car GPIO Gen[123] fallback compat strings
Quoted 30 lines · Simon Horman
Quoted 14 lines · Magnus Damm
Hi Simon,
Quoted 6 lines · Simon Horman
Use newly added R-Car GPIO Gen 1, 2 and 3 fallback compat strings in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of Renesas ARM and arm64 based SoCs.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
Thanks for your efforts.I have no issue with your series (apart from the GPIO and SATA mistake), but at the same time I believe the GPIO hardware itself is backwards compatible between various generations.
Quoted 8 lines
In the nitpick department I would like to point out that the level of hardware difference between say R-Car Gen1 GPIO and R-Car Gen2 GPIO is similar to say good old uarts like 8250 and 16450 hardware. Basically a couple of registers were added to the hardware in a backwards-compatible way if I recall correctly.
So if we are going to use "compatible" to point out if hardware is compatible or not then I would do this instead:
Thanks for your feedback.
When the generation specific compat strings were recently
added the renesas,gpio-rcar compat string was marked as deprecated as I was under the understanding that it was only compatibile with gen 1 SoCs.
Quoted 5 lines
It now seems that was not the best thing to do and renesas,gpio-rcar should be re-instated as being a generic fallback for all R-Car versions supported in upstream.
Do you concur?
I posted a patch to un-deprecate the renesas,gpio-rcar compat string in the bindings documentation.
[PATCH] gpio: rcar: reinstate generic compat string
Magnus Damm
maintainercover ARM, arm64: dts: renesas: Use R-Car GPIO Gen[123] fallback compat strings
Hi Simon,
Quoted 35 lines · Simon Horman
Quoted 34 lines · Simon Horman
Quoted 14 lines · Magnus Damm
Hi Simon,
Quoted 6 lines · Simon Horman
Use newly added R-Car GPIO Gen 1, 2 and 3 fallback compat strings in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of Renesas ARM and arm64 based SoCs.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
Thanks for your efforts.I have no issue with your series (apart from the GPIO and SATA mistake), but at the same time I believe the GPIO hardware itself is backwards compatible between various generations.
Quoted 8 lines
In the nitpick department I would like to point out that the level of hardware difference between say R-Car Gen1 GPIO and R-Car Gen2 GPIO is similar to say good old uarts like 8250 and 16450 hardware. Basically a couple of registers were added to the hardware in a backwards-compatible way if I recall correctly.
So if we are going to use "compatible" to point out if hardware is compatible or not then I would do this instead:
Thanks for your feedback.
When the generation specific compat strings were recently
added the renesas,gpio-rcar compat string was marked as deprecated as I was under the understanding that it was only compatibile with gen 1 SoCs.It now seems that was not the best thing to do and renesas,gpio-rcar should be re-instated as being a generic fallback for all R-Car versions supported in upstream.
Quoted 6 lines
Quoted 1 line
Do you concur?
I posted a patch to un-deprecate the renesas,gpio-rcar compat string in the bindings documentation.
[PATCH] gpio: rcar: reinstate generic compat string
Thanks, this looks good to me. I would like to hear what Geert thinks as well!
Cheers,
/ magnus
cover ARM, arm64: dts: renesas: Use R-Car GPIO Gen[123] fallback compat strings
Quoted 38 lines · Magnus Damm
Hi Simon,
Quoted 35 lines · Simon Horman
Quoted 34 lines · Simon Horman
Quoted 14 lines · Magnus Damm
Hi Simon,
Quoted 6 lines · Simon Horman
Use newly added R-Car GPIO Gen 1, 2 and 3 fallback compat strings in place of now deprecated non-generation specific R-Car GPIO fallback compat string in the DT of Renesas ARM and arm64 based SoCs.
This should have no run-time effect as the driver matches against the per-SoC compat string before considering the fallback compat string.
Thanks for your efforts.I have no issue with your series (apart from the GPIO and SATA mistake), but at the same time I believe the GPIO hardware itself is backwards compatible between various generations.
Quoted 8 lines
In the nitpick department I would like to point out that the level of hardware difference between say R-Car Gen1 GPIO and R-Car Gen2 GPIO is similar to say good old uarts like 8250 and 16450 hardware. Basically a couple of registers were added to the hardware in a backwards-compatible way if I recall correctly.
So if we are going to use "compatible" to point out if hardware is compatible or not then I would do this instead:
Thanks for your feedback.
When the generation specific compat strings were recently
added the renesas,gpio-rcar compat string was marked as deprecated as I was under the understanding that it was only compatibile with gen 1 SoCs.It now seems that was not the best thing to do and renesas,gpio-rcar should be re-instated as being a generic fallback for all R-Car versions supported in upstream.
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Do you concur?
I posted a patch to un-deprecate the renesas,gpio-rcar compat string in the bindings documentation.
[PATCH] gpio: rcar: reinstate generic compat string
Thanks, this looks good to me. I would like to hear what Geert thinks as well!
Thanks, good plan.