mfd: ab8500: Fix dt irq mapping
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 2 Jun 2014 16:27:58 +0000 (19:27 +0300)
committerLee Jones <lee.jones@linaro.org>
Thu, 26 Jun 2014 12:34:15 +0000 (13:34 +0100)
commit7602e05df73f3c775d5ef808c0bc4af9711e4438
tree2dd4fa8f1c57fa480ce134f0ab4283cd7b0fc757
parent9e8884872dd4e26ec18413fe1f817bf81d023713
mfd: ab8500: Fix dt irq mapping

The AD8500 defines itself as interrupt-controller in DT,
but it doesn't assign DT node to IRQ domain when creates it.
As result, of_irq_xx() helpers don't work because they can't
find necessary IRQ domain.

Hence, fix it by assigning AD8500 core device DT node to IRQ
domain when it's created.

This patch fixes STE u8500 Snowball boot failure reported by Kevin Hilman
https://lkml.org/lkml/2014/5/27/624

Reported-and-tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ab8500-core.c