i2c: brcmstb: Allow enabling the driver on DSL SoCs
PATCH v2 1/1 i2c: brcmstb: Allow enabling the driver on DSL SoCs
ARCH_BCM_63XX which is used by ARM-based DSL SoCs from Broadcom uses the same controller, make it possible to select the STB driver and update the Kconfig and help text a bit.
---
Changes in v2:
- Make COMPILE_TEST last, as per Geert's recommendation
drivers/i2c/busses/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/i2c/busses/Kconfig +4 -3
@@ -432,12 +432,13 @@ config I2C_BCM_KONA If you do not need KONA I2C interface, say N. config I2C_BRCMSTB - tristate "BRCM Settop I2C controller" - depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST + tristate "BRCM Settop/DSL I2C controller" + depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_63XX || \ + COMPILE_TEST default y help If you say yes to this option, support will be included for the - I2C interface on the Broadcom Settop SoCs. + I2C interface on the Broadcom Settop/DSL SoCs. If you do not need I2C interface, say N.
Signature · 1 line
2.17.1
Quoted 19 lines · Florian Fainelli
ARCH_BCM_63XXwhich is used by ARM-based DSL SoCs from Broadcom uses the same controller, make it possible to select the STB driver and update theKconfigand help text a bit.Signed-off-by Florian Fainelli <[email protected]>---
Changes in v2:- Make
COMPILE_TESTlast, as per Geert's recommendationdrivers/i2c/busses/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)drivers/i2c/busses/Kconfig +0
-0
drivers/i2c/busses/Kconfig config I2C_BCM_KONA · line 437
Quoted 8 lines
drivers/i2c/busses/Kconfig +3
-2@@ -432,12 +432,13 @@ config I2C_BCM_KONA If you do not need KONA I2C interface, say N. config I2C_BRCMSTB - tristate "BRCM Settop I2C controller" - depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST + tristate "BRCM Settop/DSL I2C controller" + depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_63XX || \ + COMPILE_TEST
I would rather split this to two 'depends' entries, though it's cosmetic and up to you.
Quoted 11 lines
drivers/i2c/busses/Kconfig +1
-2default y help If you say yes to this option, support will be included for the - I2C interface on the Broadcom Settop SoCs. + I2C interface on the Broadcom Settop/DSL SoCs. If you do not need I2C interface, say N. --2.17.1
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 11 lines · Andy Shevchenko
drivers/i2c/busses/Kconfig config I2C_BCM_KONA · line 437
Quoted 7 lines · Florian Fainelli
config
I2C_BRCMSTBdrivers/i2c/busses/Kconfig +3
-2- tristate "BRCM Settop I2C controller" - depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST + tristate "BRCM Settop/DSL I2C controller" + depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_63XX || \ + COMPILE_TESTI would rather split this to two 'depends' entries, though it's cosmetic and up to you.
You can only split 'depends on A && B' into multiple lines, not 'depends on A || B'.
Arnd
Quoted 12 lines · Arnd Bergmann
Quoted 9 lines · Andy Shevchenko
Quoted 7 lines · Florian Fainelli
config
I2C_BRCMSTBdrivers/i2c/busses/Kconfig +3
-2- tristate "BRCM Settop I2C controller" - depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST + tristate "BRCM Settop/DSL I2C controller" + depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_63XX || \ + COMPILE_TEST
Quoted 5 lines
Quoted 2 lines
I would rather split this to two 'depends' entries, though it's cosmetic and up to you.
You can only split 'depends on A && B' into multiple lines, not 'depends on A || B'.
Indeed. What I was thinking of?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Wolfram Sang
AppliedQuoted 10 lines · Florian Fainelli
ARCH_BCM_63XXwhich is used by ARM-based DSL SoCs from Broadcom uses the same controller, make it possible to select the STB driver and update theKconfigand help text a bit.Signed-off-by Florian Fainelli <[email protected]>---
Changes in v2:- Make
COMPILE_TESTlast, as per Geert's recommendation
Applied to for-next, thanks!