Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1313734 > unrolled thread

[PATCH] mfd: Allow i2c modular drivers to build with I2C=m

Started byAxel Lin <axel.lin@ingics.com>
First post2016-01-21 01:50 +0100
Last post2016-01-25 14:00 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mfd: Allow i2c modular drivers to build with I2C=m Axel Lin <axel.lin@ingics.com> - 2016-01-21 01:50 +0100
    RE: [PATCH] mfd: Allow i2c modular drivers to build with I2C=m "Opensource [Adam Thomson]" <Adam.Thomson.Opensource@diasemi.com> - 2016-01-21 11:00 +0100
    Re: [PATCH] mfd: Allow i2c modular drivers to build with I2C=m Lee Jones <lee.jones@linaro.org> - 2016-01-25 14:00 +0100

#1313734 — [PATCH] mfd: Allow i2c modular drivers to build with I2C=m

FromAxel Lin <axel.lin@ingics.com>
Date2016-01-21 01:50 +0100
Subject[PATCH] mfd: Allow i2c modular drivers to build with I2C=m
Message-ID<qTbBL-5Oq-11@gated-at.bofh.it>
These drivers can be built as module, so make them depend on I2C rather
than I2C=y.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/mfd/Kconfig | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 9ca66de..6c4ebd9 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -203,7 +203,7 @@ config MFD_DA9062
 	select MFD_CORE
 	select REGMAP_I2C
 	select REGMAP_IRQ
-	depends on I2C=y
+	depends on I2C
 	help
 	  Say yes here for support for the Dialog Semiconductor DA9062 PMIC.
 	  This includes the I2C driver and core APIs.
@@ -215,7 +215,7 @@ config MFD_DA9063
 	select MFD_CORE
 	select REGMAP_I2C
 	select REGMAP_IRQ
-	depends on I2C=y
+	depends on I2C
 	help
 	  Say yes here for support for the Dialog Semiconductor DA9063 PMIC.
 	  This includes the I2C driver and core APIs.
@@ -224,7 +224,7 @@ config MFD_DA9063
 
 config MFD_DA9150
 	tristate "Dialog Semiconductor DA9150 Charger Fuel-Gauge chip"
-	depends on I2C=y
+	depends on I2C
 	select MFD_CORE
 	select REGMAP_I2C
 	select REGMAP_IRQ
@@ -445,7 +445,7 @@ config MFD_KEMPLD
 
 config MFD_88PM800
 	tristate "Marvell 88PM800"
-	depends on I2C=y
+	depends on I2C
 	select REGMAP_I2C
 	select REGMAP_IRQ
 	select MFD_CORE
@@ -457,7 +457,7 @@ config MFD_88PM800
 
 config MFD_88PM805
 	tristate "Marvell 88PM805"
-	depends on I2C=y
+	depends on I2C
 	select REGMAP_I2C
 	select REGMAP_IRQ
 	select MFD_CORE
@@ -538,7 +538,7 @@ config MFD_MAX77843
 config MFD_MAX8907
 	tristate "Maxim Semiconductor MAX8907 PMIC Support"
 	select MFD_CORE
-	depends on I2C=y
+	depends on I2C
 	select REGMAP_I2C
 	select REGMAP_IRQ
 	help
@@ -743,7 +743,7 @@ config MFD_RTSX_PCI
 
 config MFD_RT5033
 	tristate "Richtek RT5033 Power Management IC"
-	depends on I2C=y
+	depends on I2C
 	select MFD_CORE
 	select REGMAP_I2C
 	select REGMAP_IRQ
-- 
2.1.4

[toc] | [next] | [standalone]


#1314058

From"Opensource [Adam Thomson]" <Adam.Thomson.Opensource@diasemi.com>
Date2016-01-21 11:00 +0100
Message-ID<qTkc2-3tc-15@gated-at.bofh.it>
In reply to#1313734
On January 21, 2016 00:50, Axel Lin wrote:

> These drivers can be built as module, so make them depend on I2C rather
> than I2C=y.
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

For Dialog devices:

Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>

[toc] | [prev] | [next] | [standalone]


#1316667

FromLee Jones <lee.jones@linaro.org>
Date2016-01-25 14:00 +0100
Message-ID<qUOUq-40h-15@gated-at.bofh.it>
In reply to#1313734
On Thu, 21 Jan 2016, Axel Lin wrote:

> These drivers can be built as module, so make them depend on I2C rather
> than I2C=y.
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  drivers/mfd/Kconfig | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)

Applied, thanks.

> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 9ca66de..6c4ebd9 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -203,7 +203,7 @@ config MFD_DA9062
>  	select MFD_CORE
>  	select REGMAP_I2C
>  	select REGMAP_IRQ
> -	depends on I2C=y
> +	depends on I2C
>  	help
>  	  Say yes here for support for the Dialog Semiconductor DA9062 PMIC.
>  	  This includes the I2C driver and core APIs.
> @@ -215,7 +215,7 @@ config MFD_DA9063
>  	select MFD_CORE
>  	select REGMAP_I2C
>  	select REGMAP_IRQ
> -	depends on I2C=y
> +	depends on I2C
>  	help
>  	  Say yes here for support for the Dialog Semiconductor DA9063 PMIC.
>  	  This includes the I2C driver and core APIs.
> @@ -224,7 +224,7 @@ config MFD_DA9063
>  
>  config MFD_DA9150
>  	tristate "Dialog Semiconductor DA9150 Charger Fuel-Gauge chip"
> -	depends on I2C=y
> +	depends on I2C
>  	select MFD_CORE
>  	select REGMAP_I2C
>  	select REGMAP_IRQ
> @@ -445,7 +445,7 @@ config MFD_KEMPLD
>  
>  config MFD_88PM800
>  	tristate "Marvell 88PM800"
> -	depends on I2C=y
> +	depends on I2C
>  	select REGMAP_I2C
>  	select REGMAP_IRQ
>  	select MFD_CORE
> @@ -457,7 +457,7 @@ config MFD_88PM800
>  
>  config MFD_88PM805
>  	tristate "Marvell 88PM805"
> -	depends on I2C=y
> +	depends on I2C
>  	select REGMAP_I2C
>  	select REGMAP_IRQ
>  	select MFD_CORE
> @@ -538,7 +538,7 @@ config MFD_MAX77843
>  config MFD_MAX8907
>  	tristate "Maxim Semiconductor MAX8907 PMIC Support"
>  	select MFD_CORE
> -	depends on I2C=y
> +	depends on I2C
>  	select REGMAP_I2C
>  	select REGMAP_IRQ
>  	help
> @@ -743,7 +743,7 @@ config MFD_RTSX_PCI
>  
>  config MFD_RT5033
>  	tristate "Richtek RT5033 Power Management IC"
> -	depends on I2C=y
> +	depends on I2C
>  	select MFD_CORE
>  	select REGMAP_I2C
>  	select REGMAP_IRQ

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web