ramips: mt76x8: convert Minew G1-C to interrupt-driven gpio-keys
authorShiji Yang <yangshiji66@qq.com>
Wed, 23 Oct 2024 16:07:53 +0000 (00:07 +0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 25 Oct 2024 11:56:14 +0000 (13:56 +0200)
All other MT76x8 devices have already been migrated to gpio-keys.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16764
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ramips/dts/mt7628an_minew_g1-c.dts

index 603bc09fa6ee6c8ffa5814f8cf828f9d37de8623..2ee0618a532f647e9bb5e9f97cea0b87cb943bfb 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";