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