Skip to contentSkip to conversation

ANDROID: i2c: exynos5: remove default enable in Kconfig

PATCH In review Hyunki Koo 2 participants 2 messages Dec 5, 2019 I2C subsystem host drivers

lore
Share & tools
lore

Hyunki Koo

author
#0 lore raw

PATCH 1/1 ANDROID: i2c: exynos5: remove default enable in Kconfig

From: Hyunki Koo <[email protected]>

There are many exynos device and not all exynos device does not have HSI2C controllers. Thus remove select this by default

---
 drivers/i2c/busses/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/i2c/busses/Kconfig +0 -1
index 6a0aa76859f3..3955315f48c7 100644
@@ -612,7 +612,6 @@ config I2C_EMEV2
 config I2C_EXYNOS5
 	tristate "Exynos5 high-speed I2C driver"
 	depends on ARCH_EXYNOS && OF
-	default y
 	help
 	  High-speed I2C controller on Exynos5 based Samsung SoCs.
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 10 lines · Hyunki Koo

From: Hyunki Koo <[email protected]>

There are many exynos device and not all exynos device does not have HSI2C controllers. Thus remove select this by default

---
 drivers/i2c/busses/Kconfig | 1 -
 1 file changed, 1 deletion(-)

Thanks for the patch but this is not a proper solution because:
1. Basically you disabled this driver on exynos, multi_v7 and ARMv8 defconfigs.
2. We provide one kernel for all ARMv7 Exynos and one for all ARMv8 platforms therefore this driver should be there. Having unnecessary driver also does not hurt - it will not match by compatible.

So really no.

Best regards,
Krzysztof

Quoted 15 lines
drivers/i2c/busses/Kconfig +0 -2
index 6a0aa76859f3..3955315f48c7 100644
@@ -612,7 +612,6 @@ config I2C_EMEV2
 config I2C_EXYNOS5
        tristate "Exynos5 high-speed I2C driver"
        depends on ARCH_EXYNOS && OF
-       default y
        help
          High-speed I2C controller on Exynos5 based Samsung SoCs.
 
--

2.17.1