/linux/arch/arm64/boot/dts/freescale/ |
H A 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"; 32 stdout-path = "serial0:115200n8"; 40 sys_mclk: clock-mclk { 41 compatible = "fixed-clock"; 42 #clock-cells = <0>; 43 clock-frequency = <25000000>; 46 reg_1p8v: regulator-1p8v { [all …]
|
H A D | fsl-ls1088a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /dts-v1/; 13 #include "fsl-ls1088a.dtsi" 17 compatible = "fsl,ls1088a-qds", "fsl,ls1088a"; 21 bus-num = <0>; 25 #address-cells = <1>; 26 #size-cells = <1>; 27 compatible = "jedec,spi-nor"; 29 spi-max-frequency = <1000000>; 33 #address-cells = <1>; [all …]
|
H A D | fsl-ls1043a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-1043A family SoC. 5 * Copyright 2014-2015 Freescale Semiconductor, Inc. 11 /dts-v1/; 12 #include "fsl-ls1043a.dtsi" 16 compatible = "fsl,ls1043a-rdb", "fsl,ls1043a"; 26 stdout-path = "serial0:115200n8"; 34 compatible = "ti,ina220"; 36 shunt-resistor = <1000>; 40 compatible = "adi,adt7461"; [all …]
|
/linux/drivers/iio/accel/ |
H A D | st_accel_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 STMicroelectronics Inc. 13 #include <linux/spi/spi.h> 21 * For new single-chip sensors use <device_name> as compatible string. 22 * For old single-chip devices keep <device_name>-accel to maintain 27 /* An older compatible */ 28 .compatible = "st,lis302dl-spi", 32 .compatible = "st,lis3lv02dl-accel", 36 .compatible = "st,lis3dh-accel", 40 .compatible = "st,lsm330d-accel", [all …]
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | snps,dw-apb-ssi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/spi/snps,dw-apb-ssi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Brown <broonie@kernel.org> 13 - $ref: spi-controller.yaml# 14 - if: 16 compatible: 19 - mscc,ocelot-spi 20 - mscc,jaguar2-spi [all …]
|
H A D | brcm,spi-bcm-qspi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/spi/brcm,spi-bcm-qspi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom SPI controller 10 - Kamal Dasu <kdasu.kdev@gmail.com> 11 - Rafał Miłecki <rafal@milecki.pl> 14 The Broadcom SPI controller is a SPI master found on various SOCs, including 15 BRCMSTB (BCM7XXX), Cygnus, NSP and NS2. The Broadcom Master SPI hw IP consists 17 MSPI : SPI master controller can read and write to a SPI slave device [all …]
|
H A D | aspeed,ast2600-fmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/aspeed,ast2600-fmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> 11 - Cédric Le Goater <clg@kaod.org> 15 SPI) of the AST2400, AST2500 and AST2600 SOCs. 18 - $ref: spi-controller.yaml# 21 compatible: 23 - aspeed,ast2600-fmc [all …]
|
H A D | mediatek,spi-mtk-snfi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/mediatek,spi-mtk-snfi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SPI-NAND flash controller for MediaTek ARM SoCs 10 - Chuanhong Guo <gch981213@gmail.com> 13 The Mediatek SPI-NAND flash controller is an extended version of 14 the Mediatek NAND flash controller. It can perform standard SPI 15 instructions with one continuous write and one read for up-to 0xa0 16 bytes. It also supports typical SPI-NAND page cache operations [all …]
|
H A D | nvidia,tegra114-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/nvidia,tegra114-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra114 SPI controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 compatible: 16 - const: nvidia,tegra114-spi 17 - items: [all …]
|
H A D | spi-lantiq-ssc.txt | 1 Lantiq Synchronous Serial Controller (SSC) SPI master driver 4 - compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi", 5 "intel,lgm-spi" 6 - #address-cells: see spi-bus.txt 7 - #size-cells: see spi-bus.txt 8 - reg: address and length of the spi master registers 9 - interrupts: 10 For compatible "intel,lgm-ssc" - the common interrupt number for 18 - clocks: spi clock phandle 19 - num-cs: see spi-bus.txt, set to 8 if unset [all …]
|
H A 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# 7 title: Generic SPI Multiplexer 10 This binding describes a SPI bus multiplexer to route the SPI chip select 11 signals. This can be used when you need more devices than the SPI controller 13 setting of the multiplexer to a channel needs to be done by a specific SPI mux 16 MOSI /--------------------------------+--------+--------+--------\ 17 MISO |/------------------------------+|-------+|-------+|-------\| [all …]
|
/linux/drivers/gpu/drm/solomon/ |
H A D | ssd130x-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * DRM driver for Solomon SSD13xx OLED displays (SPI bus) 8 #include <linux/spi/spi.h> 13 #define DRIVER_NAME "ssd130x-spi" 14 #define DRIVER_DESC "DRM driver for Solomon SSD13xx OLED displays (SPI)" 17 struct spi_device *spi; member 23 * but toggling the Data/Command control pin (D/C#). Since for 4-wire SPI 28 * and can be used by the ssd130x SPI driver to determine if the data sent 34 struct spi_device *spi = t->spi; in ssd130x_spi_write() local 38 gpiod_set_value_cansleep(t->dc, 0); in ssd130x_spi_write() [all …]
|
/linux/drivers/iio/gyro/ |
H A D | st_gyro_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 STMicroelectronics Inc. 13 #include <linux/spi/spi.h> 21 * For new single-chip sensors use <device_name> as compatible string. 22 * For old single-chip devices keep <device_name>-gyro to maintain 27 .compatible = "st,l3g4200d-gyro", 31 .compatible = "st,lsm330d-gyro", 35 .compatible = "st,lsm330dl-gyro", 39 .compatible = "st,lsm330dlc-gyro", 43 .compatible = "st,l3gd20-gyro", [all …]
|
/linux/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * STMicroelectronics st_lsm6dsx spi driver 13 #include <linux/spi/spi.h> 24 static int st_lsm6dsx_spi_probe(struct spi_device *spi) in st_lsm6dsx_spi_probe() argument 26 const struct spi_device_id *id = spi_get_device_id(spi); in st_lsm6dsx_spi_probe() 27 int hw_id = id->driver_data; in st_lsm6dsx_spi_probe() 30 regmap = devm_regmap_init_spi(spi, &st_lsm6dsx_spi_regmap_config); in st_lsm6dsx_spi_probe() 32 dev_err(&spi->dev, "Failed to register spi regmap %ld\n", PTR_ERR(regmap)); in st_lsm6dsx_spi_probe() 36 return st_lsm6dsx_probe(&spi->dev, spi->irq, hw_id, regmap); in st_lsm6dsx_spi_probe() 41 .compatible = "st,lsm6ds3", [all …]
|
/linux/drivers/iio/pressure/ |
H A D | st_pressure_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/spi/spi.h> 21 * For new single-chip sensors use <device_name> as compatible string. 22 * For old single-chip devices keep <device_name>-press to maintain 27 .compatible = "st,lps001wp-press", 31 .compatible = "st,lps25h-press", 35 .compatible = "st,lps331ap-press", 39 .compatible = "st,lps22hb-press", 43 .compatible = "st,lps33hw", 47 .compatible = "st,lps35hw", [all …]
|
H A D | bmp280-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SPI interface for the BMP280 driver 5 * Inspired by the older BMP085 driver drivers/misc/bmp085-spi.c 11 #include <linux/spi/spi.h> 18 struct spi_device *spi = to_spi_device(context); in bmp280_regmap_spi_write() local 23 * The SPI register address (= full register address without bit 7) and in bmp280_regmap_spi_write() 28 return spi_write_then_read(spi, buf, 2, NULL, 0); in bmp280_regmap_spi_write() 34 struct spi_device *spi = to_spi_device(context); in bmp280_regmap_spi_read() local 36 return spi_write_then_read(spi, reg, reg_size, val, val_size); in bmp280_regmap_spi_read() 42 struct spi_device *spi = to_spi_device(context); in bmp380_regmap_spi_read() local [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A 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/Documentation/devicetree/bindings/net/nfc/ |
H A D | marvell,nci.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 compatible: 15 - marvell,nfc-i2c 16 - marvell,nfc-spi 17 - marvell,nfc-uart 19 hci-muxed: 30 reset-n-io: [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | ibm-power11-quad.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 125 #address-cells = <2>; 126 #size-cells = <0>; 128 bus-frequency = <100000000>; 129 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>; 133 #address-cells = <1>; 134 #size-cells = <1>; 135 chip-id = <0>; 138 compatible = "ibm,p9-scom"; 143 compatible = "ibm,i2c-fsi"; [all …]
|
/linux/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/spi/spi.h> 23 if (st->reg->i2c_if) { in inv_mpu_i2c_disable() 24 ret = regmap_write(st->map, st->reg->i2c_if, in inv_mpu_i2c_disable() 27 st->chip_config.user_ctrl |= INV_MPU6050_BIT_I2C_IF_DIS; in inv_mpu_i2c_disable() 28 ret = regmap_write(st->map, st->reg->user_ctrl, in inv_mpu_i2c_disable() 29 st->chip_config.user_ctrl); in inv_mpu_i2c_disable() 35 static int inv_mpu_probe(struct spi_device *spi) in inv_mpu_probe() argument 43 if ((spi_id = spi_get_device_id(spi))) { in inv_mpu_probe() 44 chip_type = (enum inv_devices)spi_id->driver_data; in inv_mpu_probe() [all …]
|
/linux/drivers/iio/magnetometer/ |
H A D | st_magn_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 STMicroelectronics Inc. 13 #include <linux/spi/spi.h> 21 * For new single-chip sensors use <device_name> as compatible string. 22 * For old single-chip devices keep <device_name>-magn to maintain 24 * For multi-chip devices, use <device_name>-magn to distinguish which 29 .compatible = "st,lis3mdl-magn", 33 .compatible = "st,lsm303agr-magn", 37 .compatible = "st,lis2mdl", 41 .compatible = "st,lsm9ds1-magn", [all …]
|
/linux/drivers/mfd/ |
H A D | stmpe-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ST Microelectronics MFD: stmpe's spi client specific driver 10 #include <linux/spi/spi.h> 22 struct spi_device *spi = stmpe->client; in spi_reg_read() local 23 int status = spi_w8r16(spi, reg | READ_CMD); in spi_reg_read() 30 struct spi_device *spi = stmpe->client; in spi_reg_write() local 33 return spi_write(spi, (const u8 *)&cmd, 2); in spi_reg_write() 55 for (i = length; i > 0; i--, reg++) { in spi_block_write() 56 ret = spi_reg_write(stmpe, reg, *(values + i - 1)); in spi_block_write() 66 struct spi_device *spi = stmpe->client; in spi_init() local [all …]
|
/linux/Documentation/devicetree/bindings/tpm/ |
H A D | tcg,tpm_tis-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/tpm/tcg,tpm_tis-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SPI-attached Trusted Platform Module conforming to TCG TIS specification 10 - Lukas Wunner <lukas@wunner.de> 13 The Trusted Computing Group (TCG) has defined a multi-vendor standard 15 one of them being SPI. The standard is named: 17 …tps://trustedcomputinggroup.org/resource/pc-client-work-group-pc-client-specific-tpm-interface-spe… 20 compatible: [all …]
|
/linux/drivers/net/dsa/b53/ |
H A D | b53_spi.c | 2 * B53 register access through SPI 4 * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org> 24 #include <linux/spi/spi.h> 42 static inline int b53_spi_read_reg(struct spi_device *spi, u8 reg, u8 *val, in b53_spi_read_reg() argument 50 return spi_write_then_read(spi, txbuf, 2, val, len); in b53_spi_read_reg() 53 static inline int b53_spi_clear_status(struct spi_device *spi) in b53_spi_clear_status() argument 60 ret = b53_spi_read_reg(spi, B53_SPI_STATUS, &rxbuf, 1); in b53_spi_clear_status() 71 return -EIO; in b53_spi_clear_status() 76 static inline int b53_spi_set_page(struct spi_device *spi, u8 page) in b53_spi_set_page() argument 84 return spi_write(spi, txbuf, sizeof(txbuf)); in b53_spi_set_page() [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | st,stm32-dfsdm-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 11 - Olivier Moysan <olivier.moysan@foss.st.com> 14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to 17 - Sigma delta modulators (motor control, metering...) 18 - PDM microphones (audio digital microphone) 20 It features up to 8 serial digital interfaces (SPI or Manchester) and [all …]
|