kscan: drop kscan and any reference

Drop the whole kscan subsystem and reference to it.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2025-03-09 23:52:51 +00:00 committed by Fabio Baltieri
commit 60a9a202df
69 changed files with 8 additions and 1077 deletions

View file

@ -92,10 +92,10 @@ void soc_deep_sleep_non_wake_dis(void)
/* When MEC172x drivers are power-aware this should be move there */
void soc_deep_sleep_wake_en(void)
{
#if defined(CONFIG_KSCAN) || \
#if defined(INPUT_XEC_KBD) || \
(!defined(CONFIG_PM_DEVICE) && DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(ps2_0)))
struct ecia_named_regs *regs = ECIA_XEC_REG_BASE;
#if defined(CONFIG_KSCAN)
#if defined(INPUT_XEC_KBD)
/* Enable PLL wake via KSCAN */
regs->GIRQ21.SRC = MCHP_KEYSCAN_GIRQ_BIT;
regs->GIRQ21.EN_SET = MCHP_KEYSCAN_GIRQ_BIT;