Home
last modified time | relevance | path

Searched +full:spi +full:- +full:compatible (Results 1 – 25 of 1263) sorted by relevance

12345678910>>...51

/Linux-v6.1/drivers/net/dsa/microchip/
Dksz_spi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Microchip ksz series register access through SPI
15 #include <linux/spi/spi.h>
40 static int ksz_spi_probe(struct spi_device *spi) in ksz_spi_probe() argument
44 struct device *ddev = &spi->dev; in ksz_spi_probe()
49 dev = ksz_switch_alloc(&spi->dev, spi); in ksz_spi_probe()
51 return -ENOMEM; in ksz_spi_probe()
55 return -EINVAL; in ksz_spi_probe()
57 if (chip->chip_id == KSZ8830_CHIP_ID) in ksz_spi_probe()
59 else if (chip->chip_id == KSZ8795_CHIP_ID || in ksz_spi_probe()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a-qds.dts1 // 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 …]
Dfsl-ls1088a-qds.dts1 // 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 …]
Dfsl-ls1012a-qds.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "fsl-ls1012a.dtsi"
14 compatible = "fsl,ls1012a-qds", "fsl,ls1012a";
21 sys_mclk: clock-mclk {
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <24576000>;
27 reg_3p3v: regulator-3p3v {
28 compatible = "regulator-fixed";
[all …]
Dfsl-ls2081a-rdb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
11 /dts-v1/;
13 #include "fsl-ls2088a.dtsi"
17 compatible = "fsl,ls2081a-rdb", "fsl,ls2081a";
25 stdout-path = "serial1:115200n8";
33 compatible = "jedec,spi-nor";
34 #address-cells = <1>;
35 #size-cells = <1>;
36 spi-max-frequency = <3000000>;
49 compatible = "nxp,pca9547";
[all …]
/Linux-v6.1/drivers/iio/accel/
Dst_accel_spi.c1 // 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-v6.1/Documentation/devicetree/bindings/spi/
Dspi-controller.yaml1 # 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 …]
Dsnps,dw-apb-ssi.yaml1 # 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 …]
Dbrcm,spi-bcm-qspi.yaml1 # 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 consits
17 MSPI : SPI master controller can read and write to a SPI slave device
[all …]
Daspeed,ast2600-fmc.yaml1 # 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 …]
Dspi-lantiq-ssc.txt1 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 …]
Damlogic,meson6-spifc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/spi/amlogic,meson6-spifc.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Amlogic Meson SPI Flash Controller
11 - Neil Armstrong <neil.armstrong@linaro.org>
14 - $ref: "spi-controller.yaml#"
17 The Meson SPIFC is a controller optimized for communication with SPI
18 NOR memories, without DMA support and a 64-byte unified transmit /
22 compatible:
[all …]
/Linux-v6.1/drivers/iio/gyro/
Dst_gyro_spi.c1 // 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-v6.1/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_spi.c1 // 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-v6.1/drivers/iio/pressure/
Dst_pressure_spi.c1 // 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 …]
Dbmp280-spi.c1 // 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
8 #include <linux/spi/spi.h>
18 struct spi_device *spi = to_spi_device(dev); 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()
35 struct spi_device *spi = to_spi_device(dev); in bmp280_regmap_spi_read() local
37 return spi_write_then_read(spi, reg, reg_size, val, val_size); in bmp280_regmap_spi_read()
47 static int bmp280_spi_probe(struct spi_device *spi) in bmp280_spi_probe() argument
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/net/
Dqca,qca7000.txt3 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-v6.1/Documentation/devicetree/bindings/mfd/
Dgoogle,cros-ec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/google,cros-ec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Benson Leung <bleung@chromium.org>
11 - Guenter Roeck <groeck@chromium.org>
16 The EC can be connected through various interfaces (I2C, SPI, and others)
17 and the compatible string specifies which interface is being used.
20 compatible:
22 - description:
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/net/nfc/
Dmarvell,nci.yaml1 # 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-v6.1/drivers/mfd/
Dstmpe-spi.c1 // 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-v6.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_spi.c1 // 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-v6.1/drivers/iio/magnetometer/
Dst_magn_spi.c1 // 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-v6.1/drivers/iio/adc/
Dmcp320x.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * ------------
20 * ------------
23 * ------------
42 #include <linux/spi/spi.h>
72 * struct mcp320x - Microchip SPI ADC instance
73 * @spi: SPI slave (parent of the IIO device)
74 * @msg: SPI message to select a channel and receive a value from the ADC
75 * @transfer: SPI transfers used by @msg
76 * @start_conv_msg: SPI message to start a conversion by briefly asserting CS
[all …]
/Linux-v6.1/drivers/net/dsa/b53/
Db53_spi.c2 * 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-v6.1/sound/soc/codecs/
Dtlv320aic3x-spi.c1 /* SPDX-License-Identifier: GPL-2.0
3 * ALSA SoC TLV320AIC3x codec driver SPI interface
12 #include <linux/spi/spi.h>
20 static int aic3x_spi_probe(struct spi_device *spi) in aic3x_spi_probe() argument
24 const struct spi_device_id *id = spi_get_device_id(spi); in aic3x_spi_probe()
32 dev_dbg(&spi->dev, "probing tlv320aic3x spi device\n"); in aic3x_spi_probe()
34 regmap = devm_regmap_init_spi(spi, &config); in aic3x_spi_probe()
35 return aic3x_probe(&spi->dev, regmap, id->driver_data); in aic3x_spi_probe()
38 static void aic3x_spi_remove(struct spi_device *spi) in aic3x_spi_remove() argument
40 aic3x_remove(&spi->dev); in aic3x_spi_remove()
[all …]

12345678910>>...51