Home
last modified time | relevance | path

Searched +full:prop +full:- +full:2 (Results 1 – 25 of 186) sorted by relevance

12345678

/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings-init/
Dbase_multi.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # child-binding, grandchild-binding):
7 # child-binding:
9 # child-binding:
15 # Child-binding level:
16 # From top-level "include:" element.
17 # - child-prop-1 (amended)
18 # - child-prop-2
19 # - child-prop-enum
20 # From "child-binding: include:" element.
[all …]
Dbase.yaml1 # SPDX-License-Identifier: BSD-3-Clause
6 # "required:", "enum:" and "default:") up to the grandchild-binding level.
9 # + prop-1
10 # + prop-2
11 # + prop-enum
12 # + prop-req
13 # + prop-const
14 # + prop-default
16 # Child-binding:
17 # + child-prop-1
[all …]
Dsimple.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # up to the grandchild-binding level.
7 prop-1:
9 prop-2:
11 prop-3:
14 child-binding:
16 child-prop-1:
18 child-prop-2:
20 child-prop-3:
23 child-binding:
[all …]
Dbase_amend.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # - extends property specifications by adding definitions,
6 # - overwrites existing definitions of a property,
8 # - specify new properties
11 # at each level (binding, child-binding, grandchild-binding).
14 # |----------------|--------------|-----------------|
15 # | description: | prop-2 | prop-1 |
16 # | required: | | prop-enum |
17 # | enum: | prop-2 | |
18 # | const: | prop-1 | |
[all …]
Dsimple_allowlist.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # up to the grandchild-binding level.
7 - name: simple_inherit.yaml
8 property-allowlist: [prop-1, prop-2]
9 child-binding:
10 property-allowlist: [child-prop-1, child-prop-2]
11 child-binding:
12 property-allowlist: [grandchild-prop-1, grandchild-prop-2]
Dfilter_among_notblocked.yaml1 # SPDX-License-Identifier: BSD-3-Clause
7 - name: simple_blocklist.yaml
8 property-blocklist: [prop-2, prop-3]
9 child-binding:
10 property-blocklist: [child-prop-2, child-prop-3]
11 child-binding:
12 property-blocklist: [grandchild-prop-2, grandchild-prop-3]
Dfilter_allows_notblocked.yaml1 # SPDX-License-Identifier: BSD-3-Clause
7 - name: simple_blocklist.yaml
8 property-allowlist: [prop-2]
9 child-binding:
10 property-allowlist: [child-prop-2]
11 child-binding:
12 property-allowlist: [grandchild-prop-2]
Dthing.yaml1 # SPDX-License-Identifier: BSD-3-Clause
8 # - prop-1 (amended)
9 # - prop-enum (amended)
10 # - prop-thing (new property)
12 # Child-binding level:
13 # - child-prop-1 (amended)
14 # - child-prop-enum (amended)
15 # - child-prop-thing (new property)
17 # Grandchild-binding level:
18 # - grandchild-prop-1 (amended)
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings-include/
Dsimple.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # the grandchild-binding level.
7 prop-1:
9 prop-2:
11 prop-3:
14 child-binding:
16 child-prop-1:
18 child-prop-2:
20 child-prop-3:
23 child-binding:
[all …]
Dsimple_filter_blocklist.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # up to the grandchild-binding level.
7 - name: simple_inherit.yaml
8 property-blocklist: [prop-2, prop-3]
9 child-binding:
10 property-blocklist: [child-prop-2, child-prop-3]
11 child-binding:
12 property-blocklist: [grandchild-prop-2, grandchild-prop-3]
Dinclude.yaml1 # SPDX-License-Identifier: BSD-3-Clause
12 child-binding:
14 child-prop-1:
16 child-prop-2:
19 child-binding:
21 grandchild-prop-1:
23 grandchild-prop-2:
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest_edtlib_binding_init.py1 # SPDX-License-Identifier: Apache-2.0
8 - check which properties are defined at which level (binding, child-binding,
9 grandchild-binding, etc) and their specifications once the binding
11 - check how including bindings are permitted to specialize
13 - check the rules applied when overwriting a binding's description
14 or compatible string (at the binding, child-binding, etc, levels)
17 - filter the properties it chooses to inherit with either "property:allowlist"
19 - extend inherited properties:
20 - override (implicit or) explicit "required: false" with "required: true"
21 - add constraints to the possible value(s) of a property with "const:"
[all …]
/Zephyr-latest/scripts/kconfig/
Dkconfigfunctions.py1 # Copyright (c) 2018-2019 Linaro
4 # SPDX-License-Identifier: Apache-2.0
15 ZEPHYR_BASE = str(Path(__file__).resolve().parents[2])
17 "python-devicetree", "src"))
169 foo: some-node { ... };
211 def _node_int_prop(node, prop, unit=None): argument
214 property called 'prop' and if that 'prop' is an integer type will return
215 the value of the property 'prop' as either a string int or string hex
230 if prop not in node.props:
233 if node.props[prop].type != "int":
[all …]
/Zephyr-latest/soc/nuvoton/npcx/common/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
70 * pin-muxing, pull-up/down and so on.
80 enum npcx_periph_type type: 2;
82 uint16_t reserved: 2;
89 * characteristics such as tri-state, power supply type selection, and so on.
130 enum npcx_pinctrl_type type :2;
134 /** Properties used for io-pad. */
135 enum npcx_io_bias_type io_bias_type :2;
172 * @param prop Property name for pinmux configuration. (i.e. 'pinmux')
174 #define Z_PINCTRL_NPCX_PERIPH_PINMUX_INIT(node_id, prop) \ argument
[all …]
/Zephyr-latest/soc/renesas/rz/common/
Dpinctrl_rzn.h3 * SPDX-License-Identifier: Apache-2.0
22 uint32_t pm_reg: 2;
35 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
37 .port_pin = RZN_GET_PORT_PIN(DT_PROP_BY_IDX(node_id, prop, idx)), \
43 : (DT_PROP(node_id, output_enable) == 1 ? 2U \
46 .pfc_reg = RZN_GET_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \
51 : (DT_PROP(node_id, bias_pull_down) == 1 ? 2U \
53 << 2) | \
60 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument
61 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
Dpinctrl_rzt.h3 * SPDX-License-Identifier: Apache-2.0
22 uint32_t pm_reg: 2;
35 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
37 .port_pin = RZT_GET_PORT_PIN(DT_PROP_BY_IDX(node_id, prop, idx)), \
43 : (DT_PROP(node_id, output_enable) == 1 ? 2U \
46 .pfc_reg = RZT_GET_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \
51 : (DT_PROP(node_id, bias_pull_down) == 1 ? 2U \
53 << 2) | \
60 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument
61 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
/Zephyr-latest/soc/silabs/common/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
20 #include <zephyr/dt-bindings/pinctrl/silabs-pinctrl-dbus.h>
22 #include <zephyr/dt-bindings/pinctrl/gecko-pinctrl-s1.h>
24 #include <zephyr/dt-bindings/pinctrl/gecko-pinctrl.h>
50 ? (8 + DT_PROP(node, silabs_input_filter) + 2 * DT_PROP(node, bias_pull_up) + \
54 ? (2 + DT_PROP(node, silabs_input_filter)) \
68 #define Z_PINCTRL_STATE_PIN_INIT(node, prop, idx) \ argument
70 FIELD_GET(SILABS_PINCTRL_PERIPH_BASE_MASK, DT_PROP_BY_IDX(node, prop, idx)), \
71 .port = FIELD_GET(SILABS_PINCTRL_GPIO_PORT_MASK, DT_PROP_BY_IDX(node, prop, idx)), \
72 .pin = FIELD_GET(SILABS_PINCTRL_GPIO_PIN_MASK, DT_PROP_BY_IDX(node, prop, idx)), \
[all …]
/Zephyr-latest/soc/quicklogic/eos_s3/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
24 uint32_t slew_rate: 2;
27 uint32_t control_selection: 2;
45 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
46 QUICKLOGIC_EOS_S3_DT_PIN(DT_PROP_BY_IDX(node_id, prop, idx))
48 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument
49 { DT_FOREACH_PROP_ELEM(node_id, prop, Z_PINCTRL_STATE_PIN_INIT) }
/Zephyr-latest/soc/ambiq/apollo3x/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/pinctrl/ambiq-apollo3-pinctrl.h>
22 /** Drive strength, relative to full-driver strength */
23 uint32_t drive_strength: 2;
37 uint32_t iom_nce: 2;
50 * @param prop Property name.
53 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
55 APOLLO3_GET_PIN_NUM(DT_PROP_BY_IDX(node_id, prop, idx)), \
56 APOLLO3_GET_PIN_ALT_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \
74 * @param prop Property name describing state pins.
[all …]
/Zephyr-latest/soc/ambiq/apollo4x/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/pinctrl/ambiq-apollo4-pinctrl.h>
22 /** Drive strength, relative to full-driver strength */
23 uint32_t drive_strength : 2;
41 uint32_t interrupt_direction: 2;
50 * @param prop Property name.
53 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
55 APOLLO4_GET_PIN_NUM(DT_PROP_BY_IDX(node_id, prop, idx)), \
56 APOLLO4_GET_PIN_ALT_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \
74 * @param prop Property name describing state pins.
[all …]
/Zephyr-latest/include/zephyr/
Ddevicetree.h2 * 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/soc/renesas/rzt2m/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
25 uint32_t slew_rate: 2;
34 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
36 .port = RZT2M_GET_PORT(DT_PROP_BY_IDX(node_id, prop, idx)), \
37 .pin = RZT2M_GET_PIN(DT_PROP_BY_IDX(node_id, prop, idx)), \
38 .func = RZT2M_GET_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \
48 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument
49 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), \
/Zephyr-latest/soc/wch/ch32v/qingke_v2a/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
21 uint8_t slew_rate: 2;
26 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
28 .config = DT_PROP_BY_IDX(node_id, prop, idx), \
38 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument
39 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
/Zephyr-latest/soc/wch/ch32v/qingke_v4c/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
21 uint8_t slew_rate: 2;
26 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
28 .config = DT_PROP_BY_IDX(node_id, prop, idx), \
38 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument
39 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
/Zephyr-latest/soc/xlnx/zynqmp/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
15 #define MIO_L1_SEL BIT(2)
26 * 1 - UART
29 * and the defines controling those are listed in `pinctrl-zynqmp.h`.
43 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
45 .pin = ZYNQMP_GET_PIN(DT_PROP_BY_IDX(node_id, prop, idx)), \
46 .func = ZYNQMP_GET_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \
49 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) { \ argument
50 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), \

12345678