Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Heiko Stübner | 715a3e4 | 2011-12-19 19:39:15 +0100 | [diff] [blame] | 2 | /* |
| 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übner | 715a3e4 | 2011-12-19 19:39:15 +0100 | [diff] [blame] | 11 | */ |
| 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 | */ |
| 25 | struct 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 */ |