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-Url: http://git.openwrt.org/?a=commitdiff_plain;h=11de53729a5501c309a7d838c35fb52b195e2f65;p=openwrt%2Fstaging%2Fdangole.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 591029c463..8e0024a20f 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 062fdcafe9..8c4611ee88 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 bcab940771..bb769b09e1 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 7f2d438efb..8ac37be495 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 276858dff7..72802366a0 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 18adc73b63..716c6227f8 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 e848b99b2c..2a9a6c559a 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 c96a6c4585..ddcde2b688 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 b29078d645..60029fe7f8 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";