pinctrl: sh-pfc: r8a7791: Add can_clk function
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Tue, 14 Nov 2017 15:41:17 +0000 (15:41 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Mar 2018 07:42:52 +0000 (08:42 +0100)
commit162ee473a0cb0d4ade8387810f153a5cf59a3ce9
tree4da8ca5d7657980ea83126ca069ffb72a7376730
parent81a16b68d2548e2d733be2fa8e4d527c73f35cb6
pinctrl: sh-pfc: r8a7791: Add can_clk function

[ Upstream commit 57eec02caee60332b8052615e7257f932ae07abc ]

This patch adds can_clk function to r8a7743/r8a7791 which is cleaner,
and allows for independent configuration.
We keep the can_clk* pins definitions from within can0_groups and
can1_groups for uniformity and backwards compatibility.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/sh-pfc/pfc-r8a7791.c