summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorHarry Cutts <hcutts@chromium.org>2019-09-04 13:49:50 -0700
committerCommit Bot <commit-bot@chromium.org>2019-09-18 01:24:36 +0000
commit73f6dc7cc71d98789f96f38fc8b636d78ba1e9b4 (patch)
tree4c96040cd5869ecc1067724d9ffe0e46b1ce8985 /include/config.h
parent9b659a2c48702bcd2e7658878203cbad7fe71ca4 (diff)
downloadchrome-ec-73f6dc7cc71d98789f96f38fc8b636d78ba1e9b4.tar.gz
touchpad_gt7288: Basic driver for Goodix GT7288
A simple driver which allows touch reports and firmware version information to be read. If the appropriate config flag is set, console commands are included for testing. Unlike the other two touchpad drivers already implemented, which simply receive I2C HID events and send them straight out again over USB HID, we want to do some processing on the touchpad data in the board directory. For that reason, this driver leaves handling the touch interrupts up to the user. BRANCH=none BUG=none TEST=With https://crrev.com/c/1716928 patched, run the various host commands and check the output. Change-Id: Ia38e516473b78fb052ae18ca89acc5d815b53bd6 Signed-off-by: Harry Cutts <hcutts@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1799290 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index bc19b6eb17..da735d3add 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1190,6 +1190,7 @@
#define CONFIG_CMD_GETTIME
#undef CONFIG_CMD_GPIO_EXTENDED
#undef CONFIG_CMD_GSV
+#undef CONFIG_CMD_GT7288
#define CONFIG_CMD_HASH
#define CONFIG_CMD_HCDEBUG
#undef CONFIG_CMD_HOSTCMD
@@ -3469,6 +3470,9 @@
/* Enable Elan driver */
#undef CONFIG_TOUCHPAD_ELAN
+/* Enable Goodix GT7288 driver */
+#undef CONFIG_TOUCHPAD_GT7288
+
/* Enable ST driver */
#undef CONFIG_TOUCHPAD_ST