lkml.org 
[lkml]   [2018]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2] i2c: brcmstb: Allow enabling the driver on DSL SoCs
On Mon, Oct 1, 2018 at 8:44 PM Florian Fainelli <f.fainelli@gmail.com> wrote:
>
> 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.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> Changes in v2:
>
> - Make COMPILE_TEST last, as per Geert's recommendation
>
> drivers/i2c/busses/Kconfig | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> index 451d4ae50e66..56ccb1ea7da5 100644
> --- a/drivers/i2c/busses/Kconfig
> +++ b/drivers/i2c/busses/Kconfig
> @@ -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.

> 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.
>
> --
> 2.17.1
>


--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2018-10-01 20:14    [W:0.043 / U:1.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site