| 
									
										
										
										
											2013-06-30 14:19:33 +03:00
										 |  |  | /**
 | 
					
						
							|  |  |  |  * platform_data.h - USB DWC3 Platform Data Support | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
 | 
					
						
							|  |  |  |  * Author: Felipe Balbi <balbi@ti.com> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software: you can redistribute it and/or modify | 
					
						
							|  |  |  |  * it under the terms of the GNU General Public License version 2  of | 
					
						
							|  |  |  |  * the License as published by the Free Software Foundation. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is distributed in the hope that it will be useful, | 
					
						
							|  |  |  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
					
						
							|  |  |  |  * GNU General Public License for more details. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * You should have received a copy of the GNU General Public License | 
					
						
							|  |  |  |  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-30 14:29:51 +03:00
										 |  |  | #include <linux/usb/ch9.h>
 | 
					
						
							| 
									
										
										
										
											2013-07-06 07:52:49 -05:00
										 |  |  | #include <linux/usb/otg.h>
 | 
					
						
							| 
									
										
										
										
											2013-06-30 14:29:51 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-30 14:19:33 +03:00
										 |  |  | struct dwc3_platform_data { | 
					
						
							| 
									
										
										
										
											2013-06-30 14:29:51 +03:00
										 |  |  | 	enum usb_device_speed maximum_speed; | 
					
						
							| 
									
										
										
										
											2013-07-06 07:52:49 -05:00
										 |  |  | 	enum usb_dr_mode dr_mode; | 
					
						
							| 
									
										
										
										
											2013-06-30 14:19:33 +03:00
										 |  |  | 	bool tx_fifo_resize; | 
					
						
							|  |  |  | }; |