/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 …]
|
/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 …]
|
D | gpio-max3191x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * gpio-max3191x.c - GPIO driver for Maxim MAX3191x industrial serializer 7 * The MAX3191x makes 8 digital 24V inputs available via SPI. 8 * Multiple chips can be daisy-chained, the spec does not impose 11 * Either of two modes is selectable: In 8-bit mode, only the state 13 * In 16-bit mode, an additional status byte is clocked out with 17 * readout of non-faulting chips in the same daisy-chain. 21 * daisy-chain. 23 * If the chips are hardwired to 8-bit mode ("modesel" pulled high), 24 * gpio-pisosr.c can be used alternatively to this driver. [all …]
|
/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 …]
|
D | pinctrl-falcon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/pinctrl/pinmux-falcon.c 4 * based on linux/drivers/pinctrl/pinmux-pxa910.c 10 #include <linux/gpio/driver.h> 22 #include "pinctrl-lantiq.h" 107 MFP_FALCON(GPIO0, RST, GPIO, NONE, NONE), 108 MFP_FALCON(GPIO1, GPIO, GPIO, NONE, NONE), 109 MFP_FALCON(GPIO2, GPIO, GPIO, NONE, NONE), 110 MFP_FALCON(GPIO3, GPIO, GPIO, NONE, NONE), 111 MFP_FALCON(GPIO4, NTR, GPIO, NONE, NONE), [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
D | spi-txx9.c | 2 * TXx9 SPI controller driver. 5 * Copyright (C) 2000-2001 Toshiba Corporation 7 * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the 12 * Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com) 14 * Convert to generic SPI framework - Atsushi Nemoto (anemo@mba.ocn.ne.jp) 24 #include <linux/spi/spi.h> 29 #include <linux/gpio/machine.h> 30 #include <linux/gpio/consumer.h> 44 /* SPMCR : SPI Master Control */ 51 /* SPCR0 : SPI Control 0 */ [all …]
|
/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 …]
|
/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 …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | aspeed-bmc-ibm-rainier.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,rainier-bmc", "aspeed,ast2600"; 36 stdout-path = &uart5; 45 reserved-memory { 46 #address-cells = <1>; [all …]
|
/linux-5.10/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 …]
|
/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/ |
D | panel-lgphilips-lb035q02.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/spi/spi.h> 14 #include <linux/gpio.h> 43 struct spi_device *spi; member 49 /* used for non-DT boot, to be removed */ 57 static int lb035q02_write_reg(struct spi_device *spi, u8 reg, u16 val) in lb035q02_write_reg() argument 85 return spi_sync(spi, &msg); in lb035q02_write_reg() 88 static void init_lb035q02_panel(struct spi_device *spi) in init_lb035q02_panel() argument 91 lb035q02_write_reg(spi, 0x01, 0x6300); in init_lb035q02_panel() 92 lb035q02_write_reg(spi, 0x02, 0x0200); in init_lb035q02_panel() [all …]
|
/linux-5.10/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 14 - ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which 16 - ti,power-gpio : GPIO connected to chip's PMEN pin if operated in 17 SPI mode [all …]
|
/linux-5.10/drivers/net/can/spi/ |
D | mcp251x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* CAN bus driver for Microchip 251x/25625 CAN Controller with SPI Interface 17 * - Sascha Hauer, Marc Kleine-Budde, Pengutronix 18 * - Simon Kallweit, intefo AG 31 #include <linux/gpio.h> 32 #include <linux/gpio/driver.h> 43 #include <linux/spi/spi.h> 46 /* SPI interface instruction set */ 197 /* Buffer size required for the largest SPI transfer (i.e., reading a 231 struct spi_device *spi; member [all …]
|
/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
D | adi,ad7768-1.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7768-1.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD7768-1 ADC device driver 10 - Michael Hennerich <michael.hennerich@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf 18 const: adi,ad7768-1 26 clock-names: 32 vref-supply: [all …]
|
/linux-5.10/drivers/fpga/ |
D | xilinx-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Xilinx Spartan6 and 7 Series Slave Serial SPI Driver 9 * Manage Xilinx FPGA firmware that is loaded over SPI using 15 #include <linux/fpga/fpga-mgr.h> 16 #include <linux/gpio/consumer.h> 20 #include <linux/spi/spi.h> 24 struct spi_device *spi; member 32 struct xilinx_spi_conf *conf = mgr->priv; in get_done_gpio() 35 ret = gpiod_get_value(conf->done); in get_done_gpio() 38 dev_err(&mgr->dev, "Error reading DONE (%d)\n", ret); in get_done_gpio() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/bus/ |
D | moxtet.txt | 1 Turris Mox module status and configuration bus (over SPI) 4 - compatible : Should be "cznic,moxtet" 5 - #address-cells : Has to be 1 6 - #size-cells : Has to be 0 7 - spi-cpol : Required inverted clock polarity 8 - spi-cpha : Required shifted clock phase 9 - interrupts : Must contain reference to the shared interrupt line 10 - interrupt-controller : Required 11 - #interrupt-cells : Has to be 1 13 For other required and optional properties of SPI slave nodes please refer to [all …]
|
/linux-5.10/Documentation/devicetree/bindings/misc/ |
D | olpc,xo1.75-ec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/misc/olpc,xo1.75-ec.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: OLPC XO-1.75 Embedded Controller bindings 11 This binding describes the Embedded Controller acting as a SPI bus master 12 on a OLPC XO-1.75 laptop computer. 14 The embedded controller requires the SPI controller driver to signal 17 "ready-gpios" property of the SSP binding as documented in: 18 <Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml>. [all …]
|
/linux-5.10/Documentation/devicetree/bindings/net/ieee802154/ |
D | ca8210.txt | 4 - compatible: Should be "cascoda,ca8210" 5 - reg: Controlling chip select 6 - spi-max-frequency: Maximum clock speed, should be *less than* 8 - spi-cpol: Requires inverted clock polarity 9 - reset-gpio: GPIO attached to reset 10 - irq-gpio: GPIO attached to IRQ 12 - extclock-enable: Include for the ca8210 to route its 16MHz clock 14 - extclock-freq: Frequency in Hz of the external clock 15 - extclock-gpio: GPIO of the ca8210 to output the clock on 21 spi-max-frequency = <3000000>; [all …]
|
/linux-5.10/drivers/iio/resolver/ |
D | ad2s1200.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2018-2018 David Veenstra <davidjulianveenstra@gmail.com> 7 * Copyright (c) 2010-2010 Analog Devices Inc. 13 #include <linux/gpio/consumer.h> 17 #include <linux/spi/spi.h> 32 * struct ad2s1200_state - driver instance specific data. 33 * @lock: protects both the GPIO pins and the rx buffer. 34 * @sdev: spi device. 35 * @sample: GPIO pin SAMPLE. 36 * @rdvel: GPIO pin RDVEL. [all …]
|