Home
last modified time | relevance | path

Searched +full:tokenizable +full:- +full:enum (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/test-bindings/
Denums.yaml2 # SPDX-License-Identifier: BSD-3-Clause
4 description: Property enum test
9 int-enum:
11 enum:
12 - 1
13 - 2
14 - 3
16 string-enum: # not tokenizable
18 enum:
19 - foo bar
[all …]
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/
Dtest.dts4 * 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 …]
Dtest_edtlib.py2 # SPDX-License-Identifier: BSD-3-Clause
22 # test.dts is the main test file. test-bindings/ and test-bindings-2/ has
45 with from_here(): edtlib.EDT("test.dts", ["test-bindings"])
47 enums_hpath = hpath('test-bindings/enums.yaml')
49 … marked as deprecated in 'properties:' in {hpath('test-bindings/deprecated.yaml')} for node /test-
50 "unit address and first address in 'reg' (0x1) don't match for /reg-zero-size-cells/node",
51 "unit address and first address in 'reg' (0x5) don't match for /reg-ranges/parent/node",
52 …"unit address and first address in 'reg' (0x30000000200000001) don't match for /reg-nested-ranges/…
53 …f"compatible 'enums' in binding '{enums_hpath}' has non-tokenizable enum for property 'string-enum
54 …ble 'enums' in binding '{enums_hpath}' has enum for property 'tokenizable-lower-enum' that is only…
[all …]
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py3 # SPDX-License-Identifier: BSD-3-Clause
17 but a binding can also come from a 'child-binding:' key in the binding for the
23 The top-level entry points for the library are the EDT and Binding classes.
31 # --------------------
47 # - Consider using @property for APIs that don't need parameters. It makes
51 # - Think about the data type of the thing you're exposing. Exposing something
55 # - Avoid get_*() prefixes on functions. Name them after the thing they return
60 # - Don't expose dtlib stuff directly.
62 # - Add documentation for any new APIs you add.
130 and processing /delete-node/ and /delete-property/, as a string
[all …]