Skip to content

Implement sparse keymap library

Dmitry Torokhov linux-acpi linux-input 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 12 repliesIn review
  2. v18 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Input: add generic support for sparse keymapsDocumentation/DocBook/device-drivers.tmpl drivers/input/Kconfig drivers/input/Makefile +3 more+348 -129 replies
2/9Input: wistron_btns - switch to using sparse keymap librarydrivers/input/misc/Kconfig drivers/input/misc/wistron_btns.c+45 -1340 replies
3/9Input: dm355evm_kbd - switch to using sparse keymap librarydrivers/input/misc/Kconfig drivers/input/misc/dm355evm_keys.c+57 -940 replies
4/9Input: dell-wmi - switch to using sparse keymap librarydrivers/platform/x86/Kconfig drivers/platform/x86/dell-wmi.c+64 -1360 replies
5/9Input: hp-wmi - switch to using sparse keymap librarydrivers/platform/x86/Kconfig drivers/platform/x86/hp-wmi.c+49 -1110 replies
6/9Input: eeepc-laptop - switch to using sparse keymap librarydrivers/platform/x86/Kconfig drivers/platform/x86/eeepc-laptop.c+52 -1190 replies
7/9Input: asus-laptop - switch to using sparse keymap librarydrivers/platform/x86/Kconfig drivers/platform/x86/asus-laptop.c+66 -1330 replies
8/9Input: topstar-laptop - switch to using sparse keymap librarydrivers/platform/x86/Kconfig drivers/platform/x86/topstar-laptop.c+55 -1081 reply
9/9Input: panasonic-laptop - switch to using sparse keymap librarydrivers/platform/x86/Kconfig drivers/platform/x86/panasonic-laptop.c+58 -1082 replies

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by.

PatchAnisse AstierHerton Ronaldo Krzesinski
1/9R-b
2/9
3/9
4/9
5/9
6/9
7/9
8/9A-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/9] Implement sparse keymap library

It seems that almost everty platform driver out there copied the keymap implementation from wistron button driver... That's a lot of duplicated code and I think it is high time we split it into a library module that can be shared between all these drivers.

Changes since v1: added sparse_keymap_report_event() and sparse_keymap_report_entry() to furger reduce code in the drivers.

Len, what would be the best way to merge this? The patches touch a few of the platform drivers and I would like to get it done sooner than later because teh patch converting EVIOCGKEYCODE and EVIOCSKEYCODE to use unisgned int instead of signed int scancodes depends on it.

Thanks.

Signature · 1 line
Dmitry