Home
last modified time | relevance | path

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

/linux-6.12.1/Documentation/devicetree/bindings/iio/proximity/
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-6.12.1/Documentation/devicetree/bindings/mfd/
Drohm,bd9576-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
14 powering the R-Car series processors.
16 monitoring. A watchdog logic with slow ping/windowed modes is also included.
21 - rohm,bd9576
22 - rohm,bd9573
32 rohm,vout1-en-low:
[all …]
/linux-6.12.1/drivers/iio/proximity/
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 …]
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-6.12.1/arch/arm/boot/dts/nxp/imx/
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-6.12.1/Documentation/driver-api/gpio/
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-6.12.1/drivers/watchdog/
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 …]
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-6.12.1/drivers/media/pci/cx88/
Dcx88-blackbird.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * (c) 2005-2006 Mauro Carvalho Chehab <mchehab@kernel.org>
10 * - video_ioctl2 conversion
24 #include <media/v4l2-common.h>
25 #include <media/v4l2-ioctl.h>
26 #include <media/v4l2-event.h>
27 #include <media/drv-intf/cx2341x.h>
44 /* ------------------------------------------------------------------ */
48 /* defines below are from ivtv-driver.h */
142 BLACKBIRD_NOTIFICATION_NO_MAILBOX = -1,
[all …]
/linux-6.12.1/drivers/media/pci/cx23885/
Dcx23885-417.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * - CX23885/7/8 support
15 #include "cx23885-ioctl.h"
25 #include <media/v4l2-common.h>
26 #include <media/v4l2-ioctl.h>
27 #include <media/drv-intf/cx2341x.h>
30 #define CX23885_FIRM_IMAGE_NAME "v4l-cx23885-enc.fw"
34 MODULE_PARM_DESC(mpegbufs, "number of mpeg buffers, range 2-32");
37 MODULE_PARM_DESC(mpeglines, "number of lines in an MPEG buffer, range 2-32");
41 "number of bytes in each line of an MPEG buffer, range 512-1024");
[all …]
/linux-6.12.1/drivers/media/usb/cx231xx/
Dcx231xx-417.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * - CX23885/7/8 support
25 #include <media/v4l2-common.h>
26 #include <media/v4l2-ioctl.h>
27 #include <media/v4l2-event.h>
28 #include <media/drv-intf/cx2341x.h>
32 #define CX231xx_FIRM_IMAGE_NAME "v4l-cx23885-enc.fw"
65 MODULE_PARM_DESC(mpeglines, "number of lines in an MPEG buffer, range 2-32");
70 "number of bytes in each line of an MPEG buffer, range 512-1024");
84 .name = "NTSC-M",
[all …]
/linux-6.12.1/drivers/usb/gadget/udc/
Dat91_udc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * at91_udc -- driver for at91-series USB peripheral controller
32 #include <linux/mfd/syscon/atmel-matrix.h>
38 * This controller is simple and PIO-only. It's used in many AT91-series
40 * at91sam926x (arm926ejs, with MMU), and several no-mmu versions.
42 * This driver expects the board has been wired with two GPIOs supporting
75 EP_INFO("ep3-int",
90 __raw_readl((udc)->udp_baseaddr + (reg))
92 __raw_writel((val), (udc)->udp_baseaddr + (reg))
94 /*-------------------------------------------------------------------------*/
[all …]
/linux-6.12.1/sound/pci/
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 …]