public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] TPS6507X: define MFD dependencies for touch and regulator unit
@ 2011-07-11  8:59 Yegor Yefremov
  2011-07-11 10:52 ` Yegor Yefremov
  0 siblings, 1 reply; 2+ messages in thread
From: Yegor Yefremov @ 2011-07-11  8:59 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org; +Cc: Tony Lindgren

both touchscreen and regulator units are only working if
mfd device is activated. So if mfd support is enabled,
select TPS6507X mfd support automatically.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 drivers/input/touchscreen/Kconfig |    3 ++-
 drivers/regulator/Kconfig         |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

Index: b/drivers/input/touchscreen/Kconfig
===================================================================
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -716,7 +716,8 @@
 
 config TOUCHSCREEN_TPS6507X
 	tristate "TPS6507x based touchscreens"
-	depends on I2C
+	depends on I2C && MFD_SUPPORT
+	select TPS6507X
 	help
 	  Say Y here if you have a TPS6507x based touchscreen
 	  controller.
Index: b/drivers/regulator/Kconfig
===================================================================
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -242,7 +242,8 @@
 
 config REGULATOR_TPS6507X
 	tristate "TI TPS6507X Power regulators"
-	depends on I2C
+	depends on I2C && MFD_SUPPORT
+	select TPS6507X
 	help
 	  This driver supports TPS6507X voltage regulator chips. TPS6507X provides
 	  three step-down converters and two general-purpose LDO voltage regulators.


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

* Re: [PATCH] TPS6507X: define MFD dependencies for touch and regulator unit
  2011-07-11  8:59 [PATCH] TPS6507X: define MFD dependencies for touch and regulator unit Yegor Yefremov
@ 2011-07-11 10:52 ` Yegor Yefremov
  0 siblings, 0 replies; 2+ messages in thread
From: Yegor Yefremov @ 2011-07-11 10:52 UTC (permalink / raw)
  To: yegor_sub1; +Cc: linux-omap@vger.kernel.org, Tony Lindgren

Am 11.07.2011 10:59, schrieb Yegor Yefremov:
> both touchscreen and regulator units are only working if
> mfd device is activated. So if mfd support is enabled,
> select TPS6507X mfd support automatically.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  drivers/input/touchscreen/Kconfig |    3 ++-
>  drivers/regulator/Kconfig         |    3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> Index: b/drivers/input/touchscreen/Kconfig
> ===================================================================
> --- a/drivers/input/touchscreen/Kconfig
> +++ b/drivers/input/touchscreen/Kconfig
> @@ -716,7 +716,8 @@
>  
>  config TOUCHSCREEN_TPS6507X
>  	tristate "TPS6507x based touchscreens"
> -	depends on I2C
> +	depends on I2C && MFD_SUPPORT
> +	select TPS6507X
>  	help
>  	  Say Y here if you have a TPS6507x based touchscreen
>  	  controller.
> Index: b/drivers/regulator/Kconfig
> ===================================================================
> --- a/drivers/regulator/Kconfig
> +++ b/drivers/regulator/Kconfig
> @@ -242,7 +242,8 @@
>  
>  config REGULATOR_TPS6507X
>  	tristate "TI TPS6507X Power regulators"
> -	depends on I2C
> +	depends on I2C && MFD_SUPPORT
> +	select TPS6507X
>  	help
>  	  This driver supports TPS6507X voltage regulator chips. TPS6507X provides
>  	  three step-down converters and two general-purpose LDO voltage regulators.
> 

sorry for the noise. I've sent the patch to the proper list. 

Was just trying to get this touchscreen interface working with am3517 and after some hours of research I found out, that it depends on MFD driver ....

Best regards,
Yegor

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

end of thread, other threads:[~2011-07-11 10:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-11  8:59 [PATCH] TPS6507X: define MFD dependencies for touch and regulator unit Yegor Yefremov
2011-07-11 10:52 ` Yegor Yefremov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox