espi: mec172x: Read ACPI EC data in IBF ISR

Handle ACPI EC0 and ACPI EC1 IBF ISR by reading input
data in the ISR

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
This commit is contained in:
Jay Vasanth 2022-03-04 18:20:58 -05:00 committed by Maureen Helm
commit 3abfb58741
2 changed files with 41 additions and 0 deletions

View file

@ -145,4 +145,12 @@ config ESPI_SAF_INIT_PRIORITY
help
Driver initialization priority for eSPI SAF driver.
config ESPI_PERIPHERAL_ACPI_EC_IBF_EVT_DATA
bool "Read ACPI EC Event Data in IBF ISR"
depends on ESPI_PERIPHERAL_CHANNEL
help
Enable reading event data in ACPI EC IBF ISR. This is used in OS
environment where application expects IBF ISR to read data and pass
to callback.
endif #ESPI_XEC_V2