| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | marvell,kirkwood-pinctrl.txt | 3 Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding 7 - compatible: "marvell,88f6180-pinctrl", 8 "marvell,88f6190-pinctrl", "marvell,88f6192-pinctrl", 9 "marvell,88f6281-pinctrl", "marvell,88f6282-pinctrl", 10 "marvell,98dx4122-pinctrl", "marvell,98dx1135-pinctrl" 11 - reg: register specifier of MPP registers 14 It also support the 88f6281-based variant in the 98dx412x Bobcat SoCs. 24 mpp0 0 gpio, nand(io2), spi(cs) 25 mpp1 1 gpo, nand(io3), spi(mosi) 26 mpp2 2 gpo, nand(io4), spi(sck) [all …]
|
| D | pinctrl-mcp23s08.txt | 2 8-/16-bit I/O expander with serial interface (I2C/SPI) 5 - compatible : Should be 6 - "mcp,mcp23s08" (DEPRECATED) for 8 GPIO SPI version 7 - "mcp,mcp23s17" (DEPRECATED) for 16 GPIO SPI version 8 - "mcp,mcp23008" (DEPRECATED) for 8 GPIO I2C version or 9 - "mcp,mcp23017" (DEPRECATED) for 16 GPIO I2C version of the chip 11 - "microchip,mcp23s08" for 8 GPIO SPI version 12 - "microchip,mcp23s17" for 16 GPIO SPI version 13 - "microchip,mcp23s18" for 16 GPIO SPI version 14 - "microchip,mcp23008" for 8 GPIO I2C version or [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/ |
| D | marvell,kirkwood-pinctrl.txt | 3 Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding 7 - compatible: "marvell,88f6180-pinctrl", 8 "marvell,88f6190-pinctrl", "marvell,88f6192-pinctrl", 9 "marvell,88f6281-pinctrl", "marvell,88f6282-pinctrl" 10 "marvell,98dx4122-pinctrl" 11 - reg: register specifier of MPP registers 14 It also support the 88f6281-based variant in the 98dx412x Bobcat SoCs. 24 mpp0 0 gpio, nand(io2), spi(cs) 25 mpp1 1 gpo, nand(io3), spi(mosi) 26 mpp2 2 gpo, nand(io4), spi(sck) [all …]
|
| D | pinctrl-mcp23s08.txt | 2 8-/16-bit I/O expander with serial interface (I2C/SPI) 5 - compatible : Should be 6 - "mcp,mcp23s08" (DEPRECATED) for 8 GPIO SPI version 7 - "mcp,mcp23s17" (DEPRECATED) for 16 GPIO SPI version 8 - "mcp,mcp23008" (DEPRECATED) for 8 GPIO I2C version or 9 - "mcp,mcp23017" (DEPRECATED) for 16 GPIO I2C version of the chip 11 - "microchip,mcp23s08" for 8 GPIO SPI version 12 - "microchip,mcp23s17" for 16 GPIO SPI version 13 - "microchip,mcp23s18" for 16 GPIO SPI version 14 - "microchip,mcp23008" for 8 GPIO I2C version or [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-pisosr.c | 2 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ 18 #include <linux/gpio/consumer.h> 19 #include <linux/gpio/driver.h> 22 #include <linux/spi/spi.h> 27 * struct pisosr_gpio - GPIO driver data 28 * @chip: GPIO controller chip 29 * @spi: SPI device pointer 32 * @load_gpio: GPIO pin used to load input into device 37 struct spi_device *spi; member 44 static int pisosr_gpio_refresh(struct pisosr_gpio *gpio) in pisosr_gpio_refresh() argument [all …]
|
| /kernel/linux/linux-4.19/drivers/gpio/ |
| D | gpio-pisosr.c | 2 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ 18 #include <linux/gpio/consumer.h> 19 #include <linux/gpio/driver.h> 22 #include <linux/spi/spi.h> 27 * struct pisosr_gpio - GPIO driver data 28 * @chip: GPIO controller chip 29 * @spi: SPI device pointer 32 * @load_gpio: GPIO pin used to load input into device 37 struct spi_device *spi; member 44 static int pisosr_gpio_refresh(struct pisosr_gpio *gpio) in pisosr_gpio_refresh() argument [all …]
|
| /kernel/linux/linux-4.19/drivers/tty/serial/ |
| D | ifx6x60.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Driver for the IFX 6x60 spi modem. 19 * o The driver is intended to be big-endian safe but has never been 22 * o Some of the GPIO naming/setup assumptions may need revisiting if 26 #include <linux/dma-mapping.h> 31 #include <linux/spi/spi.h> 42 #include <linux/gpio.h> 48 #include <linux/spi/ifx_modem.h> 60 #define IFX_SPI_HEADER_0 (-1) 61 #define IFX_SPI_HEADER_F (-2) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
| D | spi-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SPI-GPIO devicetree bindings 10 - Rob Herring <robh@kernel.org> 13 This represents a group of 3-n GPIO lines used for bit-banged SPI on 14 dedicated GPIO lines. 17 - $ref: "/schemas/spi/spi-controller.yaml#" 21 const: spi-gpio [all …]
|
| D | brcm,bcm2835-aux-spi.txt | 3 The BCM2835 contains two forms of SPI master controller, one known simply as 4 SPI0, and the other known as the "Universal SPI Master"; part of the 8 - compatible: Should be "brcm,bcm2835-aux-spi". 9 - reg: Should contain register location and length for the spi block 10 - interrupts: Should contain shared interrupt of the aux block 11 - clocks: The clock feeding the SPI controller - needs to 15 - cs-gpios: the cs-gpios (native cs is NOT supported) 16 see also spi-bus.txt 21 compatible = "brcm,bcm2835-aux-spi"; 25 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/ |
| D | pinctrl-xway.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/pinctrl/pinmux-xway.c 4 * based on linux/drivers/pinctrl/pinmux-pxa910.c 21 #include "pinctrl-lantiq.h" 110 /* --------- DEPRECATED: xr9 related code --------- */ 111 /* ---------- use xrx100/xrx200 instead ---------- */ 116 MFP_XWAY(GPIO0, GPIO, EXIN, NONE, TDM), 117 MFP_XWAY(GPIO1, GPIO, EXIN, NONE, NONE), 118 MFP_XWAY(GPIO2, GPIO, CGU, EXIN, GPHY), 119 MFP_XWAY(GPIO3, GPIO, CGU, NONE, PCI), [all …]
|
| /kernel/linux/linux-4.19/drivers/pinctrl/ |
| D | pinctrl-xway.c | 2 * linux/drivers/pinctrl/pinmux-xway.c 3 * based on linux/drivers/pinctrl/pinmux-pxa910.c 24 #include "pinctrl-lantiq.h" 113 /* --------- DEPRECATED: xr9 related code --------- */ 114 /* ---------- use xrx100/xrx200 instead ---------- */ 119 MFP_XWAY(GPIO0, GPIO, EXIN, NONE, TDM), 120 MFP_XWAY(GPIO1, GPIO, EXIN, NONE, NONE), 121 MFP_XWAY(GPIO2, GPIO, CGU, EXIN, GPHY), 122 MFP_XWAY(GPIO3, GPIO, CGU, NONE, PCI), 123 MFP_XWAY(GPIO4, GPIO, STP, NONE, ASC), [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/wfx/Documentation/devicetree/bindings/net/wireless/ |
| D | silabs,wfx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Jérôme Pouiller <jerome.pouiller@silabs.com> 15 The WFxxx chip series can be connected via SPI or via SDIO. 24 In addition, it is recommended to declare a mmc-pwrseq on SDIO host above 25 WFx. Without it, you may encounter issues with warm boot. The mmc-pwrseq 26 should be compatible with mmc-pwrseq-simple. Please consult 27 Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml for more 30 For SPI':' [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/ |
| D | ifx6x60.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Driver for the IFX 6x60 spi modem. 19 * o The driver is intended to be big-endian safe but has never been 22 * o Some of the GPIO naming/setup assumptions may need revisiting if 26 #include <linux/dma-mapping.h> 31 #include <linux/spi/spi.h> 42 #include <linux/gpio/consumer.h> 48 #include <linux/spi/ifx_modem.h> 60 #define IFX_SPI_HEADER_0 (-1) 61 #define IFX_SPI_HEADER_F (-2) [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/spi/ |
| D | spi-gpio.txt | 1 SPI-GPIO devicetree bindings 3 This represents a group of 3-n GPIO lines used for bit-banged SPI on dedicated 4 GPIO lines. 8 - compatible: should be set to "spi-gpio" 9 - #address-cells: should be set to <0x1> 10 - ranges 11 - sck-gpios: GPIO spec for the SCK line to use 12 - miso-gpios: GPIO spec for the MISO line to use 13 - mosi-gpios: GPIO spec for the MOSI line to use 14 - cs-gpios: GPIOs to use for chipselect lines. [all …]
|
| D | brcm,bcm2835-aux-spi.txt | 3 The BCM2835 contains two forms of SPI master controller, one known simply as 4 SPI0, and the other known as the "Universal SPI Master"; part of the 8 - compatible: Should be "brcm,bcm2835-aux-spi". 9 - reg: Should contain register location and length for the spi block 10 - interrupts: Should contain shared interrupt of the aux block 11 - clocks: The clock feeding the SPI controller - needs to 15 - cs-gpios: the cs-gpios (native cs is NOT supported) 16 see also spi-bus.txt 21 compatible = "brcm,bcm2835-aux-spi"; 25 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * SPI master driver using generic bitbanged GPIO 11 #include <linux/gpio/consumer.h> 15 #include <linux/spi/spi.h> 16 #include <linux/spi/spi_bitbang.h> 17 #include <linux/spi/spi_gpio.h> 21 * This bitbanging SPI master driver should help make systems usable 22 * when a native hardware SPI engine is not available, perhaps because 26 * platform_device->driver_data ... points to spi_gpio 28 * spi->controller_state ... reserved for bitbang framework code [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
| D | gpio-pisosr.txt | 1 Generic Parallel-in/Serial-out Shift Register GPIO Driver 3 This binding describes generic parallel-in/serial-out shift register 5 SN74165 serial-out shift registers and the SN65HVS88x series of 9 - compatible : Should be "pisosr-gpio". 10 - gpio-controller : Marks the device node as a GPIO controller. 11 - #gpio-cells : Should be two. For consumer use see gpio.txt. 14 - ngpios : Number of used GPIO lines (0..n-1), default is 8. 15 - load-gpios : GPIO pin specifier attached to load enable, this 19 For other required and optional properties of SPI slave 20 nodes please refer to ../spi/spi-bus.txt. [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/gpio/ |
| D | gpio-pisosr.txt | 1 Generic Parallel-in/Serial-out Shift Register GPIO Driver 3 This binding describes generic parallel-in/serial-out shift register 5 SN74165 serial-out shift registers and the SN65HVS88x series of 9 - compatible : Should be "pisosr-gpio". 10 - gpio-controller : Marks the device node as a GPIO controller. 11 - #gpio-cells : Should be two. For consumer use see gpio.txt. 14 - ngpios : Number of used GPIO lines (0..n-1), default is 8. 15 - load-gpios : GPIO pin specifier attached to load enable, this 19 For other required and optional properties of SPI slave 20 nodes please refer to ../spi/spi-bus.txt. [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/omapdrm/displays/ |
| D | panel-lgphilips-lb035q02.c | 4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 15 #include <linux/spi/spi.h> 17 #include <linux/gpio.h> 18 #include <linux/gpio/consumer.h> 50 struct spi_device *spi; member 59 static int lb035q02_write_reg(struct spi_device *spi, u8 reg, u16 val) in lb035q02_write_reg() argument 87 return spi_sync(spi, &msg); in lb035q02_write_reg() 90 static void init_lb035q02_panel(struct spi_device *spi) in init_lb035q02_panel() argument 93 lb035q02_write_reg(spi, 0x01, 0x6300); in init_lb035q02_panel() 94 lb035q02_write_reg(spi, 0x02, 0x0200); in init_lb035q02_panel() [all …]
|
| /kernel/linux/linux-4.19/Documentation/driver-api/gpio/ |
| D | drivers-on-gpio.rst | 2 Subsystem drivers using GPIO 5 Note that standard kernel drivers exist for common GPIO tasks and will provide 6 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, 14 i.e. a LED will turn on/off in response to a GPIO line going high or low 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 21 GPIO line cannot generate interrupts, so it needs to be periodically polled [all …]
|
| /kernel/linux/linux-4.19/drivers/video/backlight/ |
| D | l4f00242t03.c | 2 * l4f00242t03.c -- support for Epson L4F00242T03 LCD 4 * Copyright 2007-2009 Freescale Semiconductor, Inc. All Rights Reserved. 20 #include <linux/gpio.h> 25 #include <linux/spi/spi.h> 26 #include <linux/spi/l4f00242t03.h> 29 struct spi_device *spi; member 36 static void l4f00242t03_reset(unsigned int gpio) in l4f00242t03_reset() argument 39 gpio_set_value(gpio, 1); in l4f00242t03_reset() 41 gpio_set_value(gpio, 0); in l4f00242t03_reset() 43 gpio_set_value(gpio, 1); in l4f00242t03_reset() [all …]
|
| /kernel/linux/linux-4.19/drivers/iio/resolver/ |
| D | ad2s1200.c | 5 * Copyright (c) 2018-2018 David Veenstra <davidjulianveenstra@gmail.com> 6 * Copyright (c) 2010-2010 Analog Devices Inc. 16 #include <linux/gpio.h> 17 #include <linux/gpio/consumer.h> 20 #include <linux/spi/spi.h> 35 * struct ad2s1200_state - driver instance specific data. 36 * @lock: protects both the GPIO pins and the rx buffer. 37 * @sdev: spi device. 38 * @sample: GPIO pin SAMPLE. 39 * @rdvel: GPIO pin RDVEL. [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/wireless/ |
| D | ti,wl1251.txt | 3 The wl1251 chip can be connected via SPI or via SDIO. This 4 document describes the binding for the SPI connected chip. 7 - compatible : Should be "ti,wl1251" 8 - reg : Chip select address of device 9 - spi-max-frequency : Maximum SPI clocking speed of device in Hz 10 - interrupts : Should contain interrupt line 11 - vio-supply : phandle to regulator providing VIO 12 - ti,power-gpio : GPIO connected to chip's PMEN pin 15 - ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which 17 - Please consult Documentation/devicetree/bindings/spi/spi-bus.txt [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/ |
| D | vitesse,vsc73xx.txt | 9 Vitesse VSC7385 SparX-G5 5+1-port Integrated Gigabit Ethernet Switch 10 Vitesse VSC7388 SparX-G8 8-port Integrated Gigabit Ethernet Switch 11 Vitesse VSC7395 SparX-G5e 5+1-port Integrated Gigabit Ethernet Switch 12 Vitesse VSC7398 SparX-G8e 8-port Integrated Gigabit Ethernet Switch 16 If SPI interface is used, the device tree node is an SPI device so it must 17 reside inside a SPI bus device tree node, see spi/spi-bus.txt 19 When the chip is connected to a parallel memory bus and work in memory-mapped 25 - compatible: must be exactly one of: 30 - gpio-controller: indicates that this switch is also a GPIO controller, 31 see gpio/gpio.txt [all …]
|
| /kernel/linux/linux-4.19/drivers/spi/ |
| D | spi-gpio.c | 2 * SPI master driver using generic bitbanged GPIO 20 #include <linux/gpio/consumer.h> 24 #include <linux/spi/spi.h> 25 #include <linux/spi/spi_bitbang.h> 26 #include <linux/spi/spi_gpio.h> 30 * This bitbanging SPI master driver should help make systems usable 31 * when a native hardware SPI engine is not available, perhaps because 35 * platform_device->driver_data ... points to spi_gpio 37 * spi->controller_state ... reserved for bitbang framework code 38 * spi->controller_data ... holds chipselect GPIO [all …]
|