Lines Matching full:da9063
2 /* Interrupt support for Dialog DA9063
16 #include <linux/mfd/da9063/core.h>
24 /* DA9063 event A register */
35 /* DA9063 event B register */
52 /* DA9063 event C register */
69 /* DA9063 event D register */
89 .name = "da9063-irq",
100 /* DA9063 event A register */
107 /* DA9063 event B register */
124 /* DA9063 event C register */
141 /* DA9063 event D register */
171 int da9063_irq_init(struct da9063 *da9063) in da9063_irq_init() argument
176 if (!da9063->chip_irq) { in da9063_irq_init()
177 dev_err(da9063->dev, "No IRQ configured\n"); in da9063_irq_init()
181 if (da9063->type == PMIC_TYPE_DA9063) in da9063_irq_init()
186 ret = devm_regmap_add_irq_chip(da9063->dev, da9063->regmap, in da9063_irq_init()
187 da9063->chip_irq, in da9063_irq_init()
189 da9063->irq_base, irq_chip, &da9063->regmap_irq); in da9063_irq_init()
191 dev_err(da9063->dev, "Failed to reguest IRQ %d: %d\n", in da9063_irq_init()
192 da9063->chip_irq, ret); in da9063_irq_init()