[PATCH v4 0/1] Input: cros_ec_keyb: add function key support

Fabio Baltieri posted 1 patch 1 month ago
There is a newer version of this series
drivers/input/keyboard/cros_ec_keyb.c | 174 +++++++++++++++++++++++---
1 file changed, 158 insertions(+), 16 deletions(-)
[PATCH v4 0/1] Input: cros_ec_keyb: add function key support
Posted by Fabio Baltieri 1 month ago
Hi, v4 of the cros-ec-keyb fn key support, reworked the logic to detect
the fn layer automatically, removed the dedicated dt property.

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 (1):
  Input: cros_ec_keyb - add function key support

 drivers/input/keyboard/cros_ec_keyb.c | 174 +++++++++++++++++++++++---
 1 file changed, 158 insertions(+), 16 deletions(-)

-- 
2.52.0.351.gbe84eed79e-goog