summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi Sheng Teoh <jisheng.teoh@starfivetech.com>2024-04-23 05:48:06 +0300
committerAndi Shyti <andi.shyti@kernel.org>2024-05-06 01:56:38 +0300
commit29914dac94d490001bdfc5b9fdb8a5c29a724c1b (patch)
tree78e4172d34181c3ce0fb892d9af77efe24029e9c
parent1d428f5d3827fd9826abe3b14609aaa2037bc00c (diff)
downloadlinux-29914dac94d490001bdfc5b9fdb8a5c29a724c1b.tar.xz
i2c: cadence: Add RISCV architecture support
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>
-rw-r--r--drivers/i2c/busses/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 27d3ef565ca8..a5aff29c559d 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -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.