Home
last modified time | relevance | path

Searched +full:ping +full:- +full:gpios (Results 1 – 8 of 8) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/proximity/
H A Dparallax-ping.yaml1 # SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/proximity/parallax-ping.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Parallax PING))) and LaserPING range finder
10 - Andreas Klinger <ak@it-klinger.de>
13 Bit-banging driver using one GPIO:
14 - ping-gpios is raised by the driver to start measurement
15 - direction of ping-gpio is then switched into input with an interrupt
19 http://parallax.com/sites/default/files/downloads/28041-LaserPING-2m-Rangefinder-Guide.pdf
[all …]
/linux/drivers/iio/proximity/
H A Dping.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * PING: ultrasonic sensor for distance measuring by using only one GPIOs
5 * Copyright (c) 2019 Andreas Klinger <ak@it-klinger.de>
8 * http://parallax.com/sites/default/files/downloads/28041-LaserPING-2m-Rangefinder-Guide.pdf
9 * http://parallax.com/sites/default/files/downloads/28015-PING-Documentation-v1.6.pdf
14 * ping: __/ \____________/ \________________
16 * |<->| interrupt interrupt
18 * |<---------------------->|
20 * . --> one round trip of ultra sonic waves
46 /* ping sensors */
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
50 tristate "Murata IRS-D200 PIR sensor"
56 Say Y here to build a driver for the Murata IRS-D200 PIR sensor.
84 module will be called pulsedlight-lite-v2
100 config PING config
109 - Parallax PING))) (ultrasonic)
110 - Parallax LaserPING (time-of-flight)
113 module will be called ping.
119 Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
131 of objects. It is using two GPIOs.
[all …]
/linux/Documentation/driver-api/gpio/
H A Ddrivers-on-gpio.rst6 the right in-kernel and userspace APIs/ABIs for the job, and that these
10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO
13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger,
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with
25 up to three buttons by simply using GPIOs and no mouse port. You can cut the
29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from
31 off/on, for an actual PWM waveform, see pwm-gpio below.)
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-tqma6a.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright 2013-2017 Markus Niebel <Markus.Niebel@tq-group.com>
7 #include <dt-bindings/gpio/gpio.h>
10 /delete-property/ interrupts;
11 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
13 fsl,err006687-workaround-present;
17 pinctrl-names = "default", "gpio";
18 pinctrl-0 = <&pinctrl_i2c1>;
19 pinctrl-1 = <&pinctrl_i2c1_recovery>;
20 scl-gpios = <&gpio5 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
[all …]
/linux/drivers/watchdog/
H A Dmax63xx_wdt.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * the case for the Arcom Zeus). Should it be connected over GPIOs or
36 * to ping the watchdog.
54 void (*ping)(struct max63xx_wdt *wdt); member
103 while (table->twd) { in max63xx_select_timeout()
104 if (value <= table->twd) { in max63xx_select_timeout()
105 if (nodelay && table->tdelay == 0) in max63xx_select_timeout()
122 wdt->ping(wdt); in max63xx_wdt_ping()
130 wdt->set(wdt, wdt->timeout->wdset); in max63xx_wdt_start()
133 if (wdt->timeout->tdelay == 0) in max63xx_wdt_start()
[all …]
H A Dmena21_wdt.c1 // SPDX-License-Identifier: GPL-2.0+
34 struct gpio_desc *gpios[NUM_GPIOS]; member
46 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus()
47 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus()
48 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus()
57 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 1); in a21_wdt_start()
66 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_stop()
75 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 0); in a21_wdt_ping()
77 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 1); in a21_wdt_ping()
88 dev_err(wdt->parent, "Only 1 and 30 allowed as timeout\n"); in a21_wdt_set_timeout()
[all …]
/linux/sound/pci/
H A Des1968.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Rewritted from card-es1938.c source.
27 * encoding. The codecs are almost always AC-97 compliant codecs,
88 #include <linux/dma-mapping.h>
102 #include <media/drv-intf/tea575x.h>
115 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MAX */
118 static int total_bufsize[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1024 };
119 static int pcm_substreams_p[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4 };
120 static int pcm_substreams_c[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1 };
122 static int use_pm[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
[all …]