/Linux-v5.15/Documentation/devicetree/bindings/display/panel/ |
D | tpo,tpg110.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Thierry Reding <thierry.reding@gmail.com> 17 and other properties, and has a control interface over 3WIRE 18 SPI. By talking to the TPG110 over SPI, the strapped properties 20 self-describing. 22 +--------+ 23 SPI -> | TPO | -> physical display [all …]
|
D | ilitek,ili9341.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: Ilitek-9341 Display Panel 10 - Dillon Min <dillon.minfei@gmail.com> 13 Ilitek ILI9341 TFT panel driver with SPI control bus 18 - $ref: panel-common.yaml# 23 - enum: 24 # ili9341 240*320 Color on stm32f429-disco board 25 - st,sf-tc240t-9370-t [all …]
|
D | kingdisplay,kd035g6-54nt.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/kingdisplay,kd035g6-54nt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: King Display KD035G6-54NT 3.5" (320x240 pixels) 24-bit TFT LCD panel 10 The panel must obey the rules for a SPI slave device as specified in 11 spi/spi-controller.yaml 14 - Paul Cercueil <paul@crapouillou.net> 17 - $ref: panel-common.yaml# 21 const: kingdisplay,kd035g6-54nt [all …]
|
/Linux-v5.15/drivers/iio/common/st_sensors/ |
D | st_sensors_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * STMicroelectronics sensors spi library driver 5 * Copyright 2012-2013 STMicroelectronics Inc. 15 #include <linux/spi/spi.h> 33 * st_sensors_is_spi_3_wire() - check if SPI 3-wire mode has been selected 34 * @spi: spi device reference. 36 * Return: true if SPI 3-wire mode is selected, false otherwise. 38 static bool st_sensors_is_spi_3_wire(struct spi_device *spi) in st_sensors_is_spi_3_wire() argument 41 struct device *dev = &spi->dev; in st_sensors_is_spi_3_wire() 43 if (device_property_read_bool(dev, "spi-3wire")) in st_sensors_is_spi_3_wire() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/spi/ |
D | icpdas-lp8841-spi-rtc.txt | 1 * ICP DAS LP-8841 SPI Controller for RTC 3 ICP DAS LP-8841 contains a DS-1302 RTC. RTC is connected to an IO 4 memory register, which acts as an SPI master device. 6 The device uses the standard MicroWire half-duplex transfer timing. 13 - #address-cells: should be 1 15 - #size-cells: should be 0 17 - compatible: should be "icpdas,lp8841-spi-rtc" 19 - reg: should provide IO memory address 21 Requirements to SPI slave nodes: 23 - There can be only one slave device. [all …]
|
D | spi-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SPI Controller Generic Binding 10 - Mark Brown <broonie@kernel.org> 13 SPI busses can be described with a node for the SPI controller device 14 and a set of child nodes for each SPI slave on the bus. The system SPI 15 controller may be described for use in SPI master mode or in SPI slave mode, 20 pattern: "^spi(@.*|-[0-9a-f])*$" [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/rtc/ |
D | maxim-ds1302.txt | 1 * Maxim/Dallas Semiconductor DS-1302 RTC 5 The device uses the standard MicroWire half-duplex transfer timing. 12 - compatible : Should be "maxim,ds1302" 14 Required SPI properties: 16 - reg : Should be address of the device chip select within 19 - spi-max-frequency : DS-1302 has 500 kHz if powered at 2.2V, 22 - spi-3wire : The device has a shared signal IN/OUT line. 24 - spi-lsb-first : DS-1302 requires least significant bit first 27 - spi-cs-high: DS-1302 has active high chip select line. This is 32 spi@901c { [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/display/ |
D | multi-inno,mi0283qt.txt | 1 Multi-Inno MI0283QT display panel 4 - compatible: "multi-inno,mi0283qt". 6 The node for this driver must be a child node of a SPI controller, hence 7 all mandatory properties described in ../spi/spi-bus.txt must be specified. 10 - dc-gpios: D/C pin. The presence/absence of this GPIO determines 11 the panel interface mode (IM[3:0] pins): 12 - present: IM=x110 4-wire 8-bit data serial interface 13 - absent: IM=x101 3-wire 9-bit data serial interface 14 - reset-gpios: Reset pin 15 - power-supply: A regulator node for the supply voltage. [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/clock/ |
D | ti,lmk04832.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 21 - ti,lmk04832 26 '#address-cells': 29 '#size-cells': 32 '#clock-cells': 35 spi-max-frequency: 40 - description: PLL2 reference clock. [all …]
|
/Linux-v5.15/Documentation/spi/ |
D | spi-lm70llp.rst | 2 spi_lm70llp : LM70-LLP parport-to-SPI adapter 15 ----------- 17 temperature sensor evaluation board to the kernel's SPI core subsystem. 19 This is a SPI master controller driver. It can be used in conjunction with 20 (layered under) the LM70 logical driver (a "SPI protocol driver"). 22 into a SPI bus with a single device, which will be driven by the generic 27 -------------------- 28 The schematic for this particular board (the LM70EVAL-LLP) is 39 D0 2 - - 40 D1 3 --> V+ 5 [all …]
|
D | butterfly.rst | 2 spi_butterfly - parport-to-butterfly adapter driver 9 sensors, LCD, flash, toggle stick, and more. You can use AVR-GCC to 20 SPI protocol drivers interact with the AVR, and could even let the AVR 22 easily with a "real SPI controller", instead of this bitbanger. 25 The first cable connections will hook Linux up to one SPI bus, with the 28 connector pins (used also on non-Butterfly AVR boards). On the parport 32 Signal Butterfly Parport (DB-25) 35 RESET J403.nRST pin 3/D1 43 (a) flash new firmware that disables SPI (set PRR.2, and disable pullups 44 by clearing PORTB.[0-3]); (b) configure the mtd_dataflash driver; and [all …]
|
D | spi-summary.rst | 2 Overview of Linux kernel SPI support 5 02-Feb-2012 7 What is SPI? 8 ------------ 9 The "Serial Peripheral Interface" (SPI) is a synchronous four wire serial 12 standardization body. SPI uses a master/slave configuration. 17 clocking modes through which data is exchanged; mode-0 and mode-3 are most 22 SPI masters use a fourth "chip select" line to activate a given SPI slave 24 in parallel. All SPI slaves support chipselects; they are usually active 29 SPI slave functions are usually not interoperable between vendors [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/ |
D | trivial-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/trivial-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Trivial I2C and SPI devices that have simple device tree bindings 10 - Rob Herring <robh@kernel.org> 13 This is a list of trivial I2C and SPI devices that have simple device tree 27 spi-max-frequency: true 31 - enum: 32 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
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 …]
|
/Linux-v5.15/Documentation/devicetree/bindings/powerpc/fsl/ |
D | mpc5200.txt | 2 ---------------------------- 4 (c) 2006-2009 Secret Lab Technologies Ltd 8 ------------------ 9 For mpc5200 on-chip devices, the format for each compatible value is 10 <chip>-<device>[-<mode>]. The OS should be able to match a device driver 21 "fsl,mpc5200-<device>". 29 compatible = "fsl,mpc5200b-<device>","fsl,mpc5200-<device>"; 34 ie. ethernet on mpc5200: compatible = "fsl,mpc5200-fec"; 35 ethernet on mpc5200b: compatible = "fsl,mpc5200b-fec", "fsl,mpc5200-fec"; 39 "fsl,mpc5200-psc-i2s", not "fsl,mpc5200-i2s". This convention is chosen to [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/iio/accel/ |
D | bosch,bma255.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Stephan Gerhold <stephan@gerhold.net> 14 3 axis accelerometers with varying range and I2C or SPI 15 4-wire interface. 20 # bmc150-accel driver in Linux 21 - bosch,bma222 22 - bosch,bma222e [all …]
|
/Linux-v5.15/include/uapi/linux/spi/ |
D | spi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 17 #define SPI_LSB_FIRST _BITUL(3) /* per-word bits-on-wire */ 34 * 'include/linux/spi/spi.h'. The bits defined here are from bit 0 upwards 39 #define SPI_MODE_USER_MASK (_BITUL(16) - 1)
|
/Linux-v5.15/include/linux/platform_data/ |
D | st_sensors_pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * STMicroelectronics sensors platform-data driver 14 * struct st_sensors_platform_data - Platform data for the ST sensors 20 * @spi_3wire: enable spi-3wire mode.
|
/Linux-v5.15/drivers/iio/temperature/ |
D | ltc2983.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 18 #include <linux/spi/spi.h> 42 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG) 44 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG) 45 #define LTC2983_THERMOCOUPLE_DIFF_MASK BIT(3) 75 #define LTC2983_RTD_4_WIRE_MASK BIT(3) 79 #define LTC2983_RTD_KELVIN_R_SENSE_MASK GENMASK(3, 2) 80 #define LTC2983_RTD_N_WIRES_MASK GENMASK(3, 2) 192 struct spi_device *spi; member [all …]
|
/Linux-v5.15/drivers/acpi/acpica/ |
D | utresdecode.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utresdecode - Resource descriptor keyword strings 28 "0 - Good Configuration", 29 "1 - Acceptable Configuration", 30 "2 - Suboptimal Configuration", 31 "3 - ***Invalid Configuration***", 170 "SPI", 189 /* SPI serial bus wire mode */ 196 /* SPI serial clock phase */ 203 /* SPI serial bus clock polarity */ [all …]
|
/Linux-v5.15/drivers/spi/ |
D | spi-rb4xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SPI controller driver for the Mikrotik RB4xx boards 16 #include <linux/spi/spi.h> 19 #include <asm/mach-ath79/ar71xx_regs.h> 28 return __raw_readl(rbspi->base + reg); in rb4xx_read() 33 __raw_writel(value, rbspi->base + reg); in rb4xx_write() 52 for (i = 7; i >= 0; i--) in do_spi_byte() 81 static void rb4xx_set_cs(struct spi_device *spi, bool enable) in rb4xx_set_cs() argument 83 struct rb4xx_spi *rbspi = spi_master_get_devdata(spi->master); in rb4xx_set_cs() 96 struct spi_device *spi, struct spi_transfer *t) in rb4xx_transfer_one() argument [all …]
|
/Linux-v5.15/include/linux/mfd/wm831x/ |
D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 40 * Configuration for the WM831x DC-DC BuckWise convertors. This 47 * I2C or SPI buses. 62 WM831X_STATUS_CHARGER = 3, 73 int fivewire; /** 1 for five wire mode, 0 for 4 wire */ 87 WM831X_WDOG_WAKE = 3,
|
/Linux-v5.15/include/trace/events/ |
D | spi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 #define TRACE_SYSTEM spi 22 __entry->bus_num = controller->bus_num; 25 TP_printk("spi%d", (int)__entry->bus_num) 46 TP_PROTO(struct spi_device *spi, int status), 47 TP_ARGS(spi, status), 59 __entry->bus_num = spi->controller->bus_num; 60 __entry->chip_select = spi->chip_select; 61 __entry->mode = spi->mode; 62 __entry->bits_per_word = spi->bits_per_word; [all …]
|
/Linux-v5.15/tools/spi/ |
D | spidev_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SPI testing utility (using spidev driver) 8 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include 24 #include <linux/spi/spidev.h> 71 while (length-- > 0) { in hex_dump() 91 * Unescape - process hexadecimal escape character 92 * converts shell input "\x23" -> 0x23 152 pabort("can't send spi message"); in transfer() 175 printf("Usage: %s [-DsbdlHOLC3vpNR24SI]\n", prog); in print_usage() 176 puts(" -D --device device to use (default /dev/spidev1.1)\n" in print_usage() [all …]
|
/Linux-v5.15/drivers/rtc/ |
D | rtc-ds1302.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2003 - 2007 Paul Mundt 16 #include <linux/spi/spi.h> 39 struct spi_device *spi = dev_get_drvdata(dev); in ds1302_rtc_set_time() local 49 status = spi_write_then_read(spi, buf, 2, in ds1302_rtc_set_time() 58 *bp++ = bin2bcd(time->tm_sec); in ds1302_rtc_set_time() 59 *bp++ = bin2bcd(time->tm_min); in ds1302_rtc_set_time() 60 *bp++ = bin2bcd(time->tm_hour); in ds1302_rtc_set_time() 61 *bp++ = bin2bcd(time->tm_mday); in ds1302_rtc_set_time() 62 *bp++ = bin2bcd(time->tm_mon + 1); in ds1302_rtc_set_time() [all …]
|