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@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16764
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Shiji Yang 2024-10-24 00:09:36 +08:00 committed by Robert Marko
parent 0bcb64041a
commit d7ed4c77b5
9 changed files with 9 additions and 18 deletions

View File

@ -77,8 +77,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -23,8 +23,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -17,8 +17,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -35,8 +35,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset-wps {
label = "reset-wps";

View File

@ -20,8 +20,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -58,8 +58,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -16,8 +16,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -68,8 +68,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset {
label = "reset";

View File

@ -68,8 +68,7 @@
};
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
compatible = "gpio-keys";
reset {
label = "reset";