summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2022-04-21 13:52:47 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-25 17:38:08 +0000
commitbd981b048badd21451233164b3cea4320e538a70 (patch)
tree03f88ffb5f10629beb275b85848b9677f35a1478 /include/config.h
parent0b6ee501c3aef52a3f684f90a08b514ac54cadd8 (diff)
downloadchrome-ec-bd981b048badd21451233164b3cea4320e538a70.tar.gz
cleanup: it8801: Rename discrete Keyboard configs
Renamed IT8801 discrete keyboard related names like NOT_RAW, I2C_PORT, I2C_ADDRESS and Interrupt GPIO to support discrete keyboard in Zephyr Shim. BUG=b:230008245 BRANCH=none TEST=make buildall Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Change-Id: I9be3ff570681f88e1fc3ac0650f9919ad272b847 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3600627 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index abe3c48b7b..8ba8a4de0c 100644
--- a/include/config.h
+++ b/include/config.h
@@ -2784,8 +2784,8 @@
/*
* Support IT8801 I/O expander.
*
- * I2C address IT8801_KEYBOARD_PWM_I2C_ADDR_FLAGS and I2C port
- * IT8801_KEYBOARD_PWM_I2C_PORT must be defined as well.
+ * I2C address KB_DISCRETE_I2C_ADDR_FLAGS and I2C port
+ * I2C_PORT_KB_DISCRETE must be defined as well.
* Note: these values are only used when accessing the keyboard and PWM
* function of the IT8801 chip. I/O expander functions are accessed using
* the ioex_config[] array.
@@ -2920,7 +2920,7 @@
* chip. You might want this enabled if the keyboard is indirectly connected
* to the EC, perhaps through an I2C controller.
*/
-#undef CONFIG_KEYBOARD_NOT_RAW
+#undef CONFIG_KEYBOARD_DISCRETE
/* The board uses a negative edge-triggered GPIO for keyboard interrupts. */
#undef CONFIG_KEYBOARD_IRQ_GPIO