Re: [PATCH 1/2] mfd: add irq domain support for max8997 interrupts

2011-12-09 Thread Mark Brown
On Fri, Dec 09, 2011 at 12:49:49PM +0530, Thomas Abraham wrote: On 9 December 2011 12:09, Mark Brown How would you provide this interrupt to the device using it in a non-DT systemm without passing the irq_base into the device as platform data? In non-DT system, the linux irq number that is

[PATCH 1/2] mfd: add irq domain support for max8997 interrupts

2011-12-08 Thread Thomas Abraham
Add irq domain support for max8997 interrupts. All uses of irq_base in platform data and max8997 driver private data are removed. Cc: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/mach-nuri.c|4

Re: [PATCH 1/2] mfd: add irq domain support for max8997 interrupts

2011-12-08 Thread MyungJoo Ham
On Fri, Dec 9, 2011 at 1:27 AM, Thomas Abraham thomas.abra...@linaro.org wrote: Add irq domain support for max8997 interrupts. All uses of irq_base in platform data and max8997 driver private data are removed. Cc: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Thomas Abraham

Re: [PATCH 1/2] mfd: add irq domain support for max8997 interrupts

2011-12-08 Thread Mark Brown
On Thu, Dec 08, 2011 at 09:57:38PM +0530, Thomas Abraham wrote: You should be sending this to Samuel for review as it's a MFD patch. Add irq domain support for max8997 interrupts. All uses of irq_base in platform data and max8997 driver private data are removed. Removing irq_base from

Re: [PATCH 1/2] mfd: add irq domain support for max8997 interrupts

2011-12-08 Thread Thomas Abraham
Hi Mark, On 9 December 2011 10:11, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Thu, Dec 08, 2011 at 09:57:38PM +0530, Thomas Abraham wrote: You should be sending this to Samuel for review as it's a MFD patch. Ok. I will Cc Samuel for the v2 of this patchset. Add irq domain

Re: [PATCH 1/2] mfd: add irq domain support for max8997 interrupts

2011-12-08 Thread Thomas Abraham
On 9 December 2011 11:32, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Fri, Dec 09, 2011 at 10:55:10AM +0530, Thomas Abraham wrote: On 9 December 2011 10:11, Mark Brown Removing irq_base from platform data isn't going to be helpful for anyone using the driver on non-DT platforms

Re: [PATCH 1/2] mfd: add irq domain support for max8997 interrupts

2011-12-08 Thread Mark Brown
On Fri, Dec 09, 2011 at 12:00:07PM +0530, Thomas Abraham wrote: If these gpio's are connected to the host system, and host system sets up gpio interrupt notification for these gpio lines, the linux irq number for the gpio interrupt would belong to the irq domain of the host interrupt