aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/Kconfig
diff options
context:
space:
mode:
authorHui Wang <jason77.wang@gmail.com>2012-10-25 00:38:01 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-25 00:38:22 -0700
commitae495e844a77344fdaedbb2ad97d925d096e9f0d (patch)
treeb30e1cd487225c3d3316d7b6853b0796e6ad43c3 /drivers/input/touchscreen/Kconfig
parentMerge branch 'next' into for-linus (diff)
downloadlinux-dev-ae495e844a77344fdaedbb2ad97d925d096e9f0d.tar.xz
linux-dev-ae495e844a77344fdaedbb2ad97d925d096e9f0d.zip
Input: egalax_ts - get gpio from devicetree
The irq_to_gpio() is old, most platforms use GENERIC_GPIO framework and don't support this API anymore. The i.MX6q sabrelite platform equips an egalax touchscreen controller, and this platform already transfered to GENERIC_GPIO framework, to support this driver, we use a more generic way to get gpio. Add a return value checking for waking up the controller in the probe function, this guarantee only a workable device can pass init. [dmitry.torokhov@gmail.com: Make driver depend on CONFIG_OF as it is now required.] Acked-by Zhang Jiejing <jiejing.zhang@freescale.com> Reviewed-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Hui Wang <jason77.wang@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/Kconfig')
-rw-r--r--drivers/input/touchscreen/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 1ba232cbc09d..f7668b24c378 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -239,7 +239,7 @@ config TOUCHSCREEN_EETI
config TOUCHSCREEN_EGALAX
tristate "EETI eGalax multi-touch panel support"
- depends on I2C
+ depends on I2C && OF
help
Say Y here to enable support for I2C connected EETI
eGalax multi-touch panels.