zephyr/drivers/counter
Alberto Escolar Piedras f9d5e8458c drivers/counter nrfx: Fix with DT instance not matching device instance
478530ec0aa1fe5f481786c25d50f7a081b22208 introduced a bug
where if the DT index while iterating its DT structure
initialization does not match the actual peripheral instance,
or if the device instance string is not just a simple integer,
but a more complex string like "00", or "02", either
the wrong peripheral address would be used, or the file
would failt to compile.

Let's fix this by reverting that change, and instead, for
simulation converting the hardcoded DT/real HW address
to the valid addr for simulation on the fly.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-11 14:09:16 +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
counter_esp32_tmr.c
counter_gd32_timer.c
counter_gecko_rtcc.c
counter_gecko_stimer.c
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: counter: stm32 rtc: add basic pm support 2024-01-30 10:49:22 +01:00
counter_ll_stm32_timer.c drivers: counter: ll_stm32_timer: F1X changes 2023-12-06 12:10:08 +00:00
counter_mchp_xec.c
counter_mcux_ctimer.c
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 ISR prototype 2024-03-08 19:00:46 +01: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: Add NXP MRT driver 2023-11-10 10:40:54 +01: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
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
Kconfig.ifx_cat1
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