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 devicetree: add DT_INST_FOREACH_CHILD macro 2020-05-13 21:22:06 +02:00
vnd,clock.yaml
vnd,disabled-compat.yaml
vnd,dma.yaml tests/lib: device tree: Add dma binding tests 2020-04-13 07:37:11 -05:00
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 tests: devicetree: test great-grandchild bindings 2020-05-28 22:12:38 +02:00
vnd,i2c-device.yaml
vnd,i2c.yaml
vnd,intc.yaml
vnd,interrupt-holder.yaml
vnd,phandle-holder.yaml devicetree.h: pwms: Add DT_PWMS_ macros 2020-04-29 13:11:22 -05:00
vnd,pwm-controller.yaml test: lib: devicetree: add tests for DT_ macros for retrieving PWM period 2020-05-29 14:48:12 +02:00
vnd,reg-holder.yaml
vnd,serial.yaml devicetree: add migration guide documentation and tests 2020-05-28 22:12:38 +02:00
vnd,spi-device-2.yaml
vnd,spi-device.yaml
vnd,spi.yaml
vnd,temperature-sensor.yaml dts: bindings: move io-channels and io-channel-names to base.yaml 2020-10-02 11:50:30 +02:00