i2c: cadence: Add RISCV architecture support
authorJi Sheng Teoh <jisheng.teoh@starfivetech.com>
Tue, 23 Apr 2024 02:48:06 +0000 (10:48 +0800)
committerAndi Shyti <andi.shyti@kernel.org>
Sun, 5 May 2024 22:56:38 +0000 (00:56 +0200)
Add RISCV support to Cadence I2C Kconfig which is used in platform
such as the StarFive JH8100.

Signed-off-by: Eng Lee Teh <englee.teh@starfivetech.com>
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/Kconfig

index 27d3ef565ca8be60594ffacb5a5c75a4e6ca702c..a5aff29c559d0fce4c746842691f26eab111338a 100644 (file)
@@ -508,7 +508,7 @@ config I2C_BRCMSTB
 
 config I2C_CADENCE
        tristate "Cadence I2C Controller"
-       depends on ARCH_ZYNQ || ARM64 || XTENSA || COMPILE_TEST
+       depends on ARCH_ZYNQ || ARM64 || XTENSA || RISCV || COMPILE_TEST
        help
          Say yes here to select Cadence I2C Host Controller. This controller is
          e.g. used by Xilinx Zynq.