ba39c47187
The PS/2 module in npcx provides a hardware accelerator mechanism including an 8-bit shift register, a state machine, and control logic that handle both the incoming and outgoing data. The hardware accelerator mechanism is shared by 4 PS/2 channels. To support it, this CL separates the PS/2 driver into channel and controller drivers. The controller driver is in charge of the PS/2 transaction. The channel driver is in charge of the connection between the Zehpyr PS/2 API interface and controller driver. Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
29 lines
569 B
Plaintext
29 lines
569 B
Plaintext
# PS/2 configuration options
|
|
|
|
# Copyright (c) 2019 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig PS2
|
|
bool "PS/2 Drivers"
|
|
help
|
|
Include PS/2 drivers in system config.
|
|
|
|
if PS2
|
|
|
|
source "drivers/ps2/Kconfig.xec"
|
|
source "drivers/ps2/Kconfig.npcx"
|
|
|
|
module = PS2
|
|
module-str = ps2
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
config PS2_INIT_PRIORITY
|
|
int "PS/2 driver init priority"
|
|
default 40
|
|
help
|
|
PS/2 device driver initialization priority.
|
|
There isn't any critical component relying on this priority at
|
|
the moment.
|
|
|
|
endif # PS2
|