[OpenWrt-Devel] [PATCH v2] ath79: convert devices to interrupt-driven gpio-keys
Karl Palsson
karlp at tweak.net.au
Mon Aug 12 12:28:43 EDT 2019
Adrian Schmutzler <freifunk at adrianschmutzler.de> wrote:
> 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 at adrianschmutzler.de>
>
> ---
>
> Changed in v2:
> - Rebased and retained ar7240_netgear_wnr612-v2 at polled keys
> ---
> target/linux/ath79/dts/ar9331_etactica_eg200.dts | 3 +--
> diff --git a/target/linux/ath79/dts/ar9331_etactica_eg200.dts
> b/target/linux/ath79/dts/ar9331_etactica_eg200.dts index
> d18a239d32..721e676ed7 100644
> --- a/target/linux/ath79/dts/ar9331_etactica_eg200.dts
> +++ b/target/linux/ath79/dts/ar9331_etactica_eg200.dts
> @@ -15,8 +15,7 @@
> };
>
> keys {
> - compatible = "gpio-keys-polled";
> - poll-interval = <50>;
> + compatible = "gpio-keys";
>
> restore {
> linux,code = <KEY_WPS_BUTTON>;
Tested-by: Karl Palsson <karlp at etactica.com>
(Only this hardware, don't have any of the others nearby)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP-digital-signature.html
Type: application/pgp-signature
Size: 1175 bytes
Desc: OpenPGP Digital Signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190812/f573bdd6/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list