From: Andrew Jeffery Date: Fri, 7 Apr 2017 12:59:00 +0000 (+0930) Subject: gpio: aspeed: dt: Add optional clocks property X-Git-Tag: v4.12-rc1~100^2~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9d7163f5167fa60e71071ab6dcb60da0f7230beb;p=karo-tx-linux.git gpio: aspeed: dt: Add optional clocks property 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 Acked-by: Rob Herring Signed-off-by: Linus Walleij --- diff --git a/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt b/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt index 6f30b9a048da..c756afa88cc6 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt @@ -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: