From: Anson Huang Date: Tue, 3 Jul 2018 01:18:14 +0000 (+0800) Subject: gpio: mxc: Add clocks optional binding for imx gpio X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f8b52dd50ccdae7efc42ef54278f29d2f9d6cb36;p=linux.git 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 Reviewed-by: Fabio Estevam Signed-off-by: Linus Walleij --- diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt index dbd22e0df21e4..b4cd9f906c24d 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 {