Re: [PATCH v3 1/2] dt-bindings: google,cros-ec-keyb: add has-fn-map prop
From: Krzysztof Kozlowski
Date: Mon Jan 05 2026 - 02:53:04 EST
On Wed, Dec 31, 2025 at 02:35:37PM +0000, Fabio Baltieri wrote:
> 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
You still did not answer to my previous question, why this is not
deducible from the key map (presence of KEY_FN in the map).
Best regards,
Krzysztof