/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 …]
|
D | spi-mux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 16 MOSI /--------------------------------+--------+--------+--------\ 17 MISO |/------------------------------+|-------+|-------+|-------\| 18 SCL ||/----------------------------+||------+||------+||------\|| 20 +------------+ ||| ||| ||| ||| 21 | SoC ||| | +-+++-+ +-+++-+ +-+++-+ +-+++-+ 23 | +--+++-+ | CS-X +------+\ +--+--+ +--+--+ +--+--+ +--+--+ [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
D | armada-385-clearfog-gtr.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Rabeeh Khoury <rabeeh@solid-run.com>, based on Russell King clearfog work 9 SERDES mapping - 10 0. SATA1 on CON18, or optionally mini PCIe CON3 - PCIe0 12 2. SATA0 on CON17, or optionally mini PCIe CON4 - PCIe1 14 4. mini PCIe CON2 - PCIe2 17 USB 2.0 mapping - 18 0. USB 2.0 - 0 USB pins header CON12 19 1. USB 2.0 - 1 mini PCIe CON2 20 2. USB 2.0 - 2 to USB 3.0 connector (used with SERDES #3) [all …]
|
D | vf610-zii-dev-rev-b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "vf610-zii-dev.dtsi" 11 compatible = "zii,vf610dev-b", "zii,vf610dev", "fsl,vf610"; 13 mdio-mux { 14 compatible = "mdio-mux-gpio"; 15 pinctrl-0 = <&pinctrl_mdio_mux>; 16 pinctrl-names = "default"; 17 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH 21 mdio-parent-bus = <&mdio1>; [all …]
|
D | vf610-bk4.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 15 stdout-path = &uart1; 23 audio_ext: oscillator-audio { 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 26 clock-frequency = <24576000>; 29 enet_ext: oscillator-ethernet { 30 compatible = "fixed-clock"; 31 #clock-cells = <0>; [all …]
|
D | sun7i-a20-bananapi.dts | 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun7i-a20.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/interrupt-controller/irq.h> 54 compatible = "lemaker,bananapi", "allwinner,sun7i-a20"; 63 stdout-path = "serial0:115200n8"; 66 hdmi-connector { 67 compatible = "hdmi-connector"; [all …]
|
D | gemini-dlink-dir-685.dts | 2 * Device Tree file for D-Link DIR-685 Xtreme N Storage Router 5 /dts-v1/; 8 #include <dt-bindings/input/input.h> 11 model = "D-Link DIR-685 Xtreme N Storage Router"; 12 compatible = "dlink,dir-685", "cortina,gemini"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */ 24 stdout-path = "uart0:19200n8"; 28 compatible = "gpio-keys"; [all …]
|
D | imx51-zii-rdu1.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/sound/fsl-imx-audmux.h> 12 compatible = "zii,imx51-rdu1", "fsl,imx51"; 15 stdout-path = &uart1; 25 mdio-gpio0 = &mdio_gpio; 30 compatible = "fixed-clock"; 31 #clock-cells = <0>; 32 clock-frequency = <26000000>; 36 compatible = "gpio-gate-clock"; [all …]
|
D | qcom-apq8074-dragonboard.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 8 compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; 17 stdout-path = "serial0:115200n8"; 26 bus-width = <8>; 27 non-removable; 30 vmmc-supply = <&pm8941_l20>; 31 vqmmc-supply = <&pm8941_s3>; [all …]
|
D | qcom-msm8960-cdp.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 4 #include "qcom-msm8960.dtsi" 8 compatible = "qcom,msm8960-cdp", "qcom,msm8960"; 15 stdout-path = "serial0:115200n8"; 41 compatible = "qcom,rpm-pm8921-regulators"; 42 vin_lvs1_3_6-supply = <&pm8921_s4>; 43 vin_lvs2-supply = <&pm8921_s4>; 44 vin_lvs4_5_7-supply = <&pm8921_s4>; 45 vdd_ncp-supply = <&pm8921_l6>; [all …]
|
D | imx6ul-tx6ul.dtsi | 2 * Copyright 2015 Lothar Waßmann <LW@KARO-electronics.de> 4 * This file is dual-licensed: you can use it either under the terms 42 #include <dt-bindings/gpio/gpio.h> 43 #include <dt-bindings/interrupt-controller/irq.h> 44 #include <dt-bindings/pwm/pwm.h> 56 lcdif-23bit-pins-a = &pinctrl_disp0_1; 57 lcdif-24bit-pins-a = &pinctrl_disp0_2; 59 reg-can-xcvr = ®_can_xcvr; 70 stdout-path = &uart1; 75 reg = <0x80000000 0>; /* will be filled by U-Boot */ [all …]
|
/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 …]
|
/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 …]
|
/linux-5.10/arch/arm64/boot/dts/amlogic/ |
D | meson-gxl-s805x-libretech-ac.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s805x.dtsi" 16 compatible = "libretech,aml-s805x-ac", "amlogic,s805x", 17 "amlogic,meson-gxl"; 18 model = "Libre Computer AML-S805X-AC"; 27 stdout-path = "serial0:115200n8"; 30 cvbs-connector { [all …]
|
/linux-5.10/drivers/nfc/st-nci/ |
D | spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved. 19 #include "st-nci.h" 48 gpiod_set_value(phy->gpiod_reset, 0); in st_nci_spi_enable() 50 gpiod_set_value(phy->gpiod_reset, 1); in st_nci_spi_enable() 53 if (phy->ndlc->powered == 0 && phy->irq_active == 0) { in st_nci_spi_enable() 54 enable_irq(phy->spi_dev->irq); in st_nci_spi_enable() 55 phy->irq_active = true; in st_nci_spi_enable() 65 disable_irq_nosync(phy->spi_dev->irq); in st_nci_spi_disable() 66 phy->irq_active = false; in st_nci_spi_disable() [all …]
|