1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _UAPI__LINUX_USB_CHARGER_H 7 #define _UAPI__LINUX_USB_CHARGER_H 8 enum usb_charger_type { 9 UNKNOWN_TYPE = 0, 10 SDP_TYPE = 1, 11 DCP_TYPE = 2, 12 CDP_TYPE = 3, 13 ACA_TYPE = 4, 14 }; 15 enum usb_charger_state { 16 USB_CHARGER_DEFAULT = 0, 17 USB_CHARGER_PRESENT = 1, 18 USB_CHARGER_ABSENT = 2, 19 }; 20 #endif 21