Skip to contentSkip to conversation

ARM: u300: Delete dummy SPI chip

PATCH New Linus Walleij 2 participants 2 messages Sep 5, 2018 – Sep 6, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: u300: Delete dummy SPI chip

It's been told to me a few times that this kernel module should not exist, instead we should use the loopback test from userspace if need be. If a kernel module is required for testing SPI, it should be generic and put in drivers/spi/*.

Delete this driver.

---
ARM SoC folks: please apply this directly to the ARM SoC tree, I do not intend to send any more U300 related patches this kernel cycle.

---
 arch/arm/mach-u300/Kconfig        |  13 --
 arch/arm/mach-u300/Makefile       |   1 -
 arch/arm/mach-u300/dummyspichip.c | 276 ------------------------------
 3 files changed, 290 deletions(-)
 delete mode 100644 arch/arm/mach-u300/dummyspichip.c
arch/arm/mach-u300/Kconfig +0 -13
index 4f43c1cd5db0..c3c8bf54f033 100644
@@ -29,17 +29,4 @@ config U300_DEBUG
 	help
 		Debug support for U300 in sysfs, procfs etc.
 
-config MACH_U300_SPIDUMMY
-	depends on ARCH_U300
-	bool "SSP/SPI dummy chip"
-	select SPI
-	select SPI_MASTER
-	select SPI_PL022
-	help
-		This creates a small kernel module that creates a dummy
-		SPI device to be used for loopback tests. Regularly used
-		to test reference designs. If you're not testing SPI,
-		you don't need it. Selecting this will activate the
-		SPI framework and ARM PL022 support.
-
 endif
arch/arm/mach-u300/Makefile +0 -1
index 87d37de054b6..5a8804fa8776 100644
@@ -4,5 +4,4 @@
 
 obj-y		:= core.o
 
-obj-$(CONFIG_MACH_U300_SPIDUMMY)  += dummyspichip.o
 obj-$(CONFIG_REGULATOR_AB3100)    += regulator.o
arch/arm/mach-u300/dummyspichip.c deleted +0 -276

276 lines not on this page · raw message

Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: u300: Delete dummy SPI chip

Quoted 6 lines · Linus Walleij

It's been told to me a few times that this kernel module should not exist, instead we should use the loopback test from userspace if need be. If a kernel module is required for testing SPI, it should be generic and put in drivers/spi/*.

Quoted 7 lines

Delete this driver.

---
ARM SoC folks: please apply this directly to the ARM SoC tree, I do not intend to send any more U300 related patches this kernel cycle.

Applied to next/soc. Thanks!

-Olof