OSDN Git Service

soc: renesas: Add ARCH_R8A7795[01] for existing R-Car H3
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 17 Dec 2019 18:38:41 +0000 (19:38 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 6 Jan 2020 10:08:43 +0000 (11:08 +0100)
commitb925adfceb529389124193b57be5b7014e481834
tree4e717c7313f183444664a19c94840a46d38c6ad4
parent0764f2d08d4660e6f1311180f400804b74d885fa
soc: renesas: Add ARCH_R8A7795[01] for existing R-Car H3

Despite using the same compatible values ("r8a7795"-based) because of
historical reasons, R-Car H3 ES1.x (R8A77950) and R-Car H3 ES2.0+
(R8A77951) are really different SoCs, with different part numbers.

Reflect this in the SoC configuration, by adding CONFIG_ARCH_R8A77950
and CONFIG_ARCH_R8A77951 as new config symbols.  These are intended to
replace CONFIG_ARCH_R8A7795, and will allow making support for early SoC
revisions optional.

Note that for now, CONFIG_ARCH_R8A7795 is retained, and just selects
CONFIG_ARCH_R8A77950 and CONFIG_ARCH_R8A77951.  This relaxes
dependencies of other subsystems on the SoC configuration symbol, and
provides a smooth transition path for config files through "make
oldconfig".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20191217183841.432-6-geert+renesas@glider.be
drivers/soc/renesas/Kconfig