ath79: convert devices to interrupt-driven gpio-keys

This converts all remaining devices to use interrupt-driven
gpio-keys compatible instead of gpio-keys-polled.
The poll-interval is removed.

Only ar7240_netgear_wnr612-v2 is kept at gpio-keys-polled, as
this one is using ath9k keys.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Tested-by: Karl Palsson <karlp@etactica.com>
Tested-by: Dmitry Tunin <hanipouspilot@gmail.com>
This commit is contained in:
Adrian Schmutzler 2019-08-10 19:22:40 +02:00 committed by David Bauer
parent 49cc712b44
commit 8961d2268e
47 changed files with 51 additions and 94 deletions

View File

@ -55,8 +55,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
eco {
label = "eco";

View File

@ -81,8 +81,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
linux,code = <KEY_RESTART>;

View File

@ -53,8 +53,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
sw1 {
label = "sw1";

View File

@ -35,8 +35,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
wps {
label = "sw4";

View File

@ -17,8 +17,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
router_on {
label = "router_on";

View File

@ -15,8 +15,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -15,8 +15,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -19,8 +19,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
rfkill {
label = "rfkill";

View File

@ -25,8 +25,8 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
linux,code = <KEY_RESTART>;
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;

View File

@ -16,8 +16,8 @@
};
*/
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
linux,code = <KEY_RESTART>;
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;

View File

@ -19,8 +19,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
wps {
label = "wps";

View File

@ -20,8 +20,7 @@
};
keys: keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
usb {
label = "usb";

View File

@ -23,8 +23,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -29,8 +29,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -39,8 +39,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
manual {
label = "manual";

View File

@ -33,8 +33,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
wps {
label = "wps";

View File

@ -28,8 +28,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
wps {
label = "wps";

View File

@ -18,8 +18,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <50>;
compatible = "gpio-keys";
restore {
linux,code = <KEY_RESTART>;

View File

@ -19,8 +19,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -41,8 +41,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -17,8 +17,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -20,8 +20,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -20,8 +20,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -19,8 +19,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;

View File

@ -33,8 +33,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -62,8 +62,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -53,8 +53,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
linux,code = <KEY_RESTART>;

View File

@ -19,8 +19,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;

View File

@ -19,8 +19,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;

View File

@ -59,8 +59,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <50>;
compatible = "gpio-keys";
reset {
linux,code = <KEY_RESTART>;

View File

@ -15,8 +15,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
button0 {
label = "reset";

View File

@ -11,9 +11,8 @@
model = "EnGenius EWS511AP";
keys {
compatible = "gpio-keys-polled";
compatible = "gpio-keys";
poll-interval = <20>;
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;

View File

@ -15,8 +15,8 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;

View File

@ -11,9 +11,8 @@
model = "GL.iNet GL-X750";
keys {
compatible = "gpio-keys-polled";
compatible = "gpio-keys";
poll-interval = <20>;
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;

View File

@ -65,8 +65,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -49,8 +49,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset_button {
label = "Reset button";

View File

@ -47,8 +47,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -51,8 +51,7 @@
};
keys: keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
eco {
label = "eco";

View File

@ -54,8 +54,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -50,8 +50,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -42,8 +42,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
button0 {
label = "reset";

View File

@ -84,8 +84,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
wps_button {
label = "WPS button";

View File

@ -83,8 +83,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
wps_button {
label = "WPS button";

View File

@ -22,8 +22,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset {
label = "Reset button";

View File

@ -47,8 +47,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
wps {
linux,code = <KEY_RESTART>;

View File

@ -22,8 +22,8 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;

View File

@ -41,8 +41,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
linux,code = <KEY_RESTART>;