]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: gpio: vf610: add optional clocks property
authorA.s. Dong <aisheng.dong@nxp.com>
Wed, 31 Oct 2018 14:43:04 +0000 (14:43 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Nov 2018 07:54:42 +0000 (08:54 +0100)
commit4bf8fbcf9cd49d0098aac907031f3abf3cb36a19
tree8fdbecc53730b9c2f64b9e34b0bac20b51543d85
parent4b5a08a5f1744df2634c75548df4233d6ca4043f
dt-bindings: gpio: vf610: add optional clocks property

On some SoCs(e.g. MX7ULP), GPIO clock is gatable and maybe
disabled by default. Users have to make sure it's enabled before
being able to access controller registers, otherwise an external
abort error may occur. Let's add the optional clocks property to
handle this case.

For ULP GPIO clock, it includes two separate clocks: one is for
GPIO controller Input/Output function clock while another is
GPIO port control clock for interrupt function.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: linux-gpio@vger.kernel.org
Cc: devicetree@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-vf610.txt