zephyr/include/devicetree
Erwan Gouriou 4a2bdf62d9 include/devicetree: clocks: Add DT_CLOCKS_HAS_FOO & DT_NUM_CLOCKS
Add macros DT_CLOCKS_HAS_NAME and DT_CLOCKS_HAS_IDX.
These macros allow to check the presence of a specific clock name
or a specific cell at a given index in a clocks property.
Matching _INST_ macro variants are also provided.

Also add DT_NUM_CLOCKS and its _INST_ variant that counts
the number of clocks available for a given node.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-03-07 10:58:47 +01:00
..
clocks.h include/devicetree: clocks: Add DT_CLOCKS_HAS_FOO & DT_NUM_CLOCKS 2022-03-07 10:58:47 +01:00
dma.h include/deviceree: dma: Update using DT_PROP_HAS_NAME 2022-03-07 10:58:47 +01:00
fixed-partitions.h
gpio.h
io-channels.h include/devicetree: io-channels.h: Remove deprecated macros 2022-02-05 06:26:25 -05:00
ordinals.h
pinctrl.h devicetree: add devicetree/pinctrl.h 2021-08-25 18:09:00 -04:00
pwms.h include/devicetree: pwms.h: Remove deprecated macros 2022-02-05 06:26:25 -05:00
spi.h api: move a devicetree.h layering violation to drivers/spi.h 2022-01-26 16:08:18 +01:00
zephyr.h drivers: can: remove DT_CHOSEN_ZEPHYR_CANBUS_LABEL macro 2021-11-09 11:19:50 +01:00