]> git.sur5r.net Git - u-boot/blob - include/usb/s3c_udc.h
usb: s3c-otg: Tweak the comments
[u-boot] / include / usb / s3c_udc.h
1 /*
2  * drivers/usb/gadget/s3c_udc.h
3  * Designware DWC2 on-chip full/high speed USB device controllers
4  * Copyright (C) 2005 for Samsung Electronics
5  *
6  * SPDX-License-Identifier:     GPL-2.0+
7  */
8
9 #ifndef __S3C_USB_GADGET
10 #define __S3C_USB_GADGET
11
12 #define PHY0_SLEEP              (1 << 5)
13
14 struct s3c_plat_otg_data {
15         int             (*phy_control)(int on);
16         unsigned int    regs_phy;
17         unsigned int    regs_otg;
18         unsigned int    usb_phy_ctrl;
19         unsigned int    usb_flags;
20         unsigned int    usb_gusbcfg;
21 };
22
23 int s3c_udc_probe(struct s3c_plat_otg_data *pdata);
24
25 #endif