Skip to contentSkip to conversation

input: touchscreen: remove atmel-wm97xx

PATCH Applied Corentin Labbe 3 participants 3 messages Jan 19, 2018

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

PATCH 1/1 input: touchscreen: remove atmel-wm97xx

Since AVR32 arch is gone, atmel-wm97xx driver is useless. Remove it.

---
 drivers/input/touchscreen/Kconfig        |  15 --
 drivers/input/touchscreen/Makefile       |   1 -
 drivers/input/touchscreen/atmel-wm97xx.c | 436 -------------------------------
 3 files changed, 452 deletions(-)
 delete mode 100644 drivers/input/touchscreen/atmel-wm97xx.c
drivers/input/touchscreen/Kconfig +0 -15
index 38a226f9fcbd..4f15496fec8b 100644
@@ -795,21 +795,6 @@ config TOUCHSCREEN_WM9713
 	  Say Y here to enable support for the Wolfson Microelectronics
 	  WM9713 touchscreen controller.
 
-config TOUCHSCREEN_WM97XX_ATMEL
-	tristate "WM97xx Atmel accelerated touch"
-	depends on TOUCHSCREEN_WM97XX && AVR32
-	help
-	  Say Y here for support for streaming mode with WM97xx touchscreens
-	  on Atmel AT91 or AVR32 systems with an AC97C module.
-
-	  Be aware that this will use channel B in the controller for
-	  streaming data, this must not conflict with other AC97C drivers.
-
-	  If unsure, say N.
-
-	  To compile this driver as a module, choose M here: the module will
-	  be called atmel-wm97xx.
-
 config TOUCHSCREEN_WM97XX_MAINSTONE
 	tristate "WM97xx Mainstone/Palm accelerated touch"
 	depends on TOUCHSCREEN_WM97XX && ARCH_PXA
drivers/input/touchscreen/Makefile +0 -1
index d2a2b3b7af27..dddae7973436 100644
@@ -97,7 +97,6 @@ obj-$(CONFIG_TOUCHSCREEN_WM97XX)	+= wm97xx-ts.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705)	+= wm9705.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712)	+= wm9712.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713)	+= wm9713.o
-obj-$(CONFIG_TOUCHSCREEN_WM97XX_ATMEL)	+= atmel-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE)	+= mainstone-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE)	+= zylonite-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_W90X900)	+= w90p910_ts.o
drivers/input/touchscreen/atmel-wm97xx.c deleted +0 -436

436 lines not on this page · raw message

Signature · 1 line
2.13.6
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Corentin Labbe

Since AVR32 arch is gone, atmel-wm97xx driver is useless. Remove it.

In theory it could have been rewritten to work with AT91 devices, but I would recommend starting from scratch. This driver is from the platform data era, and IIRC a bit hard coded to work on AVR32 hardware variant of the AC97C peripheral.

Quoted 2 lines
Quoted 38 lines
---
 drivers/input/touchscreen/Kconfig        |  15 --
 drivers/input/touchscreen/Makefile       |   1 -
 drivers/input/touchscreen/atmel-wm97xx.c | 436 -------------------------------
 3 files changed, 452 deletions(-)
 delete mode 100644 drivers/input/touchscreen/atmel-wm97xx.c
drivers/input/touchscreen/Kconfig +0 -15
index 38a226f9fcbd..4f15496fec8b 100644
@@ -795,21 +795,6 @@ config TOUCHSCREEN_WM9713
 	  Say Y here to enable support for the Wolfson Microelectronics
 	  WM9713 touchscreen controller.
 
-config TOUCHSCREEN_WM97XX_ATMEL
-	tristate "WM97xx Atmel accelerated touch"
-	depends on TOUCHSCREEN_WM97XX && AVR32
-	help
-	  Say Y here for support for streaming mode with WM97xx touchscreens
-	  on Atmel AT91 or AVR32 systems with an AC97C module.
-
-	  Be aware that this will use channel B in the controller for
-	  streaming data, this must not conflict with other AC97C drivers.
-
-	  If unsure, say N.
-
-	  To compile this driver as a module, choose M here: the module will
-	  be called atmel-wm97xx.
-
 config TOUCHSCREEN_WM97XX_MAINSTONE
 	tristate "WM97xx Mainstone/Palm accelerated touch"
 	depends on TOUCHSCREEN_WM97XX && ARCH_PXA
drivers/input/touchscreen/Makefile +0 -0
index d2a2b3b7af27..dddae7973436 100644

drivers/input/touchscreen/Makefile obj-$(CONFIG_TOUCHSCREEN_WM97XX) += wm97xx-ts.o · line 102

Quoted 7 lines
drivers/input/touchscreen/Makefile +0 -1
@@ -97,7 +97,6 @@ obj-$(CONFIG_TOUCHSCREEN_WM97XX)	+= wm97xx-ts.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705)	+= wm9705.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712)	+= wm9712.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713)	+= wm9713.o
-obj-$(CONFIG_TOUCHSCREEN_WM97XX_ATMEL)	+= atmel-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE)	+= mainstone-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE)	+= zylonite-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_W90X900)	+= w90p910_ts.o

<snipp diff>

Signature · 2 lines
mvh
Hans-Christian Noren Egtvedt
maintainer Applied
#2 lore raw
Quoted 9 lines · Hans-Christian Noren Egtvedt
Quoted 2 lines · Corentin Labbe

Since AVR32 arch is gone, atmel-wm97xx driver is useless. Remove it.

In theory it could have been rewritten to work with AT91 devices, but I would recommend starting from scratch. This driver is from the platform data era, and IIRC a bit hard coded to work on AVR32 hardware variant of the AC97C peripheral.

Quoted 4 lines
Quoted 2 lines

Applied, thank you.

Quoted 52 lines
Quoted 39 lines
---
 drivers/input/touchscreen/Kconfig        |  15 --
 drivers/input/touchscreen/Makefile       |   1 -
 drivers/input/touchscreen/atmel-wm97xx.c | 436 -------------------------------
 3 files changed, 452 deletions(-)
 delete mode 100644 drivers/input/touchscreen/atmel-wm97xx.c
drivers/input/touchscreen/Kconfig +0 -15
index 38a226f9fcbd..4f15496fec8b 100644
@@ -795,21 +795,6 @@ config TOUCHSCREEN_WM9713
 	  Say Y here to enable support for the Wolfson Microelectronics
 	  WM9713 touchscreen controller.
 
-config TOUCHSCREEN_WM97XX_ATMEL
-	tristate "WM97xx Atmel accelerated touch"
-	depends on TOUCHSCREEN_WM97XX && AVR32
-	help
-	  Say Y here for support for streaming mode with WM97xx touchscreens
-	  on Atmel AT91 or AVR32 systems with an AC97C module.
-
-	  Be aware that this will use channel B in the controller for
-	  streaming data, this must not conflict with other AC97C drivers.
-
-	  If unsure, say N.
-
-	  To compile this driver as a module, choose M here: the module will
-	  be called atmel-wm97xx.
-
 config TOUCHSCREEN_WM97XX_MAINSTONE
 	tristate "WM97xx Mainstone/Palm accelerated touch"
 	depends on TOUCHSCREEN_WM97XX && ARCH_PXA
drivers/input/touchscreen/Makefile +0 -0
index d2a2b3b7af27..dddae7973436 100644

drivers/input/touchscreen/Makefile obj-$(CONFIG_TOUCHSCREEN_WM97XX) += wm97xx-ts.o · line 102

Quoted 7 lines
drivers/input/touchscreen/Makefile +0 -1
@@ -97,7 +97,6 @@ obj-$(CONFIG_TOUCHSCREEN_WM97XX)	+= wm97xx-ts.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705)	+= wm9705.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712)	+= wm9712.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713)	+= wm9713.o
-obj-$(CONFIG_TOUCHSCREEN_WM97XX_ATMEL)	+= atmel-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE)	+= mainstone-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE)	+= zylonite-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_W90X900)	+= w90p910_ts.o

<snipp diff>

Signature · 2 lines
mvh
Hans-Christian Noren Egtvedt
Signature · 1 line
Dmitry