Skip to contentSkip to conversation

serial: ifx6x60: Remove driver for deprecated platform

PATCH New Andy Shevchenko 1 participant 1 message Jan 25, 2021

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

PATCH v2 1/1 serial: ifx6x60: Remove driver for deprecated platform

Intel Moorestown and Medfield are quite old Intel Atom based 32-bit platforms, which were in limited use in some Android phones, tablets and consumer electronics more than eight years ago.

There are no bugs or problems ever reported outside from Intel for breaking any of that platforms for years. It seems no real users exists who run more or less fresh kernel on it. The commit 05f4434bc130 ("ASoC: Intel: remove mfld_machine") also in align with this theory.

Due to above and to reduce a burden of supporting outdated drivers we remove the support of outdated platforms completely.

---
v2: dropped include/linux/spi/ifx_modem.h as well

 drivers/tty/serial/Kconfig    |    7 -
 drivers/tty/serial/Makefile   |    1 -
 drivers/tty/serial/ifx6x60.c  | 1387 ---------------------------------
 drivers/tty/serial/ifx6x60.h  |  118 ---
 include/linux/spi/ifx_modem.h |   15 -
 5 files changed, 1528 deletions(-)
 delete mode 100644 drivers/tty/serial/ifx6x60.c
 delete mode 100644 drivers/tty/serial/ifx6x60.h
 delete mode 100644 include/linux/spi/ifx_modem.h
drivers/tty/serial/Kconfig +0 -7
index 22e86ba4f827..0c4cd4a348f4 100644
@@ -1182,13 +1182,6 @@ config SERIAL_ALTERA_UART_CONSOLE
 	help
 	  Enable a Altera UART port to be the system console.
 
-config SERIAL_IFX6X60
-	tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)"
-	depends on GPIOLIB || COMPILE_TEST
-	depends on SPI && HAS_DMA
-	help
-	  Support for the IFX6x60 modem devices on Intel MID platforms.
-
 config SERIAL_PCH_UART
 	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) UART"
 	depends on PCI && (X86_32 || MIPS ||  COMPILE_TEST)
drivers/tty/serial/Makefile +0 -1
index 931dc1d6885e..7da0856cd198 100644
@@ -64,7 +64,6 @@ obj-$(CONFIG_SERIAL_TIMBERDALE)	+= timbuart.o
 obj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
 obj-$(CONFIG_SERIAL_ALTERA_JTAGUART) += altera_jtaguart.o
 obj-$(CONFIG_SERIAL_VT8500) += vt8500_serial.o
-obj-$(CONFIG_SERIAL_IFX6X60)  	+= ifx6x60.o
 obj-$(CONFIG_SERIAL_PCH_UART)	+= pch_uart.o
 obj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
 obj-$(CONFIG_SERIAL_LANTIQ)	+= lantiq.o
drivers/tty/serial/ifx6x60.c deleted +0 -1387

1,387 lines not on this page · raw message

drivers/tty/serial/ifx6x60.h deleted +0 -118

118 lines not on this page · raw message

include/linux/spi/ifx_modem.h deleted +0 -15
deleted file mode 100644
index 6d19b09139d0..000000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef LINUX_IFX_MODEM_H
-#define LINUX_IFX_MODEM_H
-
-struct ifx_modem_platform_data {
-	unsigned short tx_pwr;		/* modem power threshold */
-	unsigned char modem_type;	/* Modem type */
-	unsigned long max_hz;		/* max SPI frequency */
-	unsigned short use_dma:1;	/* spi protocol driver supplies
-					   dma-able addrs */
-};
-#define IFX_MODEM_6160	1
-#define IFX_MODEM_6260	2
-
-#endif
Signature · 1 line
2.29.2