ARM: dts: rockchip: Pass linux,code to the power key on rk3288-veyron-pinky
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- arch/arm/boot/dts/rockchip/rk3288-veyron-pinky.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/rockchip/rk3288-veyron-pinky.dts +1 -0
@@ -47,6 +47,7 @@ &lid_switch { key-power { gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; + linux,code = <KEY_POWER>; }; };
Signature · 1 line
2.43.0
Quoted 8 lines · Fabio Estevam
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
[...]
Applied, thanks!
[1/1] ARM: dts: rockchip: Pass linux,code to the power key on rk3288-veyron-pinky
commit: 94c8dc1fa8e1ad4037084204152bca1e799d7d1c
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>