From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 22 Oct 2024 10:36:11 +0000
Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM

---
 kernel/drivers/spi/Kconfig |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/kernel/drivers/spi/Kconfig b/kernel/drivers/spi/Kconfig
index 0bdd5fe..921667b 100644
--- a/kernel/drivers/spi/Kconfig
+++ b/kernel/drivers/spi/Kconfig
@@ -256,7 +256,6 @@
 	tristate "Baikal-T1 SPI driver for DW SPI core"
 	depends on MIPS_BAIKAL_T1 || COMPILE_TEST
 	select MULTIPLEXER
-	select MUX_MMIO
 	help
 	  Baikal-T1 SoC is equipped with three DW APB SSI-based MMIO SPI
 	  controllers. Two of them are pretty much normal: with IRQ, DMA,
@@ -663,6 +662,17 @@
 	  ROCKCHIP SFC supports DMA and PIO modes. When DMA is not available,
 	  the driver automatically falls back to PIO mode.
 
+config SPI_ROCKCHIP_SLAVE
+	tristate "Rockchip SPI Slave controller driver"
+	depends on ARCH_ROCKCHIP || COMPILE_TEST
+	default SPI_ROCKCHIP if !ROCKCHIP_MINI_KERNEL
+	help
+	  This selects a driver for Rockchip SPI Slave controller.
+
+	  If you say yes to this option, support will be included for Rockchip
+	  SPI Slave controller.
+	  Rockchip SPI Slave controller support DMA transport and IRQ mode.
+
 config SPI_RB4XX
 	tristate "Mikrotik RB4XX SPI master"
 	depends on SPI_MASTER && ATH79
@@ -1067,6 +1077,12 @@
 	  SPI slave handler to allow remote control of system reboot, power
 	  off, halt, and suspend.
 
+config SPI_SLAVE_ROCKCHIP_OBJ
+	tristate "Rockchip SPI slave inter transmission protocol demo"
+	help
+	  SPI slave with a rockchip protocol specification for SPI slave
+	  transmission, work with the corresponding master driver spidev_rkmst.
+
 endif # SPI_SLAVE
 
 config SPI_DYNAMIC

--
Gitblit v1.6.2