summaryrefslogtreecommitdiff
path: root/board/kappa/board.c
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 /board/kappa/board.c
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 'board/kappa/board.c')
-rw-r--r--board/kappa/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/kappa/board.c b/board/kappa/board.c
index e70054b18f..7676bf2162 100644
--- a/board/kappa/board.c
+++ b/board/kappa/board.c
@@ -123,7 +123,7 @@ __override struct keyboard_scan_config keyscan_config = {
struct ioexpander_config_t ioex_config[CONFIG_IO_EXPANDER_PORT_COUNT] = {
[0] = {
- .i2c_host_port = IT8801_KEYBOARD_PWM_I2C_PORT,
+ .i2c_host_port = I2C_PORT_KB_DISCRETE,
.i2c_addr_flags = IT8801_I2C_ADDR1,
.drv = &it8801_ioexpander_drv,
},