Skip to content

input: mode 6 patches for sh_keysc

Magnus Damm linux-input linux-sh 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3input: break out hw access functions in sh_keyscdrivers/input/keyboard/sh_keysc.c+43 -260 replies
2/3input: bitmap update for sh_keyscdrivers/input/keyboard/sh_keysc.c+58 -253 replies
3/3input: update sh_keysc driver with mode 6drivers/input/keyboard/sh_keysc.c include/linux/input/sh_keysc.h+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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.

---

 drivers/input/keyboard/sh_keysc.c |  155 ++++++++++++++++++++++++-------------
 include/linux/input/sh_keysc.h    |    6 -
 2 files changed, 106 insertions(+), 55 deletions(-)