mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
ARM: dts: rockchip: Pass linux,code to the power key on rk3288-veyron-pinky
According to gpio-keys.yaml, linux,code is a required property. Pass it to fix the following dt-schema warning: lid-switch (gpio-keys): key-power: 'linux,code' is a required property Signed-off-by: Fabio Estevam <festevam@gmail.com> Link: https://patch.msgid.link/20260323125721.692139-1-festevam@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
3dc3525dab
commit
94c8dc1fa8
|
|
@ -47,6 +47,7 @@ &lid_switch {
|
|||
|
||||
key-power {
|
||||
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
|
||||
linux,code = <KEY_POWER>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user