Input: ts4800 - add hardware dependency
[cascardo/linux.git] / drivers / input / touchscreen / Kconfig
index ae33da7..c7afa57 100644 (file)
@@ -295,6 +295,16 @@ config TOUCHSCREEN_EGALAX
          To compile this driver as a module, choose M here: the
          module will be called egalax_ts.
 
+config TOUCHSCREEN_EGALAX_SERIAL
+       tristate "EETI eGalax serial touchscreen"
+       select SERIO
+       help
+         Say Y here to enable support for serial connected EETI
+         eGalax touch panels.
+
+         To compile this driver as a module, choose M here: the
+         module will be called egalax_ts_serial.
+
 config TOUCHSCREEN_FT6236
        tristate "FT6236 I2C touchscreen"
        depends on I2C
@@ -324,6 +334,7 @@ config TOUCHSCREEN_FUJITSU
 config TOUCHSCREEN_GOODIX
        tristate "Goodix I2C touchscreen"
        depends on I2C
+       depends on GPIOLIB || COMPILE_TEST
        help
          Say Y here if you have the Goodix touchscreen (such as one
          installed in Onda v975w tablets) connected to your
@@ -480,6 +491,17 @@ config TOUCHSCREEN_MMS114
          To compile this driver as a module, choose M here: the
          module will be called mms114.
 
+config TOUCHSCREEN_MELFAS_MIP4
+       tristate "MELFAS MIP4 Touchscreen"
+       depends on I2C
+       help
+         Say Y here if you have a MELFAS MIP4 Touchscreen device.
+
+         If unsure, say N.
+
+         To compile this driver as a module, choose M here:
+         the module will be called melfas_mip4.
+
 config TOUCHSCREEN_MTOUCH
        tristate "MicroTouch serial touchscreens"
        select SERIO
@@ -927,6 +949,23 @@ config TOUCHSCREEN_TOUCHIT213
          To compile this driver as a module, choose M here: the
          module will be called touchit213.
 
+config TOUCHSCREEN_TS4800
+       tristate "TS-4800 touchscreen"
+       depends on HAS_IOMEM && OF
+       depends on SOC_IMX51 || COMPILE_TEST
+       select MFD_SYSCON
+       select INPUT_POLLDEV
+       help
+         Say Y here if you have a touchscreen on a TS-4800 board.
+
+         On TS-4800, the touchscreen is not handled directly by Linux but by
+         a companion FPGA.
+
+         If unsure, say N.
+
+         To compile this driver as a module, choose M here: the
+         module will be called ts4800_ts.
+
 config TOUCHSCREEN_TSC_SERIO
        tristate "TSC-10/25/40 serial touchscreen support"
        select SERIO
@@ -1085,7 +1124,8 @@ config TOUCHSCREEN_ZFORCE
 
 config TOUCHSCREEN_COLIBRI_VF50
        tristate "Toradex Colibri on board touchscreen driver"
-       depends on GPIOLIB && IIO && VF610_ADC
+       depends on IIO && VF610_ADC
+       depends on GPIOLIB || COMPILE_TEST
        help
          Say Y here if you have a Colibri VF50 and plan to use
          the on-board provided 4-wire touchscreen driver.