From d9753f0ec58429c9b9aa92918ff736004e4ca0d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Tue, 11 Dec 2018 23:02:04 +0100 Subject: ath79, brcm63xx: Fix debounce-interval properties in gpio-keys-polled nodes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch fixes wrong usage of debounce-interval subnode property of gpio-keys-polled nodes, which was used inproperly in parent node, but it belongs to the subnodes, excerpt from the docs: Optional subnode-properties: - debounce-interval: Debouncing interval time in milliseconds. If not specified defaults to 5. And the docs are up to date as the source code matches that description as well: if (fwnode_property_read_u32(child, "debounce-interval", &button->debounce_interval)) button->debounce_interval = 5; While at it, I've also re-formatted gpio-keys-polled nodes, usually just adding new lines after every key subnode. Cc: Tomasz Maciej Nowak Cc: Matt Merhar Cc: Jonas Gorski Signed-off-by: Petr Štetiar --- target/linux/brcm63xx/dts/v2500v-bb.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/brcm63xx/dts/v2500v-bb.dts') diff --git a/target/linux/brcm63xx/dts/v2500v-bb.dts b/target/linux/brcm63xx/dts/v2500v-bb.dts index 7d47683baf..5376d18e51 100644 --- a/target/linux/brcm63xx/dts/v2500v-bb.dts +++ b/target/linux/brcm63xx/dts/v2500v-bb.dts @@ -18,12 +18,12 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; - debounce-interval = <60>; reset { label = "reset"; gpios = <&pinctrl 31 1>; linux,code = ; + debounce-interval = <60>; }; }; -- cgit v1.2.3