Searched +full:gpio +full:- +full:open +full:- +full:drain (Results 1 – 25 of 167) sorted by relevance
1234567
/Zephyr-latest/include/zephyr/dt-bindings/gpio/ |
D | gpio.h | 5 * SPDX-License-Identifier: Apache-2.0 11 * @brief GPIO Driver APIs 12 * @defgroup gpio_interface GPIO Driver APIs 17 /** Mask for DT GPIO flags. */ 21 * @name GPIO pin active level flags 25 /** GPIO pin is active (has logical value '1') in low state. */ 27 /** GPIO pin is active (has logical value '1') in high state. */ 33 * @name GPIO pin drive flags 39 /* Configures GPIO output in single-ended mode (open drain or open source). */ 41 /* Configures GPIO output in push-pull mode */ [all …]
|
/Zephyr-latest/dts/bindings/pinctrl/ |
D | silabs,dbus-pinctrl.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 node to route USART0 RX to pin PA1 and enable the pull-up resistor on the 15 compatible = "silabs,gecko-usart"; 16 pinctrl-0 = <&usart0_default>; 17 pinctrl-names = "default"; 20 pinctrl-0 is a phandle that stores the pin settings for the peripheral, in 22 'pinctrl' node, typically in a board-pinctrl.dtsi file in the board 30 /* Configure PA8 as USART0 TX in GPIO DBUS */ 32 /* Configure GPIO to push-pull mode */ 33 drive-push-pull; [all …]
|
D | ene,kb1200-pinctrl.yaml | 1 # SPDX-License-Identifier: Apache-2.0 9 - bias-disable: Disable pull-up/down resistor. 10 - bias-pull-up: Enable pull-up resistor. 11 - bias-pull-down: Enable pull-down resistor. 12 - drive-push-pull: Output driver is push-pull. 13 - drive-open-drain: Output driver is open-drain. 14 - output-disable: Disable GPIO output driver data 15 - output-enable: Ensable GPIO output driver data 16 - output-high: GPIO output data high 17 - output-low: GPIO output data low [all …]
|
D | ite,it8xxx2-pinctrl-func.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "ite,it8xxx2-pinctrl-func" 11 func3-gcr: 14 func3-en-mask: 17 func3-ext: 21 the setting of func3-gcr, some pins require external setting. 23 func3-ext-mask: 26 func4-gcr: 29 func4-en-mask: 32 volt-sel: [all …]
|
D | nuvoton,npcx-pinctrl.yaml | 2 # SPDX-License-Identifier: Apache-2.0 10 - bias-pull-down: Enable pull-down resistor. 11 - bias-pull-up: Enable pull-up resistor. 12 - drive-open-drain: Output driver is open-drain. 15 - pinmux-locked: Lock pinmux configuration for peripheral device 16 - pinmux-gpio: Inverse pinmux back to gpio 17 - psl-in-mode: Select the assertion detection mode of PSL input 18 - psl-in-pol: Select the assertion detection polarity of PSL input 23 #include <nuvoton/npcx/npcx7/npcx7-pinctrl.dtsi> 26 internal 3.3V pull-up if its i2c frequency won't exceed 400kHz. [all …]
|
/Zephyr-latest/dts/bindings/i2c/ |
D | infineon,xmc4xxx-i2c.yaml | 4 # SPDX-License-Identifier: Apache-2.0 16 compatible = "infineon,xmc4xxx-i2c"; 19 pinctrl-0 = <&i2c_scl_p0_13_u1c1 &i2c_sda_p3_15_u1c1>; 20 pinctrl-names = "default"; 21 scl-src = "DX1B"; 22 sda-src = "DX0A"; 25 #address-cells = <1>; 26 #size-cells = <0>; 28 clock-frequency = <I2C_BITRATE_STANDARD>; 35 The pinctrl nodes need to be configured as open-drain and [all …]
|
/Zephyr-latest/dts/bindings/power-domain/ |
D | power-domain-gpio.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Simple GPIO controlled power domain 6 compatible: "power-domain-gpio" 8 include: power-domain.yaml 11 enable-gpios: 12 type: phandle-array 15 GPIO to use to enable/disable the regulator. 17 Unlike the gpio property in the Linux bindings this array must 18 provide the GPIO polarity and open-drain status in the phandle 19 selector. The Linux enable-active-high and gpio-open-drain [all …]
|
/Zephyr-latest/dts/bindings/regulator/ |
D | regulator-fixed.yaml | 1 # Copyright 2019-2020 Peter Bigot Consulting, LLC 3 # SPDX-License-Identifier: Apache-2.0 8 - name: base.yaml 9 - name: regulator.yaml 10 property-allowlist: 11 - regulator-name 12 - regulator-boot-on 13 - regulator-always-on 14 - regulator-min-microvolt 15 - regulator-max-microvolt [all …]
|
D | regulator-gpio.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 GPIO-controlled voltage of regulators 8 vccq_sd0: regulator-vccq-sd0 { 9 compatible = "regulator-gpio"; 11 regulator-name = "SD0 VccQ"; 12 regulator-min-microvolt = <1800000>; 13 regulator-max-microvolt = <3300000>; 15 enable-gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; 20 regulator-boot-on; 23 In the above example, three GPIO pins are used for controlling the regulator: [all …]
|
/Zephyr-latest/dts/bindings/w1/ |
D | zephyr,w1-gpio.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Zephyr W1 GPIO node 7 This defines a one-wire driver through GPIO bit-banging. 13 compatible = "zephyr,w1-gpio"; 19 - w1 is pin 13 on gpio0. The gpio is active when the pin is high, is 20 configured as an open-drain, and has a pull-up resistor. 23 - Most drivers require the selected gpio to support open drain, this enables onewire 25 - Ensure pullup is strong enough (4.7K according to the specification). Standard pullup in 28 compatible: "zephyr,w1-gpio" 30 include: [w1-master.yaml] [all …]
|
/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/ |
D | test_config.c | 4 * SPDX-License-Identifier: Apache-2.0 39 * - Configure pin in in/out mode, verify that gpio_pin_set_raw / 41 * - Verify that GPIO_OUTPUT_HIGH flag is initializing the pin to high. 42 * - Verify that GPIO_OUTPUT_LOW flag is initializing the pin to low. 43 * - Verify that configuring the pin as an output without initializing it 45 * - Verify that it is not possible to change value of a pin via 54 zassert_true(device_is_ready(port), "GPIO dev is not ready"); in ZTEST() 56 TC_PRINT("Running test on port=%s, pin=%d\n", port->name, TEST_PIN); in ZTEST() 68 if (ret == -ENOTSUP) { in ZTEST() 141 * - Verify that pin configured in Open Drain mode and initialized [all …]
|
/Zephyr-latest/boards/kincony/kincony_kc868_a32/ |
D | kincony_kc868_a32-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h> 8 #include <dt-bindings/pinctrl/esp32-pinctrl.h> 9 #include <zephyr/dt-bindings/pinctrl/esp32-gpio-sigmap.h> 15 output-high; 19 bias-pull-up; 27 bias-pull-up; 28 drive-open-drain; 29 output-high; 37 bias-pull-up; [all …]
|
/Zephyr-latest/boards/microchip/mec172xevb_assy6906/ |
D | mec172xevb_assy6906.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <microchip/mec172x/mec172xnsz-pinctrl.dtsi> 26 i2c-0 = &i2c_smb_0; 29 pwm-0 = &pwm0; 34 compatible = "gpio-leds"; 53 clock-frequency = <96000000>; 81 current-speed = <115200>; 82 pinctrl-0 = <&uart1_tx_gpio170 &uart1_rx_gpio171>; 83 pinctrl-names = "default"; [all …]
|
/Zephyr-latest/boards/m5stack/m5stack_atoms3/ |
D | m5stack_atoms3-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h> 8 #include <dt-bindings/pinctrl/esp32s3-pinctrl.h> 9 #include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h> 15 output-high; 19 bias-pull-up; 27 bias-pull-up; 28 drive-open-drain; 29 output-high; 37 bias-pull-up; [all …]
|
/Zephyr-latest/boards/m5stack/m5stack_atoms3_lite/ |
D | m5stack_atoms3_lite-pinctrl.dtsi | 5 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h> 8 #include <dt-bindings/pinctrl/esp32s3-pinctrl.h> 9 #include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h> 15 output-high; 19 bias-pull-up; 27 bias-pull-up; 28 drive-open-drain; 29 output-high; 37 bias-pull-up; [all …]
|
/Zephyr-latest/boards/adafruit/qt_py_esp32s3/ |
D | adafruit_qt_py_esp32s3-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h> 8 #include <dt-bindings/pinctrl/esp32s3-pinctrl.h> 9 #include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h> 15 output-high; 19 bias-pull-up; 30 output-low; 37 output-low; 45 bias-pull-up; 46 drive-open-drain; [all …]
|
/Zephyr-latest/dts/bindings/gpio/ |
D | ti,tca6424a.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: TI TCA6424A I2C-based GPIO expander 8 include: [gpio-controller.yaml, i2c-device.yaml] 11 int-gpios: 12 type: phandle-array 14 GPIO connected to the controller INT pin. This pin is active-low 15 and open-drain. 17 reset-gpios: 18 type: phandle-array 20 GPIO connected to the controller RESET pin. This pin is active-low. [all …]
|
D | nxp,pca95xx.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: PCA95xx series I2C-based GPIO expander 8 include: [gpio-controller.yaml, i2c-device.yaml] 11 has-pud: 13 description: Supports pull-up/pull-down 15 has-interrupt-mask-reg: 19 interrupt-gpios: 20 type: phandle-array 21 description: Interrupt GPIO pin (active-low open-drain) 23 "#gpio-cells": [all …]
|
D | awinic,aw9523b-gpio.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: AW9523B GPIO Controller 6 compatible: "awinic,aw9523b-gpio" 8 include: gpio-controller.yaml 10 on-bus: aw9523b 13 int-gpios: 14 type: phandle-array 16 Set GPIO connected to the controller INTN pin. 19 reset-gpios: 20 type: phandle-array [all …]
|
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/ |
D | test_config_trigger.c | 5 * SPDX-License-Identifier: Apache-2.0 38 gpio_init_callback(&drv_data->gpio_cb, callback, BIT(PIN_IN)); in ZTEST() 39 ret = gpio_add_callback(dev_in, &drv_data->gpio_cb); in ZTEST() 44 if (ret == -ENOTSUP) { in ZTEST() 45 TC_PRINT("Both edge GPIO interrupt not supported.\n"); in ZTEST() 46 gpio_remove_callback(dev_in, &drv_data->gpio_cb); in ZTEST() 51 /* 3. Configure PIN_OUT as open drain, internal pull-up (may trigger in ZTEST() 55 if (ret == -ENOTSUP) { in ZTEST() 56 TC_PRINT("Open drain not supported.\n"); in ZTEST() 57 gpio_remove_callback(dev_in, &drv_data->gpio_cb); in ZTEST() [all …]
|
/Zephyr-latest/boards/franzininho/esp32s2_franzininho/ |
D | esp32s2_franzininho-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h> 8 #include <dt-bindings/pinctrl/esp32s2-pinctrl.h> 9 #include <zephyr/dt-bindings/pinctrl/esp32s2-gpio-sigmap.h> 16 output-high; 20 bias-pull-up; 32 output-low; 44 output-low; 52 bias-pull-up; 53 drive-open-drain; [all …]
|
/Zephyr-latest/boards/espressif/esp32s2_saola/ |
D | esp32s2_saola-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h> 8 #include <dt-bindings/pinctrl/esp32s2-pinctrl.h> 9 #include <zephyr/dt-bindings/pinctrl/esp32s2-gpio-sigmap.h> 16 output-high; 20 bias-pull-up; 32 output-low; 44 output-low; 52 bias-pull-up; 53 drive-open-drain; [all …]
|
/Zephyr-latest/boards/espressif/esp32s2_devkitc/ |
D | esp32s2_devkitc-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h> 8 #include <dt-bindings/pinctrl/esp32s2-pinctrl.h> 9 #include <zephyr/dt-bindings/pinctrl/esp32s2-gpio-sigmap.h> 16 output-high; 20 bias-pull-up; 32 output-low; 44 output-low; 52 bias-pull-up; 53 drive-open-drain; [all …]
|
/Zephyr-latest/boards/m5stack/m5stack_core2/ |
D | m5stack_core2-pinctrl.dtsi | 5 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h> 9 #include <dt-bindings/pinctrl/esp32-pinctrl.h> 10 #include <zephyr/dt-bindings/pinctrl/esp32-gpio-sigmap.h> 20 bias-pull-up; 46 output-low; 54 drive-open-drain; 55 output-high; 63 drive-open-drain; 64 output-high;
|
/Zephyr-latest/boards/luatos/esp32s3_luatos_core/ |
D | esp32s3_luatos_core-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h> 8 #include <dt-bindings/pinctrl/esp32s3-pinctrl.h> 9 #include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h> 15 output-high; 19 bias-pull-up; 27 bias-pull-up; 28 drive-open-drain; 29 output-high; 37 bias-pull-up; [all …]
|
1234567