2 * include/linux/mfd/rt5025-misc.h
3 * Include header file for Richtek RT5025 PMIC Misc
5 * Copyright (C) 2013 Richtek Electronics
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.
13 #ifndef __LINUX_RT5025_MISC_H
14 #define __LINUX_RT5025_MISC_H
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
24 #define RT5025_SHDNCTRL_MASK 0x80
25 #define RT5025_VSYSOFF_MASK 0xE0
27 #endif /* #ifndef __LINUX_RT5025_MISC_H */