[PATCH v3 1/2] dt-bindings: google,cros-ec-keyb: add has-fn-map prop

From: Fabio Baltieri

Date: Wed Dec 31 2025 - 09:35:46 EST


Add binding documentation for the has-fn-map property.

Signed-off-by: Fabio Baltieri <fabiobaltieri@xxxxxxxxxxxx>
---
.../devicetree/bindings/input/google,cros-ec-keyb.yaml | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml b/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml
index fefaaf46a240..fa24b1cbc788 100644
--- a/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml
+++ b/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml
@@ -44,6 +44,14 @@ properties:
where the lower 16 bits are reserved. This property is specified only
when the keyboard has a custom design for the top row keys.

+ google,has-fn-map:
+ description: |
+ The keymap has function key layer. This allows defining an extra set of
+ codes that are sent if a key is pressed while the KEY_FN is held pressed
+ as well. The function codes have to be defined in the linux,keymap
+ property with an offset of keypad,num-rows from the normal ones.
+ type: boolean
+
dependencies:
function-row-physmap: [ 'linux,keymap' ]
google,needs-ghost-filter: [ 'linux,keymap' ]
--
2.52.0.351.gbe84eed79e-goog