[PATCH] ARM: dts: cros-ec-keyboard: Add alternate keymap for KEY_LEFTMETA

Matthias Brugger matthias.bgg at gmail.com
Wed Sep 30 06:44:34 EDT 2020



On 29/09/2020 10:04, Enric Balletbo i Serra wrote:
> Hi Stephen,
> 
> Thank you for your patch.
> 
> cc'ing Heiko and Matthias
> 
> On 25/9/20 18:26, Stephen Boyd wrote:
>> On newer keyboards this key is in a different place. Add both options to
>> the keymap so that both new and old keyboards work.
>>
>> Cc: Douglas Anderson <dianders at chromium.org>
>> Signed-off-by: Stephen Boyd <swboyd at chromium.org>

Reviewed-by: Matthias Brugger <matthias.bgg at gmail.com>

> 
> Usually the DT changes go through the Rockchip dts or Mediatek dts tree, this is
> not a specific Rockchip/Mediatek change but for both. Are you fine If I pick the
> patch through the chrome-platform tree? I don't think there is any conflict.
> 

Please go ahead and take the patch through your tree.

Regards,
Matthias

> Thanks,
>   Enric
> 
>> ---
>>   arch/arm/boot/dts/cros-ec-keyboard.dtsi | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/boot/dts/cros-ec-keyboard.dtsi b/arch/arm/boot/dts/cros-ec-keyboard.dtsi
>> index 4a0c1037fbc0..165c5bcd510e 100644
>> --- a/arch/arm/boot/dts/cros-ec-keyboard.dtsi
>> +++ b/arch/arm/boot/dts/cros-ec-keyboard.dtsi
>> @@ -46,6 +46,7 @@ MATRIX_KEY(0x02, 0x08, KEY_LEFTBRACE)
>>   			MATRIX_KEY(0x02, 0x09, KEY_F8)
>>   			MATRIX_KEY(0x02, 0x0a, KEY_YEN)
>>   
>> +			MATRIX_KEY(0x03, 0x00, KEY_LEFTMETA)
>>   			MATRIX_KEY(0x03, 0x01, KEY_GRAVE)
>>   			MATRIX_KEY(0x03, 0x02, KEY_F2)
>>   			MATRIX_KEY(0x03, 0x03, KEY_5)
>>



More information about the linux-arm-kernel mailing list