Input: msc5000_ts - remove the driver
Dmitry Torokhov
maintainerPATCH 1/2 Input: msc5000_ts - remove the driver
MCS-5000 belongs to the 1st generation of Melfas chips, manufactured in 2000-2007.
The driver relies on custom platform data (no DT support) and there never were any users of this driver in the mainline kernel. The commit adding the driver mentioned that the driver was tested on S3C6410 NCP board (with Samsung S3C6410 SoC) but the touchscreen device was never added to the board file. This board was removed in v6.3 in commit 743c8fbb90ca ("ARM: s3c: remove most s3c64xx board support").
Remove the driver since there are no users.
--- drivers/input/touchscreen/Kconfig | 12 -- drivers/input/touchscreen/Makefile | 1 - drivers/input/touchscreen/mcs5000_ts.c | 288 ------------------------- include/linux/platform_data/mcs.h | 4 - 4 files changed, 305 deletions(-) delete mode 100644 drivers/input/touchscreen/mcs5000_ts.c
drivers/input/touchscreen/Kconfig +0 -12
@@ -626,18 +626,6 @@ config TOUCHSCREEN_MAX11801 To compile this driver as a module, choose M here: the module will be called max11801_ts. -config TOUCHSCREEN_MCS5000 - tristate "MELFAS MCS-5000 touchscreen" - depends on I2C - help - Say Y here if you have the MELFAS MCS-5000 touchscreen controller - chip in your system. - - If unsure, say N. - - To compile this driver as a module, choose M here: the - module will be called mcs5000_ts. - config TOUCHSCREEN_MMS114 tristate "MELFAS MMS114 touchscreen" depends on I2C
drivers/input/touchscreen/Makefile +0 -1
@@ -63,7 +63,6 @@ obj-$(CONFIG_TOUCHSCREEN_MAX11801) += max11801_ts.o obj-$(CONFIG_TOUCHSCREEN_MXS_LRADC) += mxs-lradc-ts.o obj-$(CONFIG_TOUCHSCREEN_MX25) += fsl-imx25-tcq.o obj-$(CONFIG_TOUCHSCREEN_MC13783) += mc13783_ts.o -obj-$(CONFIG_TOUCHSCREEN_MCS5000) += mcs5000_ts.o obj-$(CONFIG_TOUCHSCREEN_MELFAS_MIP4) += melfas_mip4.o obj-$(CONFIG_TOUCHSCREEN_MIGOR) += migor_ts.o obj-$(CONFIG_TOUCHSCREEN_MMS114) += mms114.o
drivers/input/touchscreen/mcs5000_ts.c deleted +0 -288
288 lines not on this page · raw message
include/linux/platform_data/mcs.h +0 -4
@@ -16,10 +16,6 @@ struct mcs_platform_data {void (*poweron)(bool );void (*cfg_pin)(void ); -/* touchscreen */ -unsigned int x_size; -unsigned int y_size; -/* touchkey */ const u32 *keymap;unsigned int keymap_size;
Signature · 1 line
2.45.2.993.g49e7a77208-goog
Dmitry Torokhov
maintainerPATCH 2/2 Input: msc_touchkey - remove the driver
MCS-5000/5080 chips belong to the 1st generation of Melfas chips, manufactured in 2000-2007.
The driver relies on custom platform data (no DT support) and there never were any users of this driver in the mainline kernel. It is likely that the driver was (like mcs5000_ts driver) was tested on S3C6410 NCP board (with Samsung S3C6410 SoC), but the touchkey device was never added to the board file. This board was removed in v6.3 in commit 743c8fbb90ca ("ARM: s3c: remove most s3c64xx board support").
Remove the driver since there are no users.
--- drivers/input/keyboard/Kconfig | 12 -- drivers/input/keyboard/Makefile | 1 - drivers/input/keyboard/mcs_touchkey.c | 268 -------------------------- include/linux/platform_data/mcs.h | 26 --- 4 files changed, 307 deletions(-) delete mode 100644 drivers/input/keyboard/mcs_touchkey.c delete mode 100644 include/linux/platform_data/mcs.h
drivers/input/keyboard/Kconfig +0 -12
@@ -421,18 +421,6 @@ config KEYBOARD_MAX7359 To compile this driver as a module, choose M here: the module will be called max7359_keypad. -config KEYBOARD_MCS - tristate "MELFAS MCS Touchkey" - depends on I2C - help - Say Y here if you have the MELFAS MCS5000/5080 touchkey controller - chip in your system. - - If unsure, say N. - - To compile this driver as a module, choose M here: the - module will be called mcs_touchkey. - config KEYBOARD_MPR121 tristate "Freescale MPR121 Touchkey" depends on I2C
drivers/input/keyboard/Makefile +0 -1
@@ -41,7 +41,6 @@ obj-$(CONFIG_KEYBOARD_LPC32XX) += lpc32xx-keys.o obj-$(CONFIG_KEYBOARD_MAPLE) += maple_keyb.o obj-$(CONFIG_KEYBOARD_MATRIX) += matrix_keypad.o obj-$(CONFIG_KEYBOARD_MAX7359) += max7359_keypad.o -obj-$(CONFIG_KEYBOARD_MCS) += mcs_touchkey.o obj-$(CONFIG_KEYBOARD_MPR121) += mpr121_touchkey.o obj-$(CONFIG_KEYBOARD_MT6779) += mt6779-keypad.o obj-$(CONFIG_KEYBOARD_MTK_PMIC) += mtk-pmic-keys.o
drivers/input/keyboard/mcs_touchkey.c deleted +0 -268
268 lines not on this page · raw message
include/linux/platform_data/mcs.h deleted +0 -26
@@ -1,26 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* -* Copyright (C) 2009 - 2010 Samsung Electronics Co.Ltd -* Author: Joonyoung Shim <[email protected]> -* Author: HeungJun Kim <[email protected]> -*/ - -#ifndef __LINUX_MCS_H -#define __LINUX_MCS_H - -#define MCS_KEY_MAP (v, c) ((((v) & 0xff) << 16) | ((c) & 0xffff)) -#define MCS_KEY_VAL (v) (((v) >> 16) & 0xff) -#define MCS_KEY_CODE (v) ((v) & 0xffff) - -struct mcs_platform_data { -void (*poweron)(bool ); -void (*cfg_pin)(void ); - -/* touchkey */ -const u32 *keymap; -unsigned int keymap_size; -unsigned int key_maxval; -bool no_autorepeat; -}; - -#endif /* __LINUX_MCS_H */
Signature · 1 line
2.45.2.993.g49e7a77208-goog
Re: [PATCH 2/2] Input: msc_touchkey - remove the driver
Quoted 10 lines · Dmitry Torokhov
MCS-5000/5080 chips belong to the 1st generation of Melfas chips, manufactured in 2000-2007.
The driver relies on custom platform data (no DT support) and there never were any users of this driver in the mainline kernel. It is likely that the driver was (like
mcs5000_tsdriver) was tested on S3C6410 NCP board (with Samsung S3C6410 SoC), but the touchkey device was never added to the board file. This board was removed in v6.3 in commit743c8fbb90ca("ARM: s3c: remove most s3c64xx board support").
Quoted 3 lines
Remove the driver since there are no users.
Signed-off-by Dmitry Torokhov <[email protected]>
Best regards,
Krzysztof
Quoted 10 lines · Dmitry Torokhov
MCS-5000 belongs to the 1st generation of Melfas chips, manufactured in 2000-2007.
The driver relies on custom platform data (no DT support) and there never were any users of this driver in the mainline kernel. The commit adding the driver mentioned that the driver was tested on S3C6410 NCP board (with Samsung S3C6410 SoC) but the touchscreen device was never added to the board file. This board was removed in v6.3 in commit
743c8fbb90ca("ARM: s3c: remove most s3c64xx board support").
Quoted 3 lines
Remove the driver since there are no users.
Signed-off-by Dmitry Torokhov <[email protected]>
Best regards,
Krzysztof