/Zephyr-Core-2.7.6/doc/_scripts/ |
D | gen_devicetree_rest.py | 103 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 197 # Get a list of edtlib.Binding objects from searching 'dts_roots'. 214 bindings = [binding for binding in bindings if 215 compatible_vnd(binding.compatible) != 'vnd'] [all …]
|
/Zephyr-Core-2.7.6/dts/bindings/test/ |
D | vnd,great-grandchild-bindings.yaml | 5 Test binding for 3 levels of "child-binding". 8 "child-binding:" in a YAML file. This file is used to test that the 15 child-binding: 18 child-binding: 21 child-binding:
|
D | vnd,child-bindings.yaml | 10 child-binding: 11 description: Test child binding
|
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/ |
D | test_edtlib.py | 53 …f"compatible 'enums' in binding '{enums_hpath}' has non-tokenizable enum for property 'string-enum… 54 …f"compatible 'enums' in binding '{enums_hpath}' has enum for property 'tokenizable-lower-enum' tha… 67 …binding {filenames[3]}>, data: OrderedDict([('one', 1), ('two', 2), ('three', 3)])>, <ControllerAn… 70 …binding {filenames[1]}>, data: OrderedDict([('one', 1)])>, <ControllerAndData, controller: <Node /… 73 …binding {filenames[1]}>, data: OrderedDict([('one', 0)])>, <ControllerAndData, controller: <Node /… 76 …binding {filenames[1]}>, data: OrderedDict([('one', 3)])>, <ControllerAndData, controller: <Node /… 79 …, controller: <Node /interrupt-map-bitops-test/controller in 'test.dts', binding {filenames[2]}>, … 104 …binding>]>, <PinCtrl, name: two, configuration nodes: [<Node /pinctrl/pincontroller/state-1 in 'te… 114 "<Node /parent in 'test.dts', no binding>" 117 "<Node /parent/child-2 in 'test.dts', no binding>" [all …]
|
D | test.dts | 225 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
|
/Zephyr-Core-2.7.6/doc/guides/dts/ |
D | bindings.rst | 10 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 …]
|
D | troubleshooting.rst | 142 - 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
|
D | howtos.rst | 153 .. _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: 190 * Binding (compatible = soc-nv-flash): 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 [all …]
|
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/test-bindings/ |
D | child-binding.yaml | 3 description: child-binding test 5 compatible: "top-binding" 7 child-binding: 14 child-binding:
|
D | child-binding-with-compat.yaml | 3 description: child-binding with separate compatible than the parent 5 compatible: "top-binding-with-compat" 7 child-binding: 15 child-binding:
|
D | parent.yaml | 3 description: Parent binding 5 compatible: "binding-include-test"
|
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/test-bindings-include/ |
D | filter-child-bindings.yaml | 1 description: Test binding for filtering 'child-binding' properties 6 child-binding: 8 child-binding:
|
D | allow-and-blocklist-child.yaml | 5 child binding. This binding should cause an error. 9 child-binding:
|
D | include.yaml | 12 child-binding: 19 child-binding:
|
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/src/devicetree/ |
D | edtlib.py | 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. 38 # create several EDT objects with independent binding paths and flags. If you 175 to None. This allows 'fixed-partitions' binding to match regardless 256 return f"<EDT for '{self.dts_path}', binding directories " \ 302 # (<compatible>, <bus>) tuples (both strings) to Binding objects. 304 # The Binding objects are created from YAML files discovered 308 # contains the Binding for the 'company,dev' device, when it 312 # self._compat2binding["company,notonbus", None] is the Binding. 338 # Load the binding and check that it actually matches one of the [all …]
|
/Zephyr-Core-2.7.6/dts/bindings/i2c/ |
D | nordic,nrf-twi.yaml | 7 This binding can be used for nodes which can represent TWI 28 can be used with this binding, and similarly for "TWI1". 41 this binding. See the "nordic,nrf-twim" binding instead.
|
/Zephyr-Core-2.7.6/dts/bindings/gpio/ |
D | adafruit-feather-header.yaml | 11 by this binding. 13 by this binding. 15 This binding provides a nexus mapping for 21 pins where parent pins 0
|
D | particle-gen3-header.yaml | 12 by this binding 14 binding. 16 This binding provides a nexus mapping for 22 pins where parent pins
|
/Zephyr-Core-2.7.6/dts/bindings/serial/ |
D | nordic,nrf-uart.yaml | 4 This is the binding for the peripheral without EasyDMA support. 5 See the "nordic,nrf-uarte" binding for UARTE, i.e. UART with
|
/Zephyr-Core-2.7.6/dts/bindings/pinctrl/ |
D | st,stm32-pinctrl.yaml | 6 Based on pincfg-node.yaml binding. 17 child-binding: 29 child-binding: 31 This binding gives a base representation of the STM32 pins configration
|
D | telink,b91-pinmux.yaml | 22 child-binding: 24 This binding gives a base representation of the Telink B91 pins configration.
|
D | atmel,sam0-pinctrl.yaml | 25 child-binding: 45 child-binding:
|
/Zephyr-Core-2.7.6/dts/bindings/mtd/ |
D | st,stm32-nv-flash.yaml | 2 STM32 flash memory. This binding is for the flash memory itself, not 4 "st,stm32-flash-controller" binding.
|
/Zephyr-Core-2.7.6/tests/kernel/device/src/ |
D | main.c | 42 * @brief Test device object binding 44 * Validates device binding for an existing and a non-existing device object. 46 * information and validates its binding. 61 /* Validates device binding for a non-existing device object */ in test_dummy_device() 65 /* Validates device binding for an existing device object */ in test_dummy_device() 77 * @brief Test device binding for existing device 79 * Validates device binding for an existing device object. 94 * @brief Test device binding for non-existing device 96 * Validates binding of a random device driver(non-defined driver) named 112 * @brief Test device binding for passing null name [all …]
|
/Zephyr-Core-2.7.6/tests/subsys/canbus/isotp/implementation/src/ |
D | main.c | 250 zassert_equal(ret, 0, "Binding failed (%d)", ret); in test_send_receive_net_blocks() 268 zassert_equal(ret, 0, "Binding failed (%d)", ret); in test_send_receive_blocks() 289 zassert_equal(ret, 0, "Binding failed (%d)", ret); in test_send_receive_net_single_blocks() 320 zassert_equal(ret, 0, "Binding failed (%d)", ret); in test_send_receive_single_block() 344 zassert_equal(ret, 0, "Binding failed (%d)", ret); in test_bind_unbind() 351 zassert_equal(ret, 0, "Binding failed (%d)", ret); in test_bind_unbind() 360 zassert_equal(ret, 0, "Binding failed (%d)", ret); in test_bind_unbind() 369 zassert_equal(ret, 0, "Binding failed (%d)", ret); in test_bind_unbind() 378 zassert_equal(ret, 0, "Binding failed (%d)", ret); in test_bind_unbind() 393 zassert_equal(ret, 0, "Binding failed (%d)", ret); in test_buffer_allocation() [all …]
|