summaryrefslogtreecommitdiffstats
path: root/drivers/sh/pfc/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-07-10 12:08:14 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-07-10 12:08:14 +0900
commitca5481c68e9fbcea62bb3c78ae6cccf99ca8fb73 (patch)
tree977e9adb0bc0b8588b111c851e7d9230d72cd3b3 /drivers/sh/pfc/Makefile
parent72c7afa10f272710028f244da65d35e571144085 (diff)
downloadop-kernel-dev-ca5481c68e9fbcea62bb3c78ae6cccf99ca8fb73.zip
op-kernel-dev-ca5481c68e9fbcea62bb3c78ae6cccf99ca8fb73.tar.gz
sh: pfc: Rudimentary pinctrl-backed GPIO support.
This begins the migration of the PFC core to the pinctrl subsystem. Initial support is very basic, with the bulk of the implementation simply being nopped out in such a way to allow registration with the pinctrl core to succeed. The gpio chip driver is stripped down considerably now relying purely on pinctrl API calls to manage the bulk of its operations. This provides a basis for further PFC refactoring, including decoupling pin functions from the GPIO API, establishing pin groups, and so forth. These will all be dealt with incrementally so as to introduce as few growing and migratory pains to tree-wide PFC pinmux users today. When the interfaces have been well established and in-tree users have been migrated off of the legacy interfaces it will be possible to strip down the core considerably, leading to eventual drivers/pinctrl rehoming. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/pfc/Makefile')
-rw-r--r--drivers/sh/pfc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sh/pfc/Makefile b/drivers/sh/pfc/Makefile
index d8170774..7916027 100644
--- a/drivers/sh/pfc/Makefile
+++ b/drivers/sh/pfc/Makefile
@@ -1,2 +1,3 @@
obj-y += core.o
+obj-$(CONFIG_PINCTRL_SH_PFC) += pinctrl.o
obj-$(CONFIG_GPIO_SH_PFC) += gpio.o
OpenPOWER on IntegriCloud