[openwrt/openwrt] ramips: rt2880: convert devices to interrupt-driven gpio-keys
LEDE Commits
lede-commits at lists.infradead.org
Fri Oct 25 04:56:22 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a3819e23bed714917d2f2e24b8be71b635d4207c
commit a3819e23bed714917d2f2e24b8be71b635d4207c
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Thu Oct 24 00:08:25 2024 +0800
ramips: rt2880: convert devices to interrupt-driven gpio-keys
This converts all RT2880 devices to use interrupt based gpio-keys
instead of gpio-keys-polled. The poll-interval will be removed.
Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
Link: https://github.com/openwrt/openwrt/pull/16764
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/ramips/dts/rt2880_airlink101_ar670w.dts | 3 +--
target/linux/ramips/dts/rt2880_airlink101_ar725w.dts | 3 +--
target/linux/ramips/dts/rt2880_asus_rt-n15.dts | 3 +--
target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts | 3 +--
target/linux/ramips/dts/rt2880_buffalo_wli-tx4-ag300n.dts | 3 +--
target/linux/ramips/dts/rt2880_buffalo_wzr-agl300nh.dts | 3 +--
target/linux/ramips/dts/rt2880_dlink_dap-1522-a1.dts | 3 +--
target/linux/ramips/dts/rt2880_ralink_v11st-fe.dts | 3 +--
8 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/target/linux/ramips/dts/rt2880_airlink101_ar670w.dts b/target/linux/ramips/dts/rt2880_airlink101_ar670w.dts
index 7ff3b370b5..a1f5e74d09 100644
--- a/target/linux/ramips/dts/rt2880_airlink101_ar670w.dts
+++ b/target/linux/ramips/dts/rt2880_airlink101_ar670w.dts
@@ -76,8 +76,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
wps {
label = "wps";
diff --git a/target/linux/ramips/dts/rt2880_airlink101_ar725w.dts b/target/linux/ramips/dts/rt2880_airlink101_ar725w.dts
index 95a4b495eb..056011dbe8 100644
--- a/target/linux/ramips/dts/rt2880_airlink101_ar725w.dts
+++ b/target/linux/ramips/dts/rt2880_airlink101_ar725w.dts
@@ -87,8 +87,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
wps {
label = "wps";
diff --git a/target/linux/ramips/dts/rt2880_asus_rt-n15.dts b/target/linux/ramips/dts/rt2880_asus_rt-n15.dts
index 3e34f89165..7306c458ff 100644
--- a/target/linux/ramips/dts/rt2880_asus_rt-n15.dts
+++ b/target/linux/ramips/dts/rt2880_asus_rt-n15.dts
@@ -75,8 +75,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
wps {
label = "wps";
diff --git a/target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts b/target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts
index 86e4964a99..014dca2c48 100644
--- a/target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts
+++ b/target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts
@@ -113,8 +113,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
wps {
label = "wps";
diff --git a/target/linux/ramips/dts/rt2880_buffalo_wli-tx4-ag300n.dts b/target/linux/ramips/dts/rt2880_buffalo_wli-tx4-ag300n.dts
index b89e086584..203023f186 100644
--- a/target/linux/ramips/dts/rt2880_buffalo_wli-tx4-ag300n.dts
+++ b/target/linux/ramips/dts/rt2880_buffalo_wli-tx4-ag300n.dts
@@ -69,8 +69,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
wps {
label = "wps";
diff --git a/target/linux/ramips/dts/rt2880_buffalo_wzr-agl300nh.dts b/target/linux/ramips/dts/rt2880_buffalo_wzr-agl300nh.dts
index e86486dce6..dee4c6b981 100644
--- a/target/linux/ramips/dts/rt2880_buffalo_wzr-agl300nh.dts
+++ b/target/linux/ramips/dts/rt2880_buffalo_wzr-agl300nh.dts
@@ -74,8 +74,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
wps {
label = "wps";
diff --git a/target/linux/ramips/dts/rt2880_dlink_dap-1522-a1.dts b/target/linux/ramips/dts/rt2880_dlink_dap-1522-a1.dts
index 3fdbdf681e..05f6edce2a 100644
--- a/target/linux/ramips/dts/rt2880_dlink_dap-1522-a1.dts
+++ b/target/linux/ramips/dts/rt2880_dlink_dap-1522-a1.dts
@@ -67,8 +67,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
reset {
label = "reset";
diff --git a/target/linux/ramips/dts/rt2880_ralink_v11st-fe.dts b/target/linux/ramips/dts/rt2880_ralink_v11st-fe.dts
index 695db15a55..d93479e07e 100644
--- a/target/linux/ramips/dts/rt2880_ralink_v11st-fe.dts
+++ b/target/linux/ramips/dts/rt2880_ralink_v11st-fe.dts
@@ -62,8 +62,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
wps {
label = "wps";
More information about the lede-commits
mailing list