zephyr/dts/bindings/test
Erwan Gouriou c3eef7744a include/devicetree.h: Add DT_ENUM_IDX_OR macro
In case a "required: False" enum binding doesn't mention a
default value, but a default value makes sense to be set in the code,
DT_ENUM_IDX_OR could be used to provide the default idx to be used.

New macro comes with appropriate tests.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2020-10-05 10:15:32 -05:00
..
vnd,adc.yaml
vnd,array-holder.yaml
vnd,child-bindings.yaml
vnd,clock.yaml
vnd,disabled-compat.yaml
vnd,dma.yaml
vnd,enum-holder.yaml
vnd,enum-int-required-false-holder.yaml include/devicetree.h: Add DT_ENUM_IDX_OR macro 2020-10-05 10:15:32 -05:00
vnd,enum-required-false-holder.yaml include/devicetree.h: Add DT_ENUM_IDX_OR macro 2020-10-05 10:15:32 -05:00
vnd,gpio-expander-i2c.yaml
vnd,gpio-expander-spi.yaml
vnd,gpio-one-cell.yaml
vnd,gpio.yaml
vnd,great-grandchild-bindings.yaml
vnd,i2c-device.yaml
vnd,i2c.yaml
vnd,intc.yaml
vnd,interrupt-holder.yaml
vnd,phandle-holder.yaml
vnd,pwm-controller.yaml
vnd,reg-holder.yaml
vnd,serial.yaml
vnd,spi-device-2.yaml
vnd,spi-device.yaml
vnd,spi.yaml
vnd,temperature-sensor.yaml