upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
570 B
26 lines
570 B
14 years ago
|
/*
|
||
9 years ago
|
* drivers/usb/gadget/dwc2_udc.h
|
||
9 years ago
|
* Designware DWC2 on-chip full/high speed USB device controllers
|
||
14 years ago
|
* Copyright (C) 2005 for Samsung Electronics
|
||
|
*
|
||
12 years ago
|
* SPDX-License-Identifier: GPL-2.0+
|
||
14 years ago
|
*/
|
||
|
|
||
9 years ago
|
#ifndef __DWC2_USB_GADGET
|
||
|
#define __DWC2_USB_GADGET
|
||
14 years ago
|
|
||
|
#define PHY0_SLEEP (1 << 5)
|
||
|
|
||
9 years ago
|
struct dwc2_plat_otg_data {
|
||
14 years ago
|
int (*phy_control)(int on);
|
||
|
unsigned int regs_phy;
|
||
|
unsigned int regs_otg;
|
||
|
unsigned int usb_phy_ctrl;
|
||
|
unsigned int usb_flags;
|
||
11 years ago
|
unsigned int usb_gusbcfg;
|
||
14 years ago
|
};
|
||
9 years ago
|
|
||
9 years ago
|
int dwc2_udc_probe(struct dwc2_plat_otg_data *pdata);
|
||
9 years ago
|
|
||
9 years ago
|
#endif /* __DWC2_USB_GADGET */
|