~ [ 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-4.13.16)


  1 /* SPDX-License-Identifier: GPL-2.0-only */    << 
  2 /*                                                  1 /*
  3  * usb-omap.h - Platform data for the various       2  * usb-omap.h - Platform data for the various OMAP USB IPs
  4  *                                                  3  *
  5  * Copyright (C) 2012 Texas Instruments Incorp !!   4  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com
                                                   >>   5  *
                                                   >>   6  * This software is distributed under the terms of the GNU General Public
                                                   >>   7  * License ("GPL") version 2, as published by the Free Software Foundation.
                                                   >>   8  *
                                                   >>   9  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
                                                   >>  10  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                                                   >>  11  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                                                   >>  12  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
                                                   >>  13  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
                                                   >>  14  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
                                                   >>  15  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
                                                   >>  16  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
                                                   >>  17  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
                                                   >>  18  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
                                                   >>  19  * POSSIBILITY OF SUCH DAMAGE.
  6  */                                                20  */
  7                                                    21 
  8 #define OMAP3_HS_USB_PORTS      3                  22 #define OMAP3_HS_USB_PORTS      3
  9                                                    23 
 10 enum usbhs_omap_port_mode {                        24 enum usbhs_omap_port_mode {
 11         OMAP_USBHS_PORT_MODE_UNUSED,               25         OMAP_USBHS_PORT_MODE_UNUSED,
 12         OMAP_EHCI_PORT_MODE_PHY,                   26         OMAP_EHCI_PORT_MODE_PHY,
 13         OMAP_EHCI_PORT_MODE_TLL,                   27         OMAP_EHCI_PORT_MODE_TLL,
 14         OMAP_EHCI_PORT_MODE_HSIC,                  28         OMAP_EHCI_PORT_MODE_HSIC,
 15         OMAP_OHCI_PORT_MODE_PHY_6PIN_DATSE0,       29         OMAP_OHCI_PORT_MODE_PHY_6PIN_DATSE0,
 16         OMAP_OHCI_PORT_MODE_PHY_6PIN_DPDM,         30         OMAP_OHCI_PORT_MODE_PHY_6PIN_DPDM,
 17         OMAP_OHCI_PORT_MODE_PHY_3PIN_DATSE0,       31         OMAP_OHCI_PORT_MODE_PHY_3PIN_DATSE0,
 18         OMAP_OHCI_PORT_MODE_PHY_4PIN_DPDM,         32         OMAP_OHCI_PORT_MODE_PHY_4PIN_DPDM,
 19         OMAP_OHCI_PORT_MODE_TLL_6PIN_DATSE0,       33         OMAP_OHCI_PORT_MODE_TLL_6PIN_DATSE0,
 20         OMAP_OHCI_PORT_MODE_TLL_6PIN_DPDM,         34         OMAP_OHCI_PORT_MODE_TLL_6PIN_DPDM,
 21         OMAP_OHCI_PORT_MODE_TLL_3PIN_DATSE0,       35         OMAP_OHCI_PORT_MODE_TLL_3PIN_DATSE0,
 22         OMAP_OHCI_PORT_MODE_TLL_4PIN_DPDM,         36         OMAP_OHCI_PORT_MODE_TLL_4PIN_DPDM,
 23         OMAP_OHCI_PORT_MODE_TLL_2PIN_DATSE0,       37         OMAP_OHCI_PORT_MODE_TLL_2PIN_DATSE0,
 24         OMAP_OHCI_PORT_MODE_TLL_2PIN_DPDM          38         OMAP_OHCI_PORT_MODE_TLL_2PIN_DPDM
 25 };                                                 39 };
 26                                                    40 
 27 struct usbtll_omap_platform_data {                 41 struct usbtll_omap_platform_data {
 28         enum usbhs_omap_port_mode                  42         enum usbhs_omap_port_mode               port_mode[OMAP3_HS_USB_PORTS];
 29 };                                                 43 };
 30                                                    44 
 31 struct ehci_hcd_omap_platform_data {               45 struct ehci_hcd_omap_platform_data {
 32         enum usbhs_omap_port_mode       port_m     46         enum usbhs_omap_port_mode       port_mode[OMAP3_HS_USB_PORTS];
 33         int                             reset_     47         int                             reset_gpio_port[OMAP3_HS_USB_PORTS];
 34         struct regulator                *regul     48         struct regulator                *regulator[OMAP3_HS_USB_PORTS];
 35         unsigned                        phy_re     49         unsigned                        phy_reset:1;
 36 };                                                 50 };
 37                                                    51 
 38 struct ohci_hcd_omap_platform_data {               52 struct ohci_hcd_omap_platform_data {
 39         enum usbhs_omap_port_mode       port_m     53         enum usbhs_omap_port_mode       port_mode[OMAP3_HS_USB_PORTS];
 40         unsigned                        es2_co     54         unsigned                        es2_compatibility:1;
 41 };                                                 55 };
 42                                                    56 
 43 struct usbhs_omap_platform_data {                  57 struct usbhs_omap_platform_data {
 44         int                             nports     58         int                             nports;
 45         enum usbhs_omap_port_mode       port_m     59         enum usbhs_omap_port_mode       port_mode[OMAP3_HS_USB_PORTS];
 46         int                             reset_     60         int                             reset_gpio_port[OMAP3_HS_USB_PORTS];
 47         struct regulator                *regul     61         struct regulator                *regulator[OMAP3_HS_USB_PORTS];
 48                                                    62 
 49         struct ehci_hcd_omap_platform_data         63         struct ehci_hcd_omap_platform_data      *ehci_data;
 50         struct ohci_hcd_omap_platform_data         64         struct ohci_hcd_omap_platform_data      *ohci_data;
 51                                                    65 
 52         /* OMAP3 <= ES2.1 have a single ulpi b     66         /* OMAP3 <= ES2.1 have a single ulpi bypass control bit */
 53         unsigned single_ulpi_bypass:1;             67         unsigned single_ulpi_bypass:1;
 54         unsigned es2_compatibility:1;              68         unsigned es2_compatibility:1;
 55         unsigned phy_reset:1;                      69         unsigned phy_reset:1;
 56 };                                                 70 };
 57                                                    71 
 58 /*--------------------------------------------     72 /*-------------------------------------------------------------------------*/
 59                                                    73 
 60 struct omap_musb_board_data {                      74 struct omap_musb_board_data {
 61         u8      interface_type;                    75         u8      interface_type;
 62         u8      mode;                              76         u8      mode;
 63         u16     power;                             77         u16     power;
 64         unsigned extvbus:1;                        78         unsigned extvbus:1;
 65         void    (*set_phy_power)(u8 on);           79         void    (*set_phy_power)(u8 on);
 66         void    (*clear_irq)(void);                80         void    (*clear_irq)(void);
 67         void    (*set_mode)(u8 mode);              81         void    (*set_mode)(u8 mode);
 68         void    (*reset)(void);                    82         void    (*reset)(void);
 69 };                                                 83 };
 70                                                    84 
 71 enum musb_interface {                              85 enum musb_interface {
 72         MUSB_INTERFACE_ULPI,                       86         MUSB_INTERFACE_ULPI,
 73         MUSB_INTERFACE_UTMI                        87         MUSB_INTERFACE_UTMI
 74 };                                                 88 };
 75                                                    89 

~ [ 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