Skip to contentSkip to conversation

ARM: shmobile: Document and identify RZ/G1H and RZ/G1N

PATCH New Geert Uytterhoeven 2 participants 6 messages Mar 10, 2017 – Mar 13, 2017

Subsystems (2)
lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

cover ARM: shmobile: Document and identify RZ/G1H and RZ/G1N

Hi Simon, Magnus,

Now the part numbers of the Renesas RZ/G1H and RZ/G1N are publicly available, this patch series documents the DT bindings for these SoCs, and adds support for identifying them.

Thanks!

Geert Uytterhoeven (4):
ARM: shmobile: Document RZ/G1H SoC DT binding
ARM: shmobile: Document RZ/G1N SoC DT binding
soc: renesas: Identify RZ/G1H
soc: renesas: Identify RZ/G1N

 Documentation/devicetree/bindings/arm/shmobile.txt |  4 ++++
 drivers/soc/renesas/renesas-soc.c                  | 16 ++++++++++++++++
 2 files changed, 20 insertions(+)
Signature · 12 lines
2.7.4

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
author maintainer
#1 lore raw

PATCH 1/4 ARM: shmobile: Document RZ/G1H SoC DT binding

Document the RZ/G1H (r8a7742) SoC.

---
 Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/shmobile.txt +2 -0
index c9502634316da3b1..b8155a209c58ef89 100644
@@ -13,6 +13,8 @@ SoCs:
     compatible = "renesas,r8a73a4"
   - R-Mobile A1 (R8A77400)
     compatible = "renesas,r8a7740"
+  - RZ/G1H (R8A77420)
+    compatible = "renesas,r8a7742"
   - RZ/G1M (R8A77430)
     compatible = "renesas,r8a7743"
   - RZ/G1E (R8A77450)
Signature · 1 line
2.7.4
author maintainer
#2 lore raw

PATCH 2/4 ARM: shmobile: Document RZ/G1N SoC DT binding

In reply to Geert Uytterhoeven

Document the RZ/G1N (r8a7744) SoC.

---
 Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/shmobile.txt +2 -0
index b8155a209c58ef89..170fe0562c637eab 100644
@@ -17,6 +17,8 @@ SoCs:
     compatible = "renesas,r8a7742"
   - RZ/G1M (R8A77430)
     compatible = "renesas,r8a7743"
+  - RZ/G1N (R8A77440)
+    compatible = "renesas,r8a7744"
   - RZ/G1E (R8A77450)
     compatible = "renesas,r8a7745"
   - R-Car M1A (R8A77781)
Signature · 1 line
2.7.4
author maintainer
#3 lore raw

PATCH 3/4 soc: renesas: Identify RZ/G1H

In reply to Geert Uytterhoeven

Add support for identifying the RZ/G1H (r8a7742) SoC.

---
 drivers/soc/renesas/renesas-soc.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/soc/renesas/renesas-soc.c +8 -0
index 330960312296f603..f0172e59c0402d10 100644
@@ -80,6 +80,11 @@ static const struct renesas_soc soc_rmobile_a1 __initconst __maybe_unused = {
 	.id	= 0x40,
 };
 
+static const struct renesas_soc soc_rz_g1h __initconst __maybe_unused = {
+	.family	= &fam_rzg,
+	.id	= 0x45,
+};
+
 static const struct renesas_soc soc_rz_g1m __initconst __maybe_unused = {
 	.family	= &fam_rzg,
 	.id	= 0x47,
@@ -150,6 +155,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #ifdef CONFIG_ARCH_R8A7740
 	{ .compatible = "renesas,r8a7740",	.data = &soc_rmobile_a1 },
 #endif
+#ifdef CONFIG_ARCH_R8A7742
+	{ .compatible = "renesas,r8a7742",	.data = &soc_rz_g1h },
+#endif
 #ifdef CONFIG_ARCH_R8A7743
 	{ .compatible = "renesas,r8a7743",	.data = &soc_rz_g1m },
 #endif
Signature · 1 line
2.7.4
author maintainer
#4 lore raw

PATCH 4/4 soc: renesas: Identify RZ/G1N

In reply to Geert Uytterhoeven

Add support for identifying the RZ/G1N (r8a7744) SoC.

---
 drivers/soc/renesas/renesas-soc.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/soc/renesas/renesas-soc.c +8 -0
index f0172e59c0402d10..b894cf64225b31ac 100644
@@ -90,6 +90,11 @@ static const struct renesas_soc soc_rz_g1m __initconst __maybe_unused = {
 	.id	= 0x47,
 };
 
+static const struct renesas_soc soc_rz_g1n __initconst __maybe_unused = {
+	.family	= &fam_rzg,
+	.id	= 0x4b,
+};
+
 static const struct renesas_soc soc_rz_g1e __initconst __maybe_unused = {
 	.family	= &fam_rzg,
 	.id	= 0x4c,
@@ -161,6 +166,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #ifdef CONFIG_ARCH_R8A7743
 	{ .compatible = "renesas,r8a7743",	.data = &soc_rz_g1m },
 #endif
+#ifdef CONFIG_ARCH_R8A7744
+	{ .compatible = "renesas,r8a7744",	.data = &soc_rz_g1n },
+#endif
 #ifdef CONFIG_ARCH_R8A7745
 	{ .compatible = "renesas,r8a7745",	.data = &soc_rz_g1e },
 #endif
Signature · 1 line
2.7.4
Applied
#5 lore raw

cover ARM: shmobile: Document and identify RZ/G1H and RZ/G1N

In reply to Geert Uytterhoeven
Quoted 7 lines · Geert Uytterhoeven

Hi Simon, Magnus,

Now the part numbers of the Renesas RZ/G1H and RZ/G1N are publicly available, this patch series documents the DT bindings for these SoCs, and adds support for identifying them.

Thanks!

Thanks, applied.