Searched +full:phandle +full:- +full:array +full:- +full:foos (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/dts/bindings/test/ |
D | vnd,phandle-holder.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Test phandle property container 6 compatible: "vnd,phandle-holder" 11 ph: {type: "phandle"} 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"} [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings/ |
D | props.yaml | 1 # SPDX-License-Identifier: BSD-3-Clause 8 nonexistent-boolean: 11 existent-boolean: 18 array: 19 type: array 21 uint8-array: 22 type: uint8-array 28 string-array: 29 type: string-array 32 phandle-ref: [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/tests/ |
D | test.dts | 4 * SPDX-License-Identifier: BSD-3-Clause 9 /dts-v1/; 16 interrupt-parent-test { 18 compatible = "interrupt-three-cell"; 19 #interrupt-cells = <3>; 20 interrupt-controller; 24 interrupt-names = "foo", "bar"; 25 interrupt-parent = <&{/interrupt-parent-test/controller}>; 28 interrupts-extended-test { 29 controller-0 { [all …]
|
D | test_edtlib.py | 2 # SPDX-License-Identifier: BSD-3-Clause 23 # test.dts is the main test file. test-bindings/ and test-bindings-2/ has 46 with from_here(): edtlib.EDT("test.dts", ["test-bindings"]) 48 enums_hpath = hpath('test-bindings/enums.yaml') 50 … marked as deprecated in 'properties:' in {hpath('test-bindings/deprecated.yaml')} for node /test-… 51 "unit address and first address in 'reg' (0x1) don't match for /reg-zero-size-cells/node", 52 "unit address and first address in 'reg' (0x5) don't match for /reg-ranges/parent/node", 53 …"unit address and first address in 'reg' (0x30000000200000001) don't match for /reg-nested-ranges/… 54 …f"compatible 'enums' in binding '{enums_hpath}' has non-tokenizable enum for property 'string-enum… 55 …f"compatible 'enums' in binding '{enums_hpath}' has enum for property 'tokenizable-lower-enum' tha… [all …]
|
/Zephyr-latest/doc/build/dts/ |
D | phandles.rst | 1 .. _dt-phandles: 6 The devicetree concept of a *phandle* is very similar to pointers in 16 The usual way to get a phandle for a devicetree node is from one of its node 19 .. code-block:: DTS 22 lbl_a: node-1 {}; 23 lbl_b: lbl_c: node-2 {}; 26 You can write the phandle for: 28 - ``/node-1`` as ``&lbl_a`` 29 - ``/node-2`` as either ``&lbl_b`` or ``&lbl_c`` 40 :ref:`dt-bindings-properties` in the devicetree bindings documentation. [all …]
|
D | bindings-syntax.rst | 1 .. _dt-bindings-file-syntax: 7 files are YAML files. A :ref:`simple example <dt-bindings-simple-example>` was 17 The top level of a bindings file maps keys to values. The top-level keys look 20 .. code-block:: yaml 24 This is the Vendomatic company's foo-device. 29 See https://yaml-multiline.info/ for formatting help. 35 compatible: "manufacturer,foo-device" 41 child-binding: 50 # SPI memory chip, use 'on-bus:' to say what type of bus, like this. 53 on-bus: spi [all …]
|
/Zephyr-latest/include/zephyr/ |
D | devicetree.h | 2 * 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) 56 * _IDX_<i>_STRING_TOKEN: string array element value as a token 57 * _IDX_<i>_STRING_UPPER_TOKEN: string array element value as a uppercased token 58 * _IDX <i>_STRING_UNQUOTED: string array element value as a sequence of tokens, with no quotes 59 * _IDX_<i>_VAL_<val>: phandle array's specifier value by index 62 * _NAME_<name>_PH: phandle array's phandle by name 63 * _NAME_<name>_VAL_<val>: phandle array's property specifier by name [all …]
|
/Zephyr-latest/tests/lib/devicetree/api/ |
D | app.overlay | 4 * 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/ |
D | main.c | 4 * 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 …]
|