Skip to content

Commit 5ef0f31

Browse files
oleremShawn Guo
authored andcommitted
ARM: dts: imx6qdl: vicut1: rename power to power-button
In order to address the warnings about the naming convention for keys, this commit renames the 'power' key to 'power-button' in the vicut1-12inch device tree source file. The warning in question is as follows: arch/arm/boot/dts/imx6q-vicut1.dtb: gpio-keys: 'power' does not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switch))$', 'pinctrl-[0-9]+' The referenced warning originates from the following schema: Documentation/devicetree/bindings/input/gpio-keys.yaml Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 1d14bd9 commit 5ef0f31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm/boot/dts/imx6qdl-vicut1-12inch.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
pinctrl-0 = <&pinctrl_gpiokeys>;
1111
autorepeat;
1212

13-
power {
13+
power-button {
1414
label = "Power Button";
1515
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
1616
linux,code = <KEY_POWER>;

0 commit comments

Comments
 (0)