Skip to contentSkip to conversation

arm64: dts: r8a7796: add IMR-LX4 support

PATCH Superseded Sergei Shtylyov 3 participants 6 messages Jun 27, 2017 – Jul 5, 2017

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

PATCH v2 1/1 arm64: dts: r8a7796: add IMR-LX4 support

Describe the IMR-LX4 devices in the R8A7796 device tree.

---
This patch is against the 'renesas-devel-20170626-v4.12-rc7' tag of Simon Horman's 'renesas.git' repo.

The IMR-LX4 bindings were documented in the IMR driver patch and ACK'ed by Rob Herring, so I don't expect them to change...

Changes in version 2:
- added SoC specific "compatible" prop values;
- refreshed the patch.

 arch/arm64/boot/dts/renesas/r8a7796.dtsi |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +18 -0
Index: renesas/arch/arm64/boot/dts/renesas/r8a7796.dtsi
===================================================================
@@ -1454,5 +1454,23 @@
 				};
 			};
 		};
+
+		imr-lx4 at fe860000 {
+			compatible = "renesas,r8a7796-imr-lx4",
+				     "renesas,imr-lx4";
+			reg = <0 0xfe860000 0 0x2000>;
+			interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 823>;
+			power-domains = <&sysc R8A7796_PD_A3VC>;
+		};
+
+		imr-lx4 at fe870000 {
+			compatible = "renesas,r8a7796-imr-lx4",
+				     "renesas,imr-lx4";
+			reg = <0 0xfe870000 0 0x2000>;
+			interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 822>;
+			power-domains = <&sysc R8A7796_PD_A3VC>;
+		};
 	};
 };
#1 lore raw

PATCH v2 1/1 arm64: dts: r8a7796: add IMR-LX4 support

Quoted 10 lines · Sergei Shtylyov

Describe the IMR-LX4 devices in the R8A7796 device tree.

---
This patch is against the 'renesas-devel-20170626-v4.12-rc7' tag of Simon Horman's 'renesas.git' repo.

The IMR-LX4 bindings were documented in the IMR driver patch and ACK'ed by Rob Herring, so I don't expect them to change...

Thanks Sergei,

applied for v4.14.

#2 lore raw

PATCH v2 1/1 arm64: dts: r8a7796: add IMR-LX4 support

In reply to Sergei Shtylyov

Hi Sergei,

Quoted 8 lines · Sergei Shtylyov

Describe the IMR-LX4 devices in the R8A7796 device tree.

arch/arm64/boot/dts/renesas/r8a7796.dtsi +0 -0
@@ -1454,5 +1454,23 @@
                                };

arch/arm64/boot/dts/renesas/r8a7796.dtsi line 1464

Quoted 10 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +8 -0
                        };
                };
+
+               imr-lx4 at fe860000 {
+                       compatible = "renesas,r8a7796-imr-lx4",
+                                    "renesas,imr-lx4";
+                       reg = <0 0xfe860000 0 0x2000>;
+                       interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 823>;
+                       power-domains = <&sysc R8A7796_PD_A3VC>;

resets = <&cpg 823>;

arch/arm64/boot/dts/renesas/r8a7796.dtsi line 1473

Quoted 9 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +9 -0
+               };
+
+               imr-lx4 at fe870000 {
+                       compatible = "renesas,r8a7796-imr-lx4",
+                                    "renesas,imr-lx4";
+                       reg = <0 0xfe870000 0 0x2000>;
+                       interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 822>;
+                       power-domains = <&sysc R8A7796_PD_A3VC>;

resets = <&cpg 822>;

With the issues above fixed:

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/1 arm64: dts: r8a7796: add IMR-LX4 support

Quoted 35 lines · Geert Uytterhoeven

Hi Sergei,

Quoted 8 lines · Sergei Shtylyov

Describe the IMR-LX4 devices in the R8A7796 device tree.

arch/arm64/boot/dts/renesas/r8a7796.dtsi +0 -0
@@ -1454,5 +1454,23 @@
                                };

arch/arm64/boot/dts/renesas/r8a7796.dtsi line 1464

Quoted 10 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +8 -0
                        };
                };
+
+               imr-lx4 at fe860000 {
+                       compatible = "renesas,r8a7796-imr-lx4",
+                                    "renesas,imr-lx4";
+                       reg = <0 0xfe860000 0 0x2000>;
+                       interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 823>;
+                       power-domains = <&sysc R8A7796_PD_A3VC>;

resets = <&cpg 823>;

arch/arm64/boot/dts/renesas/r8a7796.dtsi line 1473

Quoted 9 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +9 -0
+               };
+
+               imr-lx4 at fe870000 {
+                       compatible = "renesas,r8a7796-imr-lx4",
+                                    "renesas,imr-lx4";
+                       reg = <0 0xfe870000 0 0x2000>;
+                       interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 822>;
+                       power-domains = <&sysc R8A7796_PD_A3VC>;
Quoted 5 lines

resets = <&cpg 822>;

With the issues above fixed:

Thanks, fixed.

#4 lore raw

PATCH v2 1/1 arm64: dts: r8a7796: add IMR-LX4 support

In reply to Geert Uytterhoeven

Hello.

Quoted 31 lines · Geert Uytterhoeven
Quoted 8 lines

Describe the IMR-LX4 devices in the R8A7796 device tree.

arch/arm64/boot/dts/renesas/r8a7796.dtsi +0 -0
@@ -1454,5 +1454,23 @@
                                };

arch/arm64/boot/dts/renesas/r8a7796.dtsi line 1464

Quoted 10 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +8 -0
                        };
                };
+
+               imr-lx4 at fe860000 {
+                       compatible = "renesas,r8a7796-imr-lx4",
+                                    "renesas,imr-lx4";
+                       reg = <0 0xfe860000 0 0x2000>;
+                       interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 823>;
+                       power-domains = <&sysc R8A7796_PD_A3VC>;

resets = <&cpg 823>;

arch/arm64/boot/dts/renesas/r8a7796.dtsi line 1473

Quoted 9 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +9 -0
+               };
+
+               imr-lx4 at fe870000 {
+                       compatible = "renesas,r8a7796-imr-lx4",
+                                    "renesas,imr-lx4";
+                       reg = <0 0xfe870000 0 0x2000>;
+                       interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 822>;
+                       power-domains = <&sysc R8A7796_PD_A3VC>;
Quoted 5 lines

resets = <&cpg 822>;

With the issues above fixed:

I'm afraid it's already merged by Simon...

Quoted 3 lines

Gr{oetje,eeting}s,

Geert

MBR, Sergei

#5 lore raw

PATCH v2 1/1 arm64: dts: r8a7796: add IMR-LX4 support

Quoted 35 lines · Sergei Shtylyov

Hello.

Quoted 31 lines · Geert Uytterhoeven
Quoted 8 lines

Describe the IMR-LX4 devices in the R8A7796 device tree.

arch/arm64/boot/dts/renesas/r8a7796.dtsi +0 -0
@@ -1454,5 +1454,23 @@
                               };

arch/arm64/boot/dts/renesas/r8a7796.dtsi line 1464

Quoted 10 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +8 -0
                       };
               };
+
+               imr-lx4 at fe860000 {
+                       compatible = "renesas,r8a7796-imr-lx4",
+                                    "renesas,imr-lx4";
+                       reg = <0 0xfe860000 0 0x2000>;
+                       interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 823>;
+                       power-domains = <&sysc R8A7796_PD_A3VC>;

resets = <&cpg 823>;

Quoted 9 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +9 -0
+               };
+
+               imr-lx4 at fe870000 {
+                       compatible = "renesas,r8a7796-imr-lx4",
+                                    "renesas,imr-lx4";
+                       reg = <0 0xfe870000 0 0x2000>;
+                       interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 822>;
+                       power-domains = <&sysc R8A7796_PD_A3VC>;
Quoted 7 lines
Quoted 5 lines

resets = <&cpg 822>;

With the issues above fixed:

I'm afraid it's already merged by Simon...

I've gone through and added Geert's tags to patches that I merged recently. I'm planning to push the updated patches later today.