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