| /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 …]
|
| H A D | marvell,dove-pinctrl.txt | 3 Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding 7 - compatible: "marvell,dove-pinctrl" 8 - clocks: (optional) phandle of pdma clock 9 - reg: register specifiers of MPP, MPP4, and PMU MPP registers 18 mpp0 0 gpio, pmu, uart2(rts), sdio0(cd), lcd0(pwm), pmu* 19 mpp1 1 gpio, pmu, uart2(cts), sdio0(wp), lcd1(pwm), pmu* 20 mpp2 2 gpio, pmu, uart2(txd), sdio0(buspwr), sata(prsnt), 22 mpp3 3 gpio, pmu, uart2(rxd), sdio0(ledctrl), sata(act), 23 uart1(cts), lcd-spi(cs1), pmu* 24 mpp4 4 gpio, pmu, uart3(rts), sdio1(cd), spi1(miso), pmu* [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/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 …]
|
| /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/gpio/ |
| H A D | pisosr-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/pisosr-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic Parallel-in/Serial-out Shift Register GPIO Driver 10 This binding describes generic parallel-in/serial-out shift register 12 SN74165 serial-out shift registers and the SN65HVS88x series of 16 - Frank Li <Frank.Li@nxp.com> 21 - pisosr-gpio 23 gpio-controller: true [all …]
|
| H A D | exar,xra1403.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/exar,xra1403.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: XRA1403 16-bit GPIO Expander with Reset Input 10 - Nandor Han <nandor.han@ge.com> 13 The XRA1403 is an 16-bit GPIO expander with an SPI interface. Features 16 - Individually programmable inputs: 17 - Internal pull-up resistors 18 - Polarity inversion [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/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/iio/adc/ |
| H A 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: 29 trigger-sources: [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/drivers/gpio/ |
| 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/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/Documentation/devicetree/bindings/net/wireless/ |
| 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/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> 31 * struct ad2s1200_state - driver instance specific data. 32 * @lock: protects both the GPIO pins and the rx buffer. 33 * @sdev: spi device. 34 * @sample: GPIO pin SAMPLE. 35 * @rdvel: GPIO pin RDVEL. [all …]
|
| /linux/arch/arm/include/asm/hardware/ |
| H A D | locomo.h | 53 #define LOCOMO_DAC_SDA 0x02 /* SDA pin level (read-only) */ 56 /* SPI interface */ 58 #define LOCOMO_SPIMD 0x00 /* SPI mode setting */ 59 #define LOCOMO_SPICT 0x04 /* SPI mode control */ 60 #define LOCOMO_SPIST 0x08 /* SPI status */ 66 #define LOCOMO_SPIIS 0x10 /* SPI interrupt status */ 67 #define LOCOMO_SPIWE 0x14 /* SPI interrupt status write enable */ 68 #define LOCOMO_SPIIE 0x18 /* SPI interrupt enable */ 69 #define LOCOMO_SPIIR 0x1c /* SPI interrupt request */ 70 #define LOCOMO_SPITD 0x20 /* SPI transfer data write */ [all …]
|
| /linux/Documentation/devicetree/bindings/bus/ |
| H A 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/Documentation/devicetree/bindings/misc/ |
| H A 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 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/drivers/iio/adc/ |
| H A D | ti-ads7950.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Texas Instruments ADS7950 SPI ADC driver 12 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 20 #include <linux/gpio/driver.h> 26 #include <linux/spi/spi.h> 36 * Device tree users encode that via the vref-supply regulator. 54 (((val) >> (dec)) & ((1 << (bits)) - 1)) 61 (TI_ADS7950_MAN_CMD(TI_ADS7950_CR_WRITE | st->cmd_settings_bitmask)) 62 /* GPIO mode configuration */ 64 (TI_ADS7950_GPIO_CMD(st->gpio_cmd_settings_bitmask)) [all …]
|