/linux/Documentation/devicetree/bindings/iio/proximity/ |
H A D | devantech-srf04.yaml | 1 # 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 D | parallax-ping.yaml | 1 # 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 …]
|
/linux/Documentation/admin-guide/gpio/ |
H A D | gpio-aggregator.rst | 1 .. 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 …]
|
/linux/drivers/iio/proximity/ |
H A D | srf04.c | 1 // 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 D | ping.c | 1 // 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: __________________________________/ \_/ \_/ \________________ 80 if (gpiod_get_value(data->gpiod_ping)) { in ping_handle_irq() [all …]
|
H A D | Kconfig | 1 # 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 105 with just one GPIO for the trigger and echo. This driver can be 109 - Parallax PING))) (ultrasonic) 110 - Parallax LaserPING (time-of-flight) 119 Say Y to build a driver for the RFD77402 Time-of-Flight (distance) 131 of objects. It is using two GPIOs. 133 - Devantech SRF04 [all …]
|
/linux/Documentation/userspace-api/gpio/ |
H A D | sysfs.rst | 6 been moved to Documentation/ABI/obsolete/sysfs-gpio. 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 38 Please read Documentation/driver-api/gpio/drivers-on-gpio.rst 44 -------------- 47 - Control interfaces used to get userspace control over GPIOs; 49 - GPIOs themselves; and 51 - GPIO controllers ("gpio_chip" instances). 55 The control interfaces are write-only: [all …]
|
/linux/Documentation/misc-devices/ |
H A D | c2port.rst | 1 .. 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 …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-echo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 13 model = "Amazon Echo (first generation)"; 14 compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3"; 18 cpu0-supply = <&vdd1_reg>; 28 compatible = "regulator-fixed"; 29 regulator-name = "vcc5v"; 30 regulator-min-microvolt = <5000000>; [all …]
|
/linux/Documentation/hwmon/ |
H A D | ltc4245.rst | 10 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 …]
|
/linux/drivers/fsi/ |
H A D | fsi-master-ast-cf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 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() 145 crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); in msg_push_crc() [all …]
|
/linux/Documentation/i2c/ |
H A D | slave-testunit-backend.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 by Wolfram Sang <wsa@sang-engineering.com> in 2020 11 easy to obtain). Examples include multi-master testing, and SMBus Host Notify 21 # echo "slave-testunit 0x1030" > /sys/bus/i2c/devices/i2c-0/new_device 30 compatible = "slave-testunit"; 39 When writing, the device consists of 4 8-bit registers and, except for some 43 .. csv-table:: 51 Using 'i2cset' from the i2c-tools package, the generic command looks like:: 53 # i2cset -y <bus_num> <testunit_address> <CMD> <DATAL> <DATAH> <DELAY> i 63 -------- [all …]
|
/linux/Documentation/driver-api/ |
H A D | pin-control.rst | 9 - Enumerating and naming controllable pins 11 - Multiplexing of pins, pads, fingers (etc) see below for details 13 - Configuration of pins, pads, fingers (etc), such as software-controlled 14 biasing and driving mode specific pins, such as pull-up, pull-down, open drain, 17 Top-level interface 22 - A PIN CONTROLLER is a piece of hardware, usually a set of registers, that 26 - PINS are equal to pads, fingers, balls or whatever packaging input or 30 be sparse - i.e. there may be gaps in the space with numbers where no 60 .. code-block:: c 97 See ``arch/arm/mach-ux500/Kconfig`` for an example. [all …]
|
/linux/drivers/platform/x86/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 x86 platforms, including vendor-specific laptop extension drivers. 23 This driver adds support for the ACPI-WMI (Windows Management 26 ACPI-WMI is a proprietary extension to ACPI to expose parts of the 27 ACPI firmware to userspace - this is done through various vendor 38 any ACPI-WMI devices. 45 Say Y here if you want to be able to read a firmware-embedded 50 be called wmi-bmof. 63 control, fn-lock, mic-mute LED, and other extra features. 66 will be called huawei-wmi. [all …]
|
/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 * Copyright (c) 2001-2005 Greg Ungerer (gerg@snapgear.com) 20 * Copyright (c) 2004-2006 Macq Electronique SA. 22 * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. 194 { .compatible = "fsl,imx25-fec", .data = &fec_imx25_info, }, 195 { .compatible = "fsl,imx27-fec", .data = &fec_imx27_info, }, 196 { .compatible = "fsl,imx28-fec", .data = &fec_imx28_info, }, 197 { .compatible = "fsl,imx6q-fec", .data = &fec_imx6q_info, }, 198 { .compatible = "fsl,mvf600-fec", .data = &fec_mvf600_info, }, 199 { .compatible = "fsl,imx6sx-fec", .data = &fec_imx6x_info, }, [all …]
|
/linux/drivers/isdn/hardware/mISDN/ |
H A D | hfcmulti.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * hfcmulti.c low level driver for hfc-4s/hfc-8s/hfc-e1 based cards 7 * Peter Sprenger (sprengermoving-bytes.de) 9 * inspired by existing hfc-pci driver: 10 * Copyright 1999 by Werner Cornelius (werner@isdn-development.de) 22 * Bit 0-7 = 0x00001 = HFC-E1 (1 port) 23 * or Bit 0-7 = 0x00004 = HFC-4S (4 ports) 24 * or Bit 0-7 = 0x00008 = HFC-8S (8 ports) 26 * Bit 9 = 0x00200 = Disable DTMF detect on all B-channels via hardware 38 * example: 0x20204 one HFC-4S with dtmf detection and 128 timeslots on PCM [all …]
|