[openwrt/openwrt] ramips: mt76x8: convert Minew G1-C to interrupt-driven gpio-keys

LEDE Commits lede-commits at lists.infradead.org
Fri Oct 25 04:56:21 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7cc53ef09b9b22e5cfa73a900544ef87b5bbbb8a

commit 7cc53ef09b9b22e5cfa73a900544ef87b5bbbb8a
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Thu Oct 24 00:07:53 2024 +0800

    ramips: mt76x8: convert Minew G1-C to interrupt-driven gpio-keys
    
    All other MT76x8 devices have already been migrated to gpio-keys.
    
    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/mt7628an_minew_g1-c.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/mt7628an_minew_g1-c.dts b/target/linux/ramips/dts/mt7628an_minew_g1-c.dts
index 603bc09fa6..2ee0618a53 100644
--- a/target/linux/ramips/dts/mt7628an_minew_g1-c.dts
+++ b/target/linux/ramips/dts/mt7628an_minew_g1-c.dts
@@ -17,8 +17,7 @@
 	};
 
 	keys {
-		compatible = "gpio-keys-polled";
-		poll-interval = <20>;
+		compatible = "gpio-keys";
 
 		reset {
 			label = "reset";




More information about the lede-commits mailing list