Home
last modified time | relevance | path

Searched +full:int +full:- +full:gpios (Results 1 – 25 of 600) sorted by relevance

12345678910>>...24

/Zephyr-latest/dts/bindings/fpga/
Dlattice,ice40-fpga-bitbang.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "lattice,ice40-fpga-bitbang"
9 include: lattice,ice40-fpga-base.yaml
12 clk-gpios:
13 type: phandle-array
18 clk-gpios = <&gpio0 5 GPIO_PUSH_PULL>;
19 pico-gpios:
20 type: phandle-array
23 Peripheral-In Controller-Out GPIO input on iCE40.
25 pico-gpios = <&gpio0 7 GPIO_PUSH_PULL>;
[all …]
Dlattice,ice40-fpga-base.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "lattice,ice40-fpga-base"
8 include: spi-device.yaml
11 cdone-gpios:
12 type: phandle-array
17 cdone-gpios = <&gpio0 0 0>;
18 creset-gpios:
19 type: phandle-array
24 creset-gpios = <&gpio0 1 GPIO_PUSH_PULL);
25 creset-delay-us:
[all …]
/Zephyr-latest/tests/drivers/build_all/sensor/
Dspi.dtsi4 * SPDX-License-Identifier: Apache-2.0
16 spi-max-frequency = <0>;
17 int1-gpios = <&test_gpio 0 0>;
23 spi-max-frequency = <0>;
24 int1-gpios = <&test_gpio 0 0>;
30 spi-max-frequency = <0>;
36 spi-max-frequency = <0>;
37 int-gpios = <&test_gpio 0 0>;
43 spi-max-frequency = <0>;
49 spi-max-frequency = <0>;
[all …]
Di2c.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/lsm6dsv16x.h>
10 #include <zephyr/dt-bindings/sensor/lsm6dso.h>
11 #include <zephyr/dt-bindings/sensor/lsm6dso16is.h>
12 #include <zephyr/dt-bindings/sensor/lps22hh.h>
13 #include <zephyr/dt-bindings/sensor/lps2xdf.h>
14 #include <zephyr/dt-bindings/sensor/lis2ds12.h>
15 #include <zephyr/dt-bindings/sensor/lis2dw12.h>
16 #include <zephyr/dt-bindings/sensor/ism330dhcx.h>
17 #include <zephyr/dt-bindings/sensor/iis2dlpc.h>
[all …]
/Zephyr-latest/dts/bindings/input/
Dgpio-qdec.yaml2 # SPDX-License-Identifier: Apache-2.0
8 encoder connected to two GPIOs. The driver is normally idling until it sees a
15 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 compatible = "gpio-qdec";
19 gpios = <&gpio0 14 (GPIO_PULL_UP | GPIO_ACTIVE_HIGH)>,
21 steps-per-period = <4>;
23 sample-time-us = <2000>;
24 idle-timeout-ms = <200>;
27 compatible: "gpio-qdec"
32 gpios:
[all …]
/Zephyr-latest/tests/drivers/build_all/ethernet/
Dapp.overlay3 * SPDX-License-Identifier: Apache-2.0
8 #address-cells = <1>;
9 #size-cells = <1>;
13 gpio-controller;
15 #gpio-cells = <0x2>;
23 compatible = "zephyr,mdio-gpio";
24 mdc-gpios = <&test_gpio 0 0>;
25 mdio-gpios = <&test_gpio 0 0>;
27 #address-cells = <1>;
28 #size-cells = <0>;
[all …]
Dspi_devices.overlay4 * SPDX-License-Identifier: Apache-2.0
9 * with real-world devicetree nodes, to allow these tests to run on
15 #address-cells = <1>;
16 #size-cells = <1>;
20 gpio-controller;
22 #gpio-cells = <0x2>;
27 #address-cells = <1>;
28 #size-cells = <0>;
32 clock-frequency = <2000000>;
35 cs-gpios = <&test_gpio 0 0>,
[all …]
/Zephyr-latest/dts/bindings/can/
Dti,tcan4x5x.yaml2 # SPDX-License-Identifier: Apache-2.0
12 spi-max-frequency = <18000000>;
13 clock-frequency = <40000000>;
14 device-state-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
15 device-wake-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
16 reset-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
17 int-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
18 bosch,mram-cfg = <0x0 15 15 5 5 0 10 10>;
21 can-transceiver {
22 max-bitrate = <8000000>;
[all …]
/Zephyr-latest/dts/bindings/net/wireless/
Dnordic,nrf21540-fem.yaml2 # SPDX-License-Identifier: Apache-2.0
6 This is a representation of the nRF21540 Radio Front-End module.
8 See the "nordic,nrf21540-fem-spi" binding to configure the SPI
11 the FEM and SPI configurations using the spi-if property.
17 compatible = "nordic,nrf-spim";
19 cs-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
22 my_spi_if: nrf21540-spi@0 {
23 compatible = "nordic,nrf21540-fem-spi";
25 spi-max-frequency = <8000000>;
30 compatible = "nordic,nrf21540-fem";
[all …]
/Zephyr-latest/samples/shields/npm1300_ek/
Dnrf52dk_nrf52832.overlay3 * SPDX-License-Identifier: Apache-2.0
7 bias-pull-up;
12 dvs-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>,
17 regulator-init-microvolt = <2000000>;
21 regulator-init-microvolt = <3300000>;
22 retention-microvolt = <2500000>;
23 enable-gpios = <&npm1300_ek_gpio 1 GPIO_ACTIVE_LOW>;
24 retention-gpios = <&npm1300_ek_gpio 2 GPIO_ACTIVE_HIGH>;
25 pwm-gpios = <&npm1300_ek_gpio 2 GPIO_ACTIVE_LOW>;
29 regulator-initial-mode = <NPM1300_LDSW_MODE_LDO>;
[all …]
/Zephyr-latest/dts/bindings/mfd/
Dinfineon,tle9104.yaml4 # SPDX-License-Identifier: Apache-2.0
7 description: Infineon TLE9104 4-channel powertrain switch
11 include: spi-device.yaml
16 en-gpios:
17 type: phandle-array
20 resn-gpios:
21 type: phandle-array
24 in1-gpios:
25 type: phandle-array
28 in2-gpios:
[all …]
/Zephyr-latest/dts/bindings/auxdisplay/
Dhit,hd44780.yaml4 # SPDX-License-Identifier: Apache-2.0
11 include: [auxdisplay-device.yaml]
15 type: int
17 description: Operating mode of display, 8-bit or 4 for 4-bit mode
19 - 4
20 - 8
22 register-select-gpios:
23 type: phandle-array
27 read-write-gpios:
28 type: phandle-array
[all …]
/Zephyr-latest/dts/bindings/mipi-dbi/
Dnxp,mipi-dbi-flexio-lcdif.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,mipi-dbi-flexio-lcdif"
8 include: [mipi-dbi-controller.yaml, base.yaml, pinctrl-device.yaml]
11 shifters-count:
12 type: int
17 timers-count:
18 type: int
23 enwr-pin:
24 type: int
29 rd-pin:
[all …]
/Zephyr-latest/drivers/regulator/
Dregulator_gpio.c3 * SPDX-License-Identifier: Apache-2.0
19 const struct gpio_dt_spec *gpios; member
33 static int regulator_gpio_apply_state(const struct device *dev, uint32_t state) in regulator_gpio_apply_state()
35 const struct regulator_gpio_config *cfg = dev->config; in regulator_gpio_apply_state()
37 for (unsigned int gpio_idx = 0; gpio_idx < cfg->num_gpios; gpio_idx++) { in regulator_gpio_apply_state()
38 int ret; in regulator_gpio_apply_state()
39 int new_state_of_gpio = (state >> gpio_idx) & 0x1; in regulator_gpio_apply_state()
41 ret = gpio_pin_get_dt(&cfg->gpios[gpio_idx]); in regulator_gpio_apply_state()
43 LOG_ERR("%s: can't get pin state", dev->name); in regulator_gpio_apply_state()
48 ret = gpio_pin_set_dt(&cfg->gpios[gpio_idx], new_state_of_gpio); in regulator_gpio_apply_state()
[all …]
/Zephyr-latest/tests/drivers/build_all/ieee802154/boards/
Dnative_sim.overlay5 * SPDX-License-Identifier: Apache-2.0
10 #address-cells = <1>;
11 #size-cells = <1>;
15 gpio-controller;
17 #gpio-cells = <0x2>;
22 #address-cells = <1>;
23 #size-cells = <0>;
27 clock-frequency = <2000000>;
30 cs-gpios = <&test_gpio 0 0>,
38 spi-max-frequency = <0>;
[all …]
/Zephyr-latest/samples/bluetooth/mesh/src/
Dboard.c1 /* board.c - Generic HW interaction hooks */
6 * SPDX-License-Identifier: Apache-2.0
36 #define LED0_DEV DT_PHANDLE(LED0, gpios)
37 #define LED0_PIN DT_PHA(LED0, gpios, pin)
38 #define LED0_FLAGS DT_PHA(LED0, gpios, flags)
44 #define BUTTON0_DEV DT_PHANDLE(BUTTON0, gpios)
45 #define BUTTON0_PIN DT_PHA(BUTTON0, gpios, pin)
46 #define BUTTON0_FLAGS DT_PHA(BUTTON0, gpios, flags)
58 static int led_init(void) in led_init()
61 int err; in led_init()
[all …]
/Zephyr-latest/tests/drivers/build_all/gpio/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 * with real-world devicetree nodes, to allow these tests to run on
15 #address-cells = <1>;
16 #size-cells = <1>;
20 gpio-controller;
22 #gpio-cells = <0x2>;
27 compatible = "snps,designware-gpio";
28 gpio-controller;
30 #gpio-cells = <0x2>;
35 #address-cells = <1>;
[all …]
/Zephyr-latest/drivers/sensor/grow_r502a/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
17 int "Template data packet size"
42 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_HZGROW_R502A),int-gpios)
52 int "Thread priority"
59 int "Thread stack size"
68 Enable control of vin-gpios and act-gpios.
/Zephyr-latest/drivers/sensor/ti/tmag5170/
DKconfig1 # Texas Instruments TMAG5170 high-precision, linear 3D Hall-effect sensor with SPI bus interface
4 # SPDX-License-Identifier: Apache-2.0
7 bool "TMAG5170 SPI Hall-effect sensor driver"
12 Enable driver for TMAG5170 Hall-effect sensor driver
27 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_TI_TMAG5170),int-gpios)
33 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_TI_TMAG5170),int-gpios)
39 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_TI_TMAG5170),int-gpios)
57 int "Thread priority"
64 int "Thread stack size"
/Zephyr-latest/dts/bindings/lora/
Dsemtech,sx126x-base.yaml3 # SPDX-License-Identifier: Apache-2.0
5 include: spi-device.yaml
8 reset-gpios:
9 type: phandle-array
13 This signal is open-drain, active-low as interpreted by the
16 busy-gpios:
17 type: phandle-array
21 antenna-enable-gpios:
22 type: phandle-array
26 tx-enable-gpios:
[all …]
/Zephyr-latest/dts/bindings/gpio/
Dxlnx,xps-gpio-1.00.a.yaml3 compatible: "xlnx,xps-gpio-1.00.a"
5 include: [gpio-controller.yaml, base.yaml]
7 bus: xlnx,xps-gpio-1.00.a
10 # https://github.com/Xilinx/device-tree-xlnx
16 xlnx,all-inputs:
17 type: int
19 1 if all GPIOs are inputs, 0 otherwise
21 xlnx,all-outputs:
22 type: int
24 1 if all GPIOs are outputs, 0 otherwise
[all …]
/Zephyr-latest/dts/bindings/i2c/
Dite,common-i2c.yaml2 # SPDX-License-Identifier: Apache-2.0
6 include: [i2c-controller.yaml, pinctrl-device.yaml]
15 port-num:
16 type: int
19 - 0
20 - 1
21 - 2
22 - 3
23 - 4
24 - 5
[all …]
/Zephyr-latest/drivers/sensor/tdk/icm42670/
DKconfig1 # ICM42670-P ICM42670-S Six-Axis Motion Tracking device configuration options
7 # SPDX-License-Identifier: Apache-2.0
12 bool "ICM42670-P/-S Six-Axis Motion Tracking Device"
30 Enable driver for ICM42670 SPI-based or I2C-based Six-Axis Motion Tracking device.
46 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_INVENSENSE_ICM42670P),int-gpios) \
47 || $(dt_compat_any_has_prop,$(DT_COMPAT_INVENSENSE_ICM42670S),int-gpios)
53 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_INVENSENSE_ICM42670P),int-gpios) \
54 || $(dt_compat_any_has_prop,$(DT_COMPAT_INVENSENSE_ICM42670S),int-gpios)
63 int "Thread priority"
70 int "Thread stack size"
/Zephyr-latest/drivers/sensor/bosch/bmp388/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
29 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_BOSCH_BMP388),int-gpios)
35 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_BOSCH_BMP388),int-gpios)
41 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_BOSCH_BMP388),int-gpios)
49 int "Own thread priority"
56 int "Own thread stack size"
/Zephyr-latest/tests/drivers/build_all/input/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
17 #io-channel-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
32 gpio-controller;
34 #gpio-cells = <0x2>;
[all …]

12345678910>>...24