sh: pfc: Split out gpio chip support.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 20 Jun 2012 08:29:04 +0000 (17:29 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 20 Jun 2012 08:29:04 +0000 (17:29 +0900)
commitb3c185a7614cd95ea9b68d89a8d1ee4227ee9018
tree312cbb6d297097b98cdd7b41b4378069938e5f66
parent2fe8ac608bf1a9c947f03f5d8cbf25c91b4f1a7c
sh: pfc: Split out gpio chip support.

This implements a bit of rework for the PFC code, making the core itself
slightly more pluggable and moving out the gpio chip handling completely.

The API is preserved in such a way that platforms that depend on it for
early configuration are still able to do so, while making it possible to
migrate to alternate interfaces going forward.

This is the first step of chainsawing necessary to support the pinctrl
API, with the eventual goal being able to decouple pin function state
from the gpio API while retaining gpio chip tie-in for gpio pin functions
only, relying on the pinctrl/pinmux API for non-gpio function demux.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/Makefile
drivers/sh/pfc-gpio.c [new file with mode: 0644]
drivers/sh/pfc.c
include/linux/sh_pfc.h