i2c: rcar: Prepare for the advent of ARCH_RCAR_GEN4
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 8 Jan 2024 14:24:20 +0000 (15:24 +0100)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 6 Mar 2024 15:32:38 +0000 (16:32 +0100)
Currently, all Kconfig symbols for R-Car Gen4 SoCs select
ARCH_RCAR_GEN3, which might confuse the casual reader.  Prepare for the
advent of ARCH_RCAR_GEN4 by extending the dependency for auto-selecting
reset controller support.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/Kconfig

index 28eb48dd5b3262b0ae05a0e2946b09b294e012a3..97989c914260f2893ee12ba2dca5ac202a1ed475 100644 (file)
@@ -1235,7 +1235,7 @@ config I2C_RCAR
        depends on ARCH_RENESAS || COMPILE_TEST
        select I2C_SLAVE
        select I2C_SMBUS
-       select RESET_CONTROLLER if ARCH_RCAR_GEN3
+       select RESET_CONTROLLER if ARCH_RCAR_GEN3 || ARCH_RCAR_GEN4
        help
          If you say yes to this option, support will be included for the
          R-Car I2C controller.