zephyr/drivers/counter
Daniel DeGrasse 81ec61c085 drivers: clock_control: clock_control_mcux_syscon: make clock IDs unique
Syscon clock driver previously used a sequence where clock IDs increased
sequentially. This had a few disadvantages:
- if a new SOC was introduced with more instances of a given IP, the
  clock ID could not be sequential with the remaining IDs
- chance of collisions between clock IDs was relatively high

To resolve this, define LPC clock IDs using a bitmask macro. Note that
the CTIMER clock IDs are used within SOC clock files to perform clock
init, and the macro requires that the clock ID expand to an integer
rather than a expression with bitshifts (hence why the macro is not used
for these IDs)

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-19 18:43:58 +00:00
..
CMakeLists.txt dts: bindings: renamed binding used for pit 2024-03-07 13:23:58 -06:00
counter_ace_v1x_art_regs.h
counter_ace_v1x_art.c
counter_ace_v1x_rtc_regs.h
counter_ace_v1x_rtc.c
counter_ambiq_timer.c drivers: counter: counter_ambiq_timer: Enable interrupt in set_alarm 2024-01-08 14:16:13 +01:00
counter_andes_atcpit100.c
counter_cmos.c x86: revert removing soc.h from atom soc 2024-03-04 20:07:30 +01:00
counter_dw_timer.c drivers: counter: add snps apb timer 2023-08-16 10:20:31 +02:00
counter_esp32_rtc.c soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
counter_esp32_tmr.c soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
counter_gd32_timer.c
counter_gecko_rtcc.c
counter_gecko_stimer.c drivers: counter: gecko: Add SYSRTC stimer support 2023-08-09 08:24:52 +00:00
counter_handlers.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
counter_ifx_cat1.c drivers: counter: cat1: Fix formatting issues 2023-08-10 08:13:11 +00:00
counter_imx_epit.c
counter_ll_stm32_rtc.c drivers: rtc: Fix RTC alarm when using both CONFIG_COUNTER and CONFIG_PM 2024-03-15 09:33:14 +00:00
counter_ll_stm32_timer.c drivers: counter: stm32: move reset_dt_spec from data to config 2024-03-11 17:55:17 +00:00
counter_mchp_xec.c
counter_mcux_ctimer.c drivers: clock_control: clock_control_mcux_syscon: make clock IDs unique 2024-03-19 18:43:58 +00:00
counter_mcux_gpt.c
counter_mcux_lpc_rtc.c drivers: mcux_lpc_rtc: Add support for 1KHz counter 2024-01-12 13:34:19 +01:00
counter_mcux_lptmr.c
counter_mcux_qtmr.c
counter_mcux_rtc.c drivers: counter: mcux_rtc: enable oscillator if supported 2024-02-02 12:43:00 +01:00
counter_mcux_snvs.c
counter_native_posix.c drivers: counter native: Add top value conf and multi channel support 2023-10-23 13:38:43 +02:00
counter_nrfx_rtc.c drivers counter_nrfx_rtc: Fix for simulation 2024-03-12 17:57:18 +00:00
counter_nrfx_timer.c drivers/counter nrfx: Fix with DT instance not matching device instance 2024-03-11 14:09:16 +00:00
counter_nxp_mrt.c drivers: counter: counter_nxp_mrt: include soc.h for MRT CMSIS defines 2024-03-15 17:12:08 -04:00
counter_nxp_pit.c drivers: counter: Adding Mutli Channel PIT Support 2024-03-07 13:23:58 -06:00
counter_nxp_s32_sys_timer.c drivers: counter_nxp_s32_sys_timer: update to RTD 1.0.0 2023-11-16 09:28:16 +01:00
counter_rpi_pico_timer.c drivers: counter: rpi_pico: Turn on clock and reset device on init 2023-12-20 11:14:24 +01:00
counter_sam0_tc32.c
counter_sam_tc.c
counter_smartbond_timer.c drivers: counter: Fix Smartbond counter get_rate 2023-09-20 20:17:11 +01:00
counter_timer_shell.c drivers: counter: Add shell commands for timer 2023-08-16 10:20:31 +02:00
counter_xlnx_axi_timer.c
dualtimer_cmsdk_apb.h
Kconfig dts: bindings: renamed binding used for pit 2024-03-07 13:23:58 -06:00
Kconfig.ace
Kconfig.ambiq drivers: counter: Add Ambiq counter driver 2023-08-07 16:12:58 +02:00
Kconfig.andes_atcpit100
Kconfig.cmos
Kconfig.dtmr_cmsdk_apb
Kconfig.dw drivers: counter: add snps apb timer 2023-08-16 10:20:31 +02:00
Kconfig.esp32_rtc
Kconfig.esp32_tmr
Kconfig.gd32 drivers: counter: gd32: depend on !SOC_SERIES_GD32VF103 2024-01-10 15:05:54 +01:00
Kconfig.gecko drivers: counter: gecko: Add SYSRTC stimer support 2023-08-09 08:24:52 +00:00
Kconfig.ifx_cat1 drivers: counter: Add Infineon CAT1 counter driver 2023-07-26 09:10:31 +02:00
Kconfig.imx_epit
Kconfig.maxim_ds3231
Kconfig.mcp7940n
Kconfig.mcux_ctimer
Kconfig.mcux_gpt
Kconfig.mcux_lpc_rtc drivers: mcux_lpc_rtc: Add support for 1KHz counter 2024-01-12 13:34:19 +01:00
Kconfig.mcux_lptmr
Kconfig.mcux_qtmr
Kconfig.mcux_rtc
Kconfig.mcux_snvs
Kconfig.native_posix drivers: counter native: Add top value conf and multi channel support 2023-10-23 13:38:43 +02:00
Kconfig.nrfx
Kconfig.nxp_mrt drivers: counter: Add NXP MRT driver 2023-11-10 10:40:54 +01:00
Kconfig.nxp_pit drivers: counter: Adding Mutli Channel PIT Support 2024-03-07 13:23:58 -06:00
Kconfig.nxp_s32 counter: nxp_s32_sys_timer: use clock control APIs 2023-09-29 16:29:31 +02:00
Kconfig.rpi_pico drivers: counter: Add support for rpi_pico timer 2023-09-13 16:18:44 +02:00
Kconfig.sam
Kconfig.sam0
Kconfig.smartbond_timer
Kconfig.stm32_rtc counter: stm32 rtc: handle sub second registers 2023-09-26 15:05:35 +02:00
Kconfig.stm32_timer
Kconfig.tmr_cmsdk_apb
Kconfig.xec
Kconfig.xlnx
maxim_ds3231.c drivers: counter: maxim_ds3231: Fix coverity errors 2024-02-13 10:25:53 +01:00
rtc_mcp7940n.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
timer_cmsdk_apb.h
timer_dtmr_cmsdk_apb.c
timer_tmr_cmsdk_apb.c