Merge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0
[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 Electronics
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.
11  */
12
13 #ifndef __LINUX_RT5025_MISC_H
14 #define __LINUX_RT5025_MISC_H
15
16 #define RT5025_RESETCTRL_REG    0x15
17 #define RT5025_VSYSULVO_REG     0x17
18 #define RT5025_PWRONCTRL_REG    0x19
19 #define RT5025_SHDNCTRL_REG     0x1A
20 #define RT5025_PWROFFEN_REG     0x1B
21 #define RT5025_CHENH_REG        0x62
22 #define RT5025_CHENL_REG        0x63
23
24 #define RT5025_SHDNCTRL_MASK    0x80
25 #define RT5025_VSYSOFF_MASK     0xE0
26
27 #endif /* #ifndef __LINUX_RT5025_MISC_H */