All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: Allow i2c modular drivers to build with I2C=m
@ 2016-01-21  0:49 Axel Lin
  2016-01-21  9:53 ` Opensource [Adam Thomson]
  2016-01-25 12:50 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2016-01-21  0:49 UTC (permalink / raw)
  To: Lee Jones; +Cc: Geert Uytterhoeven, Adam Thomson, Chao Xie, linux-kernel

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] mfd: Allow i2c modular drivers to build with I2C=m
  2016-01-21  0:49 [PATCH] mfd: Allow i2c modular drivers to build with I2C=m Axel Lin
@ 2016-01-21  9:53 ` Opensource [Adam Thomson]
  2016-01-25 12:50 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Opensource [Adam Thomson] @ 2016-01-21  9:53 UTC (permalink / raw)
  To: Axel Lin, Lee Jones
  Cc: Geert Uytterhoeven, Opensource [Adam Thomson], Chao Xie, linux-kernel

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mfd: Allow i2c modular drivers to build with I2C=m
  2016-01-21  0:49 [PATCH] mfd: Allow i2c modular drivers to build with I2C=m Axel Lin
  2016-01-21  9:53 ` Opensource [Adam Thomson]
@ 2016-01-25 12:50 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2016-01-25 12:50 UTC (permalink / raw)
  To: Axel Lin; +Cc: Geert Uytterhoeven, Adam Thomson, Chao Xie, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-25 12:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-21  0:49 [PATCH] mfd: Allow i2c modular drivers to build with I2C=m Axel Lin
2016-01-21  9:53 ` Opensource [Adam Thomson]
2016-01-25 12:50 ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.