Browse Source

include: add missing irq.h include

Some modules use the IRQ API without including the necessary headers.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
pull/49640/head
Gerard Marull-Paretas 3 years ago committed by Carles Cufí
parent
commit
acc8cb4bc8
  1. 1
      arch/common/sw_isr_common.c
  2. 1
      drivers/clock_control/beetle_clock_control.c
  3. 2
      drivers/clock_control/clock_control_mchp_xec.c
  4. 1
      drivers/clock_control/clock_control_r8a7795_cpg_mssr.c
  5. 1
      drivers/clock_control/clock_control_renesas_cpg_mssr.c
  6. 2
      drivers/counter/counter_mcux_ctimer.c
  7. 1
      drivers/counter/counter_mcux_gpt.c
  8. 1
      drivers/counter/counter_mcux_pit.c
  9. 1
      drivers/counter/counter_mcux_rtc.c
  10. 1
      drivers/counter/counter_mcux_snvs.c
  11. 1
      drivers/counter/counter_xlnx_axi_timer.c
  12. 2
      drivers/counter/timer_dtmr_cmsdk_apb.c
  13. 1
      drivers/counter/timer_tmr_cmsdk_apb.c
  14. 1
      drivers/flash/flash_mcux_flexspi_mx25um51345g.c
  15. 1
      drivers/flash/flash_mcux_flexspi_nor.c
  16. 1
      drivers/gpio/gpio_b91.c
  17. 1
      drivers/gpio/gpio_eos_s3.c
  18. 1
      drivers/gpio/gpio_gecko.c
  19. 1
      drivers/gpio/gpio_imx.c
  20. 1
      drivers/gpio/gpio_ite_it8xxx2.c
  21. 1
      drivers/gpio/gpio_litex.c
  22. 1
      drivers/gpio/gpio_lpc11u6x.c
  23. 1
      drivers/gpio/gpio_mchp_xec_v2.c
  24. 1
      drivers/gpio/gpio_mcux.c
  25. 1
      drivers/gpio/gpio_mcux_igpio.c
  26. 1
      drivers/gpio/gpio_mcux_lpc.c
  27. 1
      drivers/gpio/gpio_mmio32.c
  28. 1
      drivers/gpio/gpio_neorv32.c
  29. 1
      drivers/gpio/gpio_rpi_pico.c
  30. 1
      drivers/gpio/gpio_rv32m1.c
  31. 1
      drivers/gpio/gpio_smartbond.c
  32. 1
      drivers/gpio/gpio_stellaris.c
  33. 1
      drivers/i2c/i2c_ite_enhance.c
  34. 1
      drivers/i2c/i2c_ite_it8xxx2.c
  35. 1
      drivers/i2c/i2c_nios2.c
  36. 1
      drivers/interrupt_controller/intc_cavs.c
  37. 1
      drivers/interrupt_controller/intc_gd32_exti.c
  38. 1
      drivers/interrupt_controller/intc_sam0_eic.c
  39. 1
      drivers/pwm/pwm_mcux_ftm.c
  40. 1
      drivers/pwm/pwm_mcux_pwt.c
  41. 1
      drivers/sdhc/mcux_sdif.c
  42. 1
      drivers/serial/uart_apbuart.c
  43. 1
      drivers/serial/uart_b91.c
  44. 1
      drivers/serial/uart_lpc11u6x.c
  45. 1
      drivers/serial/uart_mcux.c
  46. 1
      drivers/serial/uart_mcux_flexcomm.c
  47. 1
      drivers/serial/uart_mcux_iuart.c
  48. 1
      drivers/serial/uart_mcux_lpuart.c
  49. 1
      drivers/serial/uart_rcar.c
  50. 1
      drivers/serial/uart_rpi_pico.c
  51. 1
      drivers/serial/uart_rv32m1_lpuart.c
  52. 1
      drivers/serial/uart_sam.c
  53. 1
      drivers/serial/uart_xlnx_uartlite.c
  54. 1
      drivers/serial/usart_gd32.c
  55. 1
      drivers/serial/usart_sam.c
  56. 1
      drivers/timer/arm_arch_timer.c
  57. 1
      drivers/timer/cc13x2_cc26x2_rtc_timer.c
  58. 1
      drivers/timer/leon_gptimer.c
  59. 1
      drivers/timer/mchp_xec_rtos_timer.c
  60. 2
      drivers/timer/mcux_gpt_timer.c
  61. 1
      drivers/timer/mcux_os_timer.c
  62. 1
      drivers/timer/mips_cp0_timer.c
  63. 1
      drivers/timer/rcar_cmt_timer.c
  64. 1
      drivers/timer/stm32_lptim_timer.c
  65. 1
      drivers/timer/xlnx_psttc_timer.c
  66. 1
      drivers/usb/device/usb_dc_sam_usbhs.c
  67. 1
      drivers/watchdog/wdt_mcux_wdog.c
  68. 1
      drivers/watchdog/wdt_mcux_wwdt.c
  69. 1
      drivers/watchdog/wdt_sam.c
  70. 1
      drivers/watchdog/wdt_wwdg_stm32.c
  71. 1
      drivers/watchdog/wdt_wwdgt_gd32.c
  72. 1
      soc/arm/atmel_sam/sam3x/soc.c
  73. 1
      soc/arm/atmel_sam/sam4e/soc.c
  74. 1
      soc/arm/atmel_sam/sam4l/soc.c
  75. 1
      soc/arm/atmel_sam/sam4s/soc.c
  76. 1
      soc/arm/atmel_sam/same70/soc.c
  77. 1
      soc/arm/atmel_sam/samv71/soc.c
  78. 1
      soc/arm/bcm_vk/valkyrie/soc.c
  79. 1
      soc/arm/bcm_vk/viper/soc.c
  80. 1
      soc/arm/gigadevice/gd32e10x/soc.c
  81. 1
      soc/arm/gigadevice/gd32f3x0/soc.c
  82. 1
      soc/arm/gigadevice/gd32f403/soc.c
  83. 1
      soc/arm/gigadevice/gd32f4xx/soc.c
  84. 1
      soc/arm/nxp_imx/mcimx6x_m4/soc.c
  85. 1
      soc/arm/nxp_imx/rt5xx/soc.c
  86. 1
      soc/arm/st_stm32/stm32f0/soc.c
  87. 1
      soc/arm/st_stm32/stm32f1/soc.c
  88. 1
      soc/arm/st_stm32/stm32f2/soc.c
  89. 1
      soc/arm/st_stm32/stm32f3/soc.c
  90. 2
      soc/arm/st_stm32/stm32f4/soc.c
  91. 1
      soc/arm/st_stm32/stm32f7/soc.c
  92. 1
      soc/arm/st_stm32/stm32g0/soc.c
  93. 1
      soc/arm/st_stm32/stm32g4/soc.c
  94. 1
      soc/arm/st_stm32/stm32h7/soc_m4.c
  95. 1
      soc/arm/st_stm32/stm32h7/soc_m7.c
  96. 1
      soc/arm/st_stm32/stm32l0/soc.c
  97. 1
      soc/arm/st_stm32/stm32l1/soc.c
  98. 1
      soc/arm/st_stm32/stm32l4/soc.c
  99. 1
      soc/arm/st_stm32/stm32l5/soc.c
  100. 1
      soc/arm/st_stm32/stm32mp1/soc.c
  101. Some files were not shown because too many files have changed in this diff Show More

1
arch/common/sw_isr_common.c

@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
#include <zephyr/sw_isr_table.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/irq.h>
#include <zephyr/sys/__assert.h>
/*
* Common code for arches that use software ISR tables (CONFIG_GEN_ISR_TABLES)

1
drivers/clock_control/beetle_clock_control.c

@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
#include <soc.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include <zephyr/sys/util.h>
#include <zephyr/drivers/clock_control/arm_clock_control.h>

2
drivers/clock_control/clock_control_mchp_xec.c

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/mchp_xec_clock_control.h>
#include <zephyr/dt-bindings/clock/mchp_xec_pcr.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control_xec, LOG_LEVEL_ERR);

1
drivers/clock_control/clock_control_r8a7795_cpg_mssr.c

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
#include <zephyr/drivers/clock_control/renesas_cpg_mssr.h>
#include <zephyr/dt-bindings/clock/renesas_cpg_mssr.h>
#include <zephyr/dt-bindings/clock/r8a7795_cpg_mssr.h>
#include <zephyr/irq.h>
#include "clock_control_renesas_cpg_mssr.h"
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL

1
drivers/clock_control/clock_control_renesas_cpg_mssr.c

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/renesas_cpg_mssr.h>
#include <zephyr/dt-bindings/clock/renesas_cpg_mssr.h>
#include <zephyr/irq.h>
#include "clock_control_renesas_cpg_mssr.h"
static void rcar_cpg_reset(uint32_t base_address, uint32_t reg, uint32_t bit)

2
drivers/counter/counter_mcux_ctimer.c

@ -10,6 +10,8 @@ @@ -10,6 +10,8 @@
#include <zephyr/logging/log.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h>
#include <zephyr/irq.h>
LOG_MODULE_REGISTER(mcux_ctimer, CONFIG_COUNTER_LOG_LEVEL);
#ifdef CONFIG_COUNTER_MCUX_CTIMER_RESERVE_CHANNEL_FOR_SETTOP

1
drivers/counter/counter_mcux_gpt.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <zephyr/drivers/counter.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include <fsl_gpt.h>
#include <zephyr/logging/log.h>

1
drivers/counter/counter_mcux_pit.c

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
#define DT_DRV_COMPAT nxp_kinetis_pit
#include <zephyr/drivers/counter.h>
#include <zephyr/irq.h>
#include <fsl_pit.h>
#define LOG_MODULE_NAME counter_pit

1
drivers/counter/counter_mcux_rtc.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#define DT_DRV_COMPAT nxp_kinetis_rtc
#include <zephyr/drivers/counter.h>
#include <zephyr/irq.h>
#include <fsl_rtc.h>
#include <zephyr/logging/log.h>

1
drivers/counter/counter_mcux_snvs.c

@ -17,6 +17,7 @@ LOG_MODULE_REGISTER(mcux_snvs, CONFIG_COUNTER_LOG_LEVEL); @@ -17,6 +17,7 @@ LOG_MODULE_REGISTER(mcux_snvs, CONFIG_COUNTER_LOG_LEVEL);
#endif
#include <zephyr/drivers/counter.h>
#include <zephyr/irq.h>
#include <fsl_snvs_hp.h>
#ifdef MCUX_SNVS_SRTC

1
drivers/counter/counter_xlnx_axi_timer.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <zephyr/arch/cpu.h>
#include <zephyr/device.h>
#include <zephyr/drivers/counter.h>
#include <zephyr/irq.h>
#include <zephyr/sys/sys_io.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(xlnx_axi_timer, CONFIG_COUNTER_LOG_LEVEL);

2
drivers/counter/timer_dtmr_cmsdk_apb.c

@ -10,8 +10,10 @@ @@ -10,8 +10,10 @@
#include <zephyr/device.h>
#include <errno.h>
#include <zephyr/init.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <zephyr/drivers/clock_control/arm_clock_control.h>
#include <zephyr/irq.h>
#include "dualtimer_cmsdk_apb.h"

1
drivers/counter/timer_tmr_cmsdk_apb.c

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <zephyr/device.h>
#include <errno.h>
#include <zephyr/init.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <zephyr/drivers/clock_control/arm_clock_control.h>

1
drivers/flash/flash_mcux_flexspi_mx25um51345g.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <zephyr/drivers/flash.h>
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
#include <zephyr/sys/util.h>
#include "spi_nor.h"
#include "memc_mcux_flexspi.h"

1
drivers/flash/flash_mcux_flexspi_nor.c

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
#define DT_DRV_COMPAT nxp_imx_flexspi_nor
#include <zephyr/drivers/flash.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys/util.h>
#include "spi_nor.h"

1
drivers/gpio/gpio_b91.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include "gpio_utils.h"

1
drivers/gpio/gpio_eos_s3.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <errno.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <eoss3_hal_gpio.h>
#include <eoss3_hal_pads.h>

1
drivers/gpio/gpio_gecko.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <errno.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <em_gpio.h>

1
drivers/gpio/gpio_imx.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <zephyr/sys/util.h>
#include <gpio_imx.h>

1
drivers/gpio/gpio_ite_it8xxx2.c

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <zephyr/drivers/gpio.h>
#include <zephyr/dt-bindings/gpio/ite-it8xxx2-gpio.h>
#include <zephyr/dt-bindings/interrupt-controller/ite-intc.h>
#include <zephyr/irq.h>
#include <zephyr/types.h>
#include <zephyr/sys/util.h>
#include <string.h>

1
drivers/gpio/gpio_litex.c

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <zephyr/types.h>
#include <zephyr/sys/util.h>
#include <string.h>

1
drivers/gpio/gpio_lpc11u6x.c

@ -18,6 +18,7 @@ @@ -18,6 +18,7 @@
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <soc.h>

1
drivers/gpio/gpio_mchp_xec_v2.c

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include <zephyr/dt-bindings/pinctrl/mchp-xec-pinctrl.h>
#include <soc.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
#include "gpio_utils.h"

1
drivers/gpio/gpio_mcux.c

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/dt-bindings/gpio/nxp-kinetis-gpio.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <fsl_common.h>
#include <fsl_port.h>

1
drivers/gpio/gpio_mcux_igpio.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <fsl_common.h>
#include <fsl_gpio.h>

1
drivers/gpio/gpio_mcux_lpc.c

@ -17,6 +17,7 @@ @@ -17,6 +17,7 @@
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <fsl_common.h>
#include "gpio_utils.h"

1
drivers/gpio/gpio_mmio32.c

@ -27,6 +27,7 @@ @@ -27,6 +27,7 @@
*/
#include <zephyr/drivers/gpio/gpio_mmio32.h>
#include <zephyr/irq.h>
#include <errno.h>
static int gpio_mmio32_config(const struct device *dev,

1
drivers/gpio/gpio_neorv32.c

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/syscon.h>
#include <zephyr/irq.h>
#include <zephyr/sys/sys_io.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(gpio_neorv32, CONFIG_GPIO_LOG_LEVEL);

1
drivers/gpio/gpio_rpi_pico.c

@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
#include <errno.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
/* pico-sdk includes */
#include <hardware/gpio.h>

1
drivers/gpio/gpio_rv32m1.c

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <fsl_common.h>
#include <fsl_port.h>

1
drivers/gpio/gpio_smartbond.c

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <stdint.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <DA1469xAB.h>

1
drivers/gpio/gpio_stellaris.c

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <zephyr/arch/cpu.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <zephyr/sys/sys_io.h>
#include "gpio_utils.h"

1
drivers/i2c/i2c_ite_enhance.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/irq.h>
#include <zephyr/pm/policy.h>
#include <errno.h>
#include <soc.h>

1
drivers/i2c/i2c_ite_it8xxx2.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/irq.h>
#include <errno.h>
#include <soc.h>
#include <soc_dt.h>

1
drivers/i2c/i2c_nios2.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <errno.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <zephyr/sys/util.h>
#include <altera_common.h>

1
drivers/interrupt_controller/intc_cavs.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <zephyr/arch/cpu.h>
#include <zephyr/device.h>
#include <zephyr/irq.h>
#include <zephyr/irq_nextlevel.h>
#include "intc_cavs.h"

1
drivers/interrupt_controller/intc_gd32_exti.c

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/interrupt_controller/gd32_exti.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/irq.h>
#include <zephyr/sys/util_macro.h>
#include <gd32_exti.h>

1
drivers/interrupt_controller/intc_sam0_eic.c

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
#define DT_DRV_COMPAT atmel_sam0_eic
#include <zephyr/device.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <zephyr/drivers/interrupt_controller/sam0_eic.h>
#include "intc_sam0_eic_priv.h"

1
drivers/pwm/pwm_mcux_ftm.c

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <zephyr/drivers/clock_control.h>
#include <errno.h>
#include <zephyr/drivers/pwm.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <fsl_ftm.h>
#include <fsl_clock.h>

1
drivers/pwm/pwm_mcux_pwt.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <zephyr/drivers/clock_control.h>
#include <errno.h>
#include <zephyr/drivers/pwm.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <fsl_pwt.h>
#include <fsl_clock.h>

1
drivers/sdhc/mcux_sdif.c

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
#include <fsl_sdif.h>
LOG_MODULE_REGISTER(sdif, CONFIG_SDHC_LOG_LEVEL);

1
drivers/serial/uart_apbuart.c

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
#define DT_DRV_COMPAT gaisler_apbuart
#include <zephyr/drivers/uart.h>
#include <zephyr/irq.h>
#include <errno.h>
/* APBUART registers

1
drivers/serial/uart_b91.c

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/irq.h>
/* Driver dts compatibility: telink,b91_uart */

1
drivers/serial/uart_lpc11u6x.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include "uart_lpc11u6x.h"

1
drivers/serial/uart_mcux.c

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include <fsl_uart.h>
#include <soc.h>
#ifdef CONFIG_PINCTRL

1
drivers/serial/uart_mcux_flexcomm.c

@ -18,6 +18,7 @@ @@ -18,6 +18,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include <fsl_usart.h>
#include <soc.h>
#include <fsl_device_registers.h>

1
drivers/serial/uart_mcux_iuart.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include <errno.h>
#include <fsl_uart.h>
#include <zephyr/drivers/pinctrl.h>

1
drivers/serial/uart_mcux_lpuart.c

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include <zephyr/pm/policy.h>
#ifdef CONFIG_PINCTRL
#include <zephyr/drivers/pinctrl.h>

1
drivers/serial/uart_rcar.c

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/renesas_cpg_mssr.h>
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/irq.h>
#include <zephyr/spinlock.h>
struct uart_rcar_cfg {

1
drivers/serial/uart_rpi_pico.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/irq.h>
/* pico-sdk includes */
#include <hardware/uart.h>

1
drivers/serial/uart_rv32m1_lpuart.c

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include <fsl_lpuart.h>
#include <soc.h>
#ifdef CONFIG_PINCTRL

1
drivers/serial/uart_sam.c

@ -21,6 +21,7 @@ @@ -21,6 +21,7 @@
#include <soc.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/irq.h>
/* Device constant configuration parameters */
struct uart_sam_dev_cfg {

1
drivers/serial/uart_xlnx_uartlite.c

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/irq.h>
#include <zephyr/sys/sys_io.h>
/* AXI UART Lite v2 registers offsets (See Xilinx PG142 for details) */

1
drivers/serial/usart_gd32.c

@ -12,6 +12,7 @@ @@ -12,6 +12,7 @@
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/irq.h>
#include <gd32_usart.h>

1
drivers/serial/usart_sam.c

@ -21,6 +21,7 @@ @@ -21,6 +21,7 @@
#include <soc.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/irq.h>
/* Device constant configuration parameters */
struct usart_sam_dev_cfg {

1
drivers/timer/arm_arch_timer.c

@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/timer/arm_arch_timer.h>
#include <zephyr/drivers/timer/system_timer.h>
#include <zephyr/irq.h>
#include <zephyr/sys_clock.h>
#include <zephyr/spinlock.h>
#include <zephyr/arch/cpu.h>

1
drivers/timer/cc13x2_cc26x2_rtc_timer.c

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
#include <soc.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/timer/system_timer.h>
#include <zephyr/irq.h>
#include <zephyr/sys_clock.h>
#include <driverlib/interrupt.h>

1
drivers/timer/leon_gptimer.c

@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/timer/system_timer.h>
#include <zephyr/irq.h>
#include <zephyr/sys_clock.h>
/* GPTIMER subtimer increments each microsecond. */

1
drivers/timer/mchp_xec_rtos_timer.c

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include <zephyr/sys_clock.h>
#include <zephyr/spinlock.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
BUILD_ASSERT(!IS_ENABLED(CONFIG_SMP), "XEC RTOS timer doesn't support SMP");
BUILD_ASSERT(CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC == 32768,

2
drivers/timer/mcux_gpt_timer.c

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
#include <zephyr/sys_clock.h>
#include <zephyr/spinlock.h>
#include <zephyr/sys/time_units.h>
#include <zephyr/irq.h>
/* GPT is a 32 bit counter, but we use a lower value to avoid integer overflow */

1
drivers/timer/mcux_os_timer.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/timer/system_timer.h>
#include <zephyr/irq.h>
#include <zephyr/sys_clock.h>
#include <zephyr/spinlock.h>
#include "fsl_ostimer.h"

1
drivers/timer/mips_cp0_timer.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/timer/system_timer.h>
#include <zephyr/irq.h>
#include <zephyr/sys_clock.h>
#include <zephyr/spinlock.h>
#include <soc.h>

1
drivers/timer/rcar_cmt_timer.c

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <zephyr/drivers/timer/system_timer.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/renesas_cpg_mssr.h>
#include <zephyr/irq.h>
#define DT_DRV_COMPAT renesas_rcar_cmt

1
drivers/timer/stm32_lptim_timer.c

@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <zephyr/drivers/timer/system_timer.h>
#include <zephyr/sys_clock.h>
#include <zephyr/irq.h>
#include <zephyr/spinlock.h>

1
drivers/timer/xlnx_psttc_timer.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <zephyr/arch/cpu.h>
#include <zephyr/device.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <zephyr/drivers/timer/system_timer.h>
#include "xlnx_psttc_timer_priv.h"

1
drivers/usb/device/usb_dc_sam_usbhs.c

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
#define DT_DRV_COMPAT atmel_sam_usbhs
#include <zephyr/usb/usb_device.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <string.h>

1
drivers/watchdog/wdt_mcux_wdog.c

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <zephyr/drivers/watchdog.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include <fsl_wdog.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL

1
drivers/watchdog/wdt_mcux_wwdt.c

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
#define DT_DRV_COMPAT nxp_lpc_wwdt
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <fsl_wwdt.h>
#include <fsl_clock.h>

1
drivers/watchdog/wdt_sam.c

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
*/
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <soc.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL

1
drivers/watchdog/wdt_wwdg_stm32.c

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
#include <zephyr/sys/__assert.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include "wdt_wwdg_stm32.h"

1
drivers/watchdog/wdt_wwdgt_gd32.c

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <zephyr/drivers/clock_control/gd32.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
#include <gd32_wwdgt.h>

1
soc/arm/atmel_sam/sam3x/soc.c

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
#include <soc.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
/*
* PLL clock = Main * (MULA + 1) / DIVA

1
soc/arm/atmel_sam/sam4e/soc.c

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
#include <soc.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
/**
* @brief Setup various clock on SoC at boot time.

1
soc/arm/atmel_sam/sam4l/soc.c

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
#include <zephyr/init.h>
#include <soc.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/irq.h>
/** Watchdog control register first write keys */
#define WDT_FIRST_KEY 0x55ul

1
soc/arm/atmel_sam/sam4s/soc.c

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
#include <soc.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
/**
* @brief Setup various clock on SoC at boot time.

1
soc/arm/atmel_sam/same70/soc.c

@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
#include <soc.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
#define LOG_LEVEL CONFIG_SOC_LOG_LEVEL
LOG_MODULE_REGISTER(soc);

1
soc/arm/atmel_sam/samv71/soc.c

@ -17,6 +17,7 @@ @@ -17,6 +17,7 @@
#include <soc.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
#define LOG_LEVEL CONFIG_SOC_LOG_LEVEL
LOG_MODULE_REGISTER(soc);

1
soc/arm/bcm_vk/valkyrie/soc.c

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
#include <zephyr/init.h>
#include <soc.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/irq.h>
/**
* @brief Perform basic hardware initialization at boot.

1
soc/arm/bcm_vk/viper/soc.c

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <zephyr/init.h>
#include <soc.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/irq.h>
/**
* @brief Perform basic hardware initialization at boot.

1
soc/arm/gigadevice/gd32e10x/soc.c

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/irq.h>
#include <soc.h>
static int gd32e10x_soc_init(const struct device *dev)

1
soc/arm/gigadevice/gd32f3x0/soc.c

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/irq.h>
#include <soc.h>
static int gd32f3x0_init(const struct device *dev)

1
soc/arm/gigadevice/gd32f403/soc.c

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/irq.h>
/**
* @brief Perform basic hardware initialization at boot.

1
soc/arm/gigadevice/gd32f4xx/soc.c

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/irq.h>
static int gd32f4xx_soc_init(const struct device *dev)
{

1
soc/arm/nxp_imx/mcimx6x_m4/soc.c

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
*/
#include <zephyr/init.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <zephyr/dt-bindings/rdc/imx_rdc.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>

1
soc/arm/nxp_imx/rt5xx/soc.c

@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
#include <zephyr/init.h>
#include <zephyr/devicetree.h>
#include <zephyr/irq.h>
#include <soc.h>
#include "flash_clock_setup.h"
#include "fsl_power.h"

1
soc/arm/st_stm32/stm32f0/soc.c

@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
#include <stm32_ll_system.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
#include <zephyr/linker/linker-defs.h>
#include <string.h>

1
soc/arm/st_stm32/stm32f1/soc.c

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include <zephyr/init.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
/**
* @brief Perform basic hardware initialization at boot.

1
soc/arm/st_stm32/stm32f2/soc.c

@ -17,6 +17,7 @@ @@ -17,6 +17,7 @@
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <stm32_ll_system.h>
#include <zephyr/linker/linker-defs.h>
#include <zephyr/irq.h>
#include <string.h>
/**

1
soc/arm/st_stm32/stm32f3/soc.c

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include <zephyr/init.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
/**
* @brief Perform basic hardware initialization at boot.

2
soc/arm/st_stm32/stm32f4/soc.c

@ -14,6 +14,8 @@ @@ -14,6 +14,8 @@
#include <zephyr/init.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
#include <stm32_ll_system.h>
/**

1
soc/arm/st_stm32/stm32f7/soc.c

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
#include <soc.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
#include <stm32_ll_system.h>
/**

1
soc/arm/st_stm32/stm32g0/soc.c

@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
#include <zephyr/init.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
#include <zephyr/linker/linker-defs.h>
#include <string.h>
#if defined(SYSCFG_CFGR1_UCPD1_STROBE) || defined(SYSCFG_CFGR1_UCPD2_STROBE)

1
soc/arm/st_stm32/stm32g4/soc.c

@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
#include <stm32_ll_system.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
#if defined(PWR_CR3_UCPD_DBDIS)
#include <stm32_ll_bus.h>

1
soc/arm/st_stm32/stm32h7/soc_m4.c

@ -12,6 +12,7 @@ @@ -12,6 +12,7 @@
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <stm32_ll_bus.h>
#include <stm32_ll_cortex.h>

1
soc/arm/st_stm32/stm32h7/soc_m7.c

@ -12,6 +12,7 @@ @@ -12,6 +12,7 @@
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <stm32_ll_bus.h>
#include <stm32_ll_pwr.h>

1
soc/arm/st_stm32/stm32l0/soc.c

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include <zephyr/init.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
#include <zephyr/linker/linker-defs.h>
#include <string.h>
#include <stm32_ll_bus.h>

1
soc/arm/st_stm32/stm32l1/soc.c

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include <zephyr/init.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
#include <zephyr/linker/linker-defs.h>
#include <string.h>
#include <stm32_ll_bus.h>

1
soc/arm/st_stm32/stm32l4/soc.c

@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
#include <zephyr/init.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
#define LOG_LEVEL CONFIG_SOC_LOG_LEVEL

1
soc/arm/st_stm32/stm32l5/soc.c

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
#include <stm32_ll_pwr.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
#include <stm32l5xx_ll_icache.h>
#include <zephyr/logging/log.h>

1
soc/arm/st_stm32/stm32mp1/soc.c

@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
#include <stm32_ll_bus.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/irq.h>
/**
* @brief Perform basic hardware initialization at boot.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save