[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1530243004-10529-1-git-send-email-Anson.Huang@nxp.com>
Date: Fri, 29 Jun 2018 11:30:04 +0800
From: Anson Huang <Anson.Huang@....com>
To: linus.walleij@...aro.org, robh+dt@...nel.org, mark.rutland@....com,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Linux-imx@....com
Subject: [PATCH] bindings: add clocks optional binding for imx gpio
Some i.MX SoCs have GPIO clock gate in CCM, accessing
GPIO registers needs to enable GPIO clock gate first,
i.MX GPIO driver will enable clock gate if there is
clock property in GPIO node of dtb, add optional property
to i.MX GPIO binding doc.
Signed-off-by: Anson Huang <Anson.Huang@....com>
---
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
index dbd22e0..1b3eed0 100644
--- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
@@ -19,6 +19,9 @@ Required properties:
4 = active high level-sensitive.
8 = active low level-sensitive.
+Optional properties:
+- clocks: the clocks used by gpio bank
+
Example:
gpio0: gpio@...84000 {
--
2.7.4
Powered by blists - more mailing lists