Message ID | 20220426135313.245466-3-fparent@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Input: mtk-pmic-keys: Add support for MT6359 PMIC | expand |
On Tue, 2022-04-26 at 15:53 +0200, Fabien Parent wrote: > Add 2 missing MT6359 registers that are needed to implement > the keyboard driver. > > Signed-off-by: Fabien Parent <fparent@baylibre.com> > --- > v2: no changes > > include/linux/mfd/mt6359/registers.h | 2 ++ > 1 file changed, 2 insertions(+) > > 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 Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com> Regards, Macpaul Lin
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
Add 2 missing MT6359 registers that are needed to implement the keyboard driver. Signed-off-by: Fabien Parent <fparent@baylibre.com> --- v2: no changes include/linux/mfd/mt6359/registers.h | 2 ++ 1 file changed, 2 insertions(+)