blob: 4dc9b87601667185ca17fa625e6b1f85804cfe8a [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Heiko Stübner715a3e42011-12-19 19:39:15 +01002/*
3 * S3C24XX USB 2.0 High-speed USB controller gadget driver
4 *
5 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 *
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.
Heiko Stübner715a3e42011-12-19 19:39:15 +010011*/
12
13#ifndef __LINUX_USB_S3C_HSUDC_H
14#define __LINUX_USB_S3C_HSUDC_H
15
16/**
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.
21 *
22 * Representation of platform data for the S3C24XX USB 2.0 High Speed gadget
23 * controllers.
24 */
25struct s3c24xx_hsudc_platdata {
26 unsigned int epnum;
27 void (*gpio_init)(void);
28 void (*gpio_uninit)(void);
29};
30
31#endif /* __LINUX_USB_S3C_HSUDC_H */