summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIker Pedrosa <ikerpedrosam@gmail.com>2026-05-26 17:36:57 +0300
committerAndi Shyti <andi.shyti@kernel.org>2026-06-05 02:43:31 +0300
commitd38e710fba1806974051972d69fbbd6c69b55734 (patch)
tree4ebea061b393de907653a29b5b5202514c862588
parent2d61e7cf4d338e51a6a6f4ab14fa6bef1596b8a8 (diff)
downloadlinux-d38e710fba1806974051972d69fbbd6c69b55734.tar.xz
i2c: busses: make K1 driver default for SpacemiT platforms
Enable I2C_K1 by default when ARCH_SPACEMIT is configured to ensure SD card functionality works out-of-the-box. SpacemiT K1 boards use I2C-controlled PMICs (like the P1 chip) to provide SD card power supplies. Without the I2C_K1 driver enabled, regulators cannot be controlled and SD card detection/operation fails. Suggested-by: Margherita Milani <margherita.milani@amarulasolutions.com> Suggested-by: Yixun Lan <dlan@kernel.org> Signed-off-by: Iker Pedrosa <ikerpedrosam@gmail.com> Reviewed-by: Yixun Lan <dlan@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20260526-orangepi-sd-card-i2c-v1-1-b92268bfd467@gmail.com
-rw-r--r--drivers/i2c/busses/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index ea3e7e92465d..30cb64ed4310 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -794,6 +794,7 @@ config I2C_K1
tristate "SpacemiT K1 I2C adapter"
depends on ARCH_SPACEMIT || COMPILE_TEST
depends on OF
+ default ARCH_SPACEMIT
help
This option enables support for the I2C interface on the SpacemiT K1
platform.