Thread (18 messages) 18 messages, 6 authors, 2022-05-30

Re: [PATCH 3/5] Input: pinephone-keyboard - Build in the default keymap

From: Samuel Holland <samuel@sholland.org>
Date: 2022-02-02 04:58:41
Also in: linux-devicetree, linux-i2c, lkml

Hi,

On 1/31/22 1:45 PM, Dmitry Torokhov wrote:
Hi Samuel,

On Sat, Jan 29, 2022 at 05:00:40PM -0600, Samuel Holland wrote:
quoted
The PinePhone keyboard comes with removable keys, but there is a default
layout labeled from the factory. Use this keymap if none is provided in
the devicetree.
Why can't we require to have it in device tree?
We can. I am okay with dropping this patch and making the properties required if
that is preferred.

The keyboard is supported on at least four device trees (three revisions of
PinePhone, plus the PinePhone Pro), so moving the default keymap to the driver
avoids duplicating that block of data in each device tree/overlay.

Regards,
Samuel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help