Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Łukasz Majewski | 9a1c4b2 | 2012-11-13 03:21:58 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2012 Samsung Electronics |
| 4 | * Lukasz Majewski <l.majewski@samsung.com> |
Łukasz Majewski | 9a1c4b2 | 2012-11-13 03:21:58 +0000 | [diff] [blame] | 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_ */ |