summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-07-03 09:18:14 +0800
committerLinus Walleij <linus.walleij@linaro.org>2018-07-09 15:02:13 +0200
commitf8b52dd50ccdae7efc42ef54278f29d2f9d6cb36 (patch)
tree811e39acb3750f5ef5bdba01f0c9dfe050e6e48b
parent8512486ba2d441187d6d619006f034704a3e5a31 (diff)
downloadblackbird-obmc-linux-f8b52dd50ccdae7efc42ef54278f29d2f9d6cb36.tar.gz
blackbird-obmc-linux-f8b52dd50ccdae7efc42ef54278f29d2f9d6cb36.zip
gpio: mxc: 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@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
index dbd22e0df21e..b4cd9f906c24 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 clock for clocking the GPIO silicon
+
Example:
gpio0: gpio@73f84000 {
OpenPOWER on IntegriCloud