K97 项目相关修改
[firefly-linux-kernel-4.4.55.git] / drivers / input / touchscreen / Kconfig
index d50fd5603604007baf63c47d97561dfc16ea6cad..a3b870c54fecc600d32f5c43c8e0f8cb2451edfd 100644 (file)
@@ -11,6 +11,58 @@ menuconfig INPUT_TOUCHSCREEN
 
 if INPUT_TOUCHSCREEN
 
+config TOUCHSCREEN_XPT2046_SPI
+       tristate "XPT2046 based touchscreens:SPI Interface"
+       depends on SPIM_RK29
+
+       config TOUCHSCREEN_XPT2046_NORMAL_SPI
+       tristate "normal mode"
+       depends on TOUCHSCREEN_XPT2046_SPI
+
+               config TOUCHSCREEN_480X800
+               tristate "480X800 resolution"
+               depends on TOUCHSCREEN_XPT2046_NORMAL_SPI
+
+               config TOUCHSCREEN_800X480
+               tristate "800X480 resolution"
+               depends on TOUCHSCREEN_XPT2046_NORMAL_SPI
+
+               config TOUCHSCREEN_320X480
+               tristate "320X480 resolution"
+               depends on TOUCHSCREEN_XPT2046_NORMAL_SPI
+
+       config TOUCHSCREEN_XPT2046_TSLIB_SPI
+       tristate "tslib mode"
+       depends on TOUCHSCREEN_XPT2046_SPI
+
+               config TOUCHSCREEN_480X800
+               tristate "480X800 resolution"
+               depends on TOUCHSCREEN_XPT2046_TSLIB_SPI
+
+               config TOUCHSCREEN_800X480
+               tristate "800X480 resolution"
+               depends on TOUCHSCREEN_XPT2046_TSLIB_SPI
+
+               config TOUCHSCREEN_320X480
+               tristate "320X480 resolution"
+               depends on TOUCHSCREEN_XPT2046_TSLIB_SPI
+
+       config TOUCHSCREEN_XPT2046_CBN_SPI
+       tristate "calibration mode"
+       depends on TOUCHSCREEN_XPT2046_SPI
+
+               config TOUCHSCREEN_480X800
+               tristate "480X800 resolution"
+               depends on TOUCHSCREEN_XPT2046_CBN_SPI
+
+               config TOUCHSCREEN_800X480
+               tristate "800X480 resolution"
+               depends on TOUCHSCREEN_XPT2046_CBN_SPI
+
+               config TOUCHSCREEN_320X480
+               tristate "320X480 resolution"
+               depends on TOUCHSCREEN_XPT2046_CBN_SPI
+
 config TOUCHSCREEN_88PM860X
        tristate "Marvell 88PM860x touchscreen"
        depends on MFD_88PM860X
@@ -55,6 +107,35 @@ config TOUCHSCREEN_AD7877
          To compile this driver as a module, choose M here: the
          module will be called ad7877.
 
+config TOUCHSCREEN_ILI2102_IIC
+       tristate "ili2102 based touchscreens: IIC Interface"
+       help
+         Say Y here if you have a touchscreen interface using the
+         hx8520 controller, and your board-specific initialization
+         code includes that in its table of IIC devices.
+
+         If unsure, say N (but it's safe to say "Y").
+config TOUCHSCREEN_GT8XX
+        tristate "Goodix touch screen gt8xx support for rk29"
+        help
+          Say Y here if you have a touchscreen interface using the
+          goodix gt8xx  , and your board-specific initialization
+          code includes that in its table of IIC devices.
+         If unsure, say N (but it's safe to say "Y").
+
+config RK28_I2C_TS_NTP070
+       tristate "NTP070 based touchscreens: NTP070 Interface"
+       depends on I2C_RK2818
+
+config TOUCHSCREEN_IT7250
+       tristate "IT7250 based touchscreens: IT7250 Interface"
+       help
+         Say Y here if you have a touchscreen interface using the
+         xpt2046 controller, and your board-specific initialization
+         code includes that in its table of SPI devices.
+
+         If unsure, say N (but it's safe to say "Y").
+
 config TOUCHSCREEN_AD7879
        tristate "Analog Devices AD7879-1/AD7889-1 touchscreen interface"
        help
@@ -86,6 +167,18 @@ config TOUCHSCREEN_AD7879_SPI
          To compile this driver as a module, choose M here: the
          module will be called ad7879-spi.
 
+config TOUCHSCREEN_ATMEL_MXT
+       tristate "Atmel mXT I2C Touchscreen"
+       depends on I2C
+       help
+         Say Y here if you have Atmel mXT series I2C touchscreen,
+         such as AT42QT602240/ATMXT224, connected to your system.
+
+         If unsure, say N.
+
+         To compile this driver as a module, choose M here: the
+         module will be called atmel_mxt_ts.
+
 config TOUCHSCREEN_BITSY
        tristate "Compaq iPAQ H3600 (Bitsy) touchscreen"
        depends on SA1100_BITSY
@@ -98,6 +191,18 @@ config TOUCHSCREEN_BITSY
          To compile this driver as a module, choose M here: the
          module will be called h3600_ts_input.
 
+config TOUCHSCREEN_BU21013
+       tristate "BU21013 based touch panel controllers"
+       depends on I2C
+       help
+         Say Y here if you have a bu21013 touchscreen connected to
+         your system.
+
+         If unsure, say N.
+
+         To compile this driver as a module, choose M here: the
+         module will be called bu21013_ts.
+
 config TOUCHSCREEN_CY8CTMG110
        tristate "cy8ctmg110 touchscreen"
        depends on I2C
@@ -214,6 +319,28 @@ config TOUCHSCREEN_WACOM_W8001
          To compile this driver as a module, choose M here: the
          module will be called wacom_w8001.
 
+config TOUCHSCREEN_LPC32XX
+       tristate "LPC32XX touchscreen controller"
+       depends on ARCH_LPC32XX
+       help
+         Say Y here if you have a LPC32XX device and want
+         to support the built-in touchscreen.
+
+         To compile this driver as a module, choose M here: the
+         module will be called lpc32xx_ts.
+
+config TOUCHSCREEN_MAX11801
+       tristate "MAX11801 based touchscreens"
+       depends on I2C
+       help
+         Say Y here if you have a MAX11801 based touchscreen
+         controller.
+
+         If unsure, say N.
+
+         To compile this driver as a module, choose M here: the
+         module will be called max11801_ts.
+
 config TOUCHSCREEN_MCS5000
        tristate "MELFAS MCS-5000 touchscreen"
        depends on I2C
@@ -250,6 +377,18 @@ config TOUCHSCREEN_INEXIO
          To compile this driver as a module, choose M here: the
          module will be called inexio.
 
+config TOUCHSCREEN_INTEL_MID
+       tristate "Intel MID platform resistive touchscreen"
+       depends on INTEL_SCU_IPC
+       help
+         Say Y here if you have a Intel MID based touchscreen in
+         your system.
+
+         If unsure, say N.
+
+         To compile this driver as a module, choose M here: the
+         module will be called intel_mid_touch.
+
 config TOUCHSCREEN_MK712
        tristate "ICS MicroClock MK712 touchscreen"
        help
@@ -305,18 +444,6 @@ config TOUCHSCREEN_PENMOUNT
          To compile this driver as a module, choose M here: the
          module will be called penmount.
 
-config TOUCHSCREEN_QT602240
-       tristate "QT602240 I2C Touchscreen"
-       depends on I2C
-       help
-         Say Y here if you have the AT42QT602240/ATMXT224 I2C touchscreen
-         connected to your system.
-
-         If unsure, say N.
-
-         To compile this driver as a module, choose M here: the
-         module will be called qt602240_ts.
-
 config TOUCHSCREEN_MIGOR
        tristate "Renesas MIGO-R touchscreen"
        depends on SH_MIGOR && I2C
@@ -328,18 +455,14 @@ config TOUCHSCREEN_MIGOR
          To compile this driver as a module, choose M here: the
          module will be called migor_ts.
 
-config TOUCHSCREEN_PANJIT_I2C
-       tristate "PANJIT I2C touchscreen driver"
-       depends on I2C
-       default n
+config TOUCHSCREEN_TNETV107X
+       tristate "TI TNETV107X touchscreen support"
+       depends on ARCH_DAVINCI_TNETV107X
        help
-         Say Y here to enable PANJIT I2C capacitive touchscreen support,
-         covering devices such as the MGG1010AI06 and EGG1010AI06
-
-         If unsure, say N
+         Say Y here if you want to use the TNETV107X touchscreen.
 
-         To compile this driver as a module, choose M here: the module will
-         be called panjit_i2c.
+         To compile this driver as a module, choose M here: the
+         module will be called tnetv107x-ts.
 
 config TOUCHSCREEN_SYNAPTICS_I2C_RMI
        tristate "Synaptics i2c touchscreen"
@@ -399,6 +522,16 @@ config TOUCHSCREEN_UCB1400
          To compile this driver as a module, choose M here: the
          module will be called ucb1400_ts.
 
+config TOUCHSCREEN_WM831X
+       tristate "Support for WM831x touchscreen controllers"
+       depends on MFD_WM831X
+       help
+         This enables support for the touchscreen controller on the WM831x
+         series of PMICs.
+
+         To compile this driver as a module, choose M here: the
+         module will be called wm831x-ts.
+
 config TOUCHSCREEN_WM97XX
        tristate "Support for WM97xx AC97 touchscreen controllers"
        depends on AC97_BUS
@@ -516,62 +649,62 @@ config TOUCHSCREEN_MC13783
 
 config TOUCHSCREEN_USB_EGALAX
        default y
-       bool "eGalax, eTurboTouch CT-410/510/700 device support" if EMBEDDED
+       bool "eGalax, eTurboTouch CT-410/510/700 device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_PANJIT
        default y
-       bool "PanJit device support" if EMBEDDED
+       bool "PanJit device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_3M
        default y
-       bool "3M/Microtouch EX II series device support" if EMBEDDED
+       bool "3M/Microtouch EX II series device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_ITM
        default y
-       bool "ITM device support" if EMBEDDED
+       bool "ITM device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_ETURBO
        default y
-       bool "eTurboTouch (non-eGalax compatible) device support" if EMBEDDED
+       bool "eTurboTouch (non-eGalax compatible) device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_GUNZE
        default y
-       bool "Gunze AHL61 device support" if EMBEDDED
+       bool "Gunze AHL61 device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_DMC_TSC10
        default y
-       bool "DMC TSC-10/25 device support" if EMBEDDED
+       bool "DMC TSC-10/25 device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_IRTOUCH
        default y
-       bool "IRTOUCHSYSTEMS/UNITOP device support" if EMBEDDED
+       bool "IRTOUCHSYSTEMS/UNITOP device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_IDEALTEK
        default y
-       bool "IdealTEK URTC1000 device support" if EMBEDDED
+       bool "IdealTEK URTC1000 device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_GENERAL_TOUCH
        default y
-       bool "GeneralTouch Touchscreen device support" if EMBEDDED
+       bool "GeneralTouch Touchscreen device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_GOTOP
        default y
-       bool "GoTop Super_Q2/GogoPen/PenPower tablet device support" if EMBEDDED
+       bool "GoTop Super_Q2/GogoPen/PenPower tablet device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_JASTEC
        default y
-       bool "JASTEC/DigiTech DTR-02U USB touch controller device support" if EMBEDDED
+       bool "JASTEC/DigiTech DTR-02U USB touch controller device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_E2I
@@ -581,17 +714,17 @@ config TOUCHSCREEN_USB_E2I
 
 config TOUCHSCREEN_USB_ZYTRONIC
        default y
-       bool "Zytronic controller" if EMBEDDED
+       bool "Zytronic controller" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_ETT_TC45USB
        default y
-       bool "ET&T USB series TC4UM/TC5UH touchscreen controler support" if EMBEDDED
+       bool "ET&T USB series TC4UM/TC5UH touchscreen controller support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_USB_NEXIO
        default y
-       bool "NEXIO/iNexio device support" if EMBEDDED
+       bool "NEXIO/iNexio device support" if EXPERT
        depends on TOUCHSCREEN_USB_COMPOSITE
 
 config TOUCHSCREEN_TOUCHIT213
@@ -605,6 +738,17 @@ config TOUCHSCREEN_TOUCHIT213
          To compile this driver as a module, choose M here: the
          module will be called touchit213.
 
+config TOUCHSCREEN_TSC2005
+        tristate "TSC2005 based touchscreens"
+        depends on SPI_MASTER && GENERIC_HARDIRQS
+        help
+          Say Y here if you have a TSC2005 based touchscreen.
+
+         If unsure, say N.
+
+         To compile this driver as a module, choose M here: the
+         module will be called tsc2005.
+
 config TOUCHSCREEN_TSC2007
        tristate "TSC2007 based touchscreens"
        depends on I2C
@@ -635,17 +779,17 @@ config TOUCHSCREEN_PCAP
          To compile this driver as a module, choose M here: the
          module will be called pcap_ts.
 
-config TOUCHSCREEN_TPS6507X
-       tristate "TPS6507x based touchscreens"
+config TOUCHSCREEN_ST1232
+       tristate "Sitronix ST1232 touchscreen controllers"
        depends on I2C
        help
-         Say Y here if you have a TPS6507x based touchscreen
-         controller.
+         Say Y here if you want to support Sitronix ST1232
+         touchscreen controller.
 
          If unsure, say N.
 
          To compile this driver as a module, choose M here: the
-         module will be called tps6507x_ts.
+         module will be called st1232_ts.
 
 config TOUCHSCREEN_STMPE
        tristate "STMicroelectronics STMPE touchscreens"
@@ -657,4 +801,219 @@ config TOUCHSCREEN_STMPE
          To compile this driver as a module, choose M here: the
          module will be called stmpe-ts.
 
+config TOUCHSCREEN_TPS6507X
+       tristate "TPS6507x based touchscreens"
+       depends on I2C
+       help
+         Say Y here if you have a TPS6507x based touchscreen
+         controller.
+
+         If unsure, say N.
+
+         To compile this driver as a module, choose M here: the
+         module will be called tps6507x_ts.
+
+config HANNSTAR_P1003
+       tristate "Hannstar P1003 touchscreen"
+       depends on I2C2_RK29
+       help
+         RK29 hannstar touch
+
+       config HANNSTAR_MAX_X
+               int "hannstar touch x max"
+               depends on HANNSTAR_P1003
+               default 1087
+               help
+                 RK29 hannstar touch max X size
+
+       config HANNSTAR_MAX_Y
+                int "hannstar touch Y max"
+                depends on HANNSTAR_P1003
+               default 800
+                help
+                  RK29 hannstar touch max Y size
+
+       config HANNSTAR_DEBUG
+               bool "hannstar debug"
+               depends on HANNSTAR_P1003
+               default n
+               help
+                 RK29 hannstar touch debug
+
+config ATMEL_MXT224
+        tristate "Atmel mXT224 touchscreen"
+        depends on I2C2_RK29
+        help
+          RK29 Atmel_mXT224 touch
+
+        config MXT224_MAX_X
+                int "atmel_mxt224 touch X max"
+                depends on ATMEL_MXT224
+                default 4095
+                help
+                  RK29 atmel_mxt224 touch max X size
+
+        config MXT224_MAX_Y
+                int "atmel_mxt224 touch Y max"
+                depends on ATMEL_MXT224
+                default 4095
+                help
+                  RK29 atmel_mxt224 touch max Y size
+
+config SINTEK_3FA16
+       tristate "Sintek 3FA16 touchscreen"
+        depends on I2C2_RK29
+        help
+          RK29 Sintek touch
+
+        config HANNSTAR_MAX_X
+                int "Sintek touch x max"
+                depends on SINTEK_3FA16
+                default 1024
+                help
+                  RK29 hannstar touch max X size
+
+        config HANNSTAR_MAX_Y
+                int "Sintek touch Y max"
+                depends on SINTEK_3FA16
+                default 600
+                help
+                  RK29 hannstar touch max Y size
+
+        config HANNSTAR_DEBUG
+                bool "Sintek debug"
+                depends on SINTEK_3FA16
+                default n
+                help
+                  RK29 hannstar touch debug
+
+config EETI_EGALAX
+        tristate "EETI_EGALAX touchscreen panel support"
+        depends on I2C
+        help
+          Say Y here to enable support for I2C connected EETI touch panels.
+
+          To compile this driver as a module, choose M here: the
+          module will be called eeti_egalax_ts.
+
+        config EETI_EGALAX_MAX_X
+                int "EETI_EGALAX_MAX_X"
+                depends on EETI_EGALAX
+                default 2047
+                help
+                  RK29 EETI_EGALAX touch max X size
+
+        config EETI_EGALAX_MAX_Y
+                int "EETI_EGALAX_MAX_Y"
+                depends on EETI_EGALAX
+                default 2047
+                help
+                  RK29 EETI_EGALAX touch max Y size
+
+        config EETI_EGALAX_DEBUG
+                bool "EETI_EGALAX debug"
+                depends on EETI_EGALAX
+                default n
+                help
+                  RK29 EETI_EGALAX touch debug
+
+config TOUCHSCREEN_IT7260
+       tristate "IT7260 based touchscreens: IT7260 Interface"
+       depends on I2C2_RK29
+       help
+         Say Y here if you have a touchscreen interface using the
+         it7260 controller, and your board-specific initialization
+         code includes that in its table of I2C devices.
+
+         If unsure, say N (but it's safe to say "Y").
+
+config TOUCHSCREEN_IT7260_I2C
+       tristate "IT7260 based touchscreens: IT7260 I2C Interface"
+       depends on I2C_RK29
+       help
+         Say Y here if you have a touchscreen interface using the
+         IT7260 controller, and your board-specific initialization
+         code includes that in its table of I2C devices.
+
+         If unsure, say N (but it's safe to say "Y").
+
+config TOUCHSCREEN_NAS
+        tristate "NAS based touchscreens: NAS Interface"
+        depends on I2C2_RK29
+        help
+          Say Y here if you have a touchscreen interface using the
+          nas controller, and your board-specific initialization
+          code includes that in its table of I2C devices.
+
+          If unsure, say N (but it's safe to say "Y").
+
+config LAIBAO_TS
+       tristate "LAIBAO touchscreen"
+       depends on I2C2_RK29
+       help
+         RK29 LAIBAO touchscreen
+
+config TOUCHSCREEN_GT801_IIC
+       tristate "GT801_IIC based touchscreens"
+       depends on I2C2_RK29
+
+config TOUCHSCREEN_GT818_IIC
+       tristate "GT818_IIC based touchscreens"
+       depends on I2C2_RK29
+
+config TOUCHSCREEN_PIXCIR
+       tristate "PIXCIR_IIC based touchscreens"
+       depends on I2C2_RK29
+
+config D70_L3188A
+       tristate "D70-L3188A based touchscreens"
+       depends on I2C2_RK29
+
+config TOUCHSCREEN_GT819
+       tristate "GT819 based touchscreens"
+       depends on I2C2_RK29
+
+config TOUCHSCREEN_FT5306
+       tristate "FT5306 based touchscreens: FT5306 Interface"
+       depends on I2C2_RK29
+
+config TOUCHSCREEN_FT5406
+       tristate "FT5406 based touchscreens: FT5406 Interface"
+       depends on I2C2_RK29
+       help
+         say Y here if you have a touchscreen interface using the FT5406
+         controller,and your board-specific initialization code includes that
+         in its table of I2C devices.
+
+         If unsure, say N(but it's safe to say "Y").
+
+config ATMEL_MXT1386
+        tristate "ATMEL_MXT1386 touchscreen panel support"
+        depends on I2C
+        help
+          Say Y here to enable support for I2C connected ATMEL_MXT1386 touch panels.
+
+          To compile this driver as a module, choose M here: the
+          module will be called atmel_mxt1386_ts.
+
+        config ATMEL_MXT1386_MAX_X
+                int "ATMEL_MXT1386_MAX_X"
+                depends on ATMEL_MXT1386
+                default 4095
+                help
+                  RK29 ATMEL_MXT1386 touch max X size
+
+        config ATMEL_MXT1386_MAX_Y
+                int "ATMEL_MXT1386_MAX_Y"
+                depends on ATMEL_MXT1386
+                default 4095
+                help
+                  RK29 ATMEL_MXT1386 touch max Y size
+
+        config ATMEL_MXT1386_DEBUG
+                bool "ATMEL_MXT1386 debug"
+                depends on ATMEL_MXT1386
+                default n
+                help
+                  RK29 ATMEL_MXT1386 touch debug
 endif