From: Christian Lamparter Date: Sat, 18 May 2019 11:38:18 +0000 (+0200) Subject: ath79: convert WD MyNet Range Extender to gpio-keys X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=00db985ba86033a0ce4d1f21e671638691072c49;p=openwrt%2Fstaging%2Frobimarko.git 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 --- 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 = ; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - debounce-interval = <60>; }; band-switch { linux,code = ; gpios = <&gpio 14 GPIO_ACTIVE_HIGH>; linux,input-type = ; - debounce-interval = <60>; }; wps { linux,code = ; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - debounce-interval = <60>; }; }; };