]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: vf610: add optional clock support
authorA.s. Dong <aisheng.dong@nxp.com>
Sat, 10 Nov 2018 14:21:18 +0000 (14:21 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Nov 2018 22:09:39 +0000 (23:09 +0100)
commite3d8f0249137b5f5264602d20381cb7e70f9404d
treec04bb3f91e960630f59a65e69517954f69847458
parentc32fad62d5f694efcf5fdccd03f98f5f6553a898
gpio: vf610: add optional clock support

Some SoCs need the gpio clock to be enabled before accessing
HW registers. This patch add the optional clock handling.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-vf610.c