Home
last modified time | relevance | path

Searched refs:binding (Results 1 – 25 of 44) sorted by relevance

12

/Zephyr-Core-2.7.6/doc/_scripts/
Dgen_devicetree_rest.py103 for binding in bindings:
104 vnd = compatible_vnd(binding.compatible)
106 generic_bindings.append(binding)
108 unsorted[vnd].append(binding)
110 unknown_vendor_bindings.append(binding)
116 def binding_key(binding): argument
117 return binding.compatible
214 bindings = [binding for binding in bindings if
215 compatible_vnd(binding.compatible) != 'vnd']
259 for binding in bindings:
[all …]
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/
Dtest_edtlib.py169 binding = edtlib.Binding("test-bindings-include/include-invalid-keys.yaml", fname2path)
179 binding = edtlib.Binding("test-bindings-include/include-invalid-type.yaml", fname2path)
187 binding = edtlib.Binding("test-bindings-include/include-no-name.yaml", fname2path)
194 binding = edtlib.Binding("test-bindings-include/allowlist.yaml", fname2path)
195 assert set(binding.prop2specs.keys()) == {'x'} # 'x' is allowed
197 binding = edtlib.Binding("test-bindings-include/empty-allowlist.yaml", fname2path)
198 assert set(binding.prop2specs.keys()) == set() # nothing is allowed
200 binding = edtlib.Binding("test-bindings-include/blocklist.yaml", fname2path)
201 assert set(binding.prop2specs.keys()) == {'y', 'z'} # 'x' is blocked
203 binding = edtlib.Binding("test-bindings-include/empty-blocklist.yaml", fname2path)
[all …]
Dtest.dts225 binding-include {
226 compatible = "binding-include-test";
234 // For testing Node.props (derived from 'properties:' in the binding)
304 // For testing Node.props with 'default:' values in binding
309 // Should override the 'default:' in the binding
357 // Node with 'child-binding:' in binding (along with a recursive
358 // 'child-binding:')
361 child-binding {
362 compatible = "top-binding";
375 // zephyr,user binding inference
Dtest-multidir.dts7 // Used by testedtlib.py. Dedicated file for testing having multiple binding
/Zephyr-Core-2.7.6/doc/guides/dts/
Dbindings.rst10 A devicetree binding declares requirements on the contents of nodes, and
27 .. _dt-binding-compat:
36 each node in the devicetree to a binding file. When this succeeds, the build
37 system uses the information in the binding file both when validating the node's
55 Here is a minimal binding file which matches the node:
59 # A YAML binding matching the node
68 The build system matches the ``bar-device`` node to its YAML binding because
69 the node's ``compatible`` property matches the binding's ``compatible:`` line.
78 For example, the build system would use the above binding to check that the
89 binding:
[all …]
Dtroubleshooting.rst142 - does the node have a :ref:`matching binding <dt-bindings>`?
143 - does the binding define the property?
145 .. _missing-dt-binding:
153 If the build fails to :ref:`dts-find-binding` for a node, then either the
155 binding. If the property is set, check for typos in its name. In a devicetree
159 If your binding file is not under :file:`zephyr/dts`, you may need to set
Dhowtos.rst153 .. _dts-find-binding:
155 Find a devicetree binding
163 binding, open the generated header file, which starts with a list of nodes in a
182 node has a matching binding:
195 See :ref:`missing-dt-binding` for troubleshooting.
317 * Find your device's DT binding for details. */
332 * Find your device's DT binding for details. */
339 - set its properties according to its binding
367 Writing a devicetree-aware driver begins by defining a :ref:`devicetree binding
369 from similar drivers as a starting point. A skeletal binding to get started
[all …]
Ddesign.rst53 Zephyr's binding language *semantics* can support Zephyr-specific attributes,
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py354 binding = self._binding(raw, binding_path, dt_compats)
358 while binding is not None:
359 if binding.compatible:
360 self._register_binding(binding)
361 binding = binding.child_binding
385 def _register_binding(self, binding): argument
388 old_binding = self._compat2binding.get((binding.compatible,
389 binding.on_bus))
393 if binding.on_bus is not None:
398 self._compat2binding[binding.compatible, binding.on_bus] = binding
[all …]
/Zephyr-Core-2.7.6/subsys/emul/i2c/
DKconfig12 is given by the 'size' property. See the binding for further details.
/Zephyr-Core-2.7.6/scripts/
Drequirements-base.txt9 # used by dts generation to parse binding YAMLs, also used by
/Zephyr-Core-2.7.6/boards/posix/native_posix/
Dnative_posix.dts129 * DTS binding
139 * DTS binding
/Zephyr-Core-2.7.6/drivers/crypto/
DKconfig.ataes132a18 Name for the ATAES132A driver which will be used for binding.
/Zephyr-Core-2.7.6/tests/drivers/gpio/gpio_basic_api/
DREADME.txt6 identified through a test-specific devicetree binding in the `dts/`
/Zephyr-Core-2.7.6/samples/drivers/led_lp503x/
DREADME.rst34 connected. A node matching the "ti,lp503x" binding should be defined in the
/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/
Dlwm2m_rd_client.c698 char binding[CLIENT_BINDING_LEN]; in sm_send_registration() local
779 lwm2m_engine_get_binding(binding); in sm_send_registration()
781 if ((!sm_is_registered() && strcmp(binding, "U") != 0)) { in sm_send_registration()
783 "b=%s", binding); in sm_send_registration()
Dlwm2m_engine.h116 void lwm2m_engine_get_binding(char *binding);
DKconfig117 bool "Enable Queue Mode UDP binding"
119 Set the transport binding to UDP with Queue Mode (UQ).
/Zephyr-Core-2.7.6/samples/bluetooth/mesh_provisioner/
DREADME.rst23 composition data, and binding all its models to the application key.
/Zephyr-Core-2.7.6/samples/basic/button/
DREADME.rst80 node, and that the GPIO controller's devicetree binding names those two cells
/Zephyr-Core-2.7.6/subsys/canbus/isotp/
DKconfig87 is allocated when binding.
/Zephyr-Core-2.7.6/samples/sensor/bme280/
DREADME.rst25 :dtcompatible:`bosch,bme280` for the devicetree binding and see below for
/Zephyr-Core-2.7.6/doc/reference/devicetree/
Dapi.rst53 as long as it has a matching binding.
235 compatible's binding.
/Zephyr-Core-2.7.6/scripts/ci/
Dpylintrc101 nonlocal-without-binding,
/Zephyr-Core-2.7.6/dts/bindings/
Dvendor-prefixes.txt1 # Device tree binding vendor prefix registry. Keep this list in
330 linux Linux-specific binding
681 zephyr Zephyr-specific binding

12