mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
b09530ef84
commit
21f7541d88
3 changed files with 63 additions and 33 deletions
|
@ -836,6 +836,7 @@ struct tps65910 {
|
|||
int irq_base;
|
||||
int irq_num;
|
||||
u32 irq_mask;
|
||||
struct irq_domain *domain;
|
||||
};
|
||||
|
||||
struct tps65910_platform_data {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue