summaryrefslogtreecommitdiff
path: root/include/console_channel.inc
diff options
context:
space:
mode:
authorCHLin <CHLIN56@nuvoton.com>2019-12-25 16:29:14 +0800
committerCommit Bot <commit-bot@chromium.org>2020-01-30 20:23:49 +0000
commitd79ee1cba05d36d568ed6f30ba5dadb45fd57681 (patch)
treeb2fcfdfba2da96fe0efc8daf9ba8b605d40f501b /include/console_channel.inc
parent85902285e20f4e6d8390d944b48ccb96ee252f40 (diff)
downloadchrome-ec-d79ee1cba05d36d568ed6f30ba5dadb45fd57681.tar.gz
npcx: Add driver support for PS/2 interface
Morphius connects the trackpoint device to EC via the PS/2 interface. To support it, we implemented the chip level PS/2 driver in this CL. The PS/2 driver can be used on all series of NPCX EC chips (NPCX5/7). BUG=b:145575366 BRANCH=none TEST=No error for "make buildall" TEST=Apply this and related CLs, connect npcx5/npcx7 EVBs to standard PS/2 keyboards and PS/2 device emulator with different channels. Verify that the PS/2 write/read transaction can keep working for several hours without issue. Change-Id: I5bae313db2d697999c2da5cf33478be2da754b8c Signed-off-by: CHLin <CHLIN56@nuvoton.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1982302 Tested-by: CH Lin <chlin56@nuvoton.com> Commit-Queue: Edward Hill <ecgh@chromium.org> Auto-Submit: CH Lin <chlin56@nuvoton.com> Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'include/console_channel.inc')
-rw-r--r--include/console_channel.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/console_channel.inc b/include/console_channel.inc
index d4b63040a5..f4558bef3c 100644
--- a/include/console_channel.inc
+++ b/include/console_channel.inc
@@ -78,6 +78,9 @@ CONSOLE_CHANNEL(CC_MOTION_SENSE, "motionsense")
CONSOLE_CHANNEL(CC_PD_HOST_CMD, "pdhostcm")
#endif
CONSOLE_CHANNEL(CC_PORT80, "port80")
+#ifdef CONFIG_PS2
+CONSOLE_CHANNEL(CC_PS2, "ps2")
+#endif
#if defined(CONFIG_PWM) || defined(CONFIG_FANS)
CONSOLE_CHANNEL(CC_PWM, "pwm")
#endif