Renesas driver updates for v5.19

- Initial support for the new RZ/G2UL SoC.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCYmKBcwAKCRCKwlD9ZEnx
 cO03AQDN03R9IxLhvTYb4pRLSgkL5PYhahJhN4pN8qc4L4CkXgD/esbnQ8KObcJ2
 CWYGFEk6A5NGF0E8jp2uyew5I3RqjgU=
 =2nP4
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJxKCEACgkQmmx57+YA
 GNlyGBAAknajFJ2ACWeW3EPpHOw+8da5rLUq2XKtonPasurXkbfGvoR0JLe/ZNyE
 B0esdnZt8Lm237aQ+a8De9afa7a5HcWqbhmzgcfKcEDTLOEWkRTYp67L/JHIfpMY
 uSffxLZNfj0gQA95nX5v2brHqIm/JNp3dhZpv9ts2eYgn/wX2W57PzeGr8HjBbVx
 bJDrhB9EMeV750eYlbLV24ELaVFMHEC72NQitYNp95eq8z/HwD4bISKwnvvnk9qc
 6oBhKljUYHZdNfBT5sZwEH02LpUr8eYx3pkmaZmnxCUTLVTQ8R0k8a3M9g8nfPOm
 yupfO3fz0z8+YaGw94RLMxVVMQUv79UlcmNavDB2qKK5vcCbsiUi4+lEWBvBWi26
 QM5e5HQ0TSMmTN4cYO2QgdA2cjs+nJF7uE4NWASsgY2mouB2j+ShPHX226jIhyOn
 +8PfpQYHrQ7Dm030Oag6i3wxe/RkowHyYhZ2V3Jj9r6Ba/Aidm3Cb1zoob5d+oVU
 vGkUUf7kigvR/ziBDUocDJfPrEaQ+/HRSEIGiRUfE6lqk018hcZMYlM3pYE/5egA
 M1VS3/ENxMklrZ8dcUjEa9mspPb+Pg8hcO2fjxFzT3A9XA1yjjAFJ4UkQBgYSQ95
 RjtVeZUjYbjaIxCAW47BNNdO1qlAJ2ye5k2oc+1JADZ5Qo3D0EM=
 =ojIE
 -----END PGP SIGNATURE-----

Merge tag 'renesas-drivers-for-v5.19-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/drivers

Renesas driver updates for v5.19

  - Initial support for the new RZ/G2UL SoC.

* tag 'renesas-drivers-for-v5.19-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  soc: renesas: Identify RZ/G2UL SoC

Link: https://lore.kernel.org/r/cover.1650638515.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2022-05-03 15:03:28 +02:00
commit 447455690f
2 changed files with 19 additions and 0 deletions

View File

@ -296,6 +296,12 @@ config ARCH_R8A774B1
help
This enables support for the Renesas RZ/G2N SoC.
config ARCH_R9A07G043
bool "ARM64 Platform support for RZ/G2UL"
select ARCH_RZG2L
help
This enables support for the Renesas RZ/G2UL SoC variants.
config ARCH_R9A07G044
bool "ARM64 Platform support for RZ/G2L"
select ARCH_RZG2L

View File

@ -64,6 +64,10 @@ static const struct renesas_family fam_rzg2l __initconst __maybe_unused = {
.name = "RZ/G2L",
};
static const struct renesas_family fam_rzg2ul __initconst __maybe_unused = {
.name = "RZ/G2UL",
};
static const struct renesas_family fam_rzv2l __initconst __maybe_unused = {
.name = "RZ/V2L",
};
@ -148,6 +152,11 @@ static const struct renesas_soc soc_rz_g2l __initconst __maybe_unused = {
.id = 0x841c447,
};
static const struct renesas_soc soc_rz_g2ul __initconst __maybe_unused = {
.family = &fam_rzg2ul,
.id = 0x8450447,
};
static const struct renesas_soc soc_rz_v2l __initconst __maybe_unused = {
.family = &fam_rzv2l,
.id = 0x8447447,
@ -340,6 +349,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
#ifdef CONFIG_ARCH_R8A779F0
{ .compatible = "renesas,r8a779f0", .data = &soc_rcar_s4 },
#endif
#if defined(CONFIG_ARCH_R9A07G043)
{ .compatible = "renesas,r9a07g043", .data = &soc_rz_g2ul },
#endif
#if defined(CONFIG_ARCH_R9A07G044)
{ .compatible = "renesas,r9a07g044", .data = &soc_rz_g2l },
#endif
@ -378,6 +390,7 @@ static const struct renesas_id id_prr __initconst = {
static const struct of_device_id renesas_ids[] __initconst = {
{ .compatible = "renesas,bsid", .data = &id_bsid },
{ .compatible = "renesas,r9a07g043-sysc", .data = &id_rzg2l },
{ .compatible = "renesas,r9a07g044-sysc", .data = &id_rzg2l },
{ .compatible = "renesas,r9a07g054-sysc", .data = &id_rzg2l },
{ .compatible = "renesas,prr", .data = &id_prr },