Merge remote-tracking branch 'origin/upstream/linux-linaro-lsk-v3.10-android+android...
[firefly-linux-kernel-4.4.55.git] / include / linux / mfd / rt5025-misc.h
1 /*
2  *  include/linux/mfd/rt5025-misc.h
3  *  Include header file for Richtek RT5025 PMIC Misc
4  *
5  *  Copyright (C) 2013 Richtek Technology Corp.
6  *  cy_huang <cy_huang@richtek.com>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  */
13
14 #ifndef __LINUX_RT5025_MISC_H
15 #define __LINUX_RT5025_MISC_H
16
17 #define RT5025_RESETCTRL_REG    0x15
18 #define RT5025_VSYSULVO_REG     0x17
19 #define RT5025_PWRONCTRL_REG    0x19
20 #define RT5025_SHDNCTRL_REG     0x1A
21 #define RT5025_PWROFFEN_REG     0x1B
22 #define RT5025_CHENH_REG        0x62
23 #define RT5025_CHENL_REG        0x63
24
25 #define RT5025_SHDNCTRL_MASK    0x80
26 #define RT5025_VSYSOFF_MASK     0xE0
27
28 #endif /* #ifndef __LINUX_RT5025_MISC_H */