aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorFabien Parent <fparent@baylibre.com>2022-04-15 17:36:24 +0200
committerLee Jones <lee.jones@linaro.org>2022-04-26 19:23:05 +0100
commit82028ba4d590c4e9eb3c93326019db7c26d02e35 (patch)
tree1b4d1847d8b8ede9bd5619ea143f0431617ce17b /include/linux/mfd
parentmfd: ipaq-micro: Fix error check return value of platform_get_irq() (diff)
downloadlinux-dev-82028ba4d590c4e9eb3c93326019db7c26d02e35.tar.xz
linux-dev-82028ba4d590c4e9eb3c93326019db7c26d02e35.zip
mfd: mt6359: Add missing defines necessary for mtk-pmic-keys support
Add 2 missing MT6359 registers that are needed to implement the keyboard driver. Signed-off-by: Fabien Parent <fparent@baylibre.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20220415153629.1817202-3-fparent@baylibre.com
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/mt6359/registers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/mt6359/registers.h b/include/linux/mfd/mt6359/registers.h
index 2135c9695918..2a4394a27b1c 100644
--- a/include/linux/mfd/mt6359/registers.h
+++ b/include/linux/mfd/mt6359/registers.h
@@ -8,6 +8,8 @@
/* PMIC Registers */
#define MT6359_SWCID 0xa
+#define MT6359_TOPSTATUS 0x2a
+#define MT6359_TOP_RST_MISC 0x14c
#define MT6359_MISC_TOP_INT_CON0 0x188
#define MT6359_MISC_TOP_INT_STATUS0 0x194
#define MT6359_TOP_INT_STATUS0 0x19e