ath79, brcm63xx: Fix debounce-interval properties in gpio-keys-polled nodes
authorPetr Štetiar <ynezz@true.cz>
Tue, 11 Dec 2018 22:02:04 +0000 (23:02 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 17 Dec 2018 07:05:03 +0000 (08:05 +0100)
commitd9753f0ec58429c9b9aa92918ff736004e4ca0d0
tree50d1ef963d7561732d65b94c25ab6c72c4fb0364
parent7bd2595b6761a52cb69b58b9be1a84d25cbe66e3
ath79, brcm63xx: Fix debounce-interval properties in gpio-keys-polled nodes

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 <tomek_n@o2.pl>
Cc: Matt Merhar <mattmerhar@protonmail.com>
Cc: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
70 files changed:
target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi
target/linux/brcm63xx/dts/a226g.dts
target/linux/brcm63xx/dts/a226m-fwb.dts
target/linux/brcm63xx/dts/a226m.dts
target/linux/brcm63xx/dts/a4001n.dts
target/linux/brcm63xx/dts/a4001n1.dts
target/linux/brcm63xx/dts/ad1018-nor.dts
target/linux/brcm63xx/dts/agpf-s0.dts
target/linux/brcm63xx/dts/ar-5315u.dts
target/linux/brcm63xx/dts/ar-5381u.dts
target/linux/brcm63xx/dts/ar-5387un.dts
target/linux/brcm63xx/dts/ar1004g.dts
target/linux/brcm63xx/dts/av4202n.dts
target/linux/brcm63xx/dts/bcm96318ref.dts
target/linux/brcm63xx/dts/bcm96318ref_p300.dts
target/linux/brcm63xx/dts/bcm963268bu_p300.dts
target/linux/brcm63xx/dts/bcm963269bhr.dts
target/linux/brcm63xx/dts/bcm96348GW-10.dts
target/linux/brcm63xx/dts/bcm96348GW-11.dts
target/linux/brcm63xx/dts/bcm96348GW.dts
target/linux/brcm63xx/dts/cpva502plus.dts
target/linux/brcm63xx/dts/cpva642.dts
target/linux/brcm63xx/dts/ct-5365.dts
target/linux/brcm63xx/dts/ct-6373.dts
target/linux/brcm63xx/dts/ct536plus.dts
target/linux/brcm63xx/dts/dg834g_v4.dts
target/linux/brcm63xx/dts/dg834gtpn.dts
target/linux/brcm63xx/dts/dgnd3700v1.dts
target/linux/brcm63xx/dts/dsl-2640b-b.dts
target/linux/brcm63xx/dts/dsl-274xb-c.dts
target/linux/brcm63xx/dts/dsl-274xb-f.dts
target/linux/brcm63xx/dts/dsl-275xb-d.dts
target/linux/brcm63xx/dts/dva-g3810bn_tl.dts
target/linux/brcm63xx/dts/evg2000.dts
target/linux/brcm63xx/dts/f5d7633.dts
target/linux/brcm63xx/dts/fast2504n.dts
target/linux/brcm63xx/dts/fast2604.dts
target/linux/brcm63xx/dts/fast2704n.dts
target/linux/brcm63xx/dts/fast2704v2.dts
target/linux/brcm63xx/dts/gw6000.dts
target/linux/brcm63xx/dts/gw6200.dts
target/linux/brcm63xx/dts/hg520v.dts
target/linux/brcm63xx/dts/hg553.dts
target/linux/brcm63xx/dts/hg556a-a.dts
target/linux/brcm63xx/dts/hg556a-b.dts
target/linux/brcm63xx/dts/hg556a-c.dts
target/linux/brcm63xx/dts/hg622.dts
target/linux/brcm63xx/dts/hg655b.dts
target/linux/brcm63xx/dts/homehub2a.dts
target/linux/brcm63xx/dts/livebox-blue-5g.dts
target/linux/brcm63xx/dts/nb4-fxc-r1.dts
target/linux/brcm63xx/dts/nb4-ser-r0.dts
target/linux/brcm63xx/dts/nb6-ser-r0.dts
target/linux/brcm63xx/dts/p870hw-51a-v2.dts
target/linux/brcm63xx/dts/r1000h.dts
target/linux/brcm63xx/dts/r5010unv2.dts
target/linux/brcm63xx/dts/rta770bw.dts
target/linux/brcm63xx/dts/rta770w.dts
target/linux/brcm63xx/dts/spw303v.dts
target/linux/brcm63xx/dts/spw500v.dts
target/linux/brcm63xx/dts/sr102.dts
target/linux/brcm63xx/dts/td-w8900gb.dts
target/linux/brcm63xx/dts/v2110.dts
target/linux/brcm63xx/dts/v2500v-bb.dts
target/linux/brcm63xx/dts/vg50.dts
target/linux/brcm63xx/dts/vh4032n.dts
target/linux/brcm63xx/dts/vr-3025u.dts
target/linux/brcm63xx/dts/vr-3025un.dts
target/linux/brcm63xx/dts/vr-3026e.dts
target/linux/brcm63xx/dts/wap-5813n.dts