xref: /openbmc/u-boot/include/power/power_chrg.h (revision ed09a554)
1 /*
2  *  Copyright (C) 2012 Samsung Electronics
3  *  Lukasz Majewski <l.majewski@samsung.com>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef __POWER_CHARGER_H_
9 #define __POWER_CHARGER_H_
10 
11 /* Type of available chargers */
12 enum {
13 	CHARGER_NO = 0,
14 	CHARGER_TA,
15 	CHARGER_USB,
16 	CHARGER_TA_500,
17 	CHARGER_UNKNOWN,
18 };
19 
20 enum {
21 	UNKNOWN,
22 	EXT_SOURCE,
23 	CHARGE,
24 	NORMAL,
25 };
26 
27 #endif /* __POWER_CHARGER_H_ */
28