Home
last modified time | relevance | path

Searched +full:phs +full:- +full:or (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/dts/bindings/test/
Dvnd,phandle-holder.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "vnd,phandle-holder"
12 phs: {type: "phandles"}
13 phs-or: {type: "phandles"}
14 pha-gpios: {type: "phandle-array"}
15 gpios: {type: "phandle-array"}
16 foos: {type: "phandle-array"}
17 foo-names: {type: "string-array"}
18 pwms: {type: "phandle-array"}
19 pwm-names: {type: "string-array"}
[all …]
/Zephyr-latest/include/zephyr/
Ddevicetree.h2 * SPDX-License-Identifier: Apache-2.0
39 * -----------------
42 * part in DT_N_<path-id>_P_<property-id> macros, or the "prop-suf"
55 * _IDX_<i>_PH: phandle array's phandle by index (or phandle, phandles)
71 * @defgroup devicetree-generic-id Node identifiers and helpers
80 * devicetree data may or may not be available. It is a preprocessor identifier
96 * The arguments to this macro are the names of non-root nodes in the
98 * Non-alphanumeric characters in each name must be converted to
108 * current-speed = <115200>;
119 * Example usage with DT_PROP() to get the `current-speed` property:
[all …]
/Zephyr-latest/tests/lib/devicetree/api/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 * with real-world devicetree nodes, to allow these tests to run on
15 test-alias = &test_nodelabel;
28 #address-cells = < 0x1 >;
29 #size-cells = < 0x1 >;
30 interrupt-parent = <&test_intc>;
32 test_cpu_intc: interrupt-controller {
33 compatible = "vnd,cpu-intc";
34 #address-cells = <0>;
35 #interrupt-cells = < 0x01 >;
[all …]
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
126 "vnd,gpio-device"), ""); in ZTEST()
127 zassert_true(!strcmp(DT_PROP_LAST(TEST_DEADBEEF, compatible), "vnd,gpio-device"), ""); in ZTEST()
140 "vnd,gpio-device"), ""); in ZTEST()
156 "vnd,gpio-device"), ""); in ZTEST()
169 "vnd,gpio-device"), ""); in ZTEST()
190 "vnd,gpio-device"), ""); in ZTEST()
199 "vnd,gpio-device"), ""); in ZTEST()
274 * if the relevant property or cell is defined. This "X" macro in ZTEST()
284 zassert_equal(DT_PROP_OR(TEST_REG, not_a_property, -1), -1, ""); in ZTEST()
[all …]