ramips: rt3883: convert devices to interrupt-driven gpio-keys
authorShiji Yang <yangshiji66@qq.com>
Wed, 23 Oct 2024 16:09:36 +0000 (00:09 +0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 25 Oct 2024 11:56:14 +0000 (13:56 +0200)
This converts all RT3662 and RT3883 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/rt3662_asus_rt-n56u.dts
target/linux/ramips/dts/rt3662_dlink_dir-645.dts
target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
target/linux/ramips/dts/rt3662_engenius_esr600h.dts
target/linux/ramips/dts/rt3662_omnima_hpm.dts
target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts
target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts
target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts
target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts

index c381aa3e031750f52cd597bdf9a3d5f8247c5a1d..825190c315a146ccdaeb8990cdaaf428b36ba123 100644 (file)
@@ -77,8 +77,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8cfa48e19590994c00ed2ebb400c9074051d57e0..7597b7d867f6b6a0fa7bf0af9f0bd4148858ee24 100644 (file)
@@ -23,8 +23,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index fbc795b24f6af1e3e3db8a04906cc70706403b6c..832891f44ea0a25ee51ece22d64a3a732b3837fc 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index b539d2d4a7c59a3ca05c09ec52d75dbfe5678312..f7a7ba8a0ebaba225f60be2a740743887a0af174 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset-wps {
                        label = "reset-wps";
index 82d79dedb4789d24d26c49e07b16b9a95b19c66f..a6d5e4e8b35da472e0c47f2c0dc43ab32c5d3464 100644 (file)
@@ -20,8 +20,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 5547ec0f483122c744ebbebd6cbc8b101d81c27b..db1a536d2c84661b69b99c824950f3b0cde5da50 100644 (file)
@@ -58,8 +58,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 94a47b8735e2924f631ca3d7c49b061dba9a658b..5f2fea28d313baa6fdd80e5cc1b0994dd8b80d58 100644 (file)
@@ -16,8 +16,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index d9ad78ba2b61613dd660e08842a501a8ea4bbf84..3863021a4bd610caf2409057cb6406ba99e35af2 100644 (file)
@@ -68,8 +68,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c6a817aafcacf96e5bdfbf06573d7ad12974f08f..6bb01b8c6cc697301905ab95375281e838f81784 100644 (file)
@@ -68,8 +68,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";