diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2015-02-23 18:40:07 +0530 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-14 05:48:10 +0200 |
commit | 3f52e1b98527a8943718871f85de10d37a24f011 (patch) | |
tree | 269cc29b66aa0b5b005bc37de8966168731ec3ee /include/linux | |
parent | 27d3b89d3362c912dccf1d9d27bcefc1e361fe19 (diff) | |
download | u-boot-imx-3f52e1b98527a8943718871f85de10d37a24f011.zip u-boot-imx-3f52e1b98527a8943718871f85de10d37a24f011.tar.gz u-boot-imx-3f52e1b98527a8943718871f85de10d37a24f011.tar.bz2 |
usb: dwc3: dwc3-omap: make dwc3-omap build in uboot
*) Changed the included header files to that used in u-boot.
*) Removed extcon_* APIs
*) Removed regulator_* APIs
*) Fixed other misc warnings
*) Added dwc3-omap.h to include the definitions of UTMI modes.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/usb/dwc3-omap.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/usb/dwc3-omap.h b/include/linux/usb/dwc3-omap.h new file mode 100644 index 0000000..8bf7b55 --- /dev/null +++ b/include/linux/usb/dwc3-omap.h @@ -0,0 +1,19 @@ +/* include/linux/usb/dwc3-omap.h + * + * Copyright (c) 2014 Texas Instruments Incorporated - http://www.ti.com + * + * Designware SuperSpeed Glue + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __DWC3_OMAP_H_ +#define __DWC3_OMAP_H_ + +enum dwc3_omap_utmi_mode { + DWC3_OMAP_UTMI_MODE_UNKNOWN = 0, + DWC3_OMAP_UTMI_MODE_HW, + DWC3_OMAP_UTMI_MODE_SW, +}; + +#endif /* __DWC3_OMAP_H_ */ |