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:
parent
61a3d0075b
commit
d7b349db7c
2 changed files with 2 additions and 4 deletions
|
@ -18,8 +18,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys";
|
||||||
poll-interval = <20>;
|
|
||||||
|
|
||||||
mode {
|
mode {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
|
|
|
@ -19,8 +19,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys";
|
||||||
poll-interval = <20>;
|
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
|
|
Loading…
Reference in a new issue