Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/proximity/
H A Ddevantech-srf04.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/proximity/devantech-srf04.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Klinger <ak@it-klinger.de>
13 Bit-banging driver using two GPIOs:
14 - trigger-gpio is raised by the driver to start sending out an ultrasonic
16 - echo-gpio is held high by the sensor after sending ultrasonic burst
20 https://www.robot-electronics.co.uk/htm/srf04tech.htm
22 https://www.maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf
[all …]
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#
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
20 http://parallax.com/sites/default/files/downloads/28015-PING-Documentation-v1.6.pdf
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pps/
H A Dpps-gpio.txt1 Device-Tree Bindings for a PPS Signal on GPIO
3 These properties describe a PPS (pulse-per-second) signal connected to
7 - compatible: should be "pps-gpio"
8 - gpios: one PPS GPIO in the format described by ../gpio/gpio.txt
10 Additional required properties for the PPS ECHO functionality:
11 - echo-gpios: one PPS ECHO GPIO in the format described by ../gpio/gpio.txt
12 - echo-active-ms: duration in ms of the active portion of the echo pulse
15 - assert-falling-edge: when present, assert is indicated by a falling edge
20 pinctrl-names = "default";
21 pinctrl-0 = <&pinctrl_pps>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/gpio/
H A Dgpio-aggregator.rst1 .. SPDX-License-Identifier: GPL-2.0-only
6 The GPIO Aggregator provides a mechanism to aggregate GPIOs, and expose them as
10 Aggregating GPIOs using Sysfs
11 -----------------------------
15 system permissions, on an all-or-nothing basis: either a GPIO controller is
18 The GPIO Aggregator provides access control for a set of one or more GPIOs, by
21 simplifies and hardens exporting GPIOs to a virtual machine, as the VM can just
22 grab the full GPIO controller, and no longer needs to care about which GPIOs to
26 write-only attribute files in sysfs.
28 /sys/bus/platform/drivers/gpio-aggregator/
[all …]
H A Dsysfs.rst7 Documentation/ABI/obsolete/sysfs-gpio AND NEW USERSPACE CONSUMERS
16 ------------------------
18 configure a sysfs user interface to GPIOs. This is different from the
27 then changing its output state, then updating the code before re-enabling
37 PLEASE READ THE DOCUMENT AT Documentation/driver-api/gpio/drivers-on-gpio.rst
41 --------------
44 - Control interfaces used to get userspace control over GPIOs;
46 - GPIOs themselves; and
48 - GPIO controllers ("gpio_chip" instances).
52 The control interfaces are write-only:
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/proximity/
H A Dsrf04.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * SRF04: ultrasonic sensor for distance measuring by using GPIOs
5 * Copyright (c) 2017 Andreas Klinger <ak@it-klinger.de>
8 * https://www.robot-electronics.co.uk/htm/srf04tech.htm
12 * +---+
14 * trig: --+ +------------------------------------------------------
16 * |<->|
19 * ultra +-+ +-+ +-+
21 * burst: ---------+ +-+ +-+ +-----------------------------------------
23 * ultra . +-+ +-+ +-+
[all …]
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
16 * |<->| interrupt interrupt
18 * |<---------------------->|
20 * . --> one round trip of ultra sonic waves
27 * echo: __________________________________/ \_/ \_/ \________________
81 if (gpiod_get_value(data->gpiod_ping)) { in ping_handle_irq()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 module will be called pulsedlight-lite-v2
66 with just one GPIO for the trigger and echo. This driver can be
70 - Parallax PING))) (ultrasonic)
71 - Parallax LaserPING (time-of-flight)
80 Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
92 of objects. It is using two GPIOs.
94 - Devantech SRF04
95 - Maxbotix mb1000
96 - Maxbotix mb1010
[all …]
/OK3568_Linux_fs/kernel/Documentation/misc-devices/
H A Dc2port.rst1 .. SPDX-License-Identifier: GPL-2.0
23 --------
26 C2 Interface used for in-system programming of micro controllers.
28 By using this driver you can reprogram the in-system flash without EC2
30 where the micro controller is connected via special GPIOs pins.
33 ----------
38 - AN127: FLASH Programming via the C2 Interface at
41 - C2 Specification at
45 banging) designed to enable in-system programming, debugging, and
46 boundary-scan testing on low pin-count Silicon Labs devices. Currently
[all …]
/OK3568_Linux_fs/kernel/drivers/pps/clients/
H A Dpps-gpio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pps-gpio.c -- PPS client driver using GPIO
9 #define PPS_GPIO_NAME "pps-gpio"
19 #include <linux/pps-gpio.h>
34 struct timer_list echo_timer; /* timer to reset echo active state */
37 unsigned int echo_active_ms; /* PPS echo active duration */
56 rising_edge = gpiod_get_value(info->gpio_pin); in pps_gpio_irq_handler()
57 if ((rising_edge && !info->assert_falling_edge) || in pps_gpio_irq_handler()
58 (!rising_edge && info->assert_falling_edge)) in pps_gpio_irq_handler()
59 pps_event(info->pps, &ts, PPS_CAPTUREASSERT, data); in pps_gpio_irq_handler()
[all …]
/OK3568_Linux_fs/buildroot/board/beagleboneai/patches/uboot/
H A D0001-BeagleBone-AI-support.patch3 Date: Wed, 27 Mar 2019 14:06:24 -0400
7 https://github.com/beagleboard/beaglebone-ai/blob/master/SW/buildroot/local/patches/uboot/0001-Beag…
9 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 ---
12 arch/arm/dts/am5729-beagleboneai.dts | 494 +++++++++++++++++++++++++++
13 arch/arm/mach-omap2/omap5/hw_data.c | 3 +-
14 board/ti/am57xx/board.c | 134 +++++++-
16 configs/am57xx_evm_defconfig | 10 +-
17 include/configs/am57xx_evm.h | 2 +-
20 include/environment/ti/boot.h | 49 +--
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/gpio/
H A Dlegacy.rst13 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled
18 which GPIOs. Drivers can be written generically, so that board setup code
21 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every
22 non-dedicated pin can be configured as a GPIO; and most chips have at least
24 provide GPIOs; multifunction chips like power managers, and audio codecs
27 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS
30 The exact capabilities of GPIOs vary between systems. Common options:
32 - Output values are writable (high=1, low=0). Some chips also have
34 value might be driven ... supporting "wire-OR" and similar schemes
37 - Input values are likewise readable (1, 0). Some chips support readback
[all …]
/OK3568_Linux_fs/u-boot/include/configs/
H A Dcm_t54.h2 * Config file for Compulab CM-T54 board
4 * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/
8 * SPDX-License-Identifier: GPL-2.0+
24 /* Enable SD/MMC CD and WP GPIOs */
89 "fdtfile=omap5-sbc-t54.dtb\0" \
90 "kernel=zImage-cm-t54\0" \
91 "ramdisk=ramdisk-cm-t54.img\0" \
105 "mmcbootscript=echo Running bootscript from mmc${mmcdev}...; " \
107 "mmcbootlinux=echo Booting from mmc${mmcdev} ...; " \
120 "setenv rdaddr - ; " \
H A Domap3_igep00x0.h7 * SPDX-License-Identifier: GPL-2.0+
39 /* Board and revision detection GPIOs */
85 "setenv fdtfile omap3-igep0020-rev-f.dtb; " \
87 "setenv fdtfile omap3-igep0020.dtb; fi; fi; " \
90 "setenv fdtfile omap3-igep0030-rev-g.dtb; " \
92 "setenv fdtfile omap3-igep0030.dtb; fi; fi; " \
94 "echo WARNING: Could not determine device tree to use; fi; \0"
H A DMPC8349EMDS.h2 * (C) Copyright 2006-2010
5 * SPDX-License-Identifier: GPL-2.0+
73 * 32-bit data path mode.
75 * Please note that using this mode for devices with the real density of 64-bit
79 * 128MB); normally this define should be used for devices with real 32-bit
92 * DDRCDR - DDR Control Driver Register
125 #define CONFIG_SYS_DDR_TIMING_2 0x00000800 /* P9-45,may need tuning */
130 /* set burst length to 8 for 32-bit data path */
134 /* the default burst length is 4 - for 64-bit data path */
191 * BCSR register on local bus 32KB, 8-bit wide for MDS config reg
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Domap3-echo.dts1 // SPDX-License-Identifier: GPL-2.0-only
5 /dts-v1/;
9 #include <dt-bindings/input/input.h>
12 model = "Amazon Echo (first generation)";
13 compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3";
17 cpu0-supply = <&vdd1_reg>;
27 compatible = "regulator-fixed";
28 regulator-name = "vcc5v";
29 regulator-min-microvolt = <5000000>;
30 regulator-max-microvolt = <5000000>;
[all …]
H A Drk3229-echo-v10.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
46 #include "rk3229-cpu-opp.dtsi"
47 #include "rk322x-android.dtsi"
50 model = "RK3229 Echo Board V1.0";
51 compatible = "rockchip,rk3229-echo", "rockchip,rk3229";
58 reserved-memory {
59 #address-cells = <1>;
60 #size-cells = <1>;
65 no-map;
[all …]
H A Drk3036-echo.dts2 * This file is dual-licensed: you can use it either under the terms
41 /dts-v1/;
46 model = "Rockchip RK3036 Echo";
47 compatible = "rockchip,rk3036-echo", "rockchip,rk3036";
49 fiq-debugger {
50 compatible = "rockchip,fiq-debugger";
52 rockchip,serial-id = <2>;
53 rockchip,wake-irq = <0>;
55 rockchip,irq-mode-enable = <0>;
58 pinctrl-names = "default";
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
35 bool "ePAPR para-virtualization support"
37 Enables ePAPR para-virtualization support for guests.
46 a hypervisor. This option is not user-selectable but should
62 bool "Device-tree based CPU feature discovery & setup"
107 e.g. "echo 5 > /sys/devices/system/mpic/timer_wakeup"
121 registers are used for inter-processor communication.
203 bool "On-chip CPU temperature sensor support"
206 G3 and G4 processors have an on-chip temperature sensor called the
207 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/
H A Dpps.rst1 .. SPDX-License-Identifier: GPL-2.0
4 PPS - Pulse Per Second
22 --------
32 Carrier Detect pin) or to a parallel port (ACK-pin) or to a special
33 CPU's GPIOs (this is the common case in embedded systems) but in each
38 GPS receiver as PPS source, to obtain a wallclock-time with
39 sub-millisecond synchronisation to UTC.
43 ------------------
46 CPU GPIO-Pin as physical link to the signal, I encountered a deeper
56 purpose GPIO line. In this case even basic file-related functionality
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/
H A Dpir-aschip.c1 // SPDX-License-Identifier: GPL-2.0-only
24 dev_err(drv_data->dev, "sensibilit should be [4, 100]\n"); in pir_aschip_set_sensibility()
25 return -EINVAL; in pir_aschip_set_sensibility()
28 gpiod_set_value(drv_data->pulse_gpio, 1); in pir_aschip_set_sensibility()
30 gpiod_set_value(drv_data->pulse_gpio, 0); in pir_aschip_set_sensibility()
32 gpiod_set_value(drv_data->pulse_gpio, 1); in pir_aschip_set_sensibility()
34 gpiod_set_value(drv_data->pulse_gpio, 0); in pir_aschip_set_sensibility()
36 gpiod_set_value(drv_data->pulse_gpio, 1); in pir_aschip_set_sensibility()
45 seq_puts(s, " echo [nr] > /proc/pir/sensibility\n"); in pir_aschip_sensibility_show()
59 struct aschip_pir_drv_data *drv_data = ((struct seq_file *)filp->private_data)->private; in pir_aschip_sensibility_write()
[all …]
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Dltc4245.rst10 Addresses scanned: 0x20-0x3f
20 -----------
28 -----------
38 $ echo ltc4245 0x23 > /sys/bus/i2c/devices/i2c-1/new_device
42 -------------
44 The LTC4245 has built-in limits for over and under current warnings. This
48 into the values specified in the sysfs-interface document. The current readings
55 in4_input Vee (-12v) input voltage (mV)
60 in4_min_alarm Vee (-12v) input undervoltage alarm
65 curr4_input Vee (-12v) current (mA)
[all …]
/OK3568_Linux_fs/kernel/drivers/fsi/
H A Dfsi-master-ast-cf.c1 // SPDX-License-Identifier: GPL-2.0+
4 * A FSI master controller, using a simple GPIO bit-banging interface
25 #include "fsi-master.h"
26 #include "cf-fsi-fw.h"
28 #define FW_FILE_NAME "cf-fsi-fw.bin"
132 msg->msg <<= bits; in msg_push_bits()
133 msg->msg |= data & ((1ull << bits) - 1); in msg_push_bits()
134 msg->bits += bits; in msg_push_bits()
142 top = msg->bits & 0x3; in msg_push_crc()
144 /* start bit, and any non-aligned top bits */ in msg_push_crc()
[all …]
/OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/
H A Dgpio.txt1 Chinese translated version of Documentation/admin-guide/gpio
12 ---------------------------------------------------------------------
13 Documentation/admin-guide/gpio 的中文翻译
26 ---------------------------------------------------------------------
53 - 输出值可写 (高电平=1,低电平=0)。一些芯片也有如何驱动这些值的选项,
57 - 输入值可读(1、0)。一些芯片支持引脚在配置为“输出”时回读,这对于类似
61 - 输入通常可作为 IRQ 信号,一般是沿触发,但有时是电平触发。这样的 IRQ
64 - 通常一个 GPIO 根据不同产品电路板的需求,可以配置为输入或输出,也有仅
67 - 大部分 GPIO 可以在持有自旋锁时访问,但是通常由串行总线扩展的 GPIO
101 ---------
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dov02k10.c1 // SPDX-License-Identifier: GPL-2.0
23 #include <linux/rk-camera-module.h>
24 #include <media/media-entity.h>
25 #include <media/v4l2-async.h>
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-subdev.h>
29 #include <linux/rk-preisp.h>
42 #define OF_CAMERA_HDR_MODE "rockchip,camera-hdr-mode"
573 .vc[PAD1] = V4L2_MBUS_CSI2_CHANNEL_0,//L->csi wr0
575 .vc[PAD3] = V4L2_MBUS_CSI2_CHANNEL_1,//M->csi wr2
[all …]

12