gpio: aspeed: dt: Add optional clocks property
authorAndrew Jeffery <andrew@aj.id.au>
Fri, 7 Apr 2017 12:59:00 +0000 (22:29 +0930)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Apr 2017 12:46:55 +0000 (14:46 +0200)
We need a reference to the HPLL to calculate debounce cycles. If the
clocks property is not supplied in the GPIO node then the consumer
should deny any debounce requests.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-aspeed.txt

index 6f30b9a048da7d8d8a691344856030653adef6c2..c756afa88cc62359323cfe3f0cc1171a31e955f4 100644 (file)
@@ -18,6 +18,7 @@ Required properties:
 Optional properties:
 
 - interrupt-parent      : The parent interrupt controller, optional if inherited
+- clocks                : A phandle to the HPLL clock node for debounce timings
 
 The gpio and interrupt properties are further described in their respective
 bindings documentation: