arm64: dts: qcom: sc8180x-flex-5g: align gpio-keys node name with bindings
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 17 Jun 2023 17:15:40 +0000 (19:15 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 04:26:41 +0000 (21:26 -0700)
Bindings except certain pattern for gpio-keys children:

  sc8180x-lenovo-flex-5g.dtb: gpio-keys: 'lid' 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]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230617171541.286957-14-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts

index 39c6ef0802aa43c16e4bc7e7ffa15fd39ad0947f..fca08db89769df4c136d6e5c3b7592891950212f 100644 (file)
@@ -36,7 +36,7 @@
                pinctrl-0 = <&hall_int_active_state>;
                pinctrl-names = "default";
 
-               lid {
+               lid-switch {
                        gpios = <&tlmm 121 GPIO_ACTIVE_LOW>;
                        linux,input-type = <EV_SW>;
                        linux,code = <SW_LID>;