| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-bitbang-txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * simple SPI master driver. Two do polled word-at-a-time I/O: 6 * - GPIO/parport bitbangers. Provide chipselect() and txrx_word[](), 7 * expanding the per-word routines from the inline templates below. 9 * - Drivers for controllers resembling bare shift registers. Provide 15 * - Drivers leveraging smarter hardware, with fifos or DMA; or for half 36 * A non-inlined routine would call bitbang_txrx_*() routines. The 47 bitbang_txrx_be_cpha0(struct spi_device *spi, in bitbang_txrx_be_cpha0() argument 48 unsigned nsecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha0() argument 51 /* if (cpol == 0) this is SPI_MODE_0; else this is SPI_MODE_2 */ in bitbang_txrx_be_cpha0() [all …]
|
| D | spi-lp8841-rtc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * SPI master driver for ICP DAS LP-8841 RTC 11 * Copyright (C) 2003 - 2007 Paul Mundt 19 #include <linux/spi/spi.h> 30 * REVISIT If there is support for SPI_3WIRE and SPI_LSB_FIRST in SPI 31 * GPIO driver, this SPI driver can be replaced by a simple GPIO driver 44 data->state |= SPI_LP8841_RTC_CLK; in setsck() 46 data->state &= ~SPI_LP8841_RTC_CLK; in setsck() 47 writeb(data->state, data->iomem); in setsck() 54 data->state |= SPI_LP8841_RTC_MOSI; in setmosi() [all …]
|
| /kernel/linux/linux-4.19/drivers/spi/ |
| D | spi-bitbang-txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * simple SPI master driver. Two do polled word-at-a-time I/O: 6 * - GPIO/parport bitbangers. Provide chipselect() and txrx_word[](), 7 * expanding the per-word routines from the inline templates below. 9 * - Drivers for controllers resembling bare shift registers. Provide 15 * - Drivers leveraging smarter hardware, with fifos or DMA; or for half 36 * A non-inlined routine would call bitbang_txrx_*() routines. The 47 bitbang_txrx_be_cpha0(struct spi_device *spi, in bitbang_txrx_be_cpha0() argument 48 unsigned nsecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha0() argument 51 /* if (cpol == 0) this is SPI_MODE_0; else this is SPI_MODE_2 */ in bitbang_txrx_be_cpha0() [all …]
|
| D | spi-lp8841-rtc.c | 2 * SPI master driver for ICP DAS LP-8841 RTC 10 * Copyright (C) 2003 - 2007 Paul Mundt 28 #include <linux/spi/spi.h> 39 * REVISIT If there is support for SPI_3WIRE and SPI_LSB_FIRST in SPI 40 * GPIO driver, this SPI driver can be replaced by a simple GPIO driver 53 data->state |= SPI_LP8841_RTC_CLK; in setsck() 55 data->state &= ~SPI_LP8841_RTC_CLK; in setsck() 56 writeb(data->state, data->iomem); in setsck() 63 data->state |= SPI_LP8841_RTC_MOSI; in setmosi() 65 data->state &= ~SPI_LP8841_RTC_MOSI; in setmosi() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | microchip,mcp3201.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Oskar Andero <oskar.andero@gmail.com> 18 - microchip,mcp3001 19 - microchip,mcp3002 20 - microchip,mcp3004 21 - microchip,mcp3008 22 - microchip,mcp3201 23 - microchip,mcp3202 [all …]
|
| 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: 32 vref-supply: [all …]
|
| D | ti-adc084s021.txt | 4 - compatible : Must be "ti,adc084s021" 5 - reg : SPI chip select number for the device 6 - vref-supply : The regulator supply for ADC reference voltage 7 - spi-cpol : Per spi-bus bindings 8 - spi-cpha : Per spi-bus bindings 9 - spi-max-frequency : Per spi-bus bindings 15 vref-supply = <&adc_vref>; 16 spi-cpol; 17 spi-cpha; 18 spi-max-frequency = <16000000>;
|
| D | adi,ad7192.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Michael Hennerich <michael.hennerich@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7192.pdf 21 - adi,ad7190 22 - adi,ad7192 23 - adi,ad7193 24 - adi,ad7195 29 spi-cpol: true [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
| D | fsl-ls1028a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /dts-v1/; 13 #include "fsl-ls1028a.dtsi" 17 compatible = "fsl,ls1028a-qds", "fsl,ls1028a"; 29 stdout-path = "serial0:115200n8"; 37 sys_mclk: clock-mclk { 38 compatible = "fixed-clock"; 39 #clock-cells = <0>; 40 clock-frequency = <25000000>; 43 reg_1p8v: regulator-1p8v { [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/resolver/ |
| D | ad2s90.txt | 1 Analog Devices AD2S90 Resolver-to-Digital Converter 6 - compatible: should be "adi,ad2s90" 7 - reg: SPI chip select number for the device 8 - spi-max-frequency: set maximum clock frequency, must be 830000 9 - spi-cpol and spi-cpha: 10 Either SPI mode (0,0) or (1,1) must be used, so specify none or both of 11 spi-cpha, spi-cpol. 14 Documentation/devicetree/bindings/spi/spi-bus.txt 20 implemented in the spi code, to satisfy it, SCLK's period should be at most 21 2 * 600ns, so the max frequency should be 1 / (2 * 6e-7), which gives [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/ |
| D | ti-dac082s085.txt | 1 Texas Instruments 8/10/12-bit 2/4-channel DAC driver 4 - compatible: Must be one of: 11 - reg: Chip select number. 12 - spi-cpha, spi-cpol: SPI mode (0,1) or (1,0) must be used, so specify 13 either spi-cpha or spi-cpol (but not both). 14 - vref-supply: Phandle to the external reference voltage supply. 16 For other required and optional properties of SPI slave nodes please refer to 17 ../../spi/spi-bus.txt. 20 vref_2v5_reg: regulator-vref { 21 compatible = "regulator-fixed"; [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/dac/ |
| D | ti-dac082s085.txt | 1 Texas Instruments 8/10/12-bit 2/4-channel DAC driver 4 - compatible: Must be one of: 11 - reg: Chip select number. 12 - spi-cpha, spi-cpol: SPI mode (0,1) or (1,0) must be used, so specify 13 either spi-cpha or spi-cpol (but not both). 14 - vref-supply: Phandle to the external reference voltage supply. 16 For other required and optional properties of SPI slave nodes please refer to 17 ../../spi/spi-bus.txt. 20 vref_2v5_reg: regulator-vref { 21 compatible = "regulator-fixed"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/gyroscope/ |
| D | adi,adxrs290.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope 11 - Nishant Malpani <nish.malpani25@gmail.com> 14 Bindings for the Analog Devices ADXRS290 dual-axis MEMS gyroscope device. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ADXRS290.pdf 24 spi-max-frequency: 27 spi-cpol: true 29 spi-cpha: true [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/mtd/ |
| D | nxp-spifi.txt | 1 * NXP SPI Flash Interface (SPIFI) 3 NXP SPIFI is a specialized SPI interface for serial Flash devices. 4 It supports one Flash device with 1-, 2- and 4-bits width in SPI 10 - compatible : Should be "nxp,lpc1773-spifi" 11 - reg : the first contains the register location and length, 13 - reg-names: Should contain the reg names "spifi" and "flash" 14 - interrupts : Should contain the interrupt for the device 15 - clocks : The clocks needed by the SPIFI controller 16 - clock-names : Should contain the clock names "spifi" and "reg" 19 - resets : phandle + reset specifier [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/ |
| D | nxp-spifi.txt | 1 * NXP SPI Flash Interface (SPIFI) 3 NXP SPIFI is a specialized SPI interface for serial Flash devices. 4 It supports one Flash device with 1-, 2- and 4-bits width in SPI 10 - compatible : Should be "nxp,lpc1773-spifi" 11 - reg : the first contains the register location and length, 13 - reg-names: Should contain the reg names "spifi" and "flash" 14 - interrupts : Should contain the interrupt for the device 15 - clocks : The clocks needed by the SPIFI controller 16 - clock-names : Should contain the clock names "spifi" and "reg" 19 - resets : phandle + reset specifier [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/ |
| D | qca,qca7000.txt | 3 The QCA7000 is a serial-to-powerline bridge with a host interface which could 4 be configured either as SPI or UART slave. This configuration is done by 7 (a) Ethernet over SPI 9 In order to use the QCA7000 as SPI device it must be defined as a child of a 10 SPI master in the device tree. 13 - compatible : Should be "qca,qca7000" 14 - reg : Should specify the SPI chip select 15 - interrupts : The first cell should specify the index of the source 18 - spi-cpha : Must be set 19 - spi-cpol : Must be set [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | qca,qca7000.txt | 3 The QCA7000 is a serial-to-powerline bridge with a host interface which could 4 be configured either as SPI or UART slave. This configuration is done by 7 (a) Ethernet over SPI 9 In order to use the QCA7000 as SPI device it must be defined as a child of a 10 SPI master in the device tree. 13 - compatible : Should be "qca,qca7000" 14 - reg : Should specify the SPI chip select 15 - interrupts : The first cell should specify the index of the source 18 - spi-cpha : Must be set 19 - spi-cpol : Must be set [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/ |
| D | ti-adc084s021.txt | 4 - compatible : Must be "ti,adc084s021" 5 - reg : SPI chip select number for the device 6 - vref-supply : The regulator supply for ADC reference voltage 7 - spi-cpol : Per spi-bus bindings 8 - spi-cpha : Per spi-bus bindings 9 - spi-max-frequency : Per spi-bus bindings 15 vref-supply = <&adc_vref>; 16 spi-cpol; 17 spi-cpha; 18 spi-max-frequency = <16000000>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
| D | qcom,spi-qup.txt | 1 Qualcomm Universal Peripheral (QUP) Serial Peripheral Interface (SPI) 4 and an input FIFO) for serial peripheral interface (SPI) mini-core. 6 SPI in master mode supports up to 50MHz, up to four chip selects, programmable 10 - compatible: Should contain: 11 "qcom,spi-qup-v1.1.1" for 8660, 8960 and 8064. 12 "qcom,spi-qup-v2.1.1" for 8974 and later 13 "qcom,spi-qup-v2.2.1" for 8974 v2 and later. 15 - reg: Should contain base register location and length 16 - interrupts: Interrupt number used by this controller 18 - clocks: Should contain the core clock and the AHB clock. [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/spi/ |
| D | qcom,spi-qup.txt | 1 Qualcomm Universal Peripheral (QUP) Serial Peripheral Interface (SPI) 4 and an input FIFO) for serial peripheral interface (SPI) mini-core. 6 SPI in master mode supports up to 50MHz, up to four chip selects, programmable 10 - compatible: Should contain: 11 "qcom,spi-qup-v1.1.1" for 8660, 8960 and 8064. 12 "qcom,spi-qup-v2.1.1" for 8974 and later 13 "qcom,spi-qup-v2.2.1" for 8974 v2 and later. 15 - reg: Should contain base register location and length 16 - interrupts: Interrupt number used by this controller 18 - clocks: Should contain the core clock and the AHB clock. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/ |
| D | epson,rx6110.txt | 4 The Epson RX6110 can be used with SPI or I2C busses. The kind of 8 -------- 11 - compatible: should be: "epson,rx6110" 12 - reg : the I2C address of the device for I2C 21 SPI mode 22 -------- 25 - compatible: should be: "epson,rx6110" 26 - reg: chip select number 27 - spi-cs-high: RX6110 needs chipselect high 28 - spi-cpha: RX6110 works with SPI shifted clock phase [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/rtc/ |
| D | epson,rx6110.txt | 4 The Epson RX6110 can be used with SPI or I2C busses. The kind of 8 -------- 11 - compatible: should be: "epson,rx6110" 12 - reg : the I2C address of the device for I2C 21 SPI mode 22 -------- 25 - compatible: should be: "epson,rx6110" 26 - reg: chip select number 27 - spi-cs-high: RX6110 needs chipselect high 28 - spi-cpha: RX6110 works with SPI shifted clock phase [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/imu/ |
| D | adi,adis16475.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sá <nuno.sa@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16475.pdf 19 - adi,adis16475-1 20 - adi,adis16475-2 21 - adi,adis16475-3 22 - adi,adis16477-1 23 - adi,adis16477-2 [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/accel/ |
| D | adxl345.txt | 1 Analog Devices ADXL345/ADXL375 3-Axis Digital Accelerometers 4 http://www.analog.com/en/products/sensors-mems/accelerometers/adxl375.html 7 - compatible : should be one of 10 - reg : the I2C address or SPI chip select number of the sensor 12 Required properties for SPI bus usage: 13 - spi-max-frequency : set maximum clock frequency, must be 5000000 14 - spi-cpol and spi-cpha : must be defined for adxl345 to enable SPI mode 3 17 - interrupts: interrupt mapping for IRQ as documented in 18 Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 25 interrupt-parent = <&gpio1>; [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/eeprom/ |
| D | at25.txt | 1 EEPROMs (SPI) compatible with Atmel at25. 4 - compatible : Should be "<vendor>,<type>", and generic value "atmel,at25". 10 - reg : chip select number 11 - spi-max-frequency : max spi frequency to use 12 - pagesize : size of the eeprom page 13 - size : total eeprom size in bytes 14 - address-width : number of address bits (one of 8, 9, 16, or 24). 19 - spi-cpha : SPI shifted clock phase, as per spi-bus bindings. 20 - spi-cpol : SPI inverse clock polarity, as per spi-bus bindings. 21 - read-only : this parameter-less property disables writes to the eeprom [all …]
|