zephyr/samples/drivers
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
..
can canbus: Convert canbus driver and subsys to new timeout API 2020-05-06 10:19:13 +02:00
counter drivers: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00
crypto modules: mbedtls: Update mbedTLS commit and apply fixes 2020-05-07 23:46:08 -05:00
current_sensing cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
dac samples: drivers: dac: add support for frdm_k64f board 2020-05-01 12:35:50 -05:00
display dts: Rename DT_HAS_NODE macro to DT_HAS_NODE_STATUS_OKAY 2020-05-06 05:25:41 -05:00
entropy device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
espi samples: drivers: espi: Fix coverity issue 2020-04-29 00:11:48 +02:00
flash_shell device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
gpio/boards samples: gpio: add board overlay for up_squared 2020-02-05 12:00:36 +01:00
ht16k33 device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
i2c_fujitsu_fram samples: Convert DT_ALIAS_* to new DT_ALIAS() macro 2020-05-04 15:28:20 -05:00
kscan tests: drivers: fixes for failing tests 2020-04-24 09:49:46 -05:00
kscan_touch samples: drivers: kscan: Add sample for touch panel drivers 2020-04-24 09:49:46 -05:00
lcd_hd44780 drivers: gpio: gpio_sam: Convert to DT_INST 2020-04-23 05:59:50 -05:00
led_apa102 samples: drivers: Convert to new DT_INST macros 2020-03-31 07:12:30 -05:00
led_apa102c_bitbang samples: Convert DT_ALIAS_* to new DT_ALIAS() macro 2020-05-04 15:28:20 -05:00
led_lp3943 samples/drivers/led_*: Remove usage of CONFIG_I2C_X on stm32 boards 2020-04-15 08:21:30 -05:00
led_lp5562 tree-wide: Remove assignments to Kconfig options unused in nRF drivers 2020-04-03 14:47:32 +02:00
led_lpd8806 samples: drivers: Convert to new DT_INST macros 2020-03-31 07:12:30 -05:00
led_pca9633 samples/drivers/led_*: Remove usage of CONFIG_I2C_X on stm32 boards 2020-04-15 08:21:30 -05:00
led_ws2812 samples: Convert DT_ALIAS_* to new DT_ALIAS() macro 2020-05-04 15:28:20 -05:00
lora samples: lora: Use the new DT alias to discover radio 2020-05-07 14:49:06 +02:00
peci dts: Rename DT_HAS_NODE macro to DT_HAS_NODE_STATUS_OKAY 2020-05-06 05:25:41 -05:00
ps2 dts: Rename DT_HAS_NODE macro to DT_HAS_NODE_STATUS_OKAY 2020-05-06 05:25:41 -05:00
soc_flash_nrf drivers: flash: replace DT_FLASH_DEV_NAME with DT macro 2020-04-27 18:43:20 -05:00
spi_flash dts: Rename DT_HAS_NODE macro to DT_HAS_NODE_STATUS_OKAY 2020-05-06 05:25:41 -05:00
spi_flash_at45 samples: drivers: Add sample that shows how to use AT45 flash driver 2020-05-07 14:51:10 +02:00
spi_fujitsu_fram samples: Convert DT_ALIAS_* to new DT_ALIAS() macro 2020-05-04 15:28:20 -05:00
watchdog devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
drivers.rst drivers: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00