]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67702ee14f85a2075df5cfb5b502070d298fea9d
tree2dd4fa8f1c57fa480ce134f0ab4283cd7b0fc757
parent9762522441bf002da51756e41c07d73285816725
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