zephyr/dts/bindings/test
Bernardo Perez Priego 9964414655 include/devicetree.h: Add DT_STRING_TOKEN_OR macro
This macro expands to DT_STRING_TOKEN if property exists, otherwise
falls back to default value.
Helpful when a non-required enum binding doesn't mention a default
value, but a default value makes sense to be set in the code.

Including DT_INST_STRING_TOKEN_OR and test code.

Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>
2022-03-10 19:42:59 -08:00
..
vnd,adc-temp-sensor.yaml devicetree: add tests for devicetree/pinctrl.h macros 2021-08-25 18:09:00 -04:00
vnd,adc.yaml
vnd,array-holder.yaml
vnd,busy-sim.yaml
vnd,child-bindings.yaml
vnd,clock.yaml
vnd,disabled-compat.yaml
vnd,dma.yaml
vnd,enum-holder-inst.yaml tests: lib: devicetree: add tests for DT_INST_ENUM_IDX(_OR) 2021-11-18 19:12:07 -05:00
vnd,enum-holder.yaml
vnd,enum-int-required-false-holder.yaml
vnd,enum-required-false-holder-inst.yaml tests: lib: devicetree: add tests for DT_INST_ENUM_IDX(_OR) 2021-11-18 19:12:07 -05:00
vnd,enum-required-false-holder.yaml
vnd,gpio-device.yaml tests: lib: devicetree: use vnd,gpio-device 2022-01-04 14:44:07 -05:00
vnd,gpio-expander-common.yaml
vnd,gpio-expander-i2c.yaml
vnd,gpio-expander-spi.yaml
vnd,gpio-one-cell.yaml
vnd,gpio.yaml dts: Add support for specifier-space property. 2021-10-13 09:56:46 -05:00
vnd,great-grandchild-bindings.yaml
vnd,i2c-device.yaml
vnd,i2c-mux.yaml
vnd,i2c.yaml
vnd,intc.yaml
vnd,interrupt-holder.yaml
vnd,mbox-zero-cell.yaml drivers: mbox: Introduce MBOX driver class 2021-10-27 18:27:21 +02:00
vnd,mbox.yaml drivers: mbox: Introduce MBOX driver class 2021-10-27 18:27:21 +02:00
vnd,pcie.yaml devicetree: add tests for devicetree ranges API macros 2021-11-10 08:23:00 -05:00
vnd,phandle-holder.yaml dts: Add support for specifier-space property. 2021-10-13 09:56:46 -05:00
vnd,pinctrl-device.yaml tests: drivers: pinctrl: add tests for API 2021-10-25 15:26:47 -05:00
vnd,pinctrl-test.yaml pinctrl: use groupN instead of pinsN for groups 2022-01-01 07:39:08 -05:00
vnd,pinctrl.yaml devicetree: add tests for devicetree/pinctrl.h macros 2021-08-25 18:09:00 -04:00
vnd,pwm.yaml dts: bindings: fix file names 2021-10-20 07:33:04 -04:00
vnd,reg-holder.yaml
vnd,serial.yaml
vnd,spi-device-2.yaml
vnd,spi-device.yaml
vnd,spi.yaml
vnd,string-token.yaml include/devicetree.h: Add DT_STRING_TOKEN_OR macro 2022-03-10 19:42:59 -08:00