ARM: shmobile: Document and identify RZ/G1H and RZ/G1N
Subsystems (2)
Geert Uytterhoeven
maintainercover 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 TorvaldsGeert Uytterhoeven
maintainerPATCH 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
@@ -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
Geert Uytterhoeven
maintainerPATCH 2/4 ARM: shmobile: Document RZ/G1N SoC DT binding
In reply to Geert UytterhoevenDocument 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
@@ -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
Geert Uytterhoeven
maintainerPATCH 3/4 soc: renesas: Identify RZ/G1H
In reply to Geert UytterhoevenAdd 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
@@ -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
Geert Uytterhoeven
maintainerPATCH 4/4 soc: renesas: Identify RZ/G1N
In reply to Geert UytterhoevenAdd 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
@@ -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
Simon Horman
Appliedcover ARM: shmobile: Document and identify RZ/G1H and RZ/G1N
In reply to Geert UytterhoevenQuoted 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.