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.
Changes from v1 (https://lore.kernel.org/r/[email protected]):
* Better enforcement of properties in DT binding
* Skip registration by means of adding compatible to device id list
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 | 95 +++++++++++++++++--
drivers/input/keyboard/cros_ec_keyb.c | 15 ++-
2 files changed, 102 insertions(+), 8 deletions(-)
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: <[email protected]>
Cc: Benson Leung <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Douglas Anderson <[email protected]>
Cc: Hsin-Yi Wang <[email protected]>
Cc: "Joseph S. Barrera III" <[email protected]>
[1] https://lore.kernel.org/all/[email protected]/
base-commit: 4352e23a7ff2f8a4ff229dd1283ed2f2b708ec51
--
https://chromeos.dev