[PATCH] [RESEND] i2c: cadence: Add RISCV architecture support

Ji Sheng Teoh posted 1 patch 1 year, 9 months ago
drivers/i2c/busses/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] [RESEND] i2c: cadence: Add RISCV architecture support
Posted by Ji Sheng Teoh 1 year, 9 months ago
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>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 97989c914260..8461328d11d8 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -500,7 +500,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.
-- 
2.43.2
Re: [PATCH] [RESEND] i2c: cadence: Add RISCV architecture support
Posted by Andi Shyti 1 year, 9 months ago
Hi Ji Sheng,

On Tue, Apr 23, 2024 at 10:48:06AM +0800, Ji Sheng Teoh wrote:
> 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>

This patch was not forgotten :-)
But thanks for resending it.

Applied to i2c/i2c-host on

git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git

Thank you,
Andi

Patches applied
===============
[1/1] i2c: cadence: Add RISCV architecture support
      commit: bc7f02e5a9249dff43ef2f1e8ddf1b3f4e352547