[PATCH v4 00/16] pinctrl: mvebu: restructure resource allocation
From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
Date: 2014-02-23 22:12:40
Also in:
lkml
On 02/23/2014 11:06 PM, Jason Cooper wrote:
On Sun, Feb 23, 2014 at 03:20:58PM +0100, Sebastian Hesselbarth wrote:quoted
This patch set restructures the common pinctrl driver part of mvebu to allow SoC specific controls to handle their own resources. Currently, the common driver maps a single resource passed by DT while the SoC specific controls cannot access that resource. To achieve the removal of knowledge of resources in the common driver, we first need to rework how SoC specific and common get/set callbacks are handled. The patch set is based on three patch sets sent earlier [1][2][3] but drops any Dove specific removal of hardcoded addresses. This allows to have a clear view on the structural changes now and Dove specific changes later on. The Dove specific patches will be re-sent on top of this one, as soon as we are all happy with the resource allcation restruturing. Also, in the meantime, pinctrl driver stubs for new Armada 375/38x have been posted [4]. Compared to v3, this patch set now also takes care of the new pinctrl stubs for Armada 375/38x. Those patches have been provided by Thomas Petazzoni and make this patches depend on them. We have no stable branch for the Armada 375/38x pinctrl patches but I guess Jason will provide one soon.Ok, I've applied this to mvebu/pinctrl with a dependency on mvebu/pinctrl-3xx. So this'll be in -next tonight and hopefully we'll have an ideal in a few days which tree we'll send it through.
Great, thanks! I'll prepare Dove cleanup on top tomorrow. Unfortunately, Dove-to-mvebu progress will also depend on it. If you are unhappy with the triple dependency we can postpone it for v3.16 but I think it should be relatively easy to handle. Sebastian