summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/usb/charger.h
Commit message (Collapse)AuthorAgeFilesLines
* usb: charger: assign specific number for enum valuePeter Chen2020-02-101-8/+8
| | | | | | | | | | To work properly on every architectures and compilers, the enum value needs to be specific numbers. Suggested-by: Greg KH <gregkh@linuxfoundation.org> Signed-off-by: Peter Chen <peter.chen@nxp.com> Link: https://lore.kernel.org/r/1580537624-10179-1-git-send-email-peter.chen@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* include: uapi: usb: Introduce USB charger type and state definitionBaolin Wang2017-08-151-0/+31
Introducing USB charger type and state definition can help to support USB charging which will be added in USB phy core. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>