ramips: rt305x: convert devices to interrupt-driven gpio-keys
authorShiji Yang <yangshiji66@qq.com>
Wed, 23 Oct 2024 16:09:19 +0000 (00:09 +0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 25 Oct 2024 11:56:14 +0000 (13:56 +0200)
This converts all RT305x and RT5350 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>
85 files changed:
target/linux/ramips/dts/rt3050_allnet_all0256n.dtsi
target/linux/ramips/dts/rt3050_alphanetworks_asl26555.dtsi
target/linux/ramips/dts/rt3050_asus_rt-g32-b1.dts
target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts
target/linux/ramips/dts/rt3050_asus_wl-330n.dts
target/linux/ramips/dts/rt3050_asus_wl-330n3g.dts
target/linux/ramips/dts/rt3050_dlink_dcs-930.dts
target/linux/ramips/dts/rt3050_dlink_dir-300-b1.dts
target/linux/ramips/dts/rt3050_dlink_dir-600-b1.dts
target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts
target/linux/ramips/dts/rt3050_dlink_dir-620-a1.dts
target/linux/ramips/dts/rt3050_edimax_3g-6200n.dts
target/linux/ramips/dts/rt3050_edimax_3g-6200nl.dts
target/linux/ramips/dts/rt3050_huawei_d105.dts
target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
target/linux/ramips/dts/rt3050_netcore_nw718.dts
target/linux/ramips/dts/rt3050_sparklan_wcr-150gn.dts
target/linux/ramips/dts/rt3050_teltonika_rut5xx.dts
target/linux/ramips/dts/rt3050_tenda_w150m.dts
target/linux/ramips/dts/rt3050_trendnet_tew-638apb-v2.dts
target/linux/ramips/dts/rt3052_accton_wr6202.dts
target/linux/ramips/dts/rt3052_alfa-network_w502u.dts
target/linux/ramips/dts/rt3052_argus_atp-52b.dts
target/linux/ramips/dts/rt3052_asiarf_awapn2403.dts
target/linux/ramips/dts/rt3052_asus_rt-n13u.dts
target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts
target/linux/ramips/dts/rt3052_aztech_hw550-3g.dts
target/linux/ramips/dts/rt3052_buffalo_whr-g300n.dts
target/linux/ramips/dts/rt3052_dlink_dap-1350.dts
target/linux/ramips/dts/rt3052_engenius_esr-9753.dts
target/linux/ramips/dts/rt3052_fon_fonera-20n.dts
target/linux/ramips/dts/rt3052_hauppauge_broadway.dts
target/linux/ramips/dts/rt3052_huawei_hg255d.dts
target/linux/ramips/dts/rt3052_jcg_jhr-n825r.dts
target/linux/ramips/dts/rt3052_jcg_jhr-n926r.dts
target/linux/ramips/dts/rt3052_mofinetwork_mofi3500-3gn.dts
target/linux/ramips/dts/rt3052_netgear_wnce2001.dts
target/linux/ramips/dts/rt3052_nexaira_bc2.dts
target/linux/ramips/dts/rt3052_omnima_miniembwifi.dts
target/linux/ramips/dts/rt3052_petatel_psr-680w.dts
target/linux/ramips/dts/rt3052_planex_mzk-w300nh2.dts
target/linux/ramips/dts/rt3052_poray_ip2202.dts
target/linux/ramips/dts/rt3052_prolink_pwh2004.dts
target/linux/ramips/dts/rt3052_ralink_v22rw-2x2.dts
target/linux/ramips/dts/rt3052_sitecom_wl-351.dts
target/linux/ramips/dts/rt3052_skyline_sl-r7205.dts
target/linux/ramips/dts/rt3052_tenda_3g300m.dts
target/linux/ramips/dts/rt3052_tenda_w306r-v2.dts
target/linux/ramips/dts/rt3052_unbranded_wr512-3gn.dtsi
target/linux/ramips/dts/rt3052_unbranded_xdx-rn502j.dts
target/linux/ramips/dts/rt3052_upvel_ur-326n4g.dts
target/linux/ramips/dts/rt3052_upvel_ur-336un.dts
target/linux/ramips/dts/rt3052_zyxel_keenetic.dts
target/linux/ramips/dts/rt3052_zyxel_nbg-419n.dts
target/linux/ramips/dts/rt3352_dlink_dir-615-h1.dts
target/linux/ramips/dts/rt3352_dlink_dir-620-d1.dts
target/linux/ramips/dts/rt3352_zte_mf283plus.dts
target/linux/ramips/dts/rt3352_zyxel_nbg-419n-v2.dts
target/linux/ramips/dts/rt5350_7links_px-4885.dtsi
target/linux/ramips/dts/rt5350_airlive_air3gii.dts
target/linux/ramips/dts/rt5350_asiarf_awm002-evb.dtsi
target/linux/ramips/dts/rt5350_belkin_f7c027.dts
target/linux/ramips/dts/rt5350_dlink_dcs-930l-b1.dts
target/linux/ramips/dts/rt5350_dlink_dir-300-b7.dts
target/linux/ramips/dts/rt5350_dlink_dir-320-b1.dts
target/linux/ramips/dts/rt5350_dlink_dir-610-a1.dts
target/linux/ramips/dts/rt5350_dlink_dwr-512-b.dts
target/linux/ramips/dts/rt5350_hame_mpr-a1.dts
target/linux/ramips/dts/rt5350_hame_mpr-a2.dts
target/linux/ramips/dts/rt5350_hilink_hlk-rm04.dts
target/linux/ramips/dts/rt5350_hootoo_ht-tm02.dts
target/linux/ramips/dts/rt5350_intenso_memory2move.dts
target/linux/ramips/dts/rt5350_nexx_wt1520.dtsi
target/linux/ramips/dts/rt5350_omnima_miniembplug.dts
target/linux/ramips/dts/rt5350_planex_mzk-dp150n.dts
target/linux/ramips/dts/rt5350_poray_m3.dts
target/linux/ramips/dts/rt5350_poray_m4.dtsi
target/linux/ramips/dts/rt5350_poray_x5.dts
target/linux/ramips/dts/rt5350_poray_x8.dts
target/linux/ramips/dts/rt5350_tenda_3g150b.dts
target/linux/ramips/dts/rt5350_trendnet_tew-714tru.dts
target/linux/ramips/dts/rt5350_unbranded_a5-v11.dts
target/linux/ramips/dts/rt5350_wiznet_wizfi630a.dts
target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts
target/linux/ramips/dts/rt5350_zyxel_keenetic-start.dts

index 3be20dd2f4ddffa1bef0819f3314c0d84c90b1ac..1183cade6a62206768660ecb0e776c32665fd521 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 74e3edd4edcebcd4a4becbdbbffa3267b4be48c1..a987ee49b6670b340f44a677465e41737311e867 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 5d980ebf8a58b12263b5568ffb05e36988e09302..22138a47c32eefddf575c23d90ddb2ae5f32fb22 100644 (file)
@@ -8,8 +8,7 @@
        model = "Asus RT-G32 B1";
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 85414a284ebf65469db9f5ca4a99d966aa5494fe..96f82a17a626177e0f6c6d9bc53e6acb2c7a941f 100644 (file)
@@ -77,8 +77,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index e9349f6a39ea3b18e56bbd445ef45fa0c7e1363d..1263f588a05a4106ee00f68c9fb8ab357e98660c 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index eb47913fb25488fb6ae2a4eb15172837788fd4c7..6461e709ebc4340ba24e7b83c714bcaa66180d9e 100644 (file)
@@ -36,8 +36,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 32ecbb47b8619b076ec31aa3b49c361affb8cdb2..eb1c0526653bb4d9c304f9e86fa6f86c1d54d439 100644 (file)
@@ -88,8 +88,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 47264478b243faae8fe240cdddd305f4131e6cde..c538afe67607e8d518b15177ea6ea4021a076d47 100644 (file)
@@ -67,8 +67,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 13badc71391c77767843432f50151d53d550f723..ce7f182aa56eaeeb1736f33b31e77a296e55f1f2 100644 (file)
@@ -67,8 +67,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 4df6d442196d5511943f7343504757785540cc45..92cd28b784320d7c7aaafb7b019e3981e84f4d4b 100644 (file)
@@ -64,8 +64,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f159580972a0e2bafbae4af40d8e0fef3f0c51b7..13e5d640a8adbb79dc26888425910be4c2667cae 100644 (file)
@@ -67,8 +67,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 128f84de1ffc4ecd9ff6663eb513dd0d36e0cd39..56ef8b7e6dd9998b53a6176a438b295aee758c8f 100644 (file)
@@ -99,8 +99,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 5277f9b5237573d0684786c480f9d945199b2b48..448c18ccd5560bc603d0fb95acc5d2079aae25a5 100644 (file)
@@ -91,8 +91,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6a26e0d513cf8cc034c85ca77369a2395d55fd2f..948cf84a793ffedfc4d16d6a2b3161a51bf7f611 100644 (file)
@@ -85,8 +85,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 3c54a38f28cf86671a377bdb6b72e0a8e3ddcc8d..96adde07ed2d4cfd496d2dc49e0cb880b349a648 100644 (file)
@@ -24,8 +24,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 83b79d5e77b3a3f8e63b70293d04bd9a2974f11b..3af5f62e0ac25332af856c55fb4e72cf95a567d1 100644 (file)
@@ -40,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 4b4c5e18ee07cee37528fb294aca67c6aa4700e3..5428f791cfca3f34ca69719e0594456d835d0d14 100644 (file)
@@ -84,8 +84,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 691e5d621d31cbe37c41668305b04ff831957128..2f7e195554cae14163394c69b2684d97e97c2052 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f76661b500184c42c76a1c481013590bc6b70ce7..8ebfb4f1a074917c5dc38fe7db63c7c335eaef09 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 990c3eb4cea6ce4917d970e29ec8bd8ccaadaa95..9f72ddd7c1acd7a7bf0b24d2e2cff5863c897a2d 100644 (file)
@@ -67,8 +67,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f3a31ad6ca24e4e2886eaec5806de26269f272c5..685f59617742692371e59084dbe5d931e512f6b7 100644 (file)
@@ -28,8 +28,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 609fd9b2f44f3eba937d12439d002e4174c545c8..71493faa55d3f75ca98d0f3a8fe4ee6b6cfa6852 100644 (file)
@@ -89,8 +89,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 5cee0dfcfd72046c6a6dc3d62e0cfc979f47858c..01ca2a1c725d4bd5957c2abd006c497e0923b130 100644 (file)
@@ -78,8 +78,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index ec794b8eab4caab38d2d9a3c6b5d1dac44e4ae23..107cbf180410e3447a091ae5d64894441eb464f4 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 4f0d9e620773ce7213745086c9b2902e9d8afb12..bcd05e3f19644f6057373c800395e80c0bbfec19 100644 (file)
@@ -82,8 +82,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <10>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f0d4122517c292034597ab99742bd2cc91d94707..60164724bd29e938b353c3a78670a8ce026a2b8f 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8f9a62bba2a4b73eecbce6779e414b0c23801a70..b75ecb0495871f1871346b61926f08b827629a59 100644 (file)
@@ -96,8 +96,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c7d4b626951175fe1d1ac94531f6efbc7d60845b..811db0b1c15966e4f1fed168555455e446be4f06 100644 (file)
@@ -90,8 +90,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 581da5acbb8b6977f21555947f1d0766ad7f1d16..b4c2adbe03608eb9e9c8c101cb169cd9189e2e74 100644 (file)
@@ -99,8 +99,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8f040bf893d12b459208ccff5b2a3e25fe131618..653b3d55902ec5ee7666e5d27e95986deab660fb 100644 (file)
@@ -83,8 +83,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8f612fbc1c310e968553fc4f78a9c7ea6cf1123b..7b7546a9972c05c3c179dd03990b95e234879e1a 100644 (file)
@@ -90,8 +90,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 698d8fbc1eb5346e5941f89ff0aebe34054fe6d3..da800105260772dec9713f82c5010762b2925126 100644 (file)
@@ -75,8 +75,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                factory {
                        label = "Factory Reset button";
index 7150a7f41af8b9816f18f1e22f899d60e6150e5c..0aac571ee2ee53e03f4ce95498ce2f2e39b92cb3 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <10>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 75af528d303cbace3d2f6baba08f7af05de3f3ce..2e73c4c8cb6e89e9e597755806cf8bb94d503923 100644 (file)
@@ -76,8 +76,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
index 8b50244e18c2660df7b10fe381968f2e8860b076..04605017d36c3ee989754242d6234e6cfb05ce28 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset_wps {
                        label = "reset_wps";
index 7e958c3a07fccda4c91a06c33d024753e89a8c70..58c62ac5a71b1787b0bc60efe2d75e54f19ea460 100644 (file)
@@ -92,8 +92,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 5406e1e263e3cb708e8cdd0c8efa9828e5805286..dd498420018cf7e36b4cbd15061a96628036356e 100644 (file)
@@ -48,8 +48,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index e92ce3261dcb5d6cddc681ca397d697adf22334b..ae6ab4d764ce11463d43da7ae27643caeea1da28 100644 (file)
@@ -72,8 +72,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8aed9e947f78133ce78abed9fed6bc88dd00ba40..41985ee3cb96af8c8baea0586ab90f5e8e0ed73d 100644 (file)
@@ -32,8 +32,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index de2d9450ee08f489bbd6ef02f6967c88b8e2073f..cde7d7b17fcff16fadba9483e6f524af041684ac 100644 (file)
@@ -81,8 +81,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 88e2480f41d93c27c58da6a54e8e45b51432dfa4..b7aa08ea74cecd83f4717207946db61f27cfe9a8 100644 (file)
@@ -95,8 +95,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index e9273d65702767bef1db0d66164146e17d6c1767..77ac4e187dad15d1f7e51e9c0d41bad675b217a1 100644 (file)
@@ -76,8 +76,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index bb213c9f8045488d04c68b65293c11472e6ec2ed..5faf41cfc8d463c750bdeddd5bcd278f897c6890 100644 (file)
@@ -78,8 +78,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 179e738d4feb82c05760bea4150abbea38bb0292..1fc712445598319d2dc988b6a99faf56e4792ada 100644 (file)
@@ -78,8 +78,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f4dd87878293fd698b6d9cd3434d527fe3a76244..d1d68f6a5c6d0f51ef9b39edab559a4664e26d79 100644 (file)
@@ -87,8 +87,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2a1c576fe5452fcd8eac2bf09a0a9561a4a589c6..e55850bc2831bf5bf696e39bde3db53dc714ebf5 100644 (file)
@@ -75,8 +75,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8620d4a1ad48008c13feb3af33fb5e7be20fef79..a37d2a4ac6e1edefaf768771648cf495411b2bf7 100644 (file)
@@ -51,8 +51,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index ddeaa94fc5f6a1f8932d242be49b4b7a0daf2836..7e5ffc61e025682767b4ee96342b78a7e93ca50f 100644 (file)
@@ -82,8 +82,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "RESET/WPS";
index c18112fc01eb9094872f57810f907e836a224742..4e1560728ac482cdc7e6fe77158585e3f6f308fa 100644 (file)
@@ -45,8 +45,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset_wps {
                        label = "reset_wps";
index af140fee1f51a9c279d098c278a4f9b21c0176f7..074dd8cec9e243f9296c3eb95abfcb0d115bf7a5 100644 (file)
@@ -82,8 +82,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index e22b946b085a6eb21316c166170d83c62ff29a2b..0118f02143c70a498ddc0ab851ed74bb425e48b7 100644 (file)
@@ -97,8 +97,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset_wps {
                        label = "reset_wps";
index 4a7dc5511c610229bea8dae9532399ef3b034d0b..58cc069c7e69bde47bd9eedda6b2ebdb18244217 100644 (file)
@@ -97,8 +97,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset_wps {
                        label = "reset_wps";
index c7285150d98f37c0e2ce4bc4c783036347fae9d9..454f865da7595fca4f657f87de10dd0b572e71fb 100644 (file)
@@ -91,8 +91,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index fc6cd21f3cedae2d21fac47c32074eded6883cad..0c0add3a09b6bd1e9132a197dc7b1286b818c147 100644 (file)
@@ -83,8 +83,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8ed29c8dee30febe045967b606d0053f0e5ec894..ef142ba6c5f2e592e381809751e246494cbd52e5 100644 (file)
@@ -52,8 +52,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index bd897a0d1a321a58a6034bea454974b3830e228d..3ee0ed9401a4446fb91895997cfdc5345aade25e 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset_wps {
                        label = "reset_wps";
index 1d0b14608a3d50feb65843db46dd5726b44fab89..d35cf43095adcb981343438891d883043c6e7e59 100644 (file)
@@ -41,8 +41,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index ce776d46035ea1a2078e8404ed0c3336fa22daae..5bb019bf073ebd7a7e103ceb06e0d63cbb0344f0 100644 (file)
@@ -40,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
index ba330112e1661a8dcf571a40db1e0141589b91d1..c0a209f8097e1d0868548fd92ee5824eae71610e 100644 (file)
@@ -14,8 +14,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 5c64ef30e635e409850471b8f5fd78d3837f132d..2f6a35056169dabe53e03861d29dc2970e583aa7 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index eb5e25fa6eb3cc649fe38087f1ff96e76fb60ad0..abe60ddd6e92b7b11e65bc5c700241f66bd7f2a8 100644 (file)
@@ -30,8 +30,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset_wps {
                        label = "reset_wps";
index 30eb833dd7ae8c88ffb087247390f482cff08e9e..f8b0881e2ae22b697b0f13362437a47292098ab9 100644 (file)
@@ -43,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                top {
                        label = "restore";
index 254b8353a88886849061b6f983835e3753ea5d73..9abbbccc87cd13ba30897ad56b672b4fe06b97c6 100644 (file)
@@ -32,8 +32,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 80740c5ae9c0baf0ce531f478fa6acb62dc7faf9..18c3cbdb14799aad3526c270c648cbf065c958da 100644 (file)
@@ -32,8 +32,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 71ea2256c40703643146f313b33aa5773ee42b1d..4e6feab497ec059118f2832a989b6c6ee2890e58 100644 (file)
@@ -38,8 +38,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 9a352d0ea5ad73a41b3977cce7fb814ed598c8b1..b11816870c21981b6754f04acb1d517272c94c38 100644 (file)
@@ -32,8 +32,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 56efcde9f5cd5accf2c92a4091151b9f00787bcd..0e3c4b9e35494dda0da096b96405e59d209cb686 100644 (file)
@@ -16,8 +16,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index a463bace6f2a9d4e146a9794bfab41c39ca1b71b..ab468512071f543255102667fc7b8fd5c64050d6 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "reset";
index 557443a4c0764a243b5003ca8c722192f5a90146..be33d39f7e9596044ea73f3bec3cce3e107a98c7 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "reset";
index 6d7b1f08920f909b747ed703475d0dd594f8210c..111e3e7e776cc8bb44db68d565a644c046b74057 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
index 7d189338b73ab9ba4a4731b7e5899490a8bdaa9c..d65a8d8e926c5ac385d4ae2fa5b207e77c6c85bf 100644 (file)
@@ -32,8 +32,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 68807159d81da657cb4252210bb8fe0e3623db3b..5fe14669aff6f46abeac1408d29f9bb30d528625 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                power {
                        label = "power";
index 4dbb324def2903f3e34a3eb4ee567cbb3efd256b..9c552c345058a3d6aa67ec9d50e9825c2d894c8c 100644 (file)
@@ -7,8 +7,7 @@
        compatible = "nexx,wt1520", "ralink,rt5350-soc";
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2c09c12d79f824a64dfbad6aa31500872e89827f..10924bda953821b40faaa9f4a245c9cac0d6d97d 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index f6059f064550adc46e6c63fb99d06b82042d8964..5407c6812267ee2c8b79dc9797b8e99d5558d3d9 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 489f218456abd5bfd308f8ee946728df89ea32d5..92af77e54b979e85548cdebd78a7a6a639cdb2e1 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 74ce5235669696110a39b9876d4e284fc2666e4a..3ae8e3c8181503fedc6470293af25381478d92ae 100644 (file)
@@ -25,8 +25,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index ac88c733644cfba72f5ef54ed8f0f7c8de903498..33321624c29a3fd11fb3951c650d90b98fd347e4 100644 (file)
@@ -41,8 +41,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                bat {
                        label = "bat";
index 7930716dcfbc5979ebf07e5068047bafa0873d4d..a398228b36167c96273f09ed5650097e9e7596c0 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 407a18e7615bf36d9ce302d693832862459c0311..64ba5b41d2ae5598e39f6435719b935bee1d37be 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 44612945a3458a15952f10b4e81773a50f4b02b1..2a930c3e95cf2236042ebf2357a4f1ea4bbdbf6b 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c8b361842b702da75f485ed25f5aced5acc178a5..e4ae17bbbfe392643bd40803781ddc14002fa5da 100644 (file)
@@ -32,8 +32,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2aff7445e8c598976f2fcc8985eb56fc649dc811..600fb2814bc1576fd124e33110edf47ae1a8cc50 100644 (file)
@@ -43,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 488a4887b96533ed893c35a4686657ab34da44dc..3f35940528796d491e2acc8a2aca53a5bf47b5a8 100644 (file)
@@ -32,8 +32,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 459350fade613fe57360b840fab8fa3b0bfd1d7a..68b34dc45a62f053089c3ec974c0dd4f5e4a8f8d 100644 (file)
@@ -34,8 +34,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";