input: mode 6 patches for sh_keysc
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | input: break out hw access functions in sh_keyscdrivers/ | +43 | 0 replies | |
| 2/3 | input: bitmap update for sh_keyscdrivers/ | +58 | 3 replies | |
| 3/3 | input: update sh_keysc driver with mode 6drivers/ include/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/03] input: mode 6 patches for sh_keysc
input: mode 6 patches for sh_keysc
[PATCH 01/03] input: break out hw access functions in sh_keysc [PATCH 02/03] input: bitmap update for sh_keysc [PATCH 03/03] input: update sh_keysc driver with mode 6
These patches improve the sh_keysc driver with mode 6 support.
The earlier submitted patch for mode 4 and mode 5 extended the driver with up to 6 * 7 keys. Mode 6 support included in this patch set allows up to 7 * 7 keys.
The sh_keysc driver has so far only been used with hardware where the number of keys can fit in a 32-bit bitmap, but from mode 4 and up these 32 bits are no longer enough. To address this proper bitmaps are made use of instead 32-bit integers.
Signed-off-by Magnus Damm <[email protected]>
---
drivers/input/keyboard/sh_keysc.c | 155 ++++++++++++++++++++++++------------- include/linux/input/sh_keysc.h | 6 - 2 files changed, 106 insertions(+), 55 deletions(-)