diff options
| author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2012-04-12 02:48:49 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-18 16:52:35 -0400 |
| commit | 3e0c70d050c7ed6d163897a6ac894f063c31b10f (patch) | |
| tree | 6bb63e2112cdbc161990917a3088d357120ae061 /include/linux/platform_data | |
| parent | 7af395922a9f2ba72f40a09641347b31cd1abad4 (diff) | |
usb: ehci-sh: Add PHY init function with platform data
In devices using ehci-sh, initialization of the PHY may be necessary.
This adds platform data to ehci-sh and provide function to initialize PHY.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/ehci-sh.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/linux/platform_data/ehci-sh.h b/include/linux/platform_data/ehci-sh.h new file mode 100644 index 000000000000..5c15a738e116 --- /dev/null +++ b/include/linux/platform_data/ehci-sh.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* | ||
| 2 | * EHCI SuperH driver platform data | ||
| 3 | * | ||
| 4 | * Copyright (C) 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | ||
| 5 | * Copyright (C) 2012 Renesas Solutions Corp. | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; version 2 of the License. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, | ||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program; if not, write to the Free Software | ||
| 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 19 | */ | ||
| 20 | |||
| 21 | #ifndef __USB_EHCI_SH_H | ||
| 22 | #define __USB_EHCI_SH_H | ||
| 23 | |||
| 24 | struct ehci_sh_platdata { | ||
| 25 | void (*phy_init)(void); /* Phy init function */ | ||
| 26 | }; | ||
| 27 | |||
| 28 | #endif /* __USB_EHCI_SH_H */ | ||
