Home
last modified time | relevance | path

Searched +full:w1 +full:- +full:gpio (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-latest/dts/bindings/w1/
Dzephyr,w1-gpio.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Zephyr W1 GPIO node
7 This defines a one-wire driver through GPIO bit-banging.
12 w1: w1 {
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"
[all …]
/Zephyr-latest/tests/drivers/build_all/w1/
Dtestcase.yaml2 # SPDX-License-Identifier: Apache-2.0
5 drivers.w1.build:
8 - drivers
9 - w1
11 - gpio
13 - native_sim
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>;
18 test_gpio: gpio@deadbeef {
19 compatible = "vnd,gpio";
20 gpio-controller;
22 #gpio-cells = <0x2>;
27 compatible = "zephyr,w1-gpio";
36 #address-cells = <1>;
[all …]
/Zephyr-latest/dts/arm/adi/max32/
Dmax32655.dtsi2 * Copyright (c) 2023-2024 Analog Devices, Inc.
4 * SPDX-License-Identifier: Apache-2.0
7 #include <arm/armv7-m.dtsi>
13 gpio2: gpio@40080400 {
15 compatible = "adi,max32-gpio";
16 gpio-controller;
17 #gpio-cells = <2>;
23 gpio3: gpio@40080600 {
25 compatible = "adi,max32-gpio";
26 gpio-controller;
[all …]
Dmax32680.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <arm/armv7-m.dtsi>
9 #include <zephyr/dt-bindings/dma/max32680_dma.h>
14 gpio2: gpio@40080400 {
16 compatible = "adi,max32-gpio";
17 gpio-controller;
18 #gpio-cells = <2>;
24 gpio3: gpio@40080600 {
26 compatible = "adi,max32-gpio";
27 gpio-controller;
[all …]
Dmax78002.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <arm/armv7-m.dtsi>
9 #include <zephyr/dt-bindings/dma/max78002_dma.h>
12 clock-frequency = <DT_FREQ_M(120)>;
16 clock-frequency = <DT_FREQ_K(30)>;
19 /delete-node/ &clk_erfo;
25 compatible = "fixed-clock";
26 #clock-cells = <0>;
27 clock-frequency = <DT_FREQ_M(100)>;
32 compatible = "fixed-clock";
[all …]
Dmax32690.dtsi2 * Copyright (c) 2023-2024 Analog Devices, Inc.
4 * SPDX-License-Identifier: Apache-2.0
7 #include <arm/armv7-m.dtsi>
9 #include <zephyr/dt-bindings/dma/max32690_dma.h>
12 clock-frequency = <DT_FREQ_M(120)>;
21 erase-block-size = <16384>;
27 gpio2: gpio@4000a000 {
29 compatible = "adi,max32-gpio";
30 gpio-controller;
31 #gpio-cells = <2>;
[all …]
/Zephyr-latest/drivers/w1/
Dw1_zephyr_gpio.c4 * SPDX-License-Identifier: Apache-2.0
10 * @brief 1-Wire Bus Master driver using Zephyr GPIO interface.
12 * This file contains the implementation of the 1-Wire Bus Master driver using
13 * the Zephyr GPIO interface. The driver is based on GPIO bit-banging and
14 * follows the timing specifications for 1-Wire communication.
21 * - w1_zephyr_serial.c: drivers/w1/w1_zephyr_serial.c
22 * - Analog Devices 1-Wire Communication Through Software:
23 * https://www.analog.com/en/resources/technical-articles/1wire-communication-through-software.html
26 #include <zephyr/drivers/gpio.h>
27 #include <zephyr/drivers/w1.h>
[all …]
Dw1_ds2484.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/gpio.h>
12 #include <zephyr/drivers/w1.h>
35 const struct ds2484_config *config = dev->config; in ds2484_reset_bus()
37 return ds2482_84_reset_bus(&config->i2c_spec); in ds2484_reset_bus()
42 const struct ds2484_config *config = dev->config; in ds2484_read_bit()
44 return ds2482_84_read_bit(&config->i2c_spec); in ds2484_read_bit()
49 const struct ds2484_config *config = dev->config; in ds2484_write_bit()
51 return ds2482_84_write_bit(&config->i2c_spec, bit); in ds2484_write_bit()
56 const struct ds2484_config *config = dev->config; in ds2484_read_byte()
[all …]
/Zephyr-latest/boards/adi/max32680evkit/
Dmax32680evkit_max32680_m4.yaml7 - zephyr
8 - gnuarmemb
9 - xtools
11 - gpio
12 - serial
13 - trng
14 - i2c
15 - dma
16 - watchdog
17 - spi
[all …]
Dmax32680evkit_max32680_m4.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <adi/max32/max32680-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
21 zephyr,shell-uart = &uart1;
28 compatible = "gpio-leds";
40 compatible = "gpio-keys";
63 compatible = "zephyr,mipi-dbi-spi";
[all …]
/Zephyr-latest/boards/adi/apard32690/
Dapard32690_max32690_m4.yaml7 - zephyr
8 - gnuarmemb
9 - xtools
11 - arduino_gpio
12 - arduino_serial
13 - arduino_spi
14 - pmod_spi
15 - gpio
16 - serial
17 - spi
[all …]
/Zephyr-latest/boards/adi/max32666fthr/
Dmax32666fthr_max32666_cpu0.yaml7 - zephyr
8 - gnuarmemb
9 - xtools
11 - dma
12 - i2c
13 - gpio
14 - serial
15 - trng
16 - watchdog
17 - spi
[all …]
Dmax32666fthr_max32666_cpu0.dts2 * Copyright (c) 2023-2024 Analog Devices, Inc.
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <adi/max32/max32666-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 #include <zephyr/dt-bindings/dma/max32666_dma.h>
21 zephyr,shell-uart = &uart1;
27 compatible = "gpio-leds";
43 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/adi/max32655evkit/
Dmax32655evkit_max32655_m4.yaml7 - zephyr
8 - gnuarmemb
9 - xtools
11 - gpio
12 - serial
13 - trng
14 - i2c
15 - dma
16 - watchdog
17 - spi
[all …]
Dmax32655evkit_max32655_m4.dts2 * Copyright (c) 2023-2024 Analog Devices, Inc.
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <adi/max32/max32655-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 #include <zephyr/dt-bindings/dma/max32655_dma.h>
21 zephyr,shell-uart = &uart0;
27 compatible = "gpio-leds";
39 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/adi/max32690evkit/
Dmax32690evkit_max32690_m4.yaml7 - zephyr
8 - gnuarmemb
9 - xtools
11 - gpio
12 - serial
13 - spi
14 - i2c
15 - trng
16 - dma
17 - watchdog
[all …]
Dmax32690evkit_max32690_m4.dts2 * Copyright (c) 2023-2024 Analog Devices, Inc.
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <adi/max32/max32690-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
21 zephyr,shell-uart = &uart2;
28 compatible = "gpio-leds";
40 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/adi/max32666evkit/
Dmax32666evkit_max32666_cpu0.yaml7 - zephyr
8 - gnuarmemb
9 - xtools
11 - dma
12 - i2c
13 - gpio
14 - serial
15 - trng
16 - watchdog
17 - adc
[all …]
Dmax32666evkit_max32666_cpu0.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <adi/max32/max32666-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 #include <zephyr/dt-bindings/dma/max32666_dma.h>
21 zephyr,shell-uart = &uart1;
27 compatible = "gpio-leds";
39 compatible = "gpio-keys";
65 pinctrl-0 = <&uart1_tx_p0_21 &uart1_rx_p0_20>;
[all …]
/Zephyr-latest/boards/adi/max78002evkit/
Dmax78002evkit_max78002_m4.yaml7 - zephyr
8 - gnuarmemb
9 - xtools
11 - gpio
12 - serial
13 - trng
14 - i2c
15 - dma
16 - watchdog
17 - spi
[all …]
Dmax78002evkit_max78002_m4.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <adi/max32/max78002-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
20 zephyr,shell-uart = &uart0;
26 compatible = "gpio-leds";
38 compatible = "gpio-keys";
68 pinctrl-0 = <&uart0a_tx_p0_1 &uart0a_rx_p0_0>;
69 pinctrl-names = "default";
[all …]
/Zephyr-latest/tests/drivers/build_all/sensor/
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>;
21 #io-channel-cells = <1>;
22 #address-cells = <1>;
23 #size-cells = <0>;
30 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
31 zephyr,input-positive = <0>;
39 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
[all …]
/Zephyr-latest/drivers/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
3 # FIXME: SHADOW_VARS: Remove this once we have enabled -Wshadow globally.
6 add_definitions(-D__ZEPHYR_SUPERVISOR__)
8 # zephyr-keep-sorted-start
46 add_subdirectory_ifdef(CONFIG_GPIO gpio)
93 add_subdirectory_ifdef(CONFIG_W1 w1)
97 # zephyr-keep-sorted-stop
DKconfig4 # SPDX-License-Identifier: Apache-2.0
8 # zephyr-keep-sorted-start
39 source "drivers/gpio/Kconfig"
92 source "drivers/w1/Kconfig"
96 # zephyr-keep-sorted-stop

12