Skip to contentSkip to conversation

i2c: Allow selecting BCM2835 I2C controllers on ARCH_BRCMSTB

PATCH Applied Florian Fainelli 3 participants 3 messages May 9, 2019 – May 27, 2019 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: Allow selecting BCM2835 I2C controllers on ARCH_BRCMSTB

From: Kamal Dasu <[email protected]>

ARCH_BRCMSTB platforms have the BCM2835 I2C controllers, allow selecting the i2c-bcm2835 driver on such platforms.

---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/Kconfig +1 -1
index 26186439db6b..7277c1051ca2 100644
@@ -435,7 +435,7 @@ config I2C_AXXIA
 
 config I2C_BCM2835
 	tristate "Broadcom BCM2835 I2C controller"
-	depends on ARCH_BCM2835
+	depends on ARCH_BCM2835 || ARCH_BRCMSTB
 	help
 	  If you say yes to this option, support will be included for the
 	  BCM2835 I2C controller.
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines · Florian Fainelli

From: Kamal Dasu <[email protected]>

ARCH_BRCMSTB platforms have the BCM2835 I2C controllers, allow selecting the i2c-bcm2835 driver on such platforms.

---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/Kconfig +0 -0
index 26186439db6b..7277c1051ca2 100644

drivers/i2c/busses/Kconfig config I2C_AXXIA · line 441

Quoted 8 lines
drivers/i2c/busses/Kconfig +1 -1
@@ -435,7 +435,7 @@ config I2C_AXXIA
 
 config I2C_BCM2835
 	tristate "Broadcom BCM2835 I2C controller"
-	depends on ARCH_BCM2835
+	depends on ARCH_BCM2835 || ARCH_BRCMSTB
 	help
 	  If you say yes to this option, support will be included for the
 	  BCM2835 I2C controller.

Thanks,

Signature · 2 lines
Jean Delvare
SUSE L3 Support