[PATCH 0/2] Input: cros-ec-keyb: Better matrixless support

From: Stephen Boyd
Date: Wed Apr 27 2022 - 16:30:35 EST


This is a followup to my previous patch[1] that skips keyboard registration
when the matrix properties aren't present. This adds a compatible string
for this scenario so we can ease existing DTBs over to the new design.

Stephen Boyd (2):
dt-bindings: google,cros-ec-keyb: Introduce switches only compatible
Input: cros-ec-keyb - skip keyboard registration for switches
compatible

.../bindings/input/google,cros-ec-keyb.yaml | 12 +++++++++---
drivers/input/keyboard/cros_ec_keyb.c | 8 ++++++++
2 files changed, 17 insertions(+), 3 deletions(-)

Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Cc: Rob Herring <robh+dt@xxxxxxxxxx>
Cc: <devicetree@xxxxxxxxxxxxxxx>
Cc: Benson Leung <bleung@xxxxxxxxxxxx>
Cc: Guenter Roeck <groeck@xxxxxxxxxxxx>
Cc: Douglas Anderson <dianders@xxxxxxxxxxxx>
Cc: Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx>
Cc: "Joseph S. Barrera III" <joebar@xxxxxxxxxxxx>

[1] https://lore.kernel.org/all/20220425210726.3813477-1-swboyd@xxxxxxxxxxxx/

base-commit: 4352e23a7ff2f8a4ff229dd1283ed2f2b708ec51
--
https://chromeos.dev