[PATCH v2 2/4] gpio: aspeed: dt: Add optional clocks property

From: Andrew Jeffery
Date: Fri Apr 07 2017 - 08:59:56 EST


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@xxxxxxxx>
---
Documentation/devicetree/bindings/gpio/gpio-aspeed.txt | 1 +
1 file changed, 1 insertion(+)

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:
--
2.9.3