zephyr/drivers/watchdog
Manuel Argüelles 6744d6084d watchdog: nxp_s32: use instance-based DT macros
At present, many of the NXP S32 shim drivers do not make use of
devicetree instance-based macros because the NXP S32 HAL relies on an
index-based approach, requiring knowledge of the peripheral instance
index during both compilation and runtime, and this index might not
align with the devicetree instance index.

The proposed solution in this patch eliminates this limitation by
determining the peripheral instance index during compilation
through macrobatics and defining the driver's ISR within the shim
driver itself.

Note that for some peripheral instances is needed to redefine the
HAL macros of the peripheral base address, since the naming is not
uniform for all instances.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-11-09 10:20:27 +00:00
..
CMakeLists.txt drivers: watchdog: Add xmc4xxx support 2023-10-27 12:58:07 -05:00
Kconfig drivers: watchdog: Add xmc4xxx support 2023-10-27 12:58:07 -05:00
Kconfig.ambiq drivers: watchdog: Add Ambiq wdt driver 2023-08-16 13:03:33 +02:00
Kconfig.andes_atcwdt200 drivers: watchdog: Add Andestech ATCWDT200 driver. 2023-06-29 10:13:05 +00:00
Kconfig.cc13xx_cc26xx drivers: ti: cc13xx/cc26xx: implement watchdog timer 2023-01-31 16:08:00 -05:00
Kconfig.cc32xx drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.cmsdk_apb drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.dw drivers: watchdog: Add a new driver for Synopsys DesignWare watchdog 2023-02-19 20:42:52 -05:00
Kconfig.esp32 drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.gd32 drivers: watchdog: Add GD32 Window watchdog timer driver 2022-10-03 18:07:16 +02:00
Kconfig.gecko drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.ifx_cat1 drivers: watchdog: Driver for Infineon watchdog 2023-05-24 19:42:50 -04:00
Kconfig.intel_adsp drivers: wdt: Add wdt_intel_adsp driver 2023-03-29 09:45:49 -04:00
Kconfig.it8xxx2 drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.mcux drivers: wdt_mcux_wwdt: Fix warning callback 2023-09-13 09:16:33 +02:00
Kconfig.mcux_imx drivers: watchdog: wdt_mcux_imx_wdog: add pinctrl support 2023-08-31 20:19:33 +02:00
Kconfig.npcx drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.npm1300 drivers: mfd: gpio: adjust init priority 2023-10-26 09:50:31 +02:00
Kconfig.npm6001 drivers: mfd: gpio: adjust init priority 2023-10-26 09:50:31 +02:00
Kconfig.nrfx drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.nxp_fs26 drivers: watchdog: support NXP FS26 watchdog 2023-08-01 09:51:16 +02:00
Kconfig.nxp_s32 drivers: select nocache only when supported 2023-09-26 15:09:51 +02:00
Kconfig.opentitan drivers: watchdog: Add the OpenTitan watchdog driver 2023-05-26 09:45:25 -04:00
Kconfig.rpi_pico drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.sam drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.sam0 drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.shell drivers: watchdog: add WDT shell commands 2023-08-21 15:01:30 -05:00
Kconfig.sifive drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.smartbond drivers: watchdog: implement Smartbond watchdog driver 2023-03-03 11:02:37 +01:00
Kconfig.stm32 drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.tco drivers: watchdog: Add Intel TCO Watchdog driver 2023-03-22 11:38:59 +01:00
Kconfig.ti_tps382x drivers: watchdog: Add TI TPS382x driver 2023-03-21 09:35:58 +01:00
Kconfig.xec drivers: watchdog: Update drivers to use devicetree Kconfig symbol 2022-07-22 14:06:00 +00:00
Kconfig.xlnx drivers: watchdog: add Xilinx AXI Timebase WDT driver 2023-05-19 16:14:24 +02:00
Kconfig.xmc4xxx drivers: watchdog: Add xmc4xxx support 2023-10-27 12:58:07 -05:00
wdt_ambiq.c drivers: watchdog: Add Ambiq wdt driver 2023-08-16 13:03:33 +02:00
wdt_andes_atcwdt200.c drivers: watchdog: atcwdt200: fix shadow variable build error 2023-08-28 16:00:00 +02:00
wdt_cc13xx_cc26xx.c drivers: ti: cc13xx/cc26xx: implement watchdog timer 2023-01-31 16:08:00 -05:00
wdt_cc32xx.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
wdt_cmsdk_apb.c include: arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
wdt_counter.c drivers: watchdog: Make SOC reset as an option in counter watchdog 2023-01-09 10:15:33 +01:00
wdt_dw.c wdt: dw: Extraction of common functions from the wdt_dw driver 2023-03-29 09:45:49 -04:00
wdt_dw.h drivers: watchdog: Add a new driver for Synopsys DesignWare watchdog 2023-02-19 20:42:52 -05:00
wdt_dw_common.c wdt: dw: Extraction of common functions from the wdt_dw driver 2023-03-29 09:45:49 -04:00
wdt_dw_common.h wdt: dw: Extraction of common functions from the wdt_dw driver 2023-03-29 09:45:49 -04:00
wdt_esp32.c soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
wdt_fwdgt_gd32.c include: add missing sys_clock.h include 2022-10-11 18:05:17 +02:00
wdt_gecko.c drivers: watchdog: gecko: enable watchdog clock 2023-04-05 12:48:24 +00:00
wdt_handlers.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
wdt_ifx_cat1.c driver: watchdog: wdt_ifx_cat1: masking added 2023-08-16 20:42:45 +02:00
wdt_intel_adsp.c wdt: wdt_intel_adsp: Remove unused variable 2023-03-30 11:29:33 -04:00
wdt_intel_adsp.h drivers: wdt: Add wdt_intel_adsp driver 2023-03-29 09:45:49 -04:00
wdt_ite_it8xxx2.c include: fix includes for IT8xxx2 SoC 2022-10-12 16:10:05 -04:00
wdt_iwdg_stm32.c drivers: watchdog: add watchdog support on STM32C0-series 2023-03-20 10:19:29 +00:00
wdt_iwdg_stm32.h drivers: watchdog: stm32 iwdt enable and update during setup 2023-01-30 15:05:39 +00:00
wdt_mchp_xec.c arm: add missing includes 2022-10-11 18:37:53 -04:00
wdt_mcux_imx_wdog.c drivers: watchdog: wdt_mcux_imx_wdog: add pinctrl support 2023-08-31 20:19:33 +02:00
wdt_mcux_wdog.c include: add missing irq.h include 2022-10-11 18:05:17 +02:00
wdt_mcux_wdog32.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
wdt_mcux_wwdt.c drivers: wdt_mcux_wwdt: Fix warning callback 2023-09-13 09:16:33 +02:00
wdt_npcx.c driver: wdt: npcx: add WDT_OPT_PAUSE_HALTED_BY_DBG support. 2023-07-07 09:19:50 +02:00
wdt_npm1300.c drivers: watchdog: npm1300: Added watchdog driver 2023-07-12 14:36:56 +02:00
wdt_npm6001.c drivers: watchdog: npm6001: initial version 2022-11-22 11:05:19 +01:00
wdt_nrfx.c drivers: wdt_nrfx: Clean up driver instantiation 2023-07-25 13:41:51 +02:00
wdt_nxp_fs26.c treewide: Replace all uses of CONCAT with _CONCAT 2023-11-07 11:55:51 +01:00
wdt_nxp_fs26.h drivers: watchdog: support NXP FS26 watchdog 2023-08-01 09:51:16 +02:00
wdt_nxp_s32.c watchdog: nxp_s32: use instance-based DT macros 2023-11-09 10:20:27 +00:00
wdt_opentitan.c drivers: watchdog: Add the OpenTitan watchdog driver 2023-05-26 09:45:25 -04:00
wdt_rpi_pico.c drivers: watchdog: Fix RP2040 watchdog load time 2023-01-24 19:01:34 -08:00
wdt_sam.c include: add missing irq.h include 2022-10-11 18:05:17 +02:00
wdt_sam0.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
wdt_shell.c drivers: watchdog_shell: fix compiler error 2023-08-22 10:49:05 +01:00
wdt_sifive.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
wdt_smartbond.c include: arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
wdt_tco.c drivers: wdt_tco: Use DT_DRV_COMPAT interface 2023-09-25 16:41:42 +02:00
wdt_ti_tps382x.c drivers: watchdog: Add TI TPS382x driver 2023-03-21 09:35:58 +01:00
wdt_wwdg_stm32.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
wdt_wwdg_stm32.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
wdt_wwdgt_gd32.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
wdt_xilinx_axi.c drivers: watchdog: add Xilinx AXI Timebase WDT driver 2023-05-19 16:14:24 +02:00
wdt_xmc4xxx.c drivers: watchdog: Add xmc4xxx support 2023-10-27 12:58:07 -05:00