This patch converts the Range Extender to use the
interrupt-driven gpio-keys driver over the polled variant.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
- compatible = "gpio-keys-polled";
- poll-interval = <50>;
+ compatible = "gpio-keys";
reset {
linux,code = <KEY_RESTART>;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
reset {
linux,code = <KEY_RESTART>;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- debounce-interval = <60>;
};
band-switch {
linux,code = <BTN_1>;
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
linux,input-type = <EV_SW>;
};
band-switch {
linux,code = <BTN_1>;
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
linux,input-type = <EV_SW>;
- debounce-interval = <60>;
};
wps {
linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
wps {
linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- debounce-interval = <60>;