aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2019-05-18 13:38:18 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-05-18 17:59:49 +0200
commit00db985ba86033a0ce4d1f21e671638691072c49 (patch)
treeddb9b48dec034d3fb41be7f520ff4a12d9984035
parentba68afa204681c8ad6117bcb70d13858736e2d7b (diff)
downloadupstream-00db985ba86033a0ce4d1f21e671638691072c49.tar.gz
upstream-00db985ba86033a0ce4d1f21e671638691072c49.tar.bz2
upstream-00db985ba86033a0ce4d1f21e671638691072c49.zip
ath79: convert WD MyNet Range Extender to gpio-keys
This patch converts the Range Extender to use the interrupt-driven gpio-keys driver over the polled variant. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-rw-r--r--target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts b/target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts
index 1877cea3d9..49c6784151 100644
--- a/target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts
+++ b/target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts
@@ -58,26 +58,22 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <50>;
+ compatible = "gpio-keys";
reset {
linux,code = <KEY_RESTART>;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- debounce-interval = <60>;
};
band-switch {
linux,code = <BTN_1>;
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
linux,input-type = <EV_SW>;
- debounce-interval = <60>;
};
wps {
linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- debounce-interval = <60>;
};
};
};