/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 …]
|
D | spi-cavium.c | 9 #include <linux/spi/spi.h> 14 #include "spi-cavium.h" 24 mpi_sts.u64 = readq(p->register_base + OCTEON_SPI_STS(p)); in octeon_spi_wait_ready() 33 struct spi_device *spi = msg->spi; in octeon_spi_do_transfer() local 38 bool cpha, cpol; in octeon_spi_do_transfer() local 44 mode = spi->mode; in octeon_spi_do_transfer() 46 cpol = mode & SPI_CPOL; in octeon_spi_do_transfer() 48 clkdiv = p->sys_freq / (2 * xfer->speed_hz); in octeon_spi_do_transfer() 56 mpi_cfg.s.idlelo = cpha != cpol; in octeon_spi_do_transfer() 60 if (spi->chip_select < 4) in octeon_spi_do_transfer() [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
D | ad5592r.txt | 4 - compatible: Must be "adi,ad5592r" 5 - reg: SPI chip select number for the device 6 - spi-max-frequency: Max SPI frequency to use (< 30000000) 7 - spi-cpol: The AD5592R requires inverse clock polarity (CPOL) mode 10 - compatible: Must be "adi,ad5593r" 11 - reg: I2C address of the device 14 - #address-cells: Should be 1. 15 - #size-cells: Should be 0. 16 - channel nodes: 22 can be found in <dt-bindings/iio/adi,ad5592r.h>. [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
D | adi,adis16460.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dragos Bogdan <dragos.bogdan@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16460.pdf 19 - adi,adis16460 24 spi-cpha: true 26 spi-cpol: true 28 spi-max-frequency: true 34 - compatible [all …]
|
D | adi,adis16480.txt | 6 - compatible: Must be one of 12 * "adi,adis16495-1" 13 * "adi,adis16495-2" 14 * "adi,adis16495-3" 15 * "adi,adis16497-1" 16 * "adi,adis16497-2" 17 * "adi,adis16497-3" 18 - reg: SPI chip select number for the device 19 - spi-max-frequency: Max SPI frequency to use 20 see: Documentation/devicetree/bindings/spi/spi-bus.txt [all …]
|
D | invensense,icm42600.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: InvenSense ICM-426xx Inertial Measurement Unit 10 - Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> 13 6-axis MotionTracking device that combines a 3-axis gyroscope and a 3-axis 16 It has a configurable host interface that supports I3C, I2C and SPI serial 18 ultra-low-power wake-on-motion support to minimize system power consumption. 20 Other industry-leading features include InvenSense on-chip APEX Motion 25 https://invensense.tdk.com/wp-content/uploads/2020/03/DS-000292-ICM-42605-v1.4.pdf [all …]
|
/linux-5.10/Documentation/devicetree/bindings/bus/ |
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-5.10/Documentation/devicetree/bindings/net/ieee802154/ |
D | ca8210.txt | 4 - compatible: Should be "cascoda,ca8210" 5 - reg: Controlling chip select 6 - spi-max-frequency: Maximum clock speed, should be *less than* 8 - spi-cpol: Requires inverted clock polarity 9 - reset-gpio: GPIO attached to reset 10 - irq-gpio: GPIO attached to IRQ 12 - extclock-enable: Include for the ca8210 to route its 16MHz clock 14 - extclock-freq: Frequency in Hz of the external clock 15 - extclock-gpio: GPIO of the ca8210 to output the clock on 21 spi-max-frequency = <3000000>; [all …]
|
/linux-5.10/Documentation/devicetree/bindings/iio/accel/ |
D | adi,adxl345.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices ADXL345/ADXL375 3-Axis Digital Accelerometers 10 - Michael Hennerich <michael.hennerich@analog.com> 13 Analog Devices ADXL345/ADXL375 3-Axis Digital Accelerometers that supports 14 both I2C & SPI interfaces. 16 https://www.analog.com/en/products/sensors-mems/accelerometers/adxl375.html 21 - items: 22 - const: adi,adxl346 [all …]
|
/linux-5.10/Documentation/devicetree/bindings/net/dsa/ |
D | ksz.txt | 6 - compatible: For external switch chips, compatible string must be exactly one 8 - "microchip,ksz8765" 9 - "microchip,ksz8794" 10 - "microchip,ksz8795" 11 - "microchip,ksz9477" 12 - "microchip,ksz9897" 13 - "microchip,ksz9896" 14 - "microchip,ksz9567" 15 - "microchip,ksz8565" 16 - "microchip,ksz9893" [all …]
|
/linux-5.10/arch/arm64/boot/dts/broadcom/northstar2/ |
D | ns2-svk.dts | 33 /dts-v1/; 39 compatible = "brcm,ns2-svk", "brcm,ns2"; 49 stdout-path = "serial0:115200n8"; 113 spi-max-frequency = <5000000>; 114 spi-cpha = <1>; 115 spi-cpol = <1>; 118 pl022,slave-tx-disable = <0>; 119 pl022,com-mode = <0>; 120 pl022,rx-level-trig = <1>; 121 pl022,tx-level-trig = <1>; [all …]
|