~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/platform_data/usb-omap.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/linux/platform_data/usb-omap.h (Version linux-6.12-rc7) and /include/linux/platform_data/usb-omap.h (Version linux-2.6.32.71)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * usb-omap.h - Platform data for the various     
  4  *                                                
  5  * Copyright (C) 2012 Texas Instruments Incorp    
  6  */                                               
  7                                                   
  8 #define OMAP3_HS_USB_PORTS      3                 
  9                                                   
 10 enum usbhs_omap_port_mode {                       
 11         OMAP_USBHS_PORT_MODE_UNUSED,              
 12         OMAP_EHCI_PORT_MODE_PHY,                  
 13         OMAP_EHCI_PORT_MODE_TLL,                  
 14         OMAP_EHCI_PORT_MODE_HSIC,                 
 15         OMAP_OHCI_PORT_MODE_PHY_6PIN_DATSE0,      
 16         OMAP_OHCI_PORT_MODE_PHY_6PIN_DPDM,        
 17         OMAP_OHCI_PORT_MODE_PHY_3PIN_DATSE0,      
 18         OMAP_OHCI_PORT_MODE_PHY_4PIN_DPDM,        
 19         OMAP_OHCI_PORT_MODE_TLL_6PIN_DATSE0,      
 20         OMAP_OHCI_PORT_MODE_TLL_6PIN_DPDM,        
 21         OMAP_OHCI_PORT_MODE_TLL_3PIN_DATSE0,      
 22         OMAP_OHCI_PORT_MODE_TLL_4PIN_DPDM,        
 23         OMAP_OHCI_PORT_MODE_TLL_2PIN_DATSE0,      
 24         OMAP_OHCI_PORT_MODE_TLL_2PIN_DPDM         
 25 };                                                
 26                                                   
 27 struct usbtll_omap_platform_data {                
 28         enum usbhs_omap_port_mode                 
 29 };                                                
 30                                                   
 31 struct ehci_hcd_omap_platform_data {              
 32         enum usbhs_omap_port_mode       port_m    
 33         int                             reset_    
 34         struct regulator                *regul    
 35         unsigned                        phy_re    
 36 };                                                
 37                                                   
 38 struct ohci_hcd_omap_platform_data {              
 39         enum usbhs_omap_port_mode       port_m    
 40         unsigned                        es2_co    
 41 };                                                
 42                                                   
 43 struct usbhs_omap_platform_data {                 
 44         int                             nports    
 45         enum usbhs_omap_port_mode       port_m    
 46         int                             reset_    
 47         struct regulator                *regul    
 48                                                   
 49         struct ehci_hcd_omap_platform_data        
 50         struct ohci_hcd_omap_platform_data        
 51                                                   
 52         /* OMAP3 <= ES2.1 have a single ulpi b    
 53         unsigned single_ulpi_bypass:1;            
 54         unsigned es2_compatibility:1;             
 55         unsigned phy_reset:1;                     
 56 };                                                
 57                                                   
 58 /*--------------------------------------------    
 59                                                   
 60 struct omap_musb_board_data {                     
 61         u8      interface_type;                   
 62         u8      mode;                             
 63         u16     power;                            
 64         unsigned extvbus:1;                       
 65         void    (*set_phy_power)(u8 on);          
 66         void    (*clear_irq)(void);               
 67         void    (*set_mode)(u8 mode);             
 68         void    (*reset)(void);                   
 69 };                                                
 70                                                   
 71 enum musb_interface {                             
 72         MUSB_INTERFACE_ULPI,                      
 73         MUSB_INTERFACE_UTMI                       
 74 };                                                
 75                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php