mfd: Add tps65910-irq devicetree init and irqdomain support

This change changes the tps65910-irq code to use irqdomain, and support
initialization from devicetree. This assumes that the irq_base in the
platform data is -1 if devicetree is used.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Rhyland Klein 2012-05-18 11:52:19 +02:00 committed by Samuel Ortiz
parent b09530ef84
commit 21f7541d88
3 changed files with 63 additions and 33 deletions

View file

@ -836,6 +836,7 @@ struct tps65910 {
int irq_base;
int irq_num;
u32 irq_mask;
struct irq_domain *domain;
};
struct tps65910_platform_data {