Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: renesas: Identify RZ/G2H

This patch adds support for identifying the RZ/G2H (r8a774e1) SoC.

Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/1594138692-16816-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Marian-Cristian Rotariu and committed by
Geert Uytterhoeven
5b83cc42 b88fc411

+8
+8
drivers/soc/renesas/renesas-soc.c
··· 126 126 .id = 0x57, 127 127 }; 128 128 129 + static const struct renesas_soc soc_rz_g2h __initconst __maybe_unused = { 130 + .family = &fam_rzg2, 131 + .id = 0x4f, 132 + }; 133 + 129 134 static const struct renesas_soc soc_rcar_m1a __initconst __maybe_unused = { 130 135 .family = &fam_rcar_gen1, 131 136 }; ··· 242 237 #endif 243 238 #ifdef CONFIG_ARCH_R8A774C0 244 239 { .compatible = "renesas,r8a774c0", .data = &soc_rz_g2e }, 240 + #endif 241 + #ifdef CONFIG_ARCH_R8A774E1 242 + { .compatible = "renesas,r8a774e1", .data = &soc_rz_g2h }, 245 243 #endif 246 244 #ifdef CONFIG_ARCH_R8A7778 247 245 { .compatible = "renesas,r8a7778", .data = &soc_rcar_m1a },