zephyr/drivers/espi
Aditya Bhutada 7d9da1c687 drivers: espi: espi_mchp_xec: removed redundant state variables
Removed struct variables for storing states: sx, plt_rst, espi_rst.
While Sx & espi_rst state variables were totally redundant, plt_rst
variable had a use-case to prevent sending multiple callbacks to app.
Experimentally proven that use-case was not valid, as plt_rst isr
itself gets called only upon rising/falling edge.
Removing the condition to check plt_rst's current and previous state,
also solves the problem where global reset do not update plt_rst state.

Signed-off-by: Aditya Bhutada <aditya.bhutada@intel.com>
2023-03-09 09:21:43 +01:00
..
CMakeLists.txt drivers: espi_saf: Add Microchip MEC172x eSPI SAF version 2 driver 2022-10-28 14:29:46 -05:00
espi_emul.c emul: remove name param from bus register APIs 2022-07-19 15:52:36 -05:00
espi_handlers.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
espi_it8xxx2.c espi: it8xxx2: enable espi transaction interrupt 2023-01-18 09:55:44 +01:00
espi_mchp_xec.c drivers: espi: espi_mchp_xec: removed redundant state variables 2023-03-09 09:21:43 +01:00
espi_mchp_xec_host_v2.c ec_host_cmd: add eSPI peripheral for the host commands 2022-11-18 10:11:40 +01:00
espi_mchp_xec_v2.c drivers: espi: espi_mchp_xec: removed redundant state variables 2023-03-09 09:21:43 +01:00
espi_mchp_xec_v2.h drivers: espi: espi_mchp_xec: removed redundant state variables 2023-03-09 09:21:43 +01:00
espi_npcx.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
espi_saf_mchp_xec.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
espi_saf_mchp_xec_v2.c drivers: espi_saf: Add Microchip MEC172x eSPI SAF version 2 driver 2022-10-28 14:29:46 -05:00
espi_utils.h espi: Fix gpio_manage_callback() logic 2022-10-04 14:10:05 +00:00
host_subs_npcx.c driver: Port80: npcx: defer Port80 code sending to workqueue thread 2023-02-20 09:43:20 +01:00
Kconfig drivers: espi_saf: Add Microchip MEC172x eSPI SAF version 2 driver 2022-10-28 14:29:46 -05:00
Kconfig.espi_emul drivers: espi: enable ESPI_EMUL automatically 2022-12-22 11:06:18 +01:00
Kconfig.it8xxx2 espi: it8xxx2: enable configuration of Chromebook 2022-02-21 22:01:48 -05:00
Kconfig.npcx driver: Port80: npcx: defer Port80 code sending to workqueue thread 2023-02-20 09:43:20 +01:00
Kconfig.xec espi: auto enable the ESPI SAF XEC based on the device tree 2022-11-08 20:13:22 +00:00