Home
last modified time | relevance | path

Searched +full:sp7021 +full:- +full:spi (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.1/arch/arm/boot/dts/
Dsunplus-sp7021.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for Sunplus SP7021
8 #include <dt-bindings/clock/sunplus,sp7021-clkc.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/reset/sunplus,sp7021-reset.h>
11 #include <dt-bindings/pinctrl/sppctl-sp7021.h>
12 #include <dt-bindings/gpio/gpio.h>
17 compatible = "sunplus,sp7021";
18 model = "Sunplus SP7021";
22 compatible = "fixed-clock";
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 dtb-$(CONFIG_ARCH_ALPINE) += \
3 alpine-db.dtb
4 dtb-$(CONFIG_MACH_ARTPEC6) += \
5 artpec6-devboard.dtb
6 dtb-$(CONFIG_MACH_ASM9260) += \
7 alphascale-asm9260-devkit.dtb
9 dtb-$(CONFIG_SOC_AT91RM9200) += \
12 dtb-$(CONFIG_SOC_AT91SAM9) += \
14 at91-qil_a9260.dtb \
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/spi/
Dspi-sunplus-sp7021.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/spi/spi-sunplus-sp7021.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Sunplus sp7021 SPI controller
11 - $ref: "spi-controller.yaml"
14 - Li-hao Kuo <lhjeff911@gmail.com>
19 - sunplus,sp7021-spi
23 - description: the SPI master registers
24 - description: the SPI slave registers
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dsunplus,sp7021-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/pinctrl/sunplus,sp7021-pinctrl.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Sunplus SP7021 Pin Controller
11 - Dvorkin Dmitry <dvorkin@tibbo.com>
12 - Wells Lu <wellslutw@gmail.com>
15 The Sunplus SP7021 pin controller is used to control SoC pins. Please
16 refer to pinctrl-bindings.txt in this directory for details of the common
19 SP7021 has 99 digital GPIO pins which are numbered from GPIO 0 to 98. All
[all …]
/Linux-v6.1/arch/arm/mach-sunplus/
DKconfig1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
7 Support for Sunplus SoC family: SP7021 and succeeding SoC-based systems,
8 such as the Banana Pi BPI-F2S development board (and derivatives).
13 bool "Sunplus SP7021 SoC support"
24 Support for Sunplus SP7021 SoC. It is based on ARM 4-core
25 Cortex-A7 with various peripherals (e.g.: I2C, SPI, SDIO,
26 Ethernet, etc.), FPGA interface, chip-to-chip bus.
/Linux-v6.1/drivers/spi/
DKconfig1 # 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 …]
Dspi-sunplus-sp7021.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Author: Li-hao Kuo <lhjeff911@gmail.com>
8 #include <linux/dma-mapping.h>
15 #include <linux/spi/spi.h>
104 data_status = readl(pspim->s_base + SP7021_DATA_RDY_REG); in sp7021_spi_slave_irq()
106 writel(data_status , pspim->s_base + SP7021_DATA_RDY_REG); in sp7021_spi_slave_irq()
107 complete(&pspim->slave_isr); in sp7021_spi_slave_irq()
115 complete(&pspim->slave_isr); in sp7021_spi_slave_abort()
116 complete(&pspim->isr_done); in sp7021_spi_slave_abort()
120 static int sp7021_spi_slave_tx(struct spi_device *spi, struct spi_transfer *xfer) in sp7021_spi_slave_tx() argument
[all …]
DMakefile1 # 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 …]
/Linux-v6.1/drivers/rtc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 This clock should be battery-backed, so that it reads the correct
45 time when the system boots from a power-off state. Otherwise, your
141 once-per-second update interrupts, used for synchronization.
159 will be called rtc-test.
173 will be called rtc-88pm860x.
183 will be called rtc-88pm80x.
187 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
190 AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
193 will be called rtc-ab-b5ze-s3.
[all …]
/Linux-v6.1/drivers/tty/serial/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
19 comment "Non-8250 serial port support"
89 bool "Early console using RISC-V SBI"
95 Support for early debug console using RISC-V SBI. This enables
101 tristate "BCM1xxx on-chip DUART serial support"
107 the BCM1250 and derived System-On-a-Chip (SOC) devices. Note that
113 the module will be called sb1250-duart.
129 bool "AT91 on-chip serial port support"
136 This enables the driver for the on-chip UARTs of the Atmel
145 Say Y here if you wish to use an on-chip UART on a Atmel
[all …]
/Linux-v6.1/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]
/Linux-v6.1/drivers/pinctrl/sunplus/
Dsppctl_sp7021.c1 // SPDX-License-Identifier: GPL-2.0
3 * SP7021 Pin Controller Driver.
476 FNCN("SPIM0_INT", pinmux_type_fpmx, 0x16, 0, 7), /* 4x SPI masters */
497 FNCN("SPI0S_INT", pinmux_type_fpmx, 0x20, 0, 7), /* 4x SPI slaves */