Skip to contentSkip to conversation

spi: Zap sh_spi driver

PATCH New Jagan Teki 2 participants 7 messages May 1, 2020 – May 25, 2020

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/2 spi: Zap sh_spi driver

sh_spi driver is deprecated, no active updates and no board user, hence dropped the same.

Cc Marek Vasut <[email protected]>
Cc Tom Rini <[email protected]>
---
 drivers/spi/Kconfig  |   7 --
 drivers/spi/Makefile |   1 -
 drivers/spi/sh_spi.c | 249 -------------------------------------------
 drivers/spi/sh_spi.h |  67 ------------
 4 files changed, 324 deletions(-)
 delete mode 100644 drivers/spi/sh_spi.c
 delete mode 100644 drivers/spi/sh_spi.h
drivers/spi/Kconfig +0 -7
index 4166c6104e..0ab661bf05 100644
@@ -412,13 +412,6 @@ config DAVINCI_SPI
 	help
 	  Enable the Davinci SPI driver
 
-config SH_SPI
-	bool "SuperH SPI driver"
-	depends on DEPRECATED
-	help
-	  Enable the SuperH SPI controller driver. This driver can be used
-	  on various SuperH SoCs, such as SH7757.
-
 config SH_QSPI
 	bool "Renesas Quad SPI driver"
 	help
drivers/spi/Makefile +0 -1
index 52462e19a3..e12e1bca98 100644
@@ -53,7 +53,6 @@ obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
 obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
 obj-$(CONFIG_SPI_SIFIVE) += spi-sifive.o
 obj-$(CONFIG_SPI_SUNXI) += spi-sunxi.o
-obj-$(CONFIG_SH_SPI) += sh_spi.o
 obj-$(CONFIG_SH_QSPI) += sh_qspi.o
 obj-$(CONFIG_STM32_QSPI) += stm32_qspi.o
 obj-$(CONFIG_STM32_SPI) += stm32_spi.o
drivers/spi/sh_spi.c deleted +0 -249

249 lines not on this page · raw message

drivers/spi/sh_spi.h deleted +0 -67

67 lines not on this page · raw message

Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 spi: Zap lpc32xx_ssp driver-related code

lpc32xx_ssp driver is deprecated, no active updates and no board user, hence dropped the same.

Cc Vladimir Zapolskiy <[email protected]>
Cc Albert ARIBAUD <[email protected]>
Cc Tom Rini <[email protected]>
---
 drivers/spi/Kconfig          |   6 --
 drivers/spi/Makefile         |   1 -
 drivers/spi/lpc32xx_ssp.c    | 134 -----------------------------------
 include/configs/devkit3250.h |   5 --
 include/configs/work_92105.h |   5 --
 scripts/config_whitelist.txt |   1 -
 6 files changed, 152 deletions(-)
 delete mode 100644 drivers/spi/lpc32xx_ssp.c
drivers/spi/Kconfig +0 -6
index 0ab661bf05..fc759e71e2 100644
@@ -424,12 +424,6 @@ config KIRKWOOD_SPI
 	  Enable support for SPI on various Marvell SoCs, such as
 	  Kirkwood and Armada 375.
 
-config LPC32XX_SSP
-	bool "LPC32XX SPI Driver"
-	depends on DEPRECATED
-	help
-	  Enable support for SPI on LPC32xx
-
 config MXC_SPI
 	bool "MXC SPI Driver"
 	help
drivers/spi/Makefile +0 -1
index e12e1bca98..342776404a 100644
@@ -33,7 +33,6 @@ obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
 obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
 obj-$(CONFIG_ICH_SPI) +=  ich.o
 obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
-obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o
 obj-$(CONFIG_MESON_SPIFC) += meson_spifc.o
 obj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
 obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
drivers/spi/lpc32xx_ssp.c deleted +0 -134

134 lines not on this page · raw message

include/configs/devkit3250.h +0 -5
index 4c0229e4cc..e8420313e9 100644
@@ -56,11 +56,6 @@
  */
 #define CONFIG_LPC32XX_GPIO
 
-/*
- * SSP/SPI
- */
-#define CONFIG_LPC32XX_SSP_TIMEOUT	100000
-
 /*
  * Ethernet
  */
include/configs/work_92105.h +0 -5
index 54d211ab66..cb56daad5d 100644
@@ -106,11 +106,6 @@
 
 #define CONFIG_LPC32XX_GPIO
 
-/*
- * SSP/SPI/DISPLAY
- */
-
-#define CONFIG_LPC32XX_SSP_TIMEOUT 100000
 /*
  * Environment
  */
scripts/config_whitelist.txt +0 -1
index 12a6698958..87d872cfcb 100644
@@ -1034,7 +1034,6 @@ CONFIG_LPC32XX_NAND_SLC_WDR_CLKS
 CONFIG_LPC32XX_NAND_SLC_WHOLD
 CONFIG_LPC32XX_NAND_SLC_WSETUP
 CONFIG_LPC32XX_NAND_SLC_WWIDTH
-CONFIG_LPC32XX_SSP_TIMEOUT
 CONFIG_LPC_BASE
 CONFIG_LPC_IO_BASE
 CONFIG_LPUART
Signature · 1 line
2.17.1
author
#4 lore raw

PATCH 1/2 spi: Zap sh_spi driver

Quoted 11 lines · Marek Vasut
Quoted 6 lines · Jagan Teki

sh_spi driver is deprecated, no active updates and no board user, hence dropped the same.

Cc Marek Vasut <[email protected]>
Cc Tom Rini <[email protected]>

I'll check whether someone still cares about this driver and get back to you. Give it a week or so.

Sounds good, thanks!

author
#5 lore raw

PATCH 1/2 spi: Zap sh_spi driver

In reply to Marek Vasut
Quoted 11 lines · Marek Vasut
Quoted 6 lines · Jagan Teki

sh_spi driver is deprecated, no active updates and no board user, hence dropped the same.

Cc Marek Vasut <[email protected]>
Cc Tom Rini <[email protected]>

I'll check whether someone still cares about this driver and get back to you. Give it a week or so.

Just in case if you have any updates?

#6 lore raw

PATCH 1/2 spi: Zap sh_spi driver

Quoted 6 lines · Jagan Teki
Quoted 5 lines · Marek Vasut
Quoted 3 lines · Jagan Teki

sh_spi driver is deprecated, no active updates and no board user, hence dropped the same.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Cc Marek Vasut <[email protected]>
Cc Tom Rini <[email protected]>

I'll check whether someone still cares about this driver and get back to you. Give it a week or so.

Just in case if you have any updates?

It's OK to drop sh_spi.