[PATCH 1/3] dt-bindings: input: cros-ec-keyb: Add a new property
From: Philip Chen
Date: Mon Dec 21 2020 - 20:48:46 EST
This patch adds a new property `google,custom-keyb-top-row` to the
device tree for the custom keyboard top row design.
Signed-off-by: Philip Chen <philipchen@xxxxxxxxxxxx>
---
.../devicetree/bindings/input/google,cros-ec-keyb.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml b/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml
index 8e50c14a9d778..f105eae1cf445 100644
--- a/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml
+++ b/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml
@@ -31,6 +31,13 @@ properties:
if the EC does not have its own logic or hardware for this.
type: boolean
+ google,custom-keyb-top-row:
+ $ref: '/schemas/types.yaml#/definitions/uint16-array'
+ description: |
+ An ordered u16 array containing the action keycode values of the function
+ keys, from left to right. Specified only when the board has a custom
+ design for the top row keys on the keyboard.
+
required:
- compatible
--
2.26.2