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>
This commit is contained in:
INAGAKI Hiroshi 2021-06-26 12:29:24 +09:00 committed by Adrian Schmutzler
parent 61a3d0075b
commit d7b349db7c
2 changed files with 2 additions and 4 deletions

View File

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

View File

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