diff options
author | Kishon Vijay Abraham I | 2015-02-23 18:40:08 +0530 |
---|---|---|
committer | Marek Vasut | 2015-04-14 05:48:10 +0200 |
commit | 93c3763810670a8feedcf097be09f264839d368c (patch) | |
tree | 90d204134f511d8c8d3cfbc4af5de8c9b27540c9 /include/dwc3-omap-uboot.h | |
parent | 3f52e1b98527a8943718871f85de10d37a24f011 (diff) |
include: dwc3-omap-uboot: add a structure for populating dwc3-omap platform data
Added a structure to populate dwc3 omap platform data. The board file should
populate these platform data before invoking dwc3 omap driver.
This will be removed once dwc3-omap driver is adapted to use the driver model.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include/dwc3-omap-uboot.h')
-rw-r--r-- | include/dwc3-omap-uboot.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/dwc3-omap-uboot.h b/include/dwc3-omap-uboot.h new file mode 100644 index 00000000000..b313b644392 --- /dev/null +++ b/include/dwc3-omap-uboot.h @@ -0,0 +1,27 @@ +/* include/dwc3_omap_uboot.h + * + * Copyright (c) 2015 Texas Instruments Incorporated - http://www.ti.com + * + * Designware SuperSpeed OMAP Glue uboot init + * + * SPDX-License-Identifier: GPL-2.0 + */ + +#ifndef __DWC3_OMAP_UBOOT_H_ +#define __DWC3_OMAP_UBOOT_H_ + +#include <linux/usb/dwc3-omap.h> + +enum omap_dwc3_vbus_id_status { + OMAP_DWC3_ID_FLOAT, + OMAP_DWC3_ID_GROUND, + OMAP_DWC3_VBUS_OFF, + OMAP_DWC3_VBUS_VALID, +}; + +struct dwc3_omap_device { + void *base; + enum dwc3_omap_utmi_mode utmi_mode; + enum omap_dwc3_vbus_id_status vbus_id_status; +}; +#endif /* __DWC3_OMAP_UBOOT_H_ */ |