]> git.ipfire.org Git - thirdparty/u-boot.git/blob - include/power/power_chrg.h
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[thirdparty/u-boot.git] / include / power / power_chrg.h
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_ */