Skip to contentSkip to conversation

soc: renesas: rcar-rst: add R8A77970 support

PATCH Superseded Sergei Shtylyov 3 participants 4 messages Sep 12, 2017 – Sep 13, 2017

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/11 soc: renesas: rcar-rst: add R8A77970 support

Add support for R-Car V3M (R8A77970) to the R-Car RST driver -- this driver is needed for the clock driver to work.

---
 Documentation/devicetree/bindings/reset/renesas,rst.txt |    1 +
 drivers/soc/renesas/Kconfig                             |    3 ++-
 drivers/soc/renesas/rcar-rst.c                          |    1 +
 3 files changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/reset/renesas,rst.txt +1 -0
Index: renesas/Documentation/devicetree/bindings/reset/renesas,rst.txt
===================================================================
@@ -26,6 +26,7 @@ Required properties:
 		  - "renesas,r8a7794-rst" (R-Car E2)
 		  - "renesas,r8a7795-rst" (R-Car H3)
 		  - "renesas,r8a7796-rst" (R-Car M3-W)
+		  - "renesas,r8a77970-rst" (R-Car V3M)
 		  - "renesas,r8a77995-rst" (R-Car D3)
   - reg: Address start and address range for the device.
 
drivers/soc/renesas/Kconfig +2 -1
Index: renesas/drivers/soc/renesas/Kconfig
===================================================================
@@ -3,7 +3,8 @@ config SOC_RENESAS
 	default y if ARCH_RENESAS
 	select SOC_BUS
 	select RST_RCAR if ARCH_RCAR_GEN1 || ARCH_RCAR_GEN2 || \
-			   ARCH_R8A7795 || ARCH_R8A7796 || ARCH_R8A77995
+			   ARCH_R8A7795 || ARCH_R8A7796 || ARCH_R8A77970 || \
+			   ARCH_R8A77995
 	select SYSC_R8A7743 if ARCH_R8A7743
 	select SYSC_R8A7745 if ARCH_R8A7745
 	select SYSC_R8A7779 if ARCH_R8A7779
drivers/soc/renesas/rcar-rst.c +1 -0
Index: renesas/drivers/soc/renesas/rcar-rst.c
===================================================================
@@ -41,6 +41,7 @@ static const struct of_device_id rcar_rs
 	/* R-Car Gen3 is handled like R-Car Gen2 */
 	{ .compatible = "renesas,r8a7795-rst", .data = &rcar_rst_gen2 },
 	{ .compatible = "renesas,r8a7796-rst", .data = &rcar_rst_gen2 },
+	{ .compatible = "renesas,r8a77970-rst", .data = &rcar_rst_gen2 },
 	{ .compatible = "renesas,r8a77995-rst", .data = &rcar_rst_gen2 },
 	{ /* sentinel */ }
 };
#2 lore raw

PATCH 2/11 soc: renesas: rcar-rst: add R8A77970 support

In reply to Sergei Shtylyov
Quoted 4 lines · Sergei Shtylyov

Add support for R-Car V3M (R8A77970) to the R-Car RST driver -- this driver is needed for the clock driver to work.

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