1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Touchscreen driver configuration 4# 5config TOUCHSCREEN_CYPRESS_CYTTSP5 6 tristate "Parade TrueTouch Gen5 Touchscreen Driver" 7 help 8 Core driver for Parade TrueTouch(tm) Standard Product 9 Geneartion5 touchscreen controllers. 10 11 Say Y here if you have a Parade Gen5 touchscreen. 12 13 If unsure, say N. 14 15 To compile this driver as a module, choose M here: the 16 module will be called cyttsp5. 17 18config TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICETREE_SUPPORT 19 bool "Enable Device Tree support" 20 depends on TOUCHSCREEN_CYPRESS_CYTTSP5 && OF 21 help 22 Say Y here to enable support for device tree. 23 24 If unsure, say N. 25 26config TOUCHSCREEN_CYPRESS_CYTTSP5_I2C 27 tristate "Parade TrueTouch Gen5 I2C" 28 depends on TOUCHSCREEN_CYPRESS_CYTTSP5 29 select I2C 30 help 31 Say Y here to enable I2C bus interface to Parade TrueTouch(tm) 32 Standard Product Generation5 touchscreen controller. 33 34 If unsure, say Y. 35 36 To compile this driver as a module, choose M here: the 37 module will be called cyttsp5_i2c. 38 39config TOUCHSCREEN_CYPRESS_CYTTSP5_SPI 40 tristate "Parade TrueTouch Gen5 SPI" 41 depends on TOUCHSCREEN_CYPRESS_CYTTSP5 42 select SPI 43 help 44 Say Y here to enable SPI bus interface to Parade TrueTouch(tm) 45 Standard Product Generation5 touchscreen controller. 46 47 If unsure, say N. 48 49 To compile this driver as a module, choose M here: the 50 module will be called cyttsp5_spi. 51 52choice 53 bool "Parade TrueTouch Gen5 MultiTouch Protocol" 54 depends on TOUCHSCREEN_CYPRESS_CYTTSP5 55 default TOUCHSCREEN_CYPRESS_CYTTSP5_MT_B 56 help 57 This option controls which MultiTouch protocol will be used to 58 report the touch events. 59 60config TOUCHSCREEN_CYPRESS_CYTTSP5_MT_A 61 bool "Protocol A" 62 help 63 Select to enable MultiTouch touch reporting using protocol A 64 on Parade TrueTouch(tm) Standard Product Generation4 touchscreen 65 controller. 66 67config TOUCHSCREEN_CYPRESS_CYTTSP5_MT_B 68 bool "Protocol B" 69 help 70 Select to enable MultiTouch touch reporting using protocol B 71 on Parade TrueTouch(tm) Standard Product Generation4 touchscreen 72 controller. 73 74endchoice 75 76config TOUCHSCREEN_CYPRESS_CYTTSP5_BUTTON 77 bool "Parade TrueTouch Gen5 MultiTouch CapSense Button" 78 depends on TOUCHSCREEN_CYPRESS_CYTTSP5 79 help 80 Say Y here to enable CapSense reporting on Parade TrueTouch(tm) 81 Standard Product Generation5 touchscreen controller. 82 83 If unsure, say N. 84 85config TOUCHSCREEN_CYPRESS_CYTTSP5_PROXIMITY 86 bool "Parade TrueTouch Gen5 Proximity" 87 depends on TOUCHSCREEN_CYPRESS_CYTTSP5 88 help 89 Say Y here to enable proximity reporting on Parade TrueTouch(tm) 90 Standard Product Generation5 touchscreen controller. 91 92 If unsure, say N. 93 94config TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS 95 tristate "Parade TrueTouch Gen5 MultiTouch Device Access" 96 depends on TOUCHSCREEN_CYPRESS_CYTTSP5 97 help 98 Say Y here to enable Parade TrueTouch(tm) Standard Product 99 Generation5 touchscreen controller device access module. 100 101 This modules adds an interface to access touchscreen 102 controller using driver sysfs nodes. 103 104 If unsure, say N. 105 106 To compile this driver as a module, choose M here: the 107 module will be called cyttsp5_device_access. 108 109config TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS_API 110 bool "Enable Device Access kernel API" 111 depends on TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS 112 help 113 Say Y here to enable Device access kernel API which provides 114 access to Parade TrueTouch(tm) Standard Product Generation5 115 touchscreen controller for other modules. 116 117 If unsure, say N. 118 119config TOUCHSCREEN_CYPRESS_CYTTSP5_TEST_DEVICE_ACCESS_API 120 tristate "Simple Test module for Device Access kernel API" 121 depends on TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS 122 depends on TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS_API 123 help 124 Say Y here to enable test module for Device access kernel API. 125 126 If unsure, say N. 127 128 To compile this driver as a module, choose M here: the 129 module will be called cyttsp5_test_device_access_api. 130 131config TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER 132 tristate "Parade TrueTouch Gen5 MultiTouch Loader" 133 depends on TOUCHSCREEN_CYPRESS_CYTTSP5 134 help 135 Say Y here to enable Parade TrueTouch(tm) Standard Product 136 Generation5 touchscreen controller FW Loader module. 137 138 This module enables support for Firmware upgrade. 139 140 If unsure, say Y. 141 142 To compile this driver as a module, choose M here: the 143 module will be called cyttsp5_loader. 144 145config TOUCHSCREEN_CYPRESS_CYTTSP5_PLATFORM_FW_UPGRADE 146 bool "FW upgrade from header file" 147 depends on TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER 148 help 149 Say Y here to include Parade TrueTouch(tm) Standard Product 150 Generation5 device Firmware into driver. 151 152 Need proper header file for this. 153 154 If unsure, say N. 155 156config TOUCHSCREEN_CYPRESS_CYTTSP5_BINARY_FW_UPGRADE 157 bool "FW upgrade from binary file" 158 depends on TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER 159 help 160 Say Y here to include Parade TrueTouch(tm) Standard Product 161 Generation5 device Firmware into kernel as binary blob. 162 163 This should be enabled for manual FW upgrade support. 164 165 If unsure, say Y. 166 167config TOUCHSCREEN_CYPRESS_CYTTSP5_PLATFORM_TTCONFIG_UPGRADE 168 bool "TT Configuration upgrade from header file" 169 depends on TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER 170 help 171 Say Y here to include Parade TrueTouch(tm) Standard Product 172 Generation5 device TrueTouch Configuration into kernel itself. 173 174 Need proper header file for this. 175 176 If unsure, say N. 177 178config TOUCHSCREEN_CYPRESS_CYTTSP5_MANUAL_TTCONFIG_UPGRADE 179 bool "TT Configuration upgrade via SysFs" 180 depends on TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER 181 help 182 Say Y here to provide a SysFs interface to upgrade TrueTouch 183 Configuration with a binary configuration file. 184 185 Need proper binary version of config file for this 186 feature. 187 188 If unsure, say Y. 189 190config TOUCHSCREEN_CYPRESS_CYTTSP5_DEBUG_MDL 191 tristate "Parade TrueTouch Gen5 MultiTouch Debug Module" 192 depends on TOUCHSCREEN_CYPRESS_CYTTSP5 193 help 194 Say Y here to enable Parade TrueTouch(tm) Standard Product 195 Generation5 Debug module. 196 197 This module adds support for verbose printing touch 198 information. 199 200 If unsure, say N. 201 202 To compile this driver as a module, choose M here: the 203 module will be called cyttsp5_debug. 204 205 206