Searched +full:baz +full:- +full:names (Results 1 – 24 of 24) sorted by relevance
/Zephyr-latest/dts/bindings/test/ |
D | vnd,phandle-holder.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "vnd,phandle-holder" 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"} 19 pwm-names: {type: "string-array"} 21 type: "phandle-array" [all …]
|
/Zephyr-latest/doc/build/snippets/ |
D | writing.rst | 15 .. code-block:: yaml 17 name: snippet-name 24 you can combine a snippet-specific devicetree overlay and a ``.conf`` file like 27 .. code-block:: yaml 36 .. code-block:: yaml 47 ``snippet-<name>`` as a namespace prefix when choosing names for node labels, 48 node names, etc. This avoids namespace conflicts. 50 For example, if your snippet is named ``foo-bar``, write your devicetree 53 .. code-block:: DTS 56 zephyr,baz = &snippet_foo_bar_dev; [all …]
|
/Zephyr-latest/doc/build/dts/ |
D | bindings-intro.rst | 1 .. _dt-binding-compat: 8 For a detailed syntax reference, see :ref:`dt-bindings-file-syntax`. 11 properties <dt-important-props>`. 18 .. _dt-bindings-simple-example: 25 .. code-block:: devicetree 28 bar-device { 29 compatible = "foo-company,bar-device"; 30 num-foos = <3>; 35 .. code-block:: yaml 39 compatible: "foo-company,bar-device" [all …]
|
D | phandles.rst | 1 .. _dt-phandles: 19 .. code-block:: DTS 22 lbl_a: node-1 {}; 23 lbl_b: lbl_c: node-2 {}; 28 - ``/node-1`` as ``&lbl_a`` 29 - ``/node-2`` as either ``&lbl_b`` or ``&lbl_c`` 39 "Type" in this section refers to one of the type names documented in 40 :ref:`dt-bindings-properties` in the devicetree bindings documentation. 47 You can use phandles to refer to ``node-b`` from ``node-a``, where ``node-b`` 48 is related to ``node-a`` in some way. [all …]
|
D | bindings-upstream.rst | 1 .. _dt-writing-bindings: 21 Zephyr aims for devicetree :ref:`dt-source-compatibility`. Therefore, if there 24 justify any Zephyr-specific divergences. 28 - There is an existing binding in the mainline Linux kernel. See 32 - Your hardware vendor provides an official binding outside of the Linux 48 https://docs.kernel.org/devicetree/bindings/writing-bindings.html 50 File names 53 Bindings which match a compatible must have file names based on the compatible. 55 - For example, a binding for compatible ``vnd,foo`` must be named ``vnd,foo.yaml``. 56 - If the binding is bus-specific, you can append the bus to the file name; [all …]
|
D | macros.bnf | 7 ; -------------------------------------------------------------------- 8 ; dt-macro: the top level nonterminal for a devicetree macro 10 ; A dt-macro starts with uppercase "DT_", and is one of: 12 ; - a <node-macro>, generated for a particular node 13 ; - some <other-macro>, a catch-all for other types of macros 14 dt-macro = node-macro / other-macro 16 ; -------------------------------------------------------------------- 17 ; node-macro: a macro related to a node 20 node-macro = property-macro 22 node-macro =/ pinctrl-macro [all …]
|
D | api-usage.rst | 1 .. _dt-from-c: 8 :ref:`devicetree-intro` and :ref:`dt-bindings`. See :ref:`dt-reference` for 26 .. _dt-node-identifiers: 43 label <dt-node-labels>`. Node labels are often provided by SoC :file:`.dtsi` 44 files to give nodes names that match the SoC datasheet, like ``i2c1``, 50 :zephyr:code-sample:`blinky`, which uses the ``led0`` alias) that need to 72 .. _dt-node-main-ex: 77 .. literalinclude:: main-example.dts 79 :start-after: start-after-here 83 - ``DT_PATH(soc, i2c_40002000)`` [all …]
|
/Zephyr-latest/include/zephyr/devicetree/ |
D | pinctrl.h | 3 * SPDX-License-Identifier: Apache-2.0 15 * @defgroup devicetree-pinctrl Pin control 26 * pinctrl-0 = <&foo &bar>; 27 * pinctrl-1 = <&baz &blub>; 33 * DT_PINCTRL_BY_IDX(DT_NODELABEL(n), 1, 0) // DT_NODELABEL(baz) 35 * @param node_id node with a pinctrl-'pc_idx' property 38 * @return node identifier for the phandle at index 'idx' in 'pinctrl-'pc_idx'' 44 * @brief Get a node identifier from a pinctrl-0 property 50 * It is provided for convenience since pinctrl-0 is commonly used. 52 * @param node_id node with a pinctrl-0 property [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: 21 uint8-array: 22 type: uint8-array 28 string-array: 29 type: string-array 30 const: ['foo', 'bar', 'baz'] 32 phandle-ref: 35 phandle-refs: [all …]
|
/Zephyr-latest/tests/lib/devicetree/api/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 * Names in this file should be chosen in a way that won't conflict 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>; [all …]
|
/Zephyr-latest/doc/develop/west/ |
D | manifest.rst | 1 .. _west-manifests: 8 ``west.manifest`` module, see :ref:`west-apis-manifest`. For a more general 9 introduction and command overview, see :ref:`west-basics`. 16 .. _west-mr-model: 25 .. figure:: west-mr-model.png 27 :alt: West multi-repo history 28 :figclass: align-center 30 West multi-repo history 48 - Projects can be added (like ``P1`` between manifest repository 52 - Project and manifest repository histories don't have to move [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_dtlib.py | 2 # SPDX-License-Identifier: BSD-3-Clause 23 # - to stop on the first failure with shorter traceback output, 24 # use '-x --tb=native' 25 # - to drop into a debugger on failure, use '--pdb' 26 # - to run a particular test function or functions, use 27 # '-k test_function_pattern_goes_here' 34 fd, path = tempfile.mkstemp(prefix='pytest-', suffix='.dts') 36 os.write(fd, dts.encode('utf-8')) 44 representation is expected[1:-1]. 52 expected = expected[1:-1] [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/include/zephyr/data/ |
D | json.h | 4 * SPDX-License-Identifier: Apache-2.0 83 * power of 2 in order to keep this value in the 0-3 range 120 * @param data User-provided pointer 157 .field_name_len = sizeof(#field_name_) - 1, \ 174 * int32_t baz; 179 * { ... declare bar.baz descriptor ... }, 190 .field_name_len = (sizeof(#field_name_) - 1), \ 274 .field_name_len = sizeof(#field_name_) - 1, \ 323 .field_name_len = sizeof(#field_name_) - 1, \ 382 .field_name_len = sizeof(#field_name_) - 1, \ [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | device_mmio.h | 4 * SPDX-License-Identifier: Apache-2.0 13 * @defgroup device-mmio Device memory-mapped IO management 16 * Definitions and helper macros for managing driver memory-mapped 20 * including this separately may be needed for arch-level driver code 28 /* Storing MMIO addresses in RAM is a system-wide decision based on 34 * If we have PCIE enabled, this does mean that non-PCIE drivers may waste 85 * The mapped linear address will have read-write access to supervisor mode. 102 * read-write access. in device_map() 140 * @defgroup device-mmio-single Single MMIO region macros 141 * @ingroup device-mmio [all …]
|
/Zephyr-latest/doc/kernel/drivers/ |
D | index.rst | 57 should support an interrupt-based implementation, rather than polling, unless 60 High-level calls accessed through device-specific APIs, such as 75 up for boot-time initialization. 98 split into read-only and runtime-mutable parts. At a high level we have: 100 .. code-block:: C 109 The ``config`` member is for read-only configuration data set at build time. For 115 per-instance runtime housekeeping. For example, it may contain reference counts, 118 The ``api`` struct maps generic subsystem APIs to the device-specific 119 implementations in the driver. It is typically read-only and populated at 126 Most drivers will be implementing a device-independent subsystem API. [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
D | dtlib.py | 2 # SPDX-License-Identifier: BSD-3-Clause 10 The top-level entry point of the library is the DT class. DT.__init__() takes a 30 "Exception raised for devicetree-related errors" 34 Represents a node in the devicetree ('node-name { ... };'). 62 stored in big-endian format. 113 def name(self) -> str: 117 # Converted to a property to discourage renaming -- that has to be done 122 def unit_addr(self) -> str: 129 def path(self) -> str: 144 def node_iter(self) -> Iterable['Node']: [all …]
|
D | edtlib.py | 3 # 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. 108 The free-form description of the binding, or None. [all …]
|
/Zephyr-latest/doc/build/dts/api/ |
D | api.rst | 10 Some of these -- the ones beginning with ``DT_INST_`` -- require a special 19 .. _devicetree-generic-apis: 33 :ref:`devicetree-property-access` API. 45 .. doxygengroup:: devicetree-generic-id 47 .. _devicetree-property-access: 52 The following general-purpose macros can be used to access node properties. 53 There are special-purpose APIs for accessing the :ref:`devicetree-ranges-property`, 54 :ref:`devicetree-reg-property` and :ref:`devicetree-interrupts-property`. 59 .. doxygengroup:: devicetree-generic-prop 61 .. _devicetree-ranges-property: [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" 71 * @defgroup devicetree-generic-id Node identifiers and helpers 96 * The arguments to this macro are the names of non-root nodes in the 98 * Non-alphanumeric characters in each name must be converted to 108 * current-speed = <115200>; 119 * Example usage with DT_PROP() to get the `current-speed` property: 125 * (The `current-speed` property is also in `lowercase-and-underscores` 130 * - the first argument corresponds to a child node of the root (`soc` above) [all …]
|
/Zephyr-latest/cmake/modules/ |
D | extensions.cmake | 1 # SPDX-License-Identifier: Apache-2.0 14 # 1. Zephyr-aware extensions 21 # 2. Kconfig-aware extensions 23 # 3. CMake-generic extensions 44 # 1. Zephyr-aware extensions 49 # "zephyr". zephyr is a catch-all CMake library for source files that 52 # [0] https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html 66 # As a very high-level introduction here are two call graphs that are 72 # zephyr_library_compile_options() --> target_compile_options() 75 # zephyr_cc_option() ---> target_cc_option() [all …]
|
/Zephyr-latest/scripts/ |
D | checkpatch.pl | 2 # SPDX-License-Identifier: GPL-2.0 7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 8 # (c) 2010-2018 Joe Perches <joe@perches.com> 67 my $git_command ='export LANGUAGE=en_US.UTF-8; git'; 78 -q, --quiet quiet 79 --no-tree run without a kernel tree 80 --no-signoff do not check for 'Signed-off-by' line 81 --patch treat FILE as patchfile (default) 82 --emacs emacs compile window format 83 --terse one line per report [all …]
|
/Zephyr-latest/scripts/kconfig/ |
D | kconfiglib.py | 1 # Copyright (c) 2011-2019, Ulf Magnusson 2 # SPDX-License-Identifier: ISC 9 from Kconfig (https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt) 27 $ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | git am 28 …$ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | patch -… 30 Warning: Not passing -p1 to patch will cause the wrong file to be patched. 43 $ git am Kconfiglib/makefile.patch (or 'patch -p1 < Kconfiglib/makefile.patch') 53 ---------------- 61 -------------- 69 -------------------------------- [all …]
|