Skip to content

Commit 74e7e72

Browse files
ericmiaodtor
authored andcommitted
Input: mark {corgi,spitz,tosa}kbd drivers deprecated
Provided that now keyboards on these devices are fully supported by generic GPIO based matrix keypad driver, mark these hardcoded and difficult to maintain drivers as deprecated. Signed-off-by: Eric Miao <eric.y.miao@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
1 parent 9e3af04 commit 74e7e72

2 files changed

Lines changed: 23 additions & 6 deletions

File tree

‎Documentation/feature-removal-schedule.txt‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,3 +542,14 @@ Why: Duplicate functionality with the gspca_zc3xx driver, zc0301 only
542542
sensors) wich are also supported by the gspca_zc3xx driver
543543
(which supports 53 USB-ID's in total)
544544
Who: Hans de Goede <hdegoede@redhat.com>
545+
546+
----------------------------
547+
548+
What: corgikbd, spitzkbd, tosakbd driver
549+
When: 2.6.35
550+
Files: drivers/input/keyboard/{corgi,spitz,tosa}kbd.c
551+
Why: We now have a generic GPIO based matrix keyboard driver that
552+
are fully capable of handling all the keys on these devices.
553+
The original drivers manipulate the GPIO registers directly
554+
and so are difficult to maintain.
555+
Who: Eric Miao <eric.y.miao@gmail.com>

‎drivers/input/keyboard/Kconfig‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,15 @@ config KEYBOARD_BFIN
144144
module will be called bf54x-keys.
145145

146146
config KEYBOARD_CORGI
147-
tristate "Corgi keyboard"
147+
tristate "Corgi keyboard (deprecated)"
148148
depends on PXA_SHARPSL
149-
default y
150149
help
151150
Say Y here to enable the keyboard on the Sharp Zaurus SL-C7xx
152151
series of PDAs.
153152

153+
This driver is now deprecated, use generic GPIO based matrix
154+
keyboard driver instead.
155+
154156
To compile this driver as a module, choose M here: the
155157
module will be called corgikbd.
156158

@@ -338,13 +340,15 @@ config KEYBOARD_PXA930_ROTARY
338340
module will be called pxa930_rotary.
339341

340342
config KEYBOARD_SPITZ
341-
tristate "Spitz keyboard"
343+
tristate "Spitz keyboard (deprecated)"
342344
depends on PXA_SHARPSL
343-
default y
344345
help
345346
Say Y here to enable the keyboard on the Sharp Zaurus SL-C1000,
346347
SL-C3000 and Sl-C3100 series of PDAs.
347348

349+
This driver is now deprecated, use generic GPIO based matrix
350+
keyboard driver instead.
351+
348352
To compile this driver as a module, choose M here: the
349353
module will be called spitzkbd.
350354

@@ -411,12 +415,14 @@ config KEYBOARD_TWL4030
411415
module will be called twl4030_keypad.
412416

413417
config KEYBOARD_TOSA
414-
tristate "Tosa keyboard"
418+
tristate "Tosa keyboard (deprecated)"
415419
depends on MACH_TOSA
416-
default y
417420
help
418421
Say Y here to enable the keyboard on the Sharp Zaurus SL-6000x (Tosa)
419422

423+
This driver is now deprecated, use generic GPIO based matrix
424+
keyboard driver instead.
425+
420426
To compile this driver as a module, choose M here: the
421427
module will be called tosakbd.
422428

0 commit comments

Comments
 (0)