public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/2] Input: cros_ec_keyb - add function key support
@ 2026-02-11 17:34 Fabio Baltieri
  2026-02-11 17:34 ` [PATCH v7 1/2] Input: export input_default_setkeycode Fabio Baltieri
  2026-02-11 17:34 ` [PATCH v7 2/2] Input: cros_ec_keyb - add function key support Fabio Baltieri
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Baltieri @ 2026-02-11 17:34 UTC (permalink / raw)
  To: Dmitry Torokhov, Benson Leung, Guenter Roeck
  Cc: Fabio Baltieri, Tzung-Bi Shih, Simon Glass, linux-input,
	chrome-platform, linux-kernel

Changes from v6:
  - Fixed a bug where normal key were sending the wrong MSC scancode
  - Added setkeycode handling so fn functionality is recomputed in
    runtime when the keymap is changed

Changes from v5:
  - minor renames/cosmetic changes
  - dropped the *_key_status array, tracking using the idev->key bitmask

Changes from v4:
  - just a comment tweak

Changes from v3:
  - implemented fn layer runtime detection
  - tweaked cros_ec_keyb_fn_code to return back the correct position
    code

Changes from v2:
  - renamed the dt property to use-fn-map, dropped the example
  - added few function comments
  - added a helper for obtaining the fn code
  - reordered, dt patch first

Changes from v1:
  - change struct to short types
  - refactored the fn key handling in its own function
  - changed props to use the google, prefix
  - reworked the properties to use an overlay map rather than a
    dedicated one

Fabio Baltieri (2):
  Input: export input_default_setkeycode
  Input: cros_ec_keyb - add function key support

 drivers/input/input.c                 |   9 +-
 drivers/input/keyboard/cros_ec_keyb.c | 191 +++++++++++++++++++++++---
 include/linux/input.h                 |   4 +
 3 files changed, 185 insertions(+), 19 deletions(-)

-- 
2.53.0.239.g8d8fc8a987-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-22  0:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-11 17:34 [PATCH v7 0/2] Input: cros_ec_keyb - add function key support Fabio Baltieri
2026-02-11 17:34 ` [PATCH v7 1/2] Input: export input_default_setkeycode Fabio Baltieri
2026-02-11 17:34 ` [PATCH v7 2/2] Input: cros_ec_keyb - add function key support Fabio Baltieri
2026-02-22  0:39   ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox