Searched +full:rb4xx +full:- +full:spi (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|