espi: mec172x kbc: Enable custom configs

Enable custom configs for KBC IBF event data and KBC
OBF callback from ISR.

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
This commit is contained in:
Jay Vasanth 2022-03-08 11:16:34 -05:00 committed by Maureen Helm
commit 32bc328f8b
2 changed files with 65 additions and 2 deletions

View file

@ -154,3 +154,17 @@ config ESPI_PERIPHERAL_ACPI_EC_IBF_EVT_DATA
to callback.
endif #ESPI_XEC_V2
if ESPI_PERIPHERAL_8042_KBC
config ESPI_PERIPHERAL_KBC_IBF_EVT_DATA
bool "KBC event data format in IBF"
help
Enable espi_evt_data_kbc format for encoding event in KBC IBF ISR
config ESPI_PERIPHERAL_KBC_OBE_CBK
bool "KBC OBE Callback"
help
Enable KBC OBE callback from OBE ISR
endif #ESPI_PERIPHERAL_8042_KBC