zephyr/drivers/watchdog
Martí Bolívar 87e1743ae0 devicetree: replace DT_HAS_DRV_INST with DT_INST_FOREACH
Make drivers multi-instance wherever possible using DT_INST_FOREACH.
This allows removing DT_HAS_DRV_INST in favor of making drivers just
do the right thing regardless of how many instances there are.

There are a few exceptions:

- SoC drivers which use CMake input files (like i2c_dw.c) or otherwise
  would require more time to convert than I have at the moment. For the
  sake of expediency, just inline the DT_HAS_DRV_INST expansion for
  now in these cases.

- SoC drivers which are explicitly single-instance (like the nRF SAADC
  driver). Again for the sake of expediency, drop a BUILD_ASSERT in
  those cases to make sure the assumption that all supported SoCs have
  at most one available instance is valid, failing fast otherwise.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-06 17:35:08 -05:00
..
CMakeLists.txt drivers/watchdog: Add support for SiLabs Gecko Watchdog 2020-02-03 11:25:40 -08:00
Kconfig Revert "drivers: watchdog: Make WDT_DISABLE_AT_BOOT default to y" 2020-03-04 18:25:04 +02:00
Kconfig.cmsdk_apb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.esp32 watchdog: Refactor how we set HAS_DTS_WDT in Kconfig 2019-11-06 13:51:20 -06:00
Kconfig.gecko drivers/watchdog: Add support for SiLabs Gecko Watchdog 2020-02-03 11:25:40 -08:00
Kconfig.mcux watchdog: Refactor how we set HAS_DTS_WDT in Kconfig 2019-11-06 13:51:20 -06:00
Kconfig.nrfx drivers: wdt_nrfx: Add multi-instance support 2019-11-08 14:54:12 +01:00
Kconfig.sam watchdog: Refactor how we set HAS_DTS_WDT in Kconfig 2019-11-06 13:51:20 -06:00
Kconfig.sam0 watchdog: Refactor how we set HAS_DTS_WDT in Kconfig 2019-11-06 13:51:20 -06:00
Kconfig.stm32 drivers: watchdog: disable iwdg at boot on stm32 2020-03-10 15:12:20 +02:00
Kconfig.xec watchdog: Refactor how we set HAS_DTS_WDT in Kconfig 2019-11-06 13:51:20 -06:00
wdt_cmsdk_apb.c drivers: arm_cmsdk/arm: Convert drivers to new DT_INST macros 2020-03-31 19:28:47 -05:00
wdt_esp32.c devicetree: replace DT_HAS_DRV_INST with DT_INST_FOREACH 2020-05-06 17:35:08 -05:00
wdt_gecko.c devicetree: replace DT_HAS_DRV_INST with DT_INST_FOREACH 2020-05-06 17:35:08 -05:00
wdt_handlers.c drivers: watchdog: fix system call handlers build 2020-01-06 21:36:54 -08:00
wdt_iwdg_stm32.c drivers: stm32: Convert STM32 drivers to new DT_INST macros 2020-03-26 12:22:12 -05:00
wdt_iwdg_stm32.h drivers/wdt: Rename STM32 IWDG files to follow naming rules 2019-06-04 15:34:55 -04:00
wdt_mchp_xec.c drivers: microchip: Convert microchip drivers to new DT_INST macros 2020-03-26 16:31:52 -05:00
wdt_mcux_wdog.c drivers: mcux: Convert MCUX drivers to new DT_INST macros 2020-03-26 03:40:09 -05:00
wdt_mcux_wdog32.c drivers: mcux: Convert MCUX drivers to new DT_INST macros 2020-03-26 03:40:09 -05:00
wdt_nrfx.c drivers: watchdog: nordic: move to new DT API 2020-04-24 19:35:41 +02:00
wdt_sam.c drivers: atmel sam: Convert atmel sam drivers to new DT_INST macros 2020-03-26 16:31:31 -05:00
wdt_sam0.c drivers: wdt_sam0: remove log message during boot 2020-04-06 22:08:44 -04:00
wdt_wwdg_stm32.c drivers: stm32: Convert STM32 drivers to new DT_INST macros 2020-03-26 12:22:12 -05:00
wdt_wwdg_stm32.h treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00