Browse Source

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>
Anson Huang 7 years ago
parent
commit
f8b52dd50c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt

+ 3 - 0
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt

@@ -19,6 +19,9 @@ Required properties:
       4 = active high level-sensitive.
       4 = active high level-sensitive.
       8 = active low level-sensitive.
       8 = active low level-sensitive.
 
 
+Optional properties:
+- clocks: the clock for clocking the GPIO silicon
+
 Example:
 Example:
 
 
 gpio0: gpio@73f84000 {
 gpio0: gpio@73f84000 {