Łukasz Majewski | a59a27d | 2012-11-13 03:21:58 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Samsung Electronics |
| 3 | * Lukasz Majewski <l.majewski@samsung.com> |
| 4 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Łukasz Majewski | a59a27d | 2012-11-13 03:21:58 +0000 | [diff] [blame] | 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_ */ |