Home
last modified time | relevance | path

Searched full:bindings (Results 1 – 25 of 1980) sorted by relevance

12345678910>>...80

/Zephyr-latest/doc/build/dts/
Dbindings.rst1 .. _dt-bindings:
3 Devicetree bindings
7 is a relatively unstructured format. *Devicetree bindings* provide the other
12 devicetree bindings are YAML files in a custom format (Zephyr does not use the
15 These pages introduce bindings, describe what they do, note where they are
21 bindings built in to Zephyr.
26 bindings-intro.rst
27 bindings-syntax.rst
28 bindings-upstream.rst
Dbindings-intro.rst3 Introduction to Devicetree Bindings
8 For a detailed syntax reference, see :ref:`dt-bindings-file-syntax`.
10 Devicetree nodes are matched to bindings using their :ref:`compatible
18 .. _dt-bindings-simple-example:
49 What the build system does with bindings
52 The build system uses bindings both to validate devicetree nodes and to convert
75 Other ways nodes are matched to bindings
79 system looks for compatible bindings in the listed order and uses the first
94 Nodes without compatible properties can be matched to bindings associated with
95 their parent nodes. These are called "child bindings". If a node describes
[all …]
Dbindings-upstream.rst1 .. _dt-writing-bindings:
3 Rules for upstream bindings
6 This section includes general rules for writing bindings that you want to
8 for bindings you don't intend to contribute to the Zephyr Project, but it's a
18 Always check for existing bindings
29 :file:`Documentation/devicetree/bindings` in `Linus's tree`_ for existing
30 bindings and the `Linux devicetree documentation`_ for more information.
44 Wherever possible, when writing Devicetree bindings for Zephyr, try to follow
48 https://docs.kernel.org/devicetree/bindings/writing-bindings.html
53 Bindings which match a compatible must have file names based on the compatible.
[all …]
Dbindings-syntax.rst1 .. _dt-bindings-file-syntax:
3 Devicetree bindings syntax
6 This page documents the syntax of Zephyr's bindings format. Zephyr bindings
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
27 and are encouraged for complex bindings.
31 # You can include definitions from other bindings using this syntax:
52 # bindings.
61 .. _dt-bindings-description:
69 .. _dt-bindings-compatible:
[all …]
/Zephyr-latest/doc/_scripts/
Dgen_devicetree_rest.py6 devicetree bindings.
42 def __init__(self, vendor_prefixes, bindings): argument
44 self.vnd2bindings = self.init_vnd2bindings(bindings)
50 def bindings(self, vnd, default=None): member in VndLookup
84 def init_vnd2bindings(self, bindings): argument
85 # Take a 'vnd2vendor' map and a list of bindings and return a dict
86 # mapping 'vnd' vendor prefixes prefixes to lists of bindings. The
87 # bindings in each list are sorted by compatible. The keys in the
92 # - The 'None' key maps to bindings with no vendor prefix
94 # - The (UNKNOWN_VENDOR,) key maps to bindings whose compatible
[all …]
/Zephyr-latest/dts/bindings/dac/
Dti,dacx0508-base.yaml13 See constants in dt-bindings/dac/dacx0508.h.
21 See constants in dt-bindings/dac/dacx0508.h.
29 See constants in dt-bindings/dac/dacx0508.h.
37 See constants in dt-bindings/dac/dacx0508.h.
45 See constants in dt-bindings/dac/dacx0508.h.
53 See constants in dt-bindings/dac/dacx0508.h.
61 See constants in dt-bindings/dac/dacx0508.h.
69 See constants in dt-bindings/dac/dacx0508.h.
77 See constants in dt-bindings/dac/dacx0508.h.
/Zephyr-latest/include/zephyr/drivers/clock_control/
Desp32_clock_control.h11 #include <zephyr/dt-bindings/clock/esp32_clock.h>
13 #include <zephyr/dt-bindings/clock/esp32s2_clock.h>
15 #include <zephyr/dt-bindings/clock/esp32s3_clock.h>
17 #include <zephyr/dt-bindings/clock/esp32c2_clock.h>
19 #include <zephyr/dt-bindings/clock/esp32c3_clock.h>
21 #include <zephyr/dt-bindings/clock/esp32c6_clock.h>
Dclock_control_silabs.h13 #include <zephyr/dt-bindings/clock/silabs/xg21-clock.h>
15 #include <zephyr/dt-bindings/clock/silabs/xg22-clock.h>
17 #include <zephyr/dt-bindings/clock/silabs/xg23-clock.h>
19 #include <zephyr/dt-bindings/clock/silabs/xg24-clock.h>
21 #include <zephyr/dt-bindings/clock/silabs/xg27-clock.h>
23 #include <zephyr/dt-bindings/clock/silabs/xg29-clock.h>
/Zephyr-latest/dts/common/nordic/
Dnrf_common.dtsi7 #include <zephyr/dt-bindings/adc/adc.h>
8 #include <zephyr/dt-bindings/gpio/gpio.h>
9 #include <zephyr/dt-bindings/i2c/i2c.h>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #include <zephyr/dt-bindings/pinctrl/nrf-pinctrl.h>
12 #include <zephyr/dt-bindings/pwm/pwm.h>
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest_edtlib.py23 # test.dts is the main test file. test-bindings/ and test-bindings-2/ has
24 # bindings. The tests mostly use string comparisons via the various __repr__()
46 with from_here(): edtlib.EDT("test.dts", ["test-bindings"])
48 enums_hpath = hpath('test-bindings/enums.yaml')
50 …f"'oldprop' is marked as deprecated in 'properties:' in {hpath('test-bindings/deprecated.yaml')} f…
63 edt = edtlib.EDT("test.dts", ["test-bindings"])
108 edt = edtlib.EDT("test.dts", ["test-bindings"])
181 edt = edtlib.EDT("test.dts", ["test-bindings"])
215 edt = edtlib.EDT("test.dts", ["test-bindings"])
229 edt = edtlib.EDT("test.dts", ["test-bindings"])
[all …]
Dtest_edtlib_binding_init.py11 - check how including bindings are permitted to specialize
35 Rules applying to bindings' descriptions and compatible strings:
64 "base.yaml": "test-bindings-init/base.yaml",
66 "base_amend.yaml": "test-bindings-init/base_amend.yaml",
68 "thing.yaml": "test-bindings-init/thing.yaml",
70 "simple.yaml": "test-bindings-init/simple.yaml",
71 "simple_inherit.yaml": "test-bindings-init/simple_inherit.yaml",
72 "simple_allowlist.yaml": "test-bindings-init/simple_allowlist.yaml",
73 "simple_blocklist.yaml": "test-bindings-init/simple_blocklist.yaml",
75 "compat_desc_base.yaml": "test-bindings-init/compat_desc_base.yaml",
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings-init/
Dinvalid_proptype.yaml6 # Bindings, child-bindings and grandchild-bindings have
Dinvalid_propconst.yaml6 # Bindings, child-bindings and grandchild-bindings have
Dinvalid_propdefault.yaml6 # Bindings, child-bindings and grandchild-bindings have
Dinvalid_propreq.yaml6 # Bindings, child-bindings and grandchild-bindings have
Dinvalid_propenum.yaml6 # Bindings, child-bindings and grandchild-bindings have
/Zephyr-latest/dts/bindings/comparator/
Dsilabs,acmp.yaml8 #include <zephyr/dt-bindings/comparator/silabs-acmp.h>
17 Note that there are bindings to retrieve the values for `input-positive` and
18 `input-negative` properties. See the included bindings in the example above.
24 #include <zephyr/dt-bindings/comparator/silabs-acmp.h>
44 #include <zephyr/dt-bindings/comparator/silabs-acmp.h>
45 #include <zephyr/dt-bindings/pinctrl/silabs/xg24-pinctrl.h>
69 In the above example, note that the device specific bindings for pinctrl
/Zephyr-latest/dts/arm/microchip/
Dmec172xnsz.dtsi9 #include <zephyr/dt-bindings/adc/adc.h>
10 #include <zephyr/dt-bindings/clock/mchp_xec_pcr.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #include <zephyr/dt-bindings/gpio/microchip-xec-gpio.h>
13 #include <zephyr/dt-bindings/i2c/i2c.h>
14 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h>
Dmec172xnlj.dtsi9 #include <zephyr/dt-bindings/adc/adc.h>
10 #include <zephyr/dt-bindings/clock/mchp_xec_pcr.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #include <zephyr/dt-bindings/gpio/microchip-xec-gpio.h>
13 #include <zephyr/dt-bindings/i2c/i2c.h>
14 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h>
/Zephyr-latest/boards/wemos/esp32s2_lolin_mini/
Desp32s2_lolin_mini-pinctrl.dtsi7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
8 #include <dt-bindings/pinctrl/esp32s2-pinctrl.h>
9 #include <zephyr/dt-bindings/pinctrl/esp32s2-gpio-sigmap.h>
/Zephyr-latest/
DMAINTAINERS.yml122 - dts/bindings/acpi/
123 - include/zephyr/dt-bindings/acpi/
158 - dts/bindings/arc/
237 - dts/bindings/arm/arm*.yaml
287 - dts/bindings/*/ambiq,*
352 - dts/bindings/bluetooth/
927 - ^dts/bindings/.*zephyr.*
928 - ^dts/bindings/[^,]+$
938 - include/zephyr/dt-bindings/dt-util.h
940 - dts/bindings/base/
[all …]
/Zephyr-latest/boards/espressif/esp8684_devkitm/
Desp8684_devkitm-pinctrl.dtsi7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
8 #include <dt-bindings/pinctrl/esp32c2-pinctrl.h>
9 #include <zephyr/dt-bindings/pinctrl/esp32c2-gpio-sigmap.h>
/Zephyr-latest/soc/nordic/
Dvalidate_binding_headers.c7 * This file validates definitions found in dt-bindings headers against their
10 * Note: all dt-bindings headers which have been included by DTS in this build
21 * - dt-bindings/misc/nordic-domain-id-nrf54h20.h
38 * - dt-bindings/misc/nordic-owner-id-nrf54h20.h
/Zephyr-latest/boards/heltec/heltec_wifi_lora32_v2/
Dheltec_wifi_lora32_v2-pinctrl.dtsi7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
8 #include <dt-bindings/pinctrl/esp32-pinctrl.h>
9 #include <zephyr/dt-bindings/pinctrl/esp32-gpio-sigmap.h>
/Zephyr-latest/boards/espressif/esp32c3_rust/
Desp32c3_rust-pinctrl.dtsi7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
8 #include <dt-bindings/pinctrl/esp32c3-pinctrl.h>
9 #include <zephyr/dt-bindings/pinctrl/esp32c3-gpio-sigmap.h>

12345678910>>...80