Skip to content

Commit 94c8dc1

Browse files
fabioestevammmind
authored andcommitted
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>
1 parent 3dc3525 commit 94c8dc1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm/boot/dts/rockchip/rk3288-veyron-pinky.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747

4848
key-power {
4949
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
50+
linux,code = <KEY_POWER>;
5051
};
5152
};
5253

0 commit comments

Comments
 (0)