aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2021-06-26 12:29:24 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-09-26 00:32:18 +0200
commitd7b349db7cbadae3a9e11f1d2f375c037f6adb3b (patch)
tree8f1933eec94449f9762d9fa28198bf9af61989be
parent61a3d0075b151f6742862e123fdff1897d876176 (diff)
downloadupstream-d7b349db7cbadae3a9e11f1d2f375c037f6adb3b.tar.gz
upstream-d7b349db7cbadae3a9e11f1d2f375c037f6adb3b.tar.bz2
upstream-d7b349db7cbadae3a9e11f1d2f375c037f6adb3b.zip
realtek: use gpio-keys instead of "-polled" if SoC GPIO is used in 5.10
The new backported GPIO driver supports interrupt, so use gpio-keys instead of gpio-keys-polled for keys connected to the internal GPIO controller. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
-rw-r--r--target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi3
-rw-r--r--target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts3
2 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi b/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
index 9cde00517e..e98a9bfc61 100644
--- a/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
@@ -18,8 +18,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ compatible = "gpio-keys";
mode {
label = "reset";
diff --git a/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts b/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts
index a9af1d44f5..1dc9e272fe 100644
--- a/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts
+++ b/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts
@@ -19,8 +19,7 @@
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ compatible = "gpio-keys";
reset {
label = "reset";