zephyr/drivers/espi
Peter Marheine 1cf884786b drivers: it8xxx2: fix GPIO interrupt enables
gpio_pin_interrupt_configure asserts that one of GPIO_INT_ENABLE or
_DISABLE is specified by the caller, and also that GPIO_INT_EDGE is
requested if both states (GPIO_INT_TRIG_BOTH) should interrupt. This
change corrects the misuses in it8xxx2 drivers that cause assertion
failures.

When assertions are disabled the existing code works correctly because
the it8xxx2 GPIO driver assumes that a pin interrupt should be enabled
if _DISABLE is not requested, and the driver only supports edge
triggers but assumes the absence of GPIO_INT_MODE_LEVEL indicates
an edge trigger was requested.

Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Change-Id: I1aaee190ec4cf063f36e25c0c293a91d280e71bb
2022-03-11 11:00:22 +01:00
..
CMakeLists.txt soc: it8xxx2: add support for eSPI driver 2021-11-12 14:51:10 +01:00
espi_emul.c emul: espi: Add ACPI Shared Memory functions 2021-08-26 13:14:05 -04:00
espi_handlers.c
espi_it8xxx2.c drivers: it8xxx2: fix GPIO interrupt enables 2022-03-11 11:00:22 +01:00
espi_mchp_xec_host_v2.c Microchip: MEC172x: eSPI driver 2021-11-16 10:43:42 +01:00
espi_mchp_xec_v2.c drivers: espi: xec: mec172x: Handle eSPI peripheral channel error 2022-03-10 13:25:13 -05:00
espi_mchp_xec_v2.h espi: updated MEC172x espi module for pinctrl 2022-03-07 11:03:06 +01:00
espi_mchp_xec.c
espi_npcx.c drivers: npcx: Drop DRV_CONFIG/DRV_DATA usage 2022-01-28 10:06:05 +01:00
espi_saf_mchp_xec.c drivers: espi: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
espi_utils.h
host_subs_npcx.c
Kconfig drivers: espi: xec: support for eSPI slaves with long initializations 2022-02-21 20:55:48 -05:00
Kconfig.espi_emul
Kconfig.it8xxx2 espi: it8xxx2: enable configuration of Chromebook 2022-02-21 22:01:48 -05:00
Kconfig.npcx
Kconfig.xec Microchip: MEC172x: eSPI driver 2021-10-26 09:27:20 -04:00
Kconfig.xec_v2 Microchip: MEC172x: eSPI driver 2021-11-16 10:43:42 +01:00