Merge branch 'develop-3.0' of ssh://192.168.1.29/rk/kernel into develop-3.0
[firefly-linux-kernel-4.4.55.git] / drivers / input / touchscreen / Kconfig
old mode 100644 (file)
new mode 100755 (executable)
index 4104103..212a2a3
@@ -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
@@ -732,4 +813,203 @@ config TOUCHSCREEN_TPS6507X
          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_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