/Linux-v6.1/Documentation/devicetree/bindings/spi/ |
D | spi-peripheral-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-peripheral-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Peripheral-specific properties for a SPI bus. 10 Many SPI controllers need to add properties to peripheral devices. They could 11 be common properties like spi-max-frequency, spi-cpha, etc. or they could be 12 controller specific like delay in clock or data lines, etc. These properties 13 need to be defined in the peripheral node because they are per-peripheral and 19 - Mark Brown <broonie@kernel.org> [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/input/rmi4/ |
D | rmi_spi.txt | 1 Synaptics RMI4 SPI Device Binding 5 bindings for devices using the SPI transport driver. Complete documentation 10 - compatible: syna,rmi4-spi 11 - reg: Chip select address for the device 12 - #address-cells: Set to 1 to indicate that the function child nodes 14 - #size-cells: Set to 0 to indicate that the function child nodes do not 18 - interrupts: interrupt which the rmi device is connected to. 19 See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - spi-rx-delay-us: microsecond delay after a read transfer. 22 - spi-tx-delay-us: microsecond delay after a write transfer. [all …]
|
/Linux-v6.1/drivers/iio/gyro/ |
D | adxrs450.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/delay.h> 14 #include <linux/spi/spi.h> 25 /* The MSB for the spi commands */ 67 * struct adxrs450_state - device instance specific data 68 * @us: actual spi_device 69 * @buf_lock: mutex to protect tx and rx 71 * @rx: receive buffer 74 struct spi_device *us; member 77 __be32 rx; member [all …]
|
/Linux-v6.1/drivers/spi/ |
D | spi-dw-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/dma-mapping.h> 15 #include <linux/platform_data/dma-dw.h> 16 #include <linux/spi/spi.h> 19 #include "spi-dw.h" 30 if (s->dma_dev != chan->device->dev) in dw_spi_dma_chan_filter() 33 chan->private = s; in dw_spi_dma_chan_filter() 43 def_burst = dws->fifo_len / 2; in dw_spi_dma_maxburst_init() 45 ret = dma_get_slave_caps(dws->rxchan, &caps); in dw_spi_dma_maxburst_init() 51 dws->rxburst = min(max_burst, def_burst); in dw_spi_dma_maxburst_init() [all …]
|
D | spi-dw-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Designware SPI core controller driver (refer pxa2xx_spi.c) 9 #include <linux/dma-mapping.h> 14 #include <linux/delay.h> 16 #include <linux/spi/spi.h> 17 #include <linux/spi/spi-mem.h> 21 #include "spi-dw.h" 30 u32 rx_sample_dly; /* RX sample delay */ 64 snprintf(name, 32, "dw_spi%d", dws->master->bus_num); in dw_spi_debugfs_init() 65 dws->debugfs = debugfs_create_dir(name, NULL); in dw_spi_debugfs_init() [all …]
|
D | spi-mpc512x-psc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MPC512x PSC in SPI mode driver. 7 * Hongjun Chen <hong-jun.chen@freescale.com> 22 #include <linux/delay.h> 24 #include <linux/spi/spi.h> 39 switch (mps->type) { \ 41 struct mpc52xx_psc __iomem *psc = mps->psc; \ 42 __ret = &psc->regname; \ 46 struct mpc5125_psc __iomem *psc = mps->psc; \ 47 __ret = &psc->regname; \ [all …]
|
D | spi-imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. 7 #include <linux/delay.h> 9 #include <linux/dma-mapping.h> 20 #include <linux/spi/spi.h> 26 #include <linux/dma/imx-dma.h> 38 "time in us to run a transfer in polling mode\n"); 74 int (*prepare_transfer)(struct spi_imx_data *spi_imx, struct spi_device *spi); 111 void (*rx)(struct spi_imx_data *spi_imx); member 134 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi() [all …]
|
D | spi-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Addy Ke <addy.ke@rock-chips.com> 14 #include <linux/spi/spi.h> 18 #define DRIVER_NAME "rockchip-spi" 25 /* SPI register offsets */ 67 /* ss_n to sclk_out delay */ 154 /* sclk_out: spi master internal logic in rk3x can support 50Mhz */ 158 * SPI_CTRLR1 is 16-bits, so we should support lengths of 0xffff + 1. However, 163 /* 2 for native cs, 2 for cs-gpio */ 181 void *rx; member [all …]
|
/Linux-v6.1/net/nfc/nci/ |
D | spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/spi/spi.h> 12 #include <linux/crc-ccitt.h> 37 /* a NULL skb means we just want the SPI chip select line to raise */ in __nci_spi_send() 39 t.tx_buf = skb->data; in __nci_spi_send() 40 t.len = skb->len; in __nci_spi_send() 47 t.delay.value = nspi->xfer_udelay; in __nci_spi_send() 48 t.delay.unit = SPI_DELAY_UNIT_USECS; in __nci_spi_send() 49 t.speed_hz = nspi->xfer_speed_hz; in __nci_spi_send() 54 return spi_sync(nspi->spi, &m); in __nci_spi_send() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | sm8350.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/qcom,dispcc-sm8350.h> 8 #include <dt-bindings/clock/qcom,gcc-sm8350.h> 9 #include <dt-bindings/clock/qcom,rpmh.h> 10 #include <dt-bindings/dma/qcom-gpi.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interconnect/qcom,sm8350.h> 13 #include <dt-bindings/mailbox/qcom-ipcc.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> [all …]
|
D | sm8450.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/qcom,gcc-sm8450.h> 8 #include <dt-bindings/clock/qcom,rpmh.h> 9 #include <dt-bindings/clock/qcom,sm8450-camcc.h> 10 #include <dt-bindings/dma/qcom-gpi.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/mailbox/qcom-ipcc.h> 13 #include <dt-bindings/power/qcom-rpmpd.h> 14 #include <dt-bindings/interconnect/qcom,sm8450.h> [all …]
|
D | sm8150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/dma/qcom-gpi.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/power/qcom-rpmpd.h> 10 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 11 #include <dt-bindings/clock/qcom,rpmh.h> 12 #include <dt-bindings/clock/qcom,gcc-sm8150.h> 13 #include <dt-bindings/clock/qcom,gpucc-sm8150.h> 14 #include <dt-bindings/interconnect/qcom,osm-l3.h> [all …]
|
D | sc7280.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/clock/qcom,camcc-sc7280.h> 8 #include <dt-bindings/clock/qcom,dispcc-sc7280.h> 9 #include <dt-bindings/clock/qcom,gcc-sc7280.h> 10 #include <dt-bindings/clock/qcom,gpucc-sc7280.h> 11 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h> 12 #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,videocc-sc7280.h> [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | imx6qp-prtwd3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 16 stdout-path = &uart4; 29 clock_ksz8081: clock-ksz8081 { 30 compatible = "fixed-clock"; 31 #clock-cells = <0>; 32 clock-frequency = <50000000>; 35 clock_ksz9031: clock-ksz9031 { 36 compatible = "fixed-clock"; [all …]
|
D | stm32mp151a-prtt1c.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 8 #include "stm32mp151a-prtt1l.dtsi" 14 clock_ksz9031: clock-ksz9031 { 15 compatible = "fixed-clock"; 16 #clock-cells = <0>; 17 clock-frequency = <25000000>; 20 clock_sja1105: clock-sja1105 { 21 compatible = "fixed-clock"; 22 #clock-cells = <0>; [all …]
|
/Linux-v6.1/include/linux/iio/imu/ |
D | adis.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 12 #include <linux/spi/spi.h> 25 * struct adis_timeouts - ADIS chip variant timeouts 26 * @reset_ms - Wait time after rst pin goes inactive 27 * @sw_reset_ms - Wait time after sw reset command 28 * @self_test_ms - Wait time after self test command 37 * struct adis_data - ADIS chip variant specific data 38 * @read_delay: SPI delay for read operations in us 39 * @write_delay: SPI delay for write operations in us [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | pktgen.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Enable CONFIG_NET_PKTGEN to compile and build pktgen either in-kernel 31 overload type of benchmarking, as this could hurt the normal use-case. 35 # ethtool -G ethX tx 1024 43 TX ring cause delay. Drivers usually delay cleaning up the 44 ring-buffers for various performance reasons, and packets stalling 48 (Intel 82599 chip). This driver (ixgbe) combines TX+RX ring cleanups, 49 and the cleanup interval is affected by the ethtool --coalesce setting 50 of parameter "rx-usecs". 54 # ethtool -C ethX rx-usecs 30 [all …]
|
/Linux-v6.1/arch/powerpc/boot/dts/ |
D | ac14xx.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #address-cells = <1>; 15 #size-cells = <1>; 26 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */ 27 bus-frequency = <160000000>; /* 160 MHz csb bus */ 28 clock-frequency = <400000000>; /* 400 MHz ppc core */ 49 compatible = "cfi-flash"; 51 #address-cells = <1>; 52 #size-cells = <1>; 53 bank-width = <2>; [all …]
|
/Linux-v6.1/drivers/iio/adc/ |
D | max1241.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MAX1241 low-power, 12-bit serial ADC 5 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1240-MAX1241.pdf 8 #include <linux/delay.h> 13 #include <linux/spi/spi.h> 23 struct spi_device *spi; member 47 * tconv us. in max1241_read() 51 .delay.value = 8, in max1241_read() 52 .delay.unit = SPI_DELAY_UNIT_USECS, in max1241_read() 55 * Then read two bytes of data in our RX buffer. in max1241_read() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mp-msc-sm2s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 9 #include <dt-bindings/net/ti-dp83867.h> 18 stdout-path = &uart2; 21 reg_usb0_host_vbus: regulator-usb0-vbus { 22 compatible = "regulator-fixed"; 23 regulator-name = "usb0_host_vbus"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_usb0_vbus>; 26 regulator-min-microvolt = <5000000>; [all …]
|
D | imx8mq-kontron-pitx-imx8m.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree File for the Kontron pitx-imx8m board. 8 /dts-v1/; 11 #include <dt-bindings/net/ti-dp83867.h> 14 model = "Kontron pITX-imx8m"; 15 compatible = "kontron,pitx-imx8m", "fsl,imx8mq"; 31 stdout-path = "serial2:115200n8"; 34 pcie0_refclk: pcie0-clock { 35 compatible = "fixed-clock"; 36 #clock-cells = <0>; [all …]
|
D | imx8mm-phycore-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/net/ti-dp83867.h> 11 model = "PHYTEC phyCORE-i.MX8MM"; 12 compatible = "phytec,imx8mm-phycore-som", "fsl,imx8mm"; 24 reg_vdd_3v3_s: regulator-vdd-3v3-s { 25 compatible = "regulator-fixed"; 26 regulator-always-on; 27 regulator-boot-on; 28 regulator-max-microvolt = <3300000>; 29 regulator-min-microvolt = <3300000>; [all …]
|
/Linux-v6.1/drivers/input/rmi4/ |
D | rmi_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2016 Synaptics Incorporated 11 #include <linux/spi/spi.h> 38 struct spi_device *spi; member 55 struct spi_device *spi = rmi_spi->spi; in rmi_spi_manage_pools() local 56 int buf_size = rmi_spi->xfer_buf_size in rmi_spi_manage_pools() 57 ? rmi_spi->xfer_buf_size : RMI_SPI_DEFAULT_XFER_BUF_SIZE; in rmi_spi_manage_pools() 68 tmp = rmi_spi->rx_buf; in rmi_spi_manage_pools() 69 buf = devm_kcalloc(&spi->dev, buf_size, 2, in rmi_spi_manage_pools() 72 return -ENOMEM; in rmi_spi_manage_pools() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/allwinner/ |
D | sun50i-h6-pine-h64.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 6 #include "sun50i-h6.dtsi" 7 #include "sun50i-h6-cpu-opp.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 13 compatible = "pine64,pine-h64", "allwinner,sun50i-h6"; 22 stdout-path = "serial0:115200n8"; 26 #clock-cells = <0>; 27 compatible = "fixed-clock"; 28 clock-frequency = <32768>; [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/renesas/ |
D | r8a779f0.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 or MIT) 3 * Device Tree Source for the R-Car S4-8 (R8A779F0) SoC 8 #include <dt-bindings/clock/r8a779f0-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/power/r8a779f0-sysc.h> 14 #address-cells = <2>; 15 #size-cells = <2>; 18 #address-cells = <1>; 19 #size-cells = <0>; 21 cpu-map { [all …]
|