Searched +full:rb4xx +full:- +full:spi (Results 1 – 7 of 7) sorted by relevance
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
| D | mikrotik,rb4xx-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/mikrotik,rb4xx-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MikroTik RB4xx series SPI master 10 - Gabor Juhos <juhosg@openwrt.org> 11 - Bert Vermeulen <bert@biot.com> 14 - $ref: "spi-controller.yaml#" 18 const: mikrotik,rb4xx-spi 24 - compatible [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for kernel SPI drivers. 6 ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG 8 # small core, mostly translating board-specific 10 obj-$(CONFIG_SPI_MASTER) += spi.o 11 obj-$(CONFIG_SPI_MEM) += spi-mem.o 12 obj-$(CONFIG_SPI_MUX) += spi-mux.o 13 obj-$(CONFIG_SPI_SPIDEV) += spidev.o 14 obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o 16 # SPI master controller drivers (bus) [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # SPI driver configuration 5 menuconfig SPI config 6 bool "SPI support" 10 protocol. Chips that support SPI can have data transfer rates 12 controller and a chipselect. Most SPI slaves don't support 13 dynamic device discovery; some are even write-only or read-only. 15 SPI is widely used by microcontrollers to talk with sensors, 17 chips, analog to digital (and d-to-a) converters, and more. 18 MMC and SD cards can be accessed using SPI protocol; and for [all …]
|
| /kernel/linux/linux-4.19/drivers/spi/ |
| D | spi-rb4xx.c | 2 * SPI controller driver for the Mikrotik RB4xx boards 20 #include <linux/spi/spi.h> 22 #include <asm/mach-ath79/ar71xx_regs.h> 31 return __raw_readl(rbspi->base + reg); in rb4xx_read() 36 __raw_writel(value, rbspi->base + reg); in rb4xx_write() 55 for (i = 7; i >= 0; i--) in do_spi_byte() 84 static void rb4xx_set_cs(struct spi_device *spi, bool enable) in rb4xx_set_cs() argument 86 struct rb4xx_spi *rbspi = spi_master_get_devdata(spi->master); in rb4xx_set_cs() 99 struct spi_device *spi, struct spi_transfer *t) in rb4xx_transfer_one() argument 108 * Prime the SPI register with the SPI device selected. The m25p80 boot in rb4xx_transfer_one() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for kernel SPI drivers. 6 ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG 8 # small core, mostly translating board-specific 10 obj-$(CONFIG_SPI_MASTER) += spi.o 11 obj-$(CONFIG_SPI_MEM) += spi-mem.o 12 obj-$(CONFIG_SPI_SPIDEV) += spidev.o 13 obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o 15 # SPI master controller drivers (bus) 16 obj-$(CONFIG_SPI_ALTERA) += spi-altera.o [all …]
|
| D | Kconfig | 2 # SPI driver configuration 4 menuconfig SPI config 5 bool "SPI support" 9 protocol. Chips that support SPI can have data transfer rates 11 controller and a chipselect. Most SPI slaves don't support 12 dynamic device discovery; some are even write-only or read-only. 14 SPI is widely used by microcontrollers to talk with sensors, 16 chips, analog to digital (and d-to-a) converters, and more. 17 MMC and SD cards can be accessed using SPI protocol; and for 18 DataFlash cards used in MMC sockets, SPI must always be used. [all …]
|