pfc: rmobile: Add hook to configure pin as GPIO
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 26 Nov 2017 17:07:29 +0000 (18:07 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 30 Nov 2017 01:34:21 +0000 (02:34 +0100)
commitf6e545a73f8842400f76de4b185b31bea782ff85
treed6820ced5a4483c867266b0d452f2ec8858f69e7
parent2489bb54a51e9e74a52231de04072628a455025c
pfc: rmobile: Add hook to configure pin as GPIO

Add hook into the PFC driver to allow the GPIO driver to toggle
GPSR registers into GPIO mode when GPIO is requested.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/pinctrl/renesas/pfc.c
drivers/pinctrl/renesas/sh_pfc.h