Re: [PATCH 08/14] mfd: Add IRQ domain support for the AB8500

From: Lee Jones
Date: Tue Jun 26 2012 - 05:04:31 EST


On 21/06/12 08:37, Linus Walleij wrote:
On Wed, Jun 20, 2012 at 3:00 PM, Lee Jones<lee.jones@xxxxxxxxxx> wrote:
On 18/06/12 19:56, Mark Brown wrote:

Yes, that's correct. I'm surprised the code runs without crashing...

Oddly the code ran perfectly.

So how did you test it?

The only way to generate an IRQ on the AB8500 with the mainline code is
to push the power button, that should generate an event from the
driver in drivers/input/misc/ab8500-ponkey.c that you can listen to
by doing cat on the proper /dev/input/eventN file.

Please test this scenario before and after the patch and you have some
indication that the IRQdomain is working.

Yep, works perfectly fall and rise:

CPU0 CPU1
6: 0 2 ab8500 ab8500-ponkey-dbf
7: 0 2 ab8500 ab8500-ponkey-dbr

--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
M: +44 77 88 633 515
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/