blob: 13b326fa71dfad8374158274a25b5082fa837549 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* include/linux/smb329.h - smb329 switch charger driver
2 *
3 * Copyright (C) 2009 HTC Corporation.
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 */
15
16#ifndef _LINUX_SMB329_H
17#define _LINUX_SMB329_H
18
19#ifdef __KERNEL__
20
21enum {
22 SMB329_DISABLE_CHG,
23 SMB329_ENABLE_SLOW_CHG,
24 SMB329_ENABLE_FAST_CHG,
25};
26
27extern int smb329_set_charger_ctrl(uint32_t ctl);
28
29#endif /* __KERNEL__ */
30
31#endif /* _LINUX_SMB329_H */
32