| /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 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. 15 Not needed if num-chipselects = <0>. [all …]
|
| D | spi-samsung.txt | 8 - compatible: should be one of the following. 9 - samsung,s3c2443-spi: for s3c2443, s3c2416 and s3c2450 platforms 10 - samsung,s3c6410-spi: for s3c6410 platforms 11 - samsung,s5pv210-spi: for s5pv210 and s5pc110 platforms 12 - samsung,exynos5433-spi: for exynos5433 compatible controllers 13 - samsung,exynos7-spi: for exynos7 platforms <DEPRECATED> 15 - reg: physical base address of the controller and length of memory mapped 18 - interrupts: The interrupt number to the cpu. The interrupt specifier format 21 - dmas : Two or more DMA channel specifiers following the convention outlined 24 - dma-names: Names for the dma channels. There must be at least one channel [all …]
|
| D | spi-bus.txt | 9 - compatible - Name of SPI bus controller following generic names 14 - #address-cells - number of cells required to define a chip select 16 - #size-cells - should be zero. 19 - spi-slave - Empty property. 25 flexible and non-standardized, it is left out of this binding with the 31 - cs-gpios - gpios chip select. 32 - num-cs - total number of chipselects. 34 If cs-gpios is used the number of chip selects will be increased automatically 35 with max(cs-gpios > hw cs). 37 So if for example the controller has 2 CS lines, and the cs-gpios [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 17 - $ref: "/schemas/spi/spi-controller.yaml#" 21 const: spi-gpio 23 sck-gpios: [all …]
|
| D | spi-samsung.txt | 8 - compatible: should be one of the following. 9 - samsung,s3c2443-spi: for s3c2443, s3c2416 and s3c2450 platforms 10 - samsung,s3c6410-spi: for s3c6410 platforms 11 - samsung,s5pv210-spi: for s5pv210 and s5pc110 platforms 12 - samsung,exynos5433-spi: for exynos5433 compatible controllers 13 - samsung,exynos7-spi: for exynos7 platforms <DEPRECATED> 15 - reg: physical base address of the controller and length of memory mapped 18 - interrupts: The interrupt number to the cpu. The interrupt specifier format 21 - dmas : Two or more DMA channel specifiers following the convention outlined 24 - dma-names: Names for the dma channels. There must be at least one channel [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| 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 23 uart1(cts), lcd-spi(cs1), pmu* 24 mpp4 4 gpio, pmu, uart3(rts), sdio1(cd), spi1(miso), pmu* 31 mpp11 11 gpio, pmu, sata(prsnt), sata-1(act), sdio0(ledctrl), 39 mpp16 16 gpio, uart3(rts), sdio0(cd), ac97(sdi1), lcd-spi(cs1) 41 ac97-1(sysclko) 44 mpp20 20 gpio, sdio0(cd), sdio1(cd), spi1(miso), lcd-spi(miso), [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/ |
| 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 23 uart1(cts), lcd-spi(cs1), pmu* 24 mpp4 4 gpio, pmu, uart3(rts), sdio1(cd), spi1(miso), pmu* 31 mpp11 11 gpio, pmu, sata(prsnt), sata-1(act), sdio0(ledctrl), 39 mpp16 16 gpio, uart3(rts), sdio0(cd), ac97(sdi1), lcd-spi(cs1) 41 ac97-1(sysclko) 44 mpp20 20 gpio, sdio0(cd), sdio1(cd), spi1(miso), lcd-spi(miso), [all …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 26 * platform_device->driver_data ... points to spi_gpio 28 * spi->controller_state ... reserved for bitbang framework code 30 * spi->master->dev.driver_data ... points to spi_gpio->bitbang 36 struct gpio_desc *miso; member 41 /*----------------------------------------------------------------------*/ 48 * - The slow generic way: set up platform_data to hold the GPIO 49 * numbers used for MISO/MOSI/SCK, and issue procedure calls for 52 * - The quicker inlined way: only helps with platform GPIO code 53 * that inlines operations for constant GPIOs. This can give [all …]
|
| /kernel/linux/linux-4.19/drivers/spi/ |
| D | spi-gpio.c | 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 40 * spi->master->dev.driver_data ... points to spi_gpio->bitbang 48 struct gpio_desc *miso; member 54 /*----------------------------------------------------------------------*/ 61 * - The slow generic way: set up platform_data to hold the GPIO 62 * numbers used for MISO/MOSI/SCK, and issue procedure calls for 65 * - The quicker inlined way: only helps with platform GPIO code 66 * that inlines operations for constant GPIOs. This can give [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | bcm947189acdbmr.dts | 8 /dts-v1/; 25 compatible = "gpio-leds"; 29 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>; 34 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>; 39 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>; 43 gpio-keys { 44 compatible = "gpio-keys"; 45 #address-cells = <1>; 46 #size-cells = <0>; 51 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>; [all …]
|
| D | imx28-cfa10056.dts | 8 * http://www.opensource.org/licenses/gpl-license.html 13 * The CFA-10055 is an expansion board for the CFA-10036 module and 14 * CFA-10037, thus we need to include the CFA-10037 DTS. 16 #include "imx28-cfa10037.dts" 19 model = "Crystalfontz CFA-10056 Board"; 25 spi2_pins_cfa10056: spi2-cfa10056@0 { 27 fsl,pinmux-ids = < 33 fsl,drive-strength = <MXS_DRIVE_8mA>; 35 fsl,pull-up = <MXS_PULL_ENABLE>; 38 lcdif_pins_cfa10056: lcdif-10056@0 { [all …]
|
| D | imx28-cfa10055.dts | 9 * http://www.opensource.org/licenses/gpl-license.html 14 * The CFA-10055 is an expansion board for the CFA-10036 module and 15 * CFA-10037, thus we need to include the CFA-10037 DTS. 17 #include "imx28-cfa10037.dts" 20 model = "Crystalfontz CFA-10055 Board"; 26 spi2_pins_cfa10055: spi2-cfa10055@0 { 28 fsl,pinmux-ids = < 34 fsl,drive-strength = <MXS_DRIVE_8mA>; 36 fsl,pull-up = <MXS_PULL_ENABLE>; 39 lcdif_18bit_pins_cfa10055: lcdif-18bit@0 { [all …]
|
| D | gemini-sq201.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 9 #include <dt-bindings/input/input.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 24 stdout-path = &uart0; 28 compatible = "gpio-keys"; 30 button-setup { 31 debounce-interval = <50>; 32 wakeup-source; [all …]
|
| D | gemini-sl93512r.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * "Gemini324 EV-Board" before Storm acquired Storlink Semiconductor. 9 /dts-v1/; 12 #include <dt-bindings/input/input.h> 15 model = "Storlink Semiconductor Gemini324 EV-Board / Storm Semiconductor SL93512R_BRD"; 17 #address-cells = <1>; 18 #size-cells = <1>; 28 stdout-path = &uart0; 32 compatible = "gpio-keys"; 34 button-wps { [all …]
|
| D | imx28-cfa10049.dts | 8 * http://www.opensource.org/licenses/gpl-license.html 13 * The CFA-10049 is an expansion board for the CFA-10036 module, thus we 14 * need to include the CFA-10036 DTS. 16 #include "imx28-cfa10036.dts" 19 model = "Crystalfontz CFA-10049 Board"; 23 compatible = "i2c-mux-gpio"; 24 #address-cells = <1>; 25 #size-cells = <0>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&i2cmux_pins_cfa10049>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | bcm947189acdbmr.dts | 8 /dts-v1/; 26 compatible = "gpio-leds"; 30 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>; 35 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>; 40 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>; 44 gpio-keys { 45 compatible = "gpio-keys"; 50 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>; 56 gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>; 61 compatible = "spi-gpio"; [all …]
|
| D | pxa300-raumfeld-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 10 hw-revision = <0>; 14 stdout-path = &ffuart; 22 reg_3v3: regulator-3v3 { 23 compatible = "regulator-fixed"; 24 regulator-name = "3v3-fixed-supply"; 25 regulator-min-microvolt = <3300000>; [all …]
|
| D | imx28-cfa10056.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * The CFA-10055 is an expansion board for the CFA-10036 module and 8 * CFA-10037, thus we need to include the CFA-10037 DTS. 10 #include "imx28-cfa10037.dts" 13 model = "Crystalfontz CFA-10056 Board"; 19 spi2_pins_cfa10056: spi2-cfa10056@0 { 21 fsl,pinmux-ids = < 27 fsl,drive-strength = <MXS_DRIVE_8mA>; 29 fsl,pull-up = <MXS_PULL_ENABLE>; 32 lcdif_pins_cfa10056: lcdif-10056@0 { [all …]
|
| D | imx28-cfa10055.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * The CFA-10055 is an expansion board for the CFA-10036 module and 9 * CFA-10037, thus we need to include the CFA-10037 DTS. 11 #include "imx28-cfa10037.dts" 14 model = "Crystalfontz CFA-10055 Board"; 20 spi2_pins_cfa10055: spi2-cfa10055@0 { 22 fsl,pinmux-ids = < 28 fsl,drive-strength = <MXS_DRIVE_8mA>; 30 fsl,pull-up = <MXS_PULL_ENABLE>; 33 lcdif_18bit_pins_cfa10055: lcdif-18bit@0 { [all …]
|
| D | gemini-sq201.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 9 #include <dt-bindings/input/input.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 24 stdout-path = &uart0; 28 compatible = "gpio-keys"; 30 button-setup { 31 debounce-interval = <100>; 32 wakeup-source; [all …]
|
| D | gemini-sl93512r.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * "Gemini324 EV-Board" before Storm acquired Storlink Semiconductor. 9 /dts-v1/; 12 #include <dt-bindings/input/input.h> 15 model = "Storlink Semiconductor Gemini324 EV-Board / Storm Semiconductor SL93512R_BRD"; 17 #address-cells = <1>; 18 #size-cells = <1>; 28 stdout-path = &uart0; 32 compatible = "gpio-keys"; 34 button-wps { [all …]
|
| D | imx28-cfa10049.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * The CFA-10049 is an expansion board for the CFA-10036 module, thus we 8 * need to include the CFA-10036 DTS. 10 #include "imx28-cfa10036.dts" 13 model = "Crystalfontz CFA-10049 Board"; 17 compatible = "i2c-mux-gpio"; 18 #address-cells = <1>; 19 #size-cells = <0>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&i2cmux_pins_cfa10049>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/marvell/ |
| D | armada-8040-clearfog-gt-8k.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include "armada-8040.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "solidrun,clearfog-gt-8k", "marvell,armada8040", 17 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 20 stdout-path = "serial0:115200n8"; 34 v_3_3: regulator-3-3v { 35 compatible = "regulator-fixed"; 36 regulator-name = "v_3_3"; [all …]
|
| /kernel/linux/linux-4.19/Documentation/driver-api/gpio/ |
| D | drivers-on-gpio.rst | 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, 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 24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with 25 up to three buttons by simply using GPIOs and no mouse port. You can cut the 29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from 32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/gpio/ |
| D | drivers-on-gpio.rst | 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, 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 24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with 25 up to three buttons by simply using GPIOs and no mouse port. You can cut the 29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from 32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an [all …]
|