| /kernel/linux/linux-5.10/drivers/media/rc/ |
| D | gpio-ir-tx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <media/rc-core.h> 15 #define DRIVER_NAME "gpio-ir-tx" 16 #define DEVICE_NAME "GPIO IR Bit Banging Transmitter" 25 { .compatible = "gpio-ir-tx", }, 32 struct gpio_ir *gpio_ir = dev->priv; in gpio_ir_tx_set_duty_cycle() 34 gpio_ir->duty_cycle = duty_cycle; in gpio_ir_tx_set_duty_cycle() 41 struct gpio_ir *gpio_ir = dev->priv; in gpio_ir_tx_set_carrier() 44 return -EINVAL; in gpio_ir_tx_set_carrier() 46 gpio_ir->carrier = carrier; in gpio_ir_tx_set_carrier() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 57 tristate "Enable IR raw decoder for the RC-5 protocol" 62 Enable this option if you have IR with RC-5 protocol, and 138 tristate "Enable IR raw decoder for the RC-MM protocol" 141 Enable this option when you have IR with RC-MM protocol, and 143 24 and 32 bits RC-MM variants. You can enable or disable the 145 'rc-mm-12', 'rc-mm-24' and 'rc-mm-32'. 148 will be called ir-rcmm-decoder. 168 All-In-Wonder video cards, the X10 "Lola" remote, NVIDIA RF remote, 198 called ir-hix5hd2. [all …]
|
| /kernel/linux/linux-6.6/drivers/media/rc/ |
| D | gpio-ir-tx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <media/rc-core.h> 15 #define DRIVER_NAME "gpio-ir-tx" 16 #define DEVICE_NAME "GPIO IR Bit Banging Transmitter" 25 { .compatible = "gpio-ir-tx", }, 32 struct gpio_ir *gpio_ir = dev->priv; in gpio_ir_tx_set_duty_cycle() 34 gpio_ir->duty_cycle = duty_cycle; in gpio_ir_tx_set_duty_cycle() 41 struct gpio_ir *gpio_ir = dev->priv; in gpio_ir_tx_set_carrier() 44 return -EINVAL; in gpio_ir_tx_set_carrier() 46 gpio_ir->carrier = carrier; in gpio_ir_tx_set_carrier() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 80 tristate "Enable IR raw decoder for the RC-5 protocol" 84 Enable this option if you have IR with RC-5 protocol, and 96 tristate "Enable IR raw decoder for the RC-MM protocol" 98 Enable this option when you have IR with RC-MM protocol, and 100 24 and 32 bits RC-MM variants. You can enable or disable the 102 'rc-mm-12', 'rc-mm-24' and 'rc-mm-32'. 105 will be called ir-rcmm-decoder. 172 module will be called fintek-cir. 181 be called gpio-ir-recv. [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/algos/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 tristate "I2C bit-banging interfaces"
|
| /kernel/linux/linux-5.10/drivers/i2c/algos/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 tristate "I2C bit-banging interfaces"
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | avia-hx711.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/avia-hx711.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 - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval 17 - dout-gpio is the sensor data the sensor responds to the clock 25 - avia,hx711 27 sck-gpios: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | avia-hx711.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: "http://devicetree.org/schemas/iio/adc/avia-hx711.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 - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval 17 - dout-gpio is the sensor data the sensor responds to the clock 25 - avia,hx711 27 sck-gpios: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/proximity/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/proximity/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_gmbus.c | 3 * Copyright © 2006-2008,2010 Intel Corporation 27 * Chris Wilson <chris@chris-wilson.co.uk> 31 #include <linux/i2c-algo-bit.h> 129 return pin < size && get_gmbus_pin(dev_priv, pin)->name; in intel_gmbus_is_valid_pin() 154 /* When using bit bashing for I2C, this bit needs to be set to 1 */ in pnv_gmbus_clock_gating() 191 struct drm_i915_private *i915 = bus->dev_priv; in get_reserved() 192 struct intel_uncore *uncore = &i915->uncore; in get_reserved() 197 reserved = intel_uncore_read_notrace(uncore, bus->gpio_reg) & in get_reserved() 207 struct intel_uncore *uncore = &bus->dev_priv->uncore; in get_clock() 211 bus->gpio_reg, in get_clock() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/gs_fpgaboot/ |
| D | README | 16 - Download Xilinx FPGA firmware 17 - This module downloads Xilinx FPGA firmware using gpio pins. 28 - load Xilinx FPGA bitstream format[1] firmware image file using 30 - program the Xilinx FPGA using SelectMAP (parallel) mode [2] 31 - FPGA prgram is done by gpio based bit-banging, as an example 32 - platform independent file: gs_fpgaboot.c 33 - platform dependent file: io.c 37 $ insmod gs_fpga.ko file="xlinx_fpga_top_bitstream.bit" 68 https://www.xilinx.com/support/documentation/application_notes/xapp583-fpga-configuration.pdf
|
| /kernel/linux/linux-5.10/drivers/input/serio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 113 This driver provides support for the PS/2 ports on PA-RISC machines 131 of delivering interrupts on a periodic and one-shot basis. 132 The SDC may also be connected to a battery-backed real-time 133 clock, a basic audio waveform generator, and an HP-HIL Master 198 echo -n "serio_raw" > /sys/bus/serio/devices/serioX/drvctl 230 When used for the E3 mailboard, a non-standard key table 267 tristate "OLPC AP-SP input support" 271 in the OLPC XO-1.75 and XO-4 laptops. 281 Select this option to enable the Hyper-V Keyboard driver. [all …]
|
| /kernel/linux/linux-6.6/drivers/input/serio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 113 This driver provides support for the PS/2 ports on PA-RISC machines 131 of delivering interrupts on a periodic and one-shot basis. 132 The SDC may also be connected to a battery-backed real-time 133 clock, a basic audio waveform generator, and an HP-HIL Master 199 echo -n "serio_raw" > /sys/bus/serio/devices/serioX/drvctl 231 When used for the E3 mailboard, a non-standard key table 268 tristate "OLPC AP-SP input support" 272 in the OLPC XO-1.75 and XO-4 laptops. 282 Select this option to enable the Hyper-V Keyboard driver. [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_gmbus.c | 3 * Copyright © 2006-2008,2010 Intel Corporation 27 * Chris Wilson <chris@chris-wilson.co.uk> 31 #include <linux/i2c-algo-bit.h> 218 /* When using bit bashing for I2C, this bit needs to be set to 1 */ in pnv_gmbus_clock_gating() 239 struct drm_i915_private *i915 = bus->i915; in get_reserved() 244 reserved = intel_de_read_notrace(i915, bus->gpio_reg) & in get_reserved() 253 struct drm_i915_private *i915 = bus->i915; in get_clock() 256 intel_de_write_notrace(i915, bus->gpio_reg, reserved | GPIO_CLOCK_DIR_MASK); in get_clock() 257 intel_de_write_notrace(i915, bus->gpio_reg, reserved); in get_clock() 259 return (intel_de_read_notrace(i915, bus->gpio_reg) & GPIO_CLOCK_VAL_IN) != 0; in get_clock() [all …]
|
| /kernel/linux/linux-6.6/Documentation/misc-devices/ |
| 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 33 ---------- 38 - AN127: FLASH Programming via the C2 Interface at 41 - C2 Specification at 44 however it implements a two wire serial communication protocol (bit 45 banging) designed to enable in-system programming, debugging, and 46 boundary-scan testing on low pin-count Silicon Labs devices. Currently [all …]
|
| /kernel/linux/linux-5.10/Documentation/misc-devices/ |
| 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 33 ---------- 38 - AN127: FLASH Programming via the C2 Interface at 41 - C2 Specification at 44 however it implements a two wire serial communication protocol (bit 45 banging) designed to enable in-system programming, debugging, and 46 boundary-scan testing on low pin-count Silicon Labs devices. Currently [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
| D | intel_gmbus.c | 3 * Copyright © 2006-2008,2010 Intel Corporation 27 * Chris Wilson <chris@chris-wilson.co.uk> 31 #include <linux/i2c-algo-bit.h> 44 ret__ = -ETIMEDOUT; \ 55 #define GMBUS_REG_READ(reg) ioread32(dev_priv->gmbus_reg + (reg)) 56 #define GMBUS_REG_WRITE(reg, val) iowrite32((val), dev_priv->gmbus_reg + (reg)) 78 struct drm_psb_private *dev_priv = dev->dev_private; in gma_intel_i2c_reset() 84 /* When using bit bashing for I2C, this bit needs to be set to 1 */ in intel_i2c_quirk_set() 89 if (!IS_PINEVIEW(dev_priv->dev)) in intel_i2c_quirk_set() 105 struct drm_psb_private *dev_priv = gpio->dev_priv; in get_reserved() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
| D | intel_gmbus.c | 3 * Copyright © 2006-2008,2010 Intel Corporation 27 * Chris Wilson <chris@chris-wilson.co.uk> 31 #include <linux/i2c-algo-bit.h> 44 ret__ = -ETIMEDOUT; \ 55 #define GMBUS_REG_READ(reg) ioread32(dev_priv->gmbus_reg + (reg)) 56 #define GMBUS_REG_WRITE(reg, val) iowrite32((val), dev_priv->gmbus_reg + (reg)) 84 /* When using bit bashing for I2C, this bit needs to be set to 1 */ in intel_i2c_quirk_set() 89 if (!IS_PINEVIEW(dev_priv->dev)) in intel_i2c_quirk_set() 105 struct drm_psb_private *dev_priv = gpio->dev_priv; in get_reserved() 109 reserved = GMBUS_REG_READ(gpio->reg) & in get_reserved() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | l3.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 adap->setclk(adap, 0); in sendbyte() 32 udelay(adap->data_hold); in sendbyte() 33 adap->setdat(adap, byte & 1); in sendbyte() 34 udelay(adap->data_setup); in sendbyte() 35 adap->setclk(adap, 1); in sendbyte() 36 udelay(adap->clock_high); in sendbyte() 53 udelay(adap->mode_hold); in sendbytes() 54 adap->setmode(adap, 0); in sendbytes() 55 udelay(adap->mode); in sendbytes() [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-ibm_iic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/i2c/busses/i2c-ibm_iic.c 18 * Copyright 2000-2003 MontaVista Software Inc. 20 * Original driver version was highly leveraged from i2c-elektor.c 22 * Copyright 1995-97 Simon G. Vogl 23 * 1998-99 Hans Berglund 45 #include "i2c-ibm_iic.h" 71 # define DBG(f,x...) printk(KERN_DEBUG "ibm-iic" f, ##x) 83 volatile struct iic_regs __iomem *iic = dev->vaddr; in dump_iic_regs() 84 printk(KERN_DEBUG "ibm-iic%d: %s\n", dev->idx, header); in dump_iic_regs() [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-ibm_iic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/i2c/busses/i2c-ibm_iic.c 18 * Copyright 2000-2003 MontaVista Software Inc. 20 * Original driver version was highly leveraged from i2c-elektor.c 22 * Copyright 1995-97 Simon G. Vogl 23 * 1998-99 Hans Berglund 44 #include "i2c-ibm_iic.h" 70 # define DBG(f,x...) printk(KERN_DEBUG "ibm-iic" f, ##x) 82 volatile struct iic_regs __iomem *iic = dev->vaddr; in dump_iic_regs() 83 printk(KERN_DEBUG "ibm-iic%d: %s\n", dev->idx, header); in dump_iic_regs() [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/gpio/ |
| D | intro.rst | 16 - The descriptor-based interface is the preferred way to manipulate GPIOs, 17 and is described by all the files in this directory excepted gpio-legacy.txt. 18 - The legacy integer-based interface which is considered deprecated (but still 19 usable for compatibility reasons) is documented in gpio-legacy.txt. 21 The remainder of this document applies to the new descriptor-based interface. 22 gpio-legacy.txt contains the same information applied to the legacy 23 integer-based interface. 29 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 32 represents a bit connected to a particular pin, or "ball" on Ball Grid Array 37 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every [all …]
|