2 * include/linux/mfd/rt5025-misc.h
3 * Include header file for Richtek RT5025 PMIC Misc
5 * Copyright (C) 2013 Richtek Technology Corp.
6 * cy_huang <cy_huang@richtek.com>
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.
14 #ifndef __LINUX_RT5025_MISC_H
15 #define __LINUX_RT5025_MISC_H
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
25 #define RT5025_SHDNCTRL_MASK 0x80
26 #define RT5025_VSYSOFF_MASK 0xE0
28 #endif /* #ifndef __LINUX_RT5025_MISC_H */