pinctrl: mvebu: move resource allocation to SoC specific drivers
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Fri, 31 Jan 2014 00:48:48 +0000 (01:48 +0100)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 25 Feb 2014 17:37:53 +0000 (18:37 +0100)
commit1217b790aea7ed0af150ba4d85905922e3a292e9
tree63dae8b71e6fed0cbf7d4d9f19f3f8177e4a82f8
parentad2a4f2b80da74c206dfb1e299475bb1feb5aa03
pinctrl: mvebu: move resource allocation to SoC specific drivers

The way that mvebu pinctrl is designed, requesting mpp registers
in common pinctrl driver does not allow SoC specific drivers to
access this resource.

Move resource allocation in each SoC pinctrl driver and enable
already provided mpp_{set,get} callbacks.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pinctrl/mvebu/pinctrl-armada-370.c
drivers/pinctrl/mvebu/pinctrl-armada-xp.c
drivers/pinctrl/mvebu/pinctrl-dove.c
drivers/pinctrl/mvebu/pinctrl-kirkwood.c
drivers/pinctrl/mvebu/pinctrl-mvebu.c