Skip to contentSkip to conversation

arm64: defconfig: Make I2C_QCOM_GENI built-in

PATCH In review Viken Dadhaniya 3 participants 3 messages Dec 4, 2025 Arm Qualcomm mailing list

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: defconfig: Make I2C_QCOM_GENI built-in

Require I2C over GENI during early boot on some Qualcomm platforms to initialize GPIO expanders that control SD card detection. Without this driver built-in, the kernel cannot detect the root filesystem device when modules are unavailable.

Make I2C_QCOM_GENI built-in to ensure these systems can boot without an initramfs.

---
 arch/arm64/configs/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/configs/defconfig +1 -1
index cdb7d69e3b24..8d85a2255b07 100644
@@ -562,7 +562,7 @@ CONFIG_I2C_OMAP=y
 CONFIG_I2C_OWL=y
 CONFIG_I2C_PXA=y
 CONFIG_I2C_QCOM_CCI=m
-CONFIG_I2C_QCOM_GENI=m
+CONFIG_I2C_QCOM_GENI=y
 CONFIG_I2C_QUP=y
 CONFIG_I2C_RIIC=y
 CONFIG_I2C_RK3X=y
Signature · 1 line
2.34.1
#1 lore raw
Quoted 1 line · Viken Dadhaniya

Require I2C over GENI during early boot on some Qualcomm platforms to

Which "some Qualcomm platforms" are we talking about? You got that feedback during internal review and... sadly you didn't improve your commit message.

Quoted 3 lines

initialize GPIO expanders that control SD card detection. Without this driver built-in, the kernel cannot detect the root filesystem device when modules are unavailable.

Please use initramfs to provide additional modules. Other boot-essential drivers are also enabled as modules (CONFIG_BLK_DEV_NVME=m, CONFIG_SCSI_UFS_QCOM=m).

Quoted 25 lines

Make I2C_QCOM_GENI built-in to ensure these systems can boot without an initramfs.

---
 arch/arm64/configs/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/configs/defconfig +1 -1
index cdb7d69e3b24..8d85a2255b07 100644
@@ -562,7 +562,7 @@ CONFIG_I2C_OMAP=y
 CONFIG_I2C_OWL=y
 CONFIG_I2C_PXA=y
 CONFIG_I2C_QCOM_CCI=m
-CONFIG_I2C_QCOM_GENI=m
+CONFIG_I2C_QCOM_GENI=y
 CONFIG_I2C_QUP=y
 CONFIG_I2C_RIIC=y
 CONFIG_I2C_RK3X=y
Signature · 1 line
2.34.1
Signature · 2 lines
With best wishes
Dmitry
#2 lore raw
In reply to Viken Dadhaniya
Quoted 7 lines · Viken Dadhaniya

Require I2C over GENI during early boot on some Qualcomm platforms to initialize GPIO expanders that control SD card detection. Without this driver built-in, the kernel cannot detect the root filesystem device when modules are unavailable.

Make I2C_QCOM_GENI built-in to ensure these systems can boot without an initramfs.

No, that's a strong no. All Qcom and other arm64 systems are supposed to use initramfs for booting on defconfig.

There is no single use case for this defconfig. Maybe you are mixing it with some product configuration...

Best regards,
Krzysztof