]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: samsung: smdkv310: fix keypad no-autorepeat
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 12 Mar 2024 18:31:02 +0000 (19:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jul 2024 07:08:24 +0000 (09:08 +0200)
[ Upstream commit 87d8e522d6f5a004f0aa06c0def302df65aff296 ]

Although the Samsung SoC keypad binding defined
linux,keypad-no-autorepeat property, Linux driver never implemented it
and always used linux,input-no-autorepeat.  Correct the DTS to use
property actually implemented.

This also fixes dtbs_check errors like:

  exynos4210-smdkv310.dtb: keypad@100a0000: 'linux,keypad-no-autorepeat' does not match any of the regexes: '^key-[0-9a-z]+$', 'pinctrl-[0-9]+'

Cc: <stable@vger.kernel.org>
Fixes: 0561ceabd0f1 ("ARM: dts: Add intial dts file for EXYNOS4210 SoC, SMDKV310 and ORIGEN")
Link: https://lore.kernel.org/r/20240312183105.715735-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/exynos4210-smdkv310.dts

index 77fc11e593ad3c6201aa98e9a7bff25a7ea3d326..9297788c0c43fd317ddc41b84c103673d87cbd13 100644 (file)
@@ -64,7 +64,7 @@
 &keypad {
        samsung,keypad-num-rows = <2>;
        samsung,keypad-num-columns = <8>;
-       linux,keypad-no-autorepeat;
+       linux,input-no-autorepeat;
        wakeup-source;
        pinctrl-names = "default";
        pinctrl-0 = <&keypad_rows &keypad_cols>;