irqdomain: Port system to new API
The following merge commit chose the irq_domain implementation from AU_LINUX_ANDROID_ICS.04.00.04.00.126 instead of the version in v3.4. commit f132c6cf Merge: 23016def 3f6240f3 Author: Steve Muckle <smuckle@codeaurora.org> Date: Wed Jun 6 18:30:57 2012 -0700 Merge commit 'AU_LINUX_ANDROID_ICS.04.00.04.00.126' into msm-3.4 Since this version is inconsistent with the upstream, port the irq_domain framework to the version in v3.4 and makes all necessary changes to clients that are out of spec. Details of client ports are below. -Update the qpnp-int driver for revmap irq_domain API. The revmap irq_domain implementation introduces a reverse lookup scheme using a radix tree. This scheme is useful for controllers like qpnp-int that require a large range of hwirqs. -Bring the ARM GIC driver up to v3.4, being careful to port existing CAF changes. -Partially port the gpio-msm-common driver to the new irq_domain API. Enable the gpio-msm-common driver to work with the new irq_domain API using a linear revmap. It is not a full port since irq_domain is still only registered for Device Tree configurations. It should be registered even for legacy configurations. In addition, the irq_domains .map function should be setting all the fields currently done in msm_gpio_probe(). That's not currently possible since msm_gpio_probe is invoked unconditionally - even from Device Tree configurations. Finally, gpio-msm-common should be converted into a real platform_device so that probe() is invoked due to driver and device matching. Change-Id: I19fa50171bd244759fb6076e3cddc70896d8727b Signed-off-by:Michael Bohan <mbohan@codeaurora.org>
Loading
Please sign in to comment