Home
last modified time | relevance | path

Searched +full:pha +full:- +full:gpios (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/dts/bindings/test/
Dvnd,phandle-holder.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "vnd,phandle-holder"
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"}
21 type: "phandle-array"
[all …]
/Zephyr-latest/drivers/display/
Ddisplay_nrf_led_matrix.c4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/gpio/gpio.h>
31 #if (GROUP_SIZE > DT_PROP(TIMER_NODE, cc_num) - 1) || \
33 #error "Invalid pixel-group-size configured."
40 #error "Invalid length of pixel-mapping."
48 _GET_ROW_IDX(dev_config->pixel_mapping[pixel_idx])
54 _GET_COL_IDX(dev_config->pixel_mapping[pixel_idx])
57 #define CHECK_PIXEL(node_id, pha, idx) \ argument
59 "Invalid row index in pixel-mapping["#idx"]."); \
61 "Invalid column index in pixel-mapping["#idx"].");
[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"
71 * @defgroup devicetree-generic-id Node identifiers and helpers
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:
125 * (The `current-speed` property is also in `lowercase-and-underscores`
130 * - the first argument corresponds to a child node of the root (`soc` above)
[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()
284 zassert_equal(DT_PROP_OR(TEST_REG, not_a_property, -1), -1, ""); in ZTEST()
287 zassert_equal(DT_PHA_BY_IDX_OR(TEST_TEMP, dmas, 1, not_a_cell, -1), -1, in ZTEST()
[all …]