| /Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings-init/ |
| D | base_multi.yaml | 1 # 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 …]
|
| D | base.yaml | 1 # 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 …]
|
| D | diamond.yaml | 1 # SPDX-License-Identifier: BSD-3-Clause 3 # Binding file for testing diamond inheritance (top-bottom). 18 # - prop-1 (amended in base_amend.yaml) 19 # - prop-enum (amended in base_amend.yaml) 20 # - prop-default (inherited from base.yaml) 22 # - prop-1 (last amended in thing.yaml) 23 # - prop-enum (amended in thing.yaml) 24 # - prop-thing (inherited from thing.yaml) 26 # - prop-enum (last amended here) 27 # - prop-diamond [all …]
|
| D | thing.yaml | 1 # 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 …]
|
| D | simple.yaml | 1 # 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 …]
|
| D | base_amend.yaml | 1 # 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 …]
|
| D | simple_allowlist.yaml | 1 # 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]
|
| D | simple_blocklist.yaml | 1 # SPDX-License-Identifier: BSD-3-Clause 4 # up to the grandchild-binding level. 7 - name: simple_inherit.yaml 8 property-blocklist: [prop-1] 9 child-binding: 10 property-blocklist: [child-prop-1] 11 child-binding: 12 property-blocklist: [grandchild-prop-1]
|
| /Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings-include/ |
| D | simple.yaml | 1 # 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 …]
|
| D | include.yaml | 1 # 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:
|
| D | simple_filter_allowlist.yaml | 1 # SPDX-License-Identifier: BSD-3-Clause 4 # up to the grandchild-binding level. 7 - name: simple_inherit.yaml 8 property-allowlist: [prop-1] 9 child-binding: 10 property-allowlist: [child-prop-1] 11 child-binding: 12 property-allowlist: [grandchild-prop-1]
|
| /Zephyr-latest/scripts/dts/python-devicetree/tests/ |
| D | test_edtlib_binding_init.py | 1 # 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/ |
| D | kconfigfunctions.py | 1 # Copyright (c) 2018-2019 Linaro 4 # SPDX-License-Identifier: Apache-2.0 17 "python-devicetree", "src")) 22 doc_mode = os.environ.get('KCONFIG_DOC_MODE') == "1" 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 220 'k' or 'K' divide by 1024 (1 << 10) 221 'm' or 'M' divide by 1,048,576 (1 << 20) [all …]
|
| /Zephyr-latest/soc/nuvoton/npcx/common/ |
| D | pinctrl_soc.h | 4 * SPDX-License-Identifier: Apache-2.0 70 * pin-muxing, pull-up/down and so on. 78 bool inverted: 1; 89 * characteristics such as tri-state, power supply type selection, and so on. 132 bool pinmux_lock :1; 133 bool pinmux_gpio :1; 134 /** Properties used for io-pad. */ 136 enum npcx_io_drive_type io_drive_type :1; 138 enum npcx_psl_in_mode psl_in_mode :1; 139 enum npcx_psl_in_pol psl_in_polarity :1; [all …]
|
| /Zephyr-latest/soc/renesas/smartbond/da1469x/ |
| D | pinctrl_soc.h | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/dt-bindings/pinctrl/smartbond-pinctrl.h> 14 uint32_t port : 1; 16 uint32_t bias_pull_up : 1; 17 uint32_t bias_pull_down : 1; 18 uint32_t output_enable : 1; 19 uint32_t input_enable : 1; 24 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 26 SMARTBOND_GET_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \ 27 SMARTBOND_GET_PORT(DT_PROP_BY_IDX(node_id, prop, idx)), \ [all …]
|
| /Zephyr-latest/soc/renesas/rzt2m/ |
| D | pinctrl_soc.h | 4 * SPDX-License-Identifier: Apache-2.0 20 uint32_t input_enable: 1; 21 uint32_t output_enable: 1; 22 uint32_t pull_up: 1; 23 uint32_t pull_down: 1; 24 uint32_t high_impedance: 1; 27 uint32_t schmitt_enable: 1; 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)), \ [all …]
|
| /Zephyr-latest/soc/raspberrypi/rpi_pico/common/ |
| D | pinctrl_soc.h | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/dt-bindings/pinctrl/rpi-pico-pinctrl-common.h> 23 uint32_t slew_rate : 1; 25 uint32_t pullup : 1; 27 uint32_t pulldown : 1; 29 uint32_t input_enable : 1; 31 uint32_t schmitt_enable : 1; 32 /** Output-enable override */ 42 * @param prop Property name. 45 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument [all …]
|
| /Zephyr-latest/include/zephyr/drivers/pinctrl/ |
| D | pinctrl_soc_sam_common.h | 4 * SPDX-License-Identifier: Apache-2.0 17 #include <dt-bindings/pinctrl/atmel_sam_pinctrl.h> 28 * - 0-15: SAM pinmux bit field (@ref SAM_PINMUX). 29 * - 16-21: Pin flags bit field (@ref SAM_PINFLAGS). 30 * - 22-31: Reserved. 38 * @param prop Property name. 42 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 43 ((DT_PROP_BY_IDX(node_id, prop, idx) << SAM_PINCTRL_PINMUX_POS) \ 49 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 50 ((DT_PROP_BY_IDX(node_id, prop, idx) << SAM_PINCTRL_PINMUX_POS) \ [all …]
|
| /Zephyr-latest/soc/renesas/rz/common/ |
| D | pinctrl_rzn.h | 3 * SPDX-License-Identifier: Apache-2.0 21 uint32_t p_reg: 1; 23 uint32_t pmc_reg: 1; 26 uint32_t rsel_reg: 1; 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)), \ 41 .pm_reg = DT_PROP(node_id, input_enable) == 1 \ 42 ? 1U \ 43 : (DT_PROP(node_id, output_enable) == 1 ? 2U \ 45 .pmc_reg = 1, \ [all …]
|
| D | pinctrl_rzt.h | 3 * SPDX-License-Identifier: Apache-2.0 21 uint32_t p_reg: 1; 23 uint32_t pmc_reg: 1; 26 uint32_t rsel_reg: 1; 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)), \ 41 .pm_reg = DT_PROP(node_id, input_enable) == 1 \ 42 ? 1U \ 43 : (DT_PROP(node_id, output_enable) == 1 ? 2U \ 45 .pmc_reg = 1, \ [all …]
|
| /Zephyr-latest/soc/nordic/common/ |
| D | soc_nrf_common.h | 3 * SPDX-License-Identifier: Apache-2.0 19 * @brief Get a PSEL value out of a foo-gpios or foo-pin devicetree property 21 * Many Nordic bindings have 'foo-pin' properties to specify a pin 22 * configuration as a PSEL value directly instead of using a 'foo-gpios' 25 * It would be better to use 'foo-gpios' properties instead. This type 28 * To allow for a smooth migration from 'foo-pin' to 'foo-gpios', this 30 * using whichever one of 'foo-gpios' or 'foo-pin' is in the DTS. 34 * - NRF_DT_PSEL_CHECK_*() to check the property configuration at build time 35 * - NRF_DT_GPIOS_TO_PSEL() if you only have a 'foo-gpios' 38 * @param psel_prop lowercase-and-underscores old-style 'foo-pin' property [all …]
|
| /Zephyr-latest/soc/wch/ch32v/qingke_v2a/ |
| D | pinctrl_soc.h | 4 * SPDX-License-Identifier: Apache-2.0 15 bool bias_pull_up: 1; 16 bool bias_pull_down: 1; 17 bool drive_open_drain: 1; 18 bool drive_push_pull: 1; 19 bool output_high: 1; 20 bool output_low: 1; 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 [all …]
|
| /Zephyr-latest/soc/wch/ch32v/qingke_v4c/ |
| D | pinctrl_soc.h | 4 * SPDX-License-Identifier: Apache-2.0 15 bool bias_pull_up: 1; 16 bool bias_pull_down: 1; 17 bool drive_open_drain: 1; 18 bool drive_push_pull: 1; 19 bool output_high: 1; 20 bool output_low: 1; 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 [all …]
|
| /Zephyr-latest/soc/ambiq/apollo3x/ |
| D | pinctrl_soc.h | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/dt-bindings/pinctrl/ambiq-apollo3-pinctrl.h> 21 uint32_t input_enable: 1; 22 /** Drive strength, relative to full-driver strength */ 25 uint32_t push_pull: 1; 27 uint32_t open_drain: 1; 29 uint32_t tristate: 1; 31 uint32_t bias_pull_up: 1; 33 uint32_t bias_pull_down: 1; 39 uint32_t iom_mspi: 1; [all …]
|
| /Zephyr-latest/soc/ambiq/apollo4x/ |
| D | pinctrl_soc.h | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/dt-bindings/pinctrl/ambiq-apollo4-pinctrl.h> 21 uint32_t input_enable : 1; 22 /** Drive strength, relative to full-driver strength */ 25 uint32_t slew_rate : 1; 27 uint32_t push_pull : 1; 29 uint32_t open_drain : 1; 31 uint32_t tristate : 1; 33 uint32_t bias_pull_up : 1; 35 uint32_t bias_pull_down : 1; [all …]
|