zephyr/drivers/dac
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: dac: add DAC shell commands 2020-05-01 12:35:50 -05:00
dac_handlers.c drivers: dac: Add API for DAC peripherals 2020-04-20 17:41:48 +02:00
dac_mcux_dac.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
dac_mcux_dac32.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
dac_shell.c tests: boards: board_shell: enable DAC commands 2020-05-01 12:35:50 -05:00
dac_stm32.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
Kconfig drivers: dac: add DAC shell commands 2020-05-01 12:35:50 -05:00
Kconfig.mcux drivers: dac: add driver for the NXP Kinetis DAC 2020-05-01 12:35:50 -05:00
Kconfig.stm32 drivers: dac: Add support for STM32L0 series 2020-04-20 17:41:48 +02:00