2024-04-23 04:23:31

by Ji Sheng Teoh

[permalink] [raw]
Subject: [PATCH] [RESEND] 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 <[email protected]>
Signed-off-by: Ji Sheng Teoh <[email protected]>
---
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



2024-04-23 10:45:21

by Andi Shyti

[permalink] [raw]
Subject: Re: [PATCH] [RESEND] i2c: cadence: Add RISCV architecture support

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 <[email protected]>
> Signed-off-by: Ji Sheng Teoh <[email protected]>

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