14 #include <linux/device.h>
25 static struct regmap_irq s2mps11_irqs[] = {
93 static struct regmap_irq s5m8767_irqs[] = {
164 static struct regmap_irq s5m8763_irqs[] = {
239 static struct regmap_irq_chip s2mps11_irq_chip = {
241 .irqs = s2mps11_irqs,
249 static struct regmap_irq_chip s5m8767_irq_chip = {
251 .irqs = s5m8767_irqs,
259 static struct regmap_irq_chip s5m8763_irq_chip = {
261 .irqs = s5m8763_irqs,
274 if (!sec_pmic->
irq) {
276 "No interrupt specified, no interrupts\n");
285 sec_pmic->
irq_base, &s5m8763_irq_chip,
291 sec_pmic->
irq_base, &s5m8767_irq_chip,
297 sec_pmic->
irq_base, &s2mps11_irq_chip,
301 dev_err(sec_pmic->
dev,
"Unknown device type %d\n",
307 dev_err(sec_pmic->
dev,
"Failed to register IRQ chip: %d\n", ret);