[openwrt/openwrt] ramips: rt3883: convert devices to interrupt-driven gpio-keys
LEDE Commits
lede-commits at lists.infradead.org
Fri Oct 25 04:56:24 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d7ed4c77b526a1b9e2b914b817a6816dffe11484
commit d7ed4c77b526a1b9e2b914b817a6816dffe11484
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Thu Oct 24 00:09:36 2024 +0800
ramips: rt3883: convert devices to interrupt-driven gpio-keys
This converts all RT3662 and RT3883 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/rt3662_asus_rt-n56u.dts | 3 +--
target/linux/ramips/dts/rt3662_dlink_dir-645.dts | 3 +--
target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts | 3 +--
target/linux/ramips/dts/rt3662_engenius_esr600h.dts | 3 +--
target/linux/ramips/dts/rt3662_omnima_hpm.dts | 3 +--
target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts | 3 +--
target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts | 3 +--
target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts | 3 +--
target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts | 3 +--
9 files changed, 9 insertions(+), 18 deletions(-)
diff --git a/target/linux/ramips/dts/rt3662_asus_rt-n56u.dts b/target/linux/ramips/dts/rt3662_asus_rt-n56u.dts
index c381aa3e03..825190c315 100644
--- a/target/linux/ramips/dts/rt3662_asus_rt-n56u.dts
+++ b/target/linux/ramips/dts/rt3662_asus_rt-n56u.dts
@@ -77,8 +77,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
reset {
label = "reset";
diff --git a/target/linux/ramips/dts/rt3662_dlink_dir-645.dts b/target/linux/ramips/dts/rt3662_dlink_dir-645.dts
index 8cfa48e195..7597b7d867 100644
--- a/target/linux/ramips/dts/rt3662_dlink_dir-645.dts
+++ b/target/linux/ramips/dts/rt3662_dlink_dir-645.dts
@@ -23,8 +23,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
reset {
label = "reset";
diff --git a/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts b/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
index fbc795b24f..832891f44e 100644
--- a/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
+++ b/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
@@ -17,8 +17,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
reset {
label = "reset";
diff --git a/target/linux/ramips/dts/rt3662_engenius_esr600h.dts b/target/linux/ramips/dts/rt3662_engenius_esr600h.dts
index b539d2d4a7..f7a7ba8a0e 100644
--- a/target/linux/ramips/dts/rt3662_engenius_esr600h.dts
+++ b/target/linux/ramips/dts/rt3662_engenius_esr600h.dts
@@ -35,8 +35,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
reset-wps {
label = "reset-wps";
diff --git a/target/linux/ramips/dts/rt3662_omnima_hpm.dts b/target/linux/ramips/dts/rt3662_omnima_hpm.dts
index 82d79dedb4..a6d5e4e8b3 100644
--- a/target/linux/ramips/dts/rt3662_omnima_hpm.dts
+++ b/target/linux/ramips/dts/rt3662_omnima_hpm.dts
@@ -20,8 +20,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
reset {
label = "reset";
diff --git a/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts b/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts
index 5547ec0f48..db1a536d2c 100644
--- a/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts
+++ b/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts
@@ -58,8 +58,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
reset {
label = "reset";
diff --git a/target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts b/target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts
index 94a47b8735..5f2fea28d3 100644
--- a/target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts
+++ b/target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts
@@ -16,8 +16,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ compatible = "gpio-keys";
reset {
label = "reset";
diff --git a/target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts b/target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts
index d9ad78ba2b..3863021a4b 100644
--- a/target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts
+++ b/target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts
@@ -68,8 +68,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
reset {
label = "reset";
diff --git a/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts b/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
index c6a817aafc..6bb01b8c6c 100644
--- a/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
+++ b/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
@@ -68,8 +68,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
reset {
label = "reset";
More information about the lede-commits
mailing list