mfd: rn5t618: Add IRQ support
This adds support for IRQ handling in the RC5T619 which is required for properly implementing subdevices like RTC. For now only definitions for the variant RC5T619 are included. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:

committed by
Lee Jones

parent
361dca7d97
commit
0c81604516
@@ -242,9 +242,24 @@ enum {
|
||||
RC5T619,
|
||||
};
|
||||
|
||||
/* RN5T618 IRQ definitions */
|
||||
enum {
|
||||
RN5T618_IRQ_SYS = 0,
|
||||
RN5T618_IRQ_DCDC,
|
||||
RN5T618_IRQ_RTC,
|
||||
RN5T618_IRQ_ADC,
|
||||
RN5T618_IRQ_GPIO,
|
||||
RN5T618_IRQ_CHG,
|
||||
RN5T618_NR_IRQS,
|
||||
};
|
||||
|
||||
struct rn5t618 {
|
||||
struct regmap *regmap;
|
||||
struct device *dev;
|
||||
long variant;
|
||||
|
||||
int irq;
|
||||
struct regmap_irq_chip_data *irq_data;
|
||||
};
|
||||
|
||||
#endif /* __LINUX_MFD_RN5T618_H */
|
||||
|
Reference in New Issue
Block a user