mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
mfd: mt6397: Add MT6358 register definitions for power key
To support power/home key detection, add definitions for two more MT6358 PMIC registers: - TOPSTATUS: homekey and powerkey debounce status - TOP_RST_MISC: controls homekey,powerkey long press reset time Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
a933272041
commit
9a2601ebc2
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
|||
|
||||
/* PMIC Registers */
|
||||
#define MT6358_SWCID 0xa
|
||||
#define MT6358_TOPSTATUS 0x28
|
||||
#define MT6358_TOP_RST_MISC 0x14c
|
||||
#define MT6358_MISC_TOP_INT_CON0 0x188
|
||||
#define MT6358_MISC_TOP_INT_STATUS0 0x194
|
||||
#define MT6358_TOP_INT_STATUS0 0x19e
|
||||
|
|
Loading…
Reference in a new issue