[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aUq1UuFHE9B9zHIz@google.com>
Date: Tue, 23 Dec 2025 15:29:22 +0000
From: Fabio Baltieri <fabiobaltieri@...omium.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Benson Leung <bleung@...omium.org>,
Guenter Roeck <groeck@...omium.org>,
Tzung-Bi Shih <tzungbi@...nel.org>, Simon Glass <sjg@...omium.org>,
linux-input@...r.kernel.org, devicetree@...r.kernel.org,
chrome-platform@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 3/3] dt-bindings: google,cros-ec-keyb: add fn-key and
f-keymap props
On Wed, Dec 17, 2025 at 10:05:45AM -0800, Dmitry Torokhov wrote:
> > Had a look at the tegra-kbc driver as you suggested, first thing it
> > seems like the fn-key functionality there is dead code since 2013,
> > `use_fn_map` could only be enabled with platform data, not OF, and that
> > has been removed in 3a495aeada2b, as it stands kbc->use_fn_map can only
> > be false. I could send a patch to rip off that code if you want me to,
> > clearly it hasn't been used in a while (unless I'm missing something).
>
> I guess you are right, we shoudl clean that up. We have another newer
> driver that uses the same approach:
>
> drivers/input/keyboard/pinephone-keyboard.c
Alright I'll look into it and rework a v2 with the extended map, checked
the code again and I see your arguments, sounds reasonable.
Cheers,
Fabio
--
Fabio Baltieri
Powered by blists - more mailing lists