ARM64: dts: rockchip: enable tsadc node for rk3366-tb
[firefly-linux-kernel-4.4.55.git] / include / linux / mfd / rt5025-irq.h
old mode 100644 (file)
new mode 100755 (executable)
index d826b2f..66a7f05
@@ -1,39 +1,19 @@
 /*
- *  include/linux/mfd/rt5025-irq.h
+ *  include/linux/mfd/rt5025/rt5025-irq.h
  *  Include header file for Richtek RT5025 PMIC IRQ file
  *
- *  Copyright (C) 2013 Richtek Electronics
+ *  Copyright (C) 2014 Richtek Technology Corp.
  *  cy_huang <cy_huang@richtek.com>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
+ * published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  */
 
 #ifndef __LINUX_RT5025_IRQ_H
 #define __LINUX_RT5025_IRQ_H
 
-#define RT5025_REG_CHGSTAT     0x01
-
-#define RT5025_REG_IRQEN1      0x30
-#define RT5025_REG_IRQSTATUS1  0x31
-#define RT5025_REG_IRQEN2      0x32
-#define RT5025_REG_IRQSTATUS2  0x33
-#define RT5025_REG_IRQEN3      0x34
-#define RT5025_REG_IRQSTATUS3  0x35
-#define RT5025_REG_IRQEN4      0x36
-#define RT5025_REG_IRQSTATUS4  0x37
-#define RT5025_REG_IRQEN5      0x38
-#define RT5025_REG_IRQSTATUS5  0x39
-
-#define RT5025_INACIRQ_MASK    0x40
-#define RT5025_INUSBIRQ_MASK   0x08
-#define RT5025_ADAPIRQ_MASK    (RT5025_INACIRQ_MASK|RT5025_INUSBIRQ_MASK)
-#define RT5025_CHTERMI_MASK    0x01
-
-#define RT5025_REG_GAUGEIRQEN  0x50
-#define RT5025_REG_GAUGEIRQFLG 0x51
-#define RT5025_FLG_TEMP                0x30
-#define RT5025_FLG_VOLT                0x07
+#define RT5025_TALRT_MASK 0x30
 
 #endif /* #ifndef __LINUX_RT5025_IRQ_H */