From: Yegor Yefremov <yegor_sub1@visionsystems.de>
To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Cc: Tony Lindgren <tony@atomide.com>
Subject: [PATCH] TPS6507X: define MFD dependencies for touch and regulator unit
Date: Mon, 11 Jul 2011 10:59:10 +0200 [thread overview]
Message-ID: <4E1ABB5E.8070406@visionsystems.de> (raw)
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.
next reply other threads:[~2011-07-11 8:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-11 8:59 Yegor Yefremov [this message]
2011-07-11 10:52 ` [PATCH] TPS6507X: define MFD dependencies for touch and regulator unit Yegor Yefremov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E1ABB5E.8070406@visionsystems.de \
--to=yegor_sub1@visionsystems.de \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox