driver: ps2: npcx: use the device Kconfig symbol
The npcx ps2 driver does not use the DT_HAS_<compat>_ENABLED Kconfig symbol to enable the driver. This commits update the Kconig file to use it and also drop the dependency on ESPI_PERIPHERAL_8042_KBC. Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
This commit is contained in:
parent
b2172a97d8
commit
ad44c98cb7
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
|||
|
||||
menuconfig PS2_NPCX
|
||||
bool "Nuvoton NPCX embedded controller (EC) PS2 driver"
|
||||
depends on SOC_FAMILY_NPCX && ESPI_PERIPHERAL_8042_KBC
|
||||
depends on DT_HAS_NUVOTON_NPCX_PS2_CHANNEL_ENABLED
|
||||
default y
|
||||
help
|
||||
Enable the NPCX family PS2 driver. It provides four PS/2 channels.
|
||||
Each channel has two quasi-bidirectional signals that serve as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue