/linux/Documentation/devicetree/bindings/pinctrl/ |
H A 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 …]
|
H A D | microchip,mcp23s08.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip I/O expander with serial interface (I2C/SPI) 10 - Himanshu Bhavani <himanshu.bhavani@siliconsignals.io> 13 Microchip MCP23008, MCP23017, MCP23S08, MCP23S17, MCP23S18 GPIO expander 14 chips.These chips provide 8 or 16 GPIO pins with either I2C or SPI interface. 17 - $ref: /schemas/spi/spi-peripheral-props.yaml# 22 - microchip,mcp23s08 23 - microchip,mcp23s17 [all …]
|
/linux/drivers/pinctrl/ |
H A 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 11 #include <linux/gpio/driver.h> 21 #include "pinctrl-lantiq.h" 110 /* --------- ase related code --------- */ 115 MFP_XWAY(GPIO0, GPIO, EXIN, MII, TDM), 116 MFP_XWAY(GPIO1, GPIO, STP, DFE, EBU), 117 MFP_XWAY(GPIO2, GPIO, STP, DFE, EPHY), 118 MFP_XWAY(GPIO3, GPIO, STP, EPHY, EBU), [all …]
|
H A 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 12 #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/drivers/gpio/ |
H A D | gpio-pisosr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015-2023 Texas Instruments Incorporated - https://www.ti.com/ 10 #include <linux/gpio/consumer.h> 11 #include <linux/gpio/driver.h> 14 #include <linux/spi/spi.h> 19 * struct pisosr_gpio - GPIO driver data 20 * @chip: GPIO controller chip 21 * @spi: SPI device pointer 24 * @load_gpio: GPIO pin used to load input into device 29 struct spi_device *spi; member [all …]
|
H A 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/Documentation/devicetree/bindings/spi/ |
H A 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 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 …]
|
H A D | spi-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SPI Controller Common Properties 10 - Mark Brown <broonie@kernel.org> 13 SPI busses can be described with a node for the SPI controller device 14 and a set of child nodes for each SPI slave on the bus. The system SPI 15 controller may be described for use in SPI master mode or in SPI slave mode, 20 pattern: "^spi(@.*|-([0-9]|[1-9][0-9]+))?$" [all …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | samsung,s6d27a1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 13 - Markuss Broks <markuss.broks@gmail.com> 16 - $ref: panel-common.yaml# 17 - $ref: /schemas/spi/spi-peripheral-props.yaml# 33 reset-gpios: true 35 vci-supply: 39 vccio-supply: 45 spi-cpha: true [all …]
|
H A D | samsung,lms380kf01.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Linus Walleij <linus.walleij@linaro.org> 17 - $ref: panel-common.yaml# 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 34 reset-gpios: true 36 vci-supply: 40 vccio-supply: 46 spi-cpha: true [all …]
|
H A D | samsung,lms397kf04.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 13 - Linus Walleij <linus.walleij@linaro.org> 16 - $ref: panel-common.yaml# 17 - $ref: /schemas/spi/spi-peripheral-props.yaml# 26 reset-gpios: true 28 vci-supply: 32 vccio-supply: 38 spi-cpha: true [all …]
|
/linux/Documentation/devicetree/bindings/net/nfc/ |
H A D | marvell,nci.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - marvell,nfc-i2c 16 - marvell,nfc-spi 17 - marvell,nfc-uart 19 hci-muxed: 30 reset-n-io: 31 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
/linux/drivers/spi/ |
H A D | spi-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * SPI host driver using generic bitbanged GPIO 8 #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> 20 * This bitbanging SPI host driver should help make systems usable 21 * when a native hardware SPI engine is not available, perhaps because 25 * platform_device->driver_data ... points to spi_gpio 27 * spi->controller_state ... reserved for bitbang framework code [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-spi-slot.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-spi-slot.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MMC/SD/SDIO slot directly connected to a SPI bus 10 - Ulf Hansson <ulf.hansson@linaro.org> 13 - $ref: mmc-controller.yaml 14 - $ref: /schemas/spi/spi-peripheral-props.yaml 17 The extra properties used by an mmc connected via SPI. 21 const: mmc-spi-slot [all …]
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | silabs,wfx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jérôme Pouiller <jerome.pouiller@silabs.com> 16 https://www.silabs.com/documents/public/data-sheets/wf200-datasheet.pdf 18 The WF200 can be connected via SPI or via SDIO. 25 It is recommended to declare a mmc-pwrseq on SDIO host above WFx. Without 26 it, you may encounter issues during reboot. The mmc-pwrseq should be 27 compatible with mmc-pwrseq-simple. Please consult 28 Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml for more [all …]
|
H A 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/Documentation/devicetree/bindings/gpio/ |
H A 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/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-lgphilips-lb035q02.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/spi/spi.h> 14 #include <linux/gpio/consumer.h> 43 struct spi_device *spi; member 54 static int lb035q02_write_reg(struct spi_device *spi, u8 reg, u16 val) in lb035q02_write_reg() argument 82 return spi_sync(spi, &msg); in lb035q02_write_reg() 85 static void init_lb035q02_panel(struct spi_device *spi) in init_lb035q02_panel() argument 88 lb035q02_write_reg(spi, 0x01, 0x6300); in init_lb035q02_panel() 89 lb035q02_write_reg(spi, 0x02, 0x0200); in init_lb035q02_panel() 90 lb035q02_write_reg(spi, 0x03, 0x0177); in init_lb035q02_panel() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | renesas,idt821034.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 16 The time-slots used by the codec must be set and so, the properties 17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and 18 'dai-tdm-slot-rx-mask' must be present in the ALSA sound card node for 19 sub-nodes that involve the codec. The codec uses one 8bit time-slot per 21 'dai-tdm-tdm-slot-with' must be set to 8. 26 - $ref: /schemas/spi/spi-peripheral-props.yaml# [all …]
|
H A D | infineon,peb2466.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 13 The Infineon PEB2466 codec is a programmable DSP-based four channels codec 16 The time-slots used by the codec must be set and so, the properties 17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and 18 'dai-tdm-slot-rx-mask' must be present in the sound card node for sub-nodes 19 that involve the codec. The codec uses one 8bit time-slot per channel. 20 'dai-tdm-tdm-slot-with' must be set to 8. [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | google,cros-ec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/google,cros-ec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Benson Leung <bleung@chromium.org> 11 - Guenter Roeck <groeck@chromium.org> 16 The EC can be connected through various interfaces (I2C, SPI, and others) 22 - description: 24 const: google,cros-ec-i2c 25 - description: [all …]
|
/linux/Documentation/driver-api/gpio/ |
H A 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/arch/arm/boot/dts/aspeed/ |
H A D | ast2600-facebook-netbmc-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #include "aspeed-g6.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 24 * GPIO-based SPI Master is required to access SPI TPM, because 25 * full-duplex SPI transactions are not supported by ASPEED SPI 28 spi_gpio: spi { 30 compatible = "spi-gpio"; 31 #address-cells = <1>; 32 #size-cells = <0>; 34 gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>; [all …]
|
/linux/drivers/net/can/spi/ |
H A 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/driver.h> 42 #include <linux/spi/spi.h> 45 /* SPI interface instruction set */ 196 /* Buffer size required for the largest SPI transfer (i.e., reading a 230 struct spi_device *spi; member 233 struct mutex mcp_lock; /* SPI device lock */ [all …]
|
/linux/drivers/iio/resolver/ |
H A 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 …]
|