Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Christopher Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 7 | #ifndef _UAPI__LINUX_USB_CHARGER_H |
| 8 | #define _UAPI__LINUX_USB_CHARGER_H |
| 9 | enum usb_charger_type { |
Christopher Ferris | bb9fcb4 | 2020-04-06 11:38:04 -0700 | [diff] [blame] | 10 | UNKNOWN_TYPE = 0, |
| 11 | SDP_TYPE = 1, |
| 12 | DCP_TYPE = 2, |
| 13 | CDP_TYPE = 3, |
| 14 | ACA_TYPE = 4, |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 15 | }; |
Christopher Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 16 | enum usb_charger_state { |
Christopher Ferris | bb9fcb4 | 2020-04-06 11:38:04 -0700 | [diff] [blame] | 17 | USB_CHARGER_DEFAULT = 0, |
| 18 | USB_CHARGER_PRESENT = 1, |
| 19 | USB_CHARGER_ABSENT = 2, |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 20 | }; |
| 21 | #endif |