1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * S3C24XX USB 2.0 High-speed USB controller gadget driver
5 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
8 * The S3C24XX USB 2.0 high-speed USB controller supports upto 9 endpoints.
9 * Each endpoint can be configured as either in or out endpoint. Endpoints
10 * can be configured for Bulk or Interrupt transfer mode.
13 #ifndef __LINUX_USB_S3C_HSUDC_H
14 #define __LINUX_USB_S3C_HSUDC_H
17 * s3c24xx_hsudc_platdata - Platform data for USB High-Speed gadget controller.
18 * @epnum: Number of endpoints to be instantiated by the controller driver.
19 * @gpio_init: Platform specific USB related GPIO initialization.
20 * @gpio_uninit: Platform specific USB releted GPIO uninitialzation.
22 * Representation of platform data for the S3C24XX USB 2.0 High Speed gadget
25 struct s3c24xx_hsudc_platdata {
27 void (*gpio_init)(void);
28 void (*gpio_uninit)(void);
29 void (*phy_init)(void);
30 void (*phy_uninit)(void);
33 #endif /* __LINUX_USB_S3C_HSUDC_H */