/Linux-v5.4/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 …]
|
/Linux-v5.4/Documentation/devicetree/bindings/iio/adc/ |
D | avia-hx711.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: "http://devicetree.org/schemas/iio/adc/avia-hx711.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Andreas Klinger <ak@it-klinger.de> 13 Bit-banging driver using two GPIOs: 14 - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval 17 - dout-gpio is the sensor data the sensor responds to the clock 25 - avia,hx711 27 sck-gpios: [all …]
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | at91-tse850-3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board 9 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 11 #include "at91-linea.dtsi" 14 model = "Axentia TSE-850 3.0"; 18 sck: oscillator { label 19 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <16000000>; [all …]
|
D | ste-nomadik-nhk15.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include "ste-nomadik-stn8815.dtsi" 13 compatible = "st,nomadik-nhk-15"; 22 stmpe-i2c0 = &stmpe0; 23 stmpe-i2c1 = &stmpe1; 71 disable-sxtalo; 72 disable-mxtalo; [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 | bcm47081-buffalo-wzr-900dhp.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WZR-900DHP 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "buffalo,wzr-900dhp", "brcm,bcm47081", "brcm,bcm4708"; 16 model = "Buffalo WZR-900DHP (BCM47081)"; 29 compatible = "spi-gpio"; 30 num-chipselects = <1>; 31 gpio-sck = <&chipcommon 7 0>; 32 gpio-mosi = <&chipcommon 4 0>; [all …]
|
D | bcm47081-buffalo-wzr-600dhp2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WZR-600DHP2 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "buffalo,wzr-600dhp2", "brcm,bcm47081", "brcm,bcm4708"; 16 model = "Buffalo WZR-600DHP2 (BCM47081)"; 29 compatible = "spi-gpio"; 30 num-chipselects = <1>; 31 gpio-sck = <&chipcommon 7 0>; 32 gpio-mosi = <&chipcommon 4 0>; [all …]
|
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 | bcm4708-buffalo-wzr-1750dhp.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WZR-1750DHP 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "buffalo,wzr-1750dhp", "brcm,bcm4708"; 16 model = "Buffalo WZR-1750DHP (BCM4708)"; 29 compatible = "spi-gpio"; 30 num-chipselects = <1>; 31 gpio-sck = <&chipcommon 7 0>; 32 gpio-mosi = <&chipcommon 4 0>; [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 | vf610-zii-dev-rev-c.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "vf610-zii-dev.dtsi" 11 compatible = "zii,vf610dev-c", "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 20 mdio-parent-bus = <&mdio1>; [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 | armada-xp-lenovo-ix4-300d.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for Lenovo Iomega ix4-300d 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-xp-mv78230.dtsi" 15 model = "Lenovo Iomega ix4-300d"; 16 compatible = "lenovo,ix4-300d", "marvell,armadaxp-mv78230", 17 "marvell,armadaxp", "marvell,armada-370-xp"; 20 stdout-path = "serial0:115200n8"; [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 …]
|
/Linux-v5.4/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* 27 mpp7 7 gpio, pmu, uart3(rxd), sdio1(ledctrl), spi1(sck), 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) 43 mpp19 19 gpio, uart3(rxd), sdio0(ledctrl), twsi(sck) [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/fpga/ |
D | lattice-ice40-fpga-mgr.txt | 4 - compatible: Should contain "lattice,ice40-fpga-mgr" 5 - reg: SPI chip select 6 - spi-max-frequency: Maximum SPI frequency (>=1000000, <=25000000) 7 - cdone-gpios: GPIO input connected to CDONE pin 8 - reset-gpios: Active-low GPIO output connected to CRESET_B pin. Note 10 FPGA will enter Master SPI mode and drive SCK with a 16 compatible = "lattice,ice40-fpga-mgr"; 18 spi-max-frequency = <1000000>; 19 cdone-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; 20 reset-gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
|
/Linux-v5.4/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 35 struct gpio_desc *sck; 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-v5.4/arch/arm64/boot/dts/amlogic/ |
D | meson-gxbb-odroidc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 14 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; 15 model = "Hardkernel ODROID-C2"; 23 stdout-path = "serial0:115200n8"; 31 usb_otg_pwr: regulator-usb-pwrs { 32 compatible = "regulator-fixed"; 34 regulator-name = "USB_OTG_PWR"; [all …]
|
D | meson-gxl-s905x-khadas-vim.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 10 #include "meson-gxl-s905x-p212.dtsi" 13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; 20 keyup-threshold-microvolt = <1710000>; [all …]
|
D | meson-gxbb-nanopi-k2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 12 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 21 stdout-path = "serial0:115200n8"; 30 compatible = "gpio-leds"; 33 label = "nanopi-k2:blue:stat"; 34 gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; 35 default-state = "on"; [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/sound/ |
D | axentia,tse850-pcm5142.txt | 1 Devicetree bindings for the Axentia TSE-850 audio complex 4 - compatible: "axentia,tse850-pcm5142" 5 - axentia,cpu-dai: The phandle of the cpu dai. 6 - axentia,audio-codec: The phandle of the PCM5142 codec. 7 - axentia,add-gpios: gpio specifier that controls the mixer. 8 - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1. 9 - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2. 10 - axentia,ana-supply: Regulator that supplies the output amplifier. Must 11 support voltages in the 2V - 20V range, in 1V steps. 13 The schematics explaining the gpios are as follows: [all …]
|
/Linux-v5.4/Documentation/driver-api/gpio/ |
D | intro.rst | 10 GPIOs in drivers, and how to write a driver for a device that provides GPIOs 14 ways to obtain and use GPIOs: 16 - The descriptor-based interface is the preferred way to manipulate GPIOs, 17 and is described by all the files in this directory excepted gpio-legacy.txt. 18 - The legacy integer-based interface which is considered deprecated (but still 19 usable for compatibility reasons) is documented in gpio-legacy.txt. 21 The remainder of this document applies to the new descriptor-based interface. 22 gpio-legacy.txt contains the same information applied to the legacy 23 integer-based interface. 29 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled [all …]
|
/Linux-v5.4/drivers/hwmon/ |
D | sht15.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * sht15.c - support for the SHT15 Temperature and Humidity Sensor 5 * Portions Copyright (c) 2010-2012 Savoir-faire Linux Inc. 21 #include <linux/hwmon-sysfs.h> 65 * struct sht15_temppair - elements of voltage dependent temp calc 74 /* Table 9 from datasheet - relates temperature calculation to supply voltage */ 76 { 2500000, -39400 }, 77 { 3000000, -39600 }, 78 { 3500000, -39700 }, 79 { 4000000, -39800 }, [all …]
|