zephyr/drivers/ps2/Kconfig.xec
Francisco Munoz 377aa876a3 drivers: ps2: Compile out PS/2 in terms of an eSPI peripheral
Add the possibility to compile out the PS/2 driver if
the application is not using the KBC 8042 peripheral. This
helps to remove warnings for unused PS/2 isr function

Signed-off-by: Francisco Munoz <francisco.munoz.ruiz@intel.com>
2019-11-20 15:02:08 -05:00

26 lines
488 B
Plaintext

# Microchip XEC PS2 configuration options
# Copyright (c) 2019 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig PS2_XEC
bool "XEC Microchip PS2 driver"
depends on SOC_FAMILY_MEC && ESPI_PERIPHERAL_8042_KBC
help
Enable the Microchip XEC PS2 IO driver. The driver also
depends on the KBC 8042 keyboard controller.
if PS2_XEC
config PS2_XEC_0
bool "PS2_XEC_0"
help
Enable PS2 0.
config PS2_XEC_1
bool "PS2_XEC_1"
help
Enable PS2 1.
endif # PS2_XEC