From: Álvaro Fernández Rojas Date: Tue, 25 Apr 2023 19:17:52 +0000 (+0200) Subject: bmips: increment polled keys interval to 100 X-Git-Tag: v23.05.0-rc1~417 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11de53729a5501c309a7d838c35fb52b195e2f65;p=thirdparty%2Fopenwrt.git bmips: increment polled keys interval to 100 There's no need to poll the gpio keys every 20 ms and the linux kernel documentation suggests 100 ms. Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi b/target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi index 591029c4635..8e0024a20f5 100644 --- a/target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi +++ b/target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi @@ -16,7 +16,7 @@ keys { compatible = "gpio-keys-polled"; - poll-interval = <20>; + poll-interval = <100>; wps { label = "wps"; diff --git a/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts b/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts index 062fdcafe96..8c4611ee881 100644 --- a/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts +++ b/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts @@ -19,7 +19,7 @@ keys { compatible = "gpio-keys-polled"; - poll-interval = <20>; + poll-interval = <100>; reset { label = "reset"; diff --git a/target/linux/bmips/dts/bcm63168-sercomm-shg2500.dts b/target/linux/bmips/dts/bcm63168-sercomm-shg2500.dts index bcab940771c..bb769b09e1c 100644 --- a/target/linux/bmips/dts/bcm63168-sercomm-shg2500.dts +++ b/target/linux/bmips/dts/bcm63168-sercomm-shg2500.dts @@ -27,7 +27,7 @@ keys { compatible = "gpio-keys-polled"; - poll-interval = <20>; + poll-interval = <100>; wps { label = "wps"; diff --git a/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts b/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts index 7f2d438efbf..8ac37be495c 100644 --- a/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts +++ b/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts @@ -19,7 +19,7 @@ keys { compatible = "gpio-keys-polled"; - poll-interval = <20>; + poll-interval = <100>; wps { label = "wps"; diff --git a/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts b/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts index 276858dff72..72802366a08 100644 --- a/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts +++ b/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts @@ -18,7 +18,7 @@ keys { compatible = "gpio-keys-polled"; - poll-interval = <20>; + poll-interval = <100>; reset { label = "reset"; diff --git a/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts b/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts index 18adc73b63f..716c6227f8a 100644 --- a/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts +++ b/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts @@ -18,7 +18,7 @@ keys { compatible = "gpio-keys-polled"; - poll-interval = <20>; + poll-interval = <100>; help { label = "help"; diff --git a/target/linux/bmips/dts/bcm6362-huawei-hg253s-v2.dts b/target/linux/bmips/dts/bcm6362-huawei-hg253s-v2.dts index e848b99b2c7..2a9a6c559a7 100644 --- a/target/linux/bmips/dts/bcm6362-huawei-hg253s-v2.dts +++ b/target/linux/bmips/dts/bcm6362-huawei-hg253s-v2.dts @@ -18,7 +18,7 @@ keys { compatible = "gpio-keys-polled"; - poll-interval = <20>; + poll-interval = <100>; reset { label = "reset"; diff --git a/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts b/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts index c96a6c4585b..ddcde2b6889 100644 --- a/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts +++ b/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts @@ -21,7 +21,7 @@ keys { compatible = "gpio-keys-polled"; - poll-interval = <20>; + poll-interval = <100>; wlan { label = "wlan"; diff --git a/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts b/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts index b29078d645d..60029fe7f84 100644 --- a/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts +++ b/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts @@ -18,7 +18,7 @@ keys { compatible = "gpio-keys-polled"; - poll-interval = <20>; + poll-interval = <100>; reset { label = "reset";