OSDN Git Service

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)
commit91393622bca33cac70175e0fdc5a3ec8f9efe08b
treec04bb3f91e960630f59a65e69517954f69847458
parent1a5287a3dbc34cd0c02c8f64c9131bd23cdfe2bb
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