[PATCH 2/2] Input: tegra-kbc - add default chromeos map

Olof Johansson olof at lixom.net
Wed Dec 28 16:16:14 EST 2011


On Tue, Dec 27, 2011 at 9:10 PM, Olof Johansson <olof at lixom.net> wrote:
> This adds a simple way to specify the ChromeOS-specific keyboard map
> instead of the "standard" map that is used on other Tegra devices such
> as Harmony-with-keyboard and Seaboard.
>
> I expect the number of different keyboard layouts to be quite limited,
> and not many should be added over time. So instead of encoding the layout
> in the device tree, with all the can of worms that entails w.r.t. agreeing
> on a suitable binding, just add a property to specify that this is the
> map to be used, and include it in the driver.
>
> If, over time, the number of mappings increase, the binding can be
> updated to include a custom map as a new property, without having to
> worry about backwards compatibility on existing devices.
>
> Signed-off-by: Olof Johansson <olof at lixom.net>

Ack, hold off on this one -- it needs more initialization than what I did below.


-Olof


More information about the devicetree-discuss mailing list