diff options
author | davidycchen <davidycchen@google.com> | 2021-08-17 14:00:30 +0800 |
---|---|---|
committer | davidycchen <davidycchen@google.com> | 2021-09-08 15:12:37 +0800 |
commit | b709f4d97bb33d74ff5a14f8ff8c617b5f605c67 (patch) | |
tree | 1a431604d32160798b1b9791e81e9d9e172d13dc /Kconfig | |
parent | dcf50a13512c25d57d413b1ce99f1770450e3d5f (diff) | |
download | synaptics_touch-b709f4d97bb33d74ff5a14f8ff8c617b5f605c67.tar.gz |
synaptics: add initial driver
Initial driver provided by Synaptics.
Bug: 198228556
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I471eda97a2b2e06a4dd9328e69c71d5f8e8fdc93
Diffstat (limited to 'Kconfig')
-rw-r--r-- | Kconfig | 60 |
1 files changed, 60 insertions, 0 deletions
@@ -0,0 +1,60 @@ +# +# Synaptics TCM touchscreen driver configuration +# +menuconfig TOUCHSCREEN_SYNA_TCM2 + tristate "Synaptics TCM touchscreen" + default y + help + Say Y here if you have a Synaptics TCM touchscreen connected + to your system. + + If unsure, say N. + + To compile this driver as a module, choose M here. + +if TOUCHSCREEN_SYNA_TCM2 + +choice + default TOUCHSCREEN_SYNA_TCM2_I2C + prompt "Synaptics TCM bus module" +config TOUCHSCREEN_SYNA_TCM2_I2C + bool "I2C" + depends on I2C +config TOUCHSCREEN_SYNA_TCM2_SPI + bool "SPI" + depends on SPI_MASTER +endchoice + +config TOUCHSCREEN_SYNA_TCM2_SYSFS + bool "Synaptics TCM device sysfs module" + depends on TOUCHSCREEN_SYNA_TCM2 + help + Say Y here to enable support for the sysfs interface. + + If unsure, say N. + +config TOUCHSCREEN_SYNA_TCM2_REFLASH + bool "Synaptics TCM reflash module" + depends on TOUCHSCREEN_SYNA_TCM2 + help + Say Y here to enable support for the reflashing. + + If unsure, say N. + +config TOUCHSCREEN_SYNA_TCM2_TESTING + bool "Synaptics TCM testing module" + depends on TOUCHSCREEN_SYNA_TCM2 + help + Say Y here to enable support for the production test. + + If unsure, say N. + +config TOUCHSCREEN_SYNA_TCM2_ROMBOOT + bool "Synaptics TCM rom-bootloader module" + depends on TOUCHSCREEN_SYNA_TCM2 + help + Say Y here to enable support for the rom-boot access. + + If unsure, say N. + +endif |