mfd: mt6359: Add missing defines necessary for mtk-pmic-keys support
authorFabien Parent <fparent@baylibre.com>
Fri, 15 Apr 2022 15:36:24 +0000 (17:36 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 26 Apr 2022 18:23:05 +0000 (19:23 +0100)
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
include/linux/mfd/mt6359/registers.h

index 2135c96..2a4394a 100644 (file)
@@ -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