i2c: spacemit: add support for SpacemiT K1 SoC
authorTroy Mitchell <troymitchell988@gmail.com>
Wed, 19 Mar 2025 09:29:00 +0000 (17:29 +0800)
committerAndi Shyti <andi.shyti@kernel.org>
Fri, 21 Mar 2025 00:31:03 +0000 (01:31 +0100)
commit5ea558473fa31f4eeb5c76d58277a7ab68fd501d
tree04bdcb7b0f57d3203cfa6f726debc9c226986714
parent76fe9ac17f6c5a4d722657cd7b705f7f114fd105
i2c: spacemit: add support for SpacemiT K1 SoC

This patch introduces basic I2C support for the SpacemiT K1 SoC,
utilizing interrupts for transfers.

The driver has been tested using i2c-tools on a Bananapi-F3 board,
and basic I2C read/write operations have been confirmed to work.

Signed-off-by: Troy Mitchell <troymitchell988@gmail.com>
Reviewed-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250319-k1-i2c-master-v8-2-013e2df2b78d@gmail.com
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-k1.c [new file with mode: 0644]