zephyr/drivers/counter
Martí Bolívar 7e0eed9235 devicetree: allow access to all nodes
Usually, we want to operate only on "available" device
nodes ("available" means "status is okay and a matching binding is
found"), but that's not true in all cases.

Sometimes we want to operate on special nodes without matching
bindings, such as those describing memory.

To handle the distinction, change various additional devicetree APIs
making it clear that they operate only on available device nodes,
adjusting gen_defines and devicetree.h implementation details
accordingly:

- emit macros for all existing nodes in gen_defines.py, regardless
  of status or matching binding
- rename DT_NUM_INST to DT_NUM_INST_STATUS_OKAY
- rename DT_NODE_HAS_COMPAT to DT_NODE_HAS_COMPAT_STATUS_OKAY
- rename DT_INST_FOREACH to DT_INST_FOREACH_STATUS_OKAY
- rename DT_ANY_INST_ON_BUS to DT_ANY_INST_ON_BUS_STATUS_OKAY
- rewrite DT_HAS_NODE_STATUS_OKAY in terms of a new DT_NODE_HAS_STATUS
- resurrect DT_HAS_NODE in the form of DT_NODE_EXISTS
- remove DT_COMPAT_ON_BUS as a public API
- use the new default_prop_types edtlib parameter

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-08 19:37:18 -05:00
..
CMakeLists.txt drivers: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00
counter_cmos.c drivers: counter: add counter_get_value(), deprecate counter_read() 2020-01-28 12:52:46 -05:00
counter_gecko_rtcc.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
counter_handlers.c drivers: counter: Fix get_value verification handler 2020-03-25 16:25:45 +01:00
counter_imx_epit.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
counter_ll_stm32_rtc.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
counter_mchp_xec.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
counter_mcux_gpt.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
counter_mcux_lptmr.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
counter_mcux_rtc.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
counter_nrfx_rtc.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
counter_nrfx_timer.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
counter_sam0_tc32.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
dualtimer_cmsdk_apb.h cleanup: include/: move counter.h to drivers/counter.h 2019-06-27 22:55:49 -04:00
Kconfig drivers: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00
Kconfig.cmos kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.dtmr_cmsdk_apb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.gecko kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.imx_epit drivers: counter: imx_epit: Convert driver to new DT_INST macros 2020-04-04 09:34:00 -05:00
Kconfig.maxim_ds3231 drivers: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00
Kconfig.mcux_gpt drivers: mcux_gpt: convert to DT_INST defines 2020-03-11 07:59:38 -06:00
Kconfig.mcux_lptmr drivers: counter: add NXP Kinetis LPTMR driver 2020-03-27 11:17:58 -05:00
Kconfig.mcux_rtc kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.nrfx Bluetooth: controller: Remove legacy LL 2020-05-08 15:07:00 +02:00
Kconfig.sam0 drivers: counter: sam0_tc32: rework devicetree support 2020-04-25 13:33:56 -05:00
Kconfig.stm32_rtc drivers: counter: stm32: enable support for H7 series 2020-03-16 10:23:13 -05:00
Kconfig.tmr_cmsdk_apb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.xec kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
maxim_ds3231.c usermode: Rework Z_SYSCALL_SPECIFIC_DRIVER to fit with device refactoring 2020-05-08 23:07:44 +02:00
timer_cmsdk_apb.h cleanup: include/: move counter.h to drivers/counter.h 2019-06-27 22:55:49 -04:00
timer_dtmr_cmsdk_apb.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
timer_tmr_cmsdk_apb.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00