| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
| 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: 19 - mscc,ocelot-spi 20 - mscc,jaguar2-spi 25 - if: [all …]
|
| D | renesas,rzn1-spi.txt | 3 This controller is based on the Synopsys DW Synchronous Serial Interface and 4 inherits all properties defined in snps,dw-apb-ssi.txt except for the 8 - compatible : The device specific string followed by the generic RZ/N1 string. 10 "renesas,r9a06g032-spi", "renesas,rzn1-spi" 11 "renesas,r9a06g033-spi", "renesas,rzn1-spi"
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/spi/ |
| D | snps,dw-apb-ssi.txt | 4 - compatible : "snps,dw-apb-ssi" or "mscc,<soc>-spi", where soc is "ocelot" or 6 - reg : The register base for the controller. For "mscc,<soc>-spi", a second 8 - interrupts : One interrupt, used by the controller. 9 - #address-cells : <1>, as required by generic SPI binding. 10 - #size-cells : <0>, also as required by generic SPI binding. 13 - cs-gpios : Specifies the gpio pis to be used for chipselects. 14 - num-cs : The number of chipselects. If omitted, this will default to 4. 15 - reg-io-width : The I/O register width (in bytes) implemented by this 23 compatible = "snps,dw-apb-ssi"; 26 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-dw-bt1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 // Baikal-T1 DW APB SPI and System Boot SPI driver 24 #include <linux/spi/spi-mem.h> 27 #include "spi-dw.h" 52 struct dw_spi_bt1 *dwsbt1 = to_dw_spi_bt1(desc->mem->spi->controller); in dw_spi_bt1_dirmap_create() 54 if (!dwsbt1->map || in dw_spi_bt1_dirmap_create() 55 !dwsbt1->dws.mem_ops.supports_op(desc->mem, &desc->info.op_tmpl)) in dw_spi_bt1_dirmap_create() 56 return -EOPNOTSUPP; in dw_spi_bt1_dirmap_create() 60 * mapped flash memory bounds and the operation is read-only. in dw_spi_bt1_dirmap_create() 62 if (desc->info.offset + desc->info.length > dwsbt1->map_len || in dw_spi_bt1_dirmap_create() [all …]
|
| D | spi-dw-mmio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Memory-mapped interface driver for DW SPI Core 24 #include "spi-dw.h" 65 struct dw_spi *dws = spi_master_get_devdata(spi->master); in dw_spi_mscc_set_cs() 67 struct dw_spi_mscc *dwsmscc = dwsmmio->priv; in dw_spi_mscc_set_cs() 68 u32 cs = spi->chip_select; in dw_spi_mscc_set_cs() 76 writel(sw_mode, dwsmscc->spi_mst + MSCC_SPI_MST_SW_MODE); in dw_spi_mscc_set_cs() 88 dwsmscc = devm_kzalloc(&pdev->dev, sizeof(*dwsmscc), GFP_KERNEL); in dw_spi_mscc_init() 90 return -ENOMEM; in dw_spi_mscc_init() 92 dwsmscc->spi_mst = devm_platform_ioremap_resource(pdev, 1); in dw_spi_mscc_init() [all …]
|
| D | spi-dw-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Special handling for DW DMA core 9 #include <linux/dma-mapping.h> 14 #include <linux/platform_data/dma-dw.h> 18 #include "spi-dw.h" 29 if (s->dma_dev != chan->device->dev) in dw_spi_dma_chan_filter() 32 chan->private = s; in dw_spi_dma_chan_filter() 42 def_burst = dws->fifo_len / 2; in dw_spi_dma_maxburst_init() 44 ret = dma_get_slave_caps(dws->rxchan, &caps); in dw_spi_dma_maxburst_init() 50 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 8 #include <linux/dma-mapping.h> 16 #include <linux/spi/spi-mem.h> 20 #include "spi-dw.h" 63 snprintf(name, 32, "dw_spi%d", dws->master->bus_num); in dw_spi_debugfs_init() 64 dws->debugfs = debugfs_create_dir(name, NULL); in dw_spi_debugfs_init() 65 if (!dws->debugfs) in dw_spi_debugfs_init() 66 return -ENOMEM; in dw_spi_debugfs_init() 68 dws->regset.regs = dw_spi_dbgfs_regs; in dw_spi_debugfs_init() 69 dws->regset.nregs = ARRAY_SIZE(dw_spi_dbgfs_regs); in dw_spi_debugfs_init() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 dynamic device discovery; some are even write-only or read-only. 17 chips, analog to digital (and d-to-a) converters, and more. 23 (half duplex), SSP, SSI, and PSP. This driver framework should 44 If your system has an master-capable SPI controller (which 56 by providing a high-level interface to send memory-like commands. 111 supports spi-mem interface. 181 this code to manage the per-word or per-transfer accesses to the 211 Flash over 1/2/4-bit wide bus. Enable this option if you have a 219 This enables dedicated general purpose SPI/Microwire1-compatible [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | berlin2cd.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Device Tree Include file for Marvell Armada 1500-mini (Berlin BG2CD) SoC 11 #include <dt-bindings/clock/berlin2.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 model = "Marvell Armada 1500-mini (BG2CD) SoC"; 17 #address-cells = <1>; 18 #size-cells = <1>; 26 #address-cells = <1>; 27 #size-cells = <0>; 30 compatible = "arm,cortex-a9"; [all …]
|
| D | picoxcell-pc3x2.dtsi | 17 #address-cells = <1>; 18 #size-cells = <1>; 21 #address-cells = <0>; 22 #size-cells = <0>; 25 compatible = "arm,arm1176jz-s"; 27 clock-frequency = <400000000>; 28 d-cache-line-size = <32>; 29 d-cache-size = <32768>; 30 i-cache-line-size = <32>; 31 i-cache-size = <32768>; [all …]
|
| D | picoxcell-pc3x3.dtsi | 17 #address-cells = <1>; 18 #size-cells = <1>; 21 #address-cells = <0>; 22 #size-cells = <0>; 25 compatible = "arm,arm1176jz-s"; 27 cpu-clock = <&arm_clk>, "cpu"; 28 d-cache-line-size = <32>; 29 d-cache-size = <32768>; 30 i-cache-line-size = <32>; 31 i-cache-size = <32768>; [all …]
|
| D | socfpga_arria10.dtsi | 17 #include <dt-bindings/interrupt-controller/arm-gic.h> 18 #include <dt-bindings/reset/altr,rst-mgr-a10.h> 21 #address-cells = <1>; 22 #size-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <0>; 27 enable-method = "altr,socfpga-a10-smp"; 30 compatible = "arm,cortex-a9"; 33 next-level-cache = <&L2>; 36 compatible = "arm,cortex-a9"; [all …]
|
| D | socfpga.dtsi | 18 #include <dt-bindings/reset/altr,rst-mgr.h> 21 #address-cells = <1>; 22 #size-cells = <1>; 36 #address-cells = <1>; 37 #size-cells = <0>; 38 enable-method = "altr,socfpga-smp"; 41 compatible = "arm,cortex-a9"; 44 next-level-cache = <&L2>; 47 compatible = "arm,cortex-a9"; 50 next-level-cache = <&L2>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | berlin2cd.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Device Tree Include file for Marvell Armada 1500-mini (Berlin BG2CD) SoC 11 #include <dt-bindings/clock/berlin2.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 model = "Marvell Armada 1500-mini (BG2CD) SoC"; 17 #address-cells = <1>; 18 #size-cells = <1>; 26 #address-cells = <1>; 27 #size-cells = <0>; 30 compatible = "arm,cortex-a9"; [all …]
|
| D | picoxcell-pc3x2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #address-cells = <1>; 9 #size-cells = <1>; 12 #address-cells = <0>; 13 #size-cells = <0>; 16 compatible = "arm,arm1176jz-s"; 18 clock-frequency = <400000000>; 19 d-cache-line-size = <32>; 20 d-cache-size = <32768>; 21 i-cache-line-size = <32>; [all …]
|
| D | picoxcell-pc3x3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #address-cells = <1>; 9 #size-cells = <1>; 12 #address-cells = <0>; 13 #size-cells = <0>; 16 compatible = "arm,arm1176jz-s"; 18 cpu-clock = <&arm_clk>, "cpu"; 19 d-cache-line-size = <32>; 20 d-cache-size = <32768>; 21 i-cache-line-size = <32>; [all …]
|
| D | socfpga_arria10.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/reset/altr,rst-mgr-a10.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 enable-method = "altr,socfpga-a10-smp"; 19 compatible = "arm,cortex-a9"; 22 next-level-cache = <&L2>; [all …]
|
| D | socfpga.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/reset/altr,rst-mgr.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 22 #address-cells = <1>; 23 #size-cells = <0>; 24 enable-method = "altr,socfpga-smp"; 27 compatible = "arm,cortex-a9"; 30 next-level-cache = <&L2>; 33 compatible = "arm,cortex-a9"; [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/altera/ |
| D | socfpga_stratix10.dtsi | 17 /dts-v1/; 18 #include <dt-bindings/reset/altr,rst-mgr-s10.h> 19 #include <dt-bindings/gpio/gpio.h> 20 #include <dt-bindings/clock/stratix10-clock.h> 23 compatible = "altr,socfpga-stratix10"; 24 #address-cells = <2>; 25 #size-cells = <2>; 28 #address-cells = <1>; 29 #size-cells = <0>; 32 compatible = "arm,cortex-a53", "arm,armv8"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/intel/ |
| D | socfpga_agilex.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/reset/altr,rst-mgr-s10.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/agilex-clock.h> 12 compatible = "intel,socfpga-agilex"; 13 #address-cells = <2>; 14 #size-cells = <2>; 16 reserved-memory { 17 #address-cells = <2>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/altera/ |
| D | socfpga_stratix10.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 7 #include <dt-bindings/reset/altr,rst-mgr-s10.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/stratix10-clock.h> 12 compatible = "altr,socfpga-stratix10"; 13 #address-cells = <2>; 14 #size-cells = <2>; 16 reserved-memory { 17 #address-cells = <2>; [all …]
|
| /kernel/linux/linux-5.10/arch/arc/boot/dts/ |
| D | hsdk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/reset/snps,hsdk-reset.h> 18 #address-cells = <2>; 19 #size-cells = <2>; 22 … "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1"; 30 #address-cells = <1>; 31 #size-cells = <0>; 62 input_clk: input-clk { [all …]
|
| /kernel/linux/linux-4.19/drivers/spi/ |
| D | spi-dw-mmio.c | 2 * Memory-mapped interface driver for DW SPI Core 26 #include "spi-dw.h" 61 struct dw_spi *dws = spi_master_get_devdata(spi->master); in dw_spi_mscc_set_cs() 63 struct dw_spi_mscc *dwsmscc = dwsmmio->priv; in dw_spi_mscc_set_cs() 64 u32 cs = spi->chip_select; in dw_spi_mscc_set_cs() 72 writel(sw_mode, dwsmscc->spi_mst + MSCC_SPI_MST_SW_MODE); in dw_spi_mscc_set_cs() 84 dwsmscc = devm_kzalloc(&pdev->dev, sizeof(*dwsmscc), GFP_KERNEL); in dw_spi_mscc_init() 86 return -ENOMEM; in dw_spi_mscc_init() 89 dwsmscc->spi_mst = devm_ioremap_resource(&pdev->dev, res); in dw_spi_mscc_init() 90 if (IS_ERR(dwsmscc->spi_mst)) { in dw_spi_mscc_init() [all …]
|
| /kernel/linux/linux-4.19/arch/mips/boot/dts/mscc/ |
| D | ocelot.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 #address-cells = <1>; 6 #size-cells = <1>; 10 #address-cells = <1>; 11 #size-cells = <0>; 25 cpuintc: interrupt-controller { 26 #address-cells = <0>; 27 #interrupt-cells = <1>; 28 interrupt-controller; 29 compatible = "mti,cpu-interrupt-controller"; [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/mscc/ |
| D | ocelot.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 #address-cells = <1>; 6 #size-cells = <1>; 10 #address-cells = <1>; 11 #size-cells = <0>; 25 cpuintc: interrupt-controller { 26 #address-cells = <0>; 27 #interrupt-cells = <1>; 28 interrupt-controller; 29 compatible = "mti,cpu-interrupt-controller"; [all …]
|