| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2011 Marvell International Ltd. All rights reserved. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 5 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 6 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 7 | | - * option) any later version. |
|---|
| 8 | 4 | */ |
|---|
| 9 | 5 | |
|---|
| 10 | 6 | #ifndef __MV_PLATFORM_USB_H |
|---|
| 11 | 7 | #define __MV_PLATFORM_USB_H |
|---|
| 12 | | - |
|---|
| 13 | | -enum pxa_ehci_type { |
|---|
| 14 | | - EHCI_UNDEFINED = 0, |
|---|
| 15 | | - PXA_U2OEHCI, /* pxa 168, 9xx */ |
|---|
| 16 | | - PXA_SPH, /* pxa 168, 9xx SPH */ |
|---|
| 17 | | - MMP3_HSIC, /* mmp3 hsic */ |
|---|
| 18 | | - MMP3_FSIC, /* mmp3 fsic */ |
|---|
| 19 | | -}; |
|---|
| 20 | 8 | |
|---|
| 21 | 9 | enum { |
|---|
| 22 | 10 | MV_USB_MODE_OTG, |
|---|
| .. | .. |
|---|
| 48 | 36 | int (*phy_init)(void __iomem *regbase); |
|---|
| 49 | 37 | void (*phy_deinit)(void __iomem *regbase); |
|---|
| 50 | 38 | int (*set_vbus)(unsigned int vbus); |
|---|
| 51 | | - int (*private_init)(void __iomem *opregs, void __iomem *phyregs); |
|---|
| 52 | 39 | }; |
|---|
| 53 | 40 | #endif |
|---|