ramips: rt2880: convert devices to interrupt-driven gpio-keys
authorShiji Yang <yangshiji66@qq.com>
Wed, 23 Oct 2024 16:08:25 +0000 (00:08 +0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 25 Oct 2024 11:56:14 +0000 (13:56 +0200)
This converts all RT2880 devices to use interrupt based gpio-keys
instead of gpio-keys-polled. The poll-interval will be removed.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16764
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ramips/dts/rt2880_airlink101_ar670w.dts
target/linux/ramips/dts/rt2880_airlink101_ar725w.dts
target/linux/ramips/dts/rt2880_asus_rt-n15.dts
target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts
target/linux/ramips/dts/rt2880_buffalo_wli-tx4-ag300n.dts
target/linux/ramips/dts/rt2880_buffalo_wzr-agl300nh.dts
target/linux/ramips/dts/rt2880_dlink_dap-1522-a1.dts
target/linux/ramips/dts/rt2880_ralink_v11st-fe.dts

index 7ff3b370b55c93f046e3281c096df781852033b7..a1f5e74d091e670617317e70cd4b1f8077d72a65 100644 (file)
@@ -76,8 +76,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 95a4b495eba68464aed7fee3eb7443aa89805bea..056011dbe8994505d37865c20b909524d36724eb 100644 (file)
@@ -87,8 +87,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 3e34f8916534944f9e5734a10a871d31a837298a..7306c458ff294765d198415f06b6e2c327bb1a4f 100644 (file)
@@ -75,8 +75,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 86e4964a99dd95ba0065f3e4308a3a082122e6c3..014dca2c486103518bf971f463106edf165a00a0 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index b89e0865841de2074f4a43c062eefb1a222e0d22..203023f186144d73187895347e61df7aca53b9ef 100644 (file)
@@ -69,8 +69,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index e86486dce65fdffd6f888f9d24cc715a79c3592a..dee4c6b981f0fbee5dc833c82102c7105a9c537a 100644 (file)
@@ -74,8 +74,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 3fdbdf681eacfc9298ac8b1b66ab7dee2df91aed..05f6edce2abef593e3571e9a077a01a5c0f81273 100644 (file)
@@ -67,8 +67,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 695db15a5500458a7fdd2069c702e8f3974163f0..d93479e07ead2bac0060c5f33a05a0cb45f6daa7 100644 (file)
@@ -62,8 +62,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";