zephyr/drivers/adc
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
..
adc_common.c adc: common: handle gain of 128 in adc_gain_invert() 2020-02-05 14:28:09 -06:00
adc_context.h timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
adc_handlers.c kernel: Port remaining syscalls to new API 2019-09-12 11:31:50 +08:00
adc_lmp90xxx.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_mchp_xec.c drivers: microchip: Convert microchip drivers to new DT_INST macros 2020-03-26 16:31:52 -05:00
adc_mcp320x.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_mcux_adc12.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_mcux_adc16.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_nrfx_adc.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_nrfx_saadc.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_sam0.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_sam_afec.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_shell.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_stm32.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
CMakeLists.txt drivers: adc: add Microchip MCP320x driver 2020-03-27 16:17:06 +01:00
Kconfig adc: Kconfig: Remove per instance ADC_{0..2} Kconfig symbols 2020-05-04 09:04:16 -05:00
Kconfig.lmp90xxx drivers: adc: add LMP90xxx ADC driver with GPIO 2020-01-09 17:27:52 +01:00
Kconfig.mcp320x drivers: adc: add Microchip MCP320x driver 2020-03-27 16:17:06 +01:00
Kconfig.mcux boards: frdm_kw41z: Override ADC vref choice properly 2020-02-14 22:12:21 +02:00
Kconfig.nrfx adc: Kconfig: Remove per instance ADC_{0..2} Kconfig symbols 2020-05-04 09:04:16 -05:00
Kconfig.sam0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sam_afec kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32 drivers/adc: stm32: Don't enable ADC instance by default in driver 2020-02-05 13:56:26 -06:00
Kconfig.xec kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00