aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/mt6397
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-27 12:47:36 +0100
committerLee Jones <lee.jones@linaro.org>2016-03-16 08:50:28 +0000
commitfeec4799ac4d214abd62e2bdfccb3ca9c5801d2f (patch)
tree7ac73821186ba1c2287429a0fa51fcbb001e762f /include/linux/mfd/mt6397
parentdt-bindings: mfd: Add bindings for the MediaTek MT6323 PMIC (diff)
downloadlinux-dev-feec4799ac4d214abd62e2bdfccb3ca9c5801d2f.tar.xz
linux-dev-feec4799ac4d214abd62e2bdfccb3ca9c5801d2f.zip
mfd: mt6397: int_con and int_status may vary in location
MT6323 has the INT_CON and INT_STATUS located at a different position. Make the registers locations configurable. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/mt6397')
-rw-r--r--include/linux/mfd/mt6397/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/mt6397/core.h b/include/linux/mfd/mt6397/core.h
index 45b8e8aa1fbf..d678f526e498 100644
--- a/include/linux/mfd/mt6397/core.h
+++ b/include/linux/mfd/mt6397/core.h
@@ -60,6 +60,8 @@ struct mt6397_chip {
u16 wake_mask[2];
u16 irq_masks_cur[2];
u16 irq_masks_cache[2];
+ u16 int_con[2];
+ u16 int_status[2];
};
#endif /* __MFD_MT6397_CORE_H__ */