Skip to contentSkip to conversation

omap plat/usb.h removal for v3.8 merge window

PATCH New Tony Lindgren 2 participants 5 messages Oct 19, 2012 – Oct 24, 2012

Subsystems (11)
lore
Share & tools
lore

Tony Lindgren

author maintainer
#0 lore raw

cover omap plat/usb.h removal for v3.8 merge window

Hi all,

Here are two patches against v3.7-rc1 to remove
plat/usb.h.

Once people are happy with these, I'll apply these into omap-for-v3.8/cleanup-headers-usb branch so usb and mfd trees can also pull these in if needed.

Regards,

Tony

---

Felipe Balbi (1):
ARM: OMAP: move OMAP USB platform data to <linux/platform_data/omap-usb.h>

Tony Lindgren (1):
ARM: OMAP2+: Introduce local usb.h

 arch/arm/mach-omap1/clock.c                  |    1 
 arch/arm/mach-omap2/board-2430sdp.c          |    1 
 arch/arm/mach-omap2/board-3430sdp.c          |    1 
 arch/arm/mach-omap2/board-3630sdp.c          |    1 
 arch/arm/mach-omap2/board-4430sdp.c          |    2 
 arch/arm/mach-omap2/board-am3517crane.c      |    1 
 arch/arm/mach-omap2/board-am3517evm.c        |    2 
 arch/arm/mach-omap2/board-cm-t35.c           |    1 
 arch/arm/mach-omap2/board-cm-t3517.c         |    1 
 arch/arm/mach-omap2/board-devkit8000.c       |    1 
 arch/arm/mach-omap2/board-igep0020.c         |    1 
 arch/arm/mach-omap2/board-ldp.c              |    1 
 arch/arm/mach-omap2/board-omap3beagle.c      |    1 
 arch/arm/mach-omap2/board-omap3evm.c         |    2 
 arch/arm/mach-omap2/board-omap3logic.c       |    1 
 arch/arm/mach-omap2/board-omap3pandora.c     |    1 
 arch/arm/mach-omap2/board-omap3stalker.c     |    1 
 arch/arm/mach-omap2/board-omap3touchbook.c   |    1 
 arch/arm/mach-omap2/board-omap4panda.c       |    2 
 arch/arm/mach-omap2/board-overo.c            |    1 
 arch/arm/mach-omap2/board-rm680.c            |    1 
 arch/arm/mach-omap2/board-rx51.c             |    2 
 arch/arm/mach-omap2/board-ti8168evm.c        |    3 
 arch/arm/mach-omap2/board-zoom-peripherals.c |    1 
 arch/arm/mach-omap2/board-zoom.c             |    1 
 arch/arm/mach-omap2/common.h                 |    2 
 arch/arm/mach-omap2/omap_phy_internal.c      |    4 -
 arch/arm/mach-omap2/twl-common.c             |    1 
 arch/arm/mach-omap2/usb-host.c               |    2 
 arch/arm/mach-omap2/usb-musb.c               |    2 
 arch/arm/mach-omap2/usb-tusb6010.c           |    1 
 arch/arm/mach-omap2/usb.h                    |   82 ++++++++++++
 arch/arm/plat-omap/include/plat/usb.h        |  179 --------------------------
 drivers/mfd/omap-usb-host.c                  |    5 +
 drivers/mfd/omap-usb-tll.c                   |    2 
 drivers/mfd/omap-usb.h                       |    2 
 drivers/usb/host/ehci-omap.c                 |    3 
 drivers/usb/host/ohci-omap3.c                |    1 
 drivers/usb/musb/am35x.c                     |    3 
 drivers/usb/musb/musb_dsps.c                 |    3 
 drivers/usb/musb/omap2430.h                  |    2 
 include/linux/platform_data/usb-omap.h       |   80 ++++++++++++
 42 files changed, 188 insertions(+), 218 deletions(-)
 create mode 100644 arch/arm/mach-omap2/usb.h
 delete mode 100644 arch/arm/plat-omap/include/plat/usb.h
 create mode 100644 drivers/mfd/omap-usb.h
 create mode 100644 include/linux/platform_data/usb-omap.h
author maintainer
#1 lore raw

PATCH 1/2 ARM: OMAP2+: Introduce local usb.h

Let's move what we can from plat/usb.h to the local usb.h for ARM common zImage support.

This is needed so we can remove plat/usb.h for ARM common zImage support.

Cc Felipe Balbi <[email protected]>
Cc Samuel Ortiz <[email protected]>
Cc Alan Stern <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Partha Basak <[email protected]>
Cc Keshava Munegowda <[email protected]>
Cc linux-usb at vger.kernel.org
---
 arch/arm/mach-omap1/clock.c                  |    1 
 arch/arm/mach-omap2/board-2430sdp.c          |    1 
 arch/arm/mach-omap2/board-3430sdp.c          |    1 
 arch/arm/mach-omap2/board-3630sdp.c          |    1 
 arch/arm/mach-omap2/board-4430sdp.c          |    1 
 arch/arm/mach-omap2/board-am3517crane.c      |    1 
 arch/arm/mach-omap2/board-am3517evm.c        |    1 
 arch/arm/mach-omap2/board-cm-t35.c           |    1 
 arch/arm/mach-omap2/board-cm-t3517.c         |    1 
 arch/arm/mach-omap2/board-devkit8000.c       |    1 
 arch/arm/mach-omap2/board-igep0020.c         |    1 
 arch/arm/mach-omap2/board-ldp.c              |    1 
 arch/arm/mach-omap2/board-omap3beagle.c      |    1 
 arch/arm/mach-omap2/board-omap3evm.c         |    1 
 arch/arm/mach-omap2/board-omap3logic.c       |    1 
 arch/arm/mach-omap2/board-omap3pandora.c     |    1 
 arch/arm/mach-omap2/board-omap3stalker.c     |    1 
 arch/arm/mach-omap2/board-omap3touchbook.c   |    1 
 arch/arm/mach-omap2/board-omap4panda.c       |    1 
 arch/arm/mach-omap2/board-overo.c            |    1 
 arch/arm/mach-omap2/board-rm680.c            |    1 
 arch/arm/mach-omap2/board-rx51.c             |    1 
 arch/arm/mach-omap2/board-ti8168evm.c        |    1 
 arch/arm/mach-omap2/board-zoom-peripherals.c |    1 
 arch/arm/mach-omap2/board-zoom.c             |    1 
 arch/arm/mach-omap2/common.h                 |    2 
 arch/arm/mach-omap2/omap_phy_internal.c      |    4 -
 arch/arm/mach-omap2/twl-common.c             |    1 
 arch/arm/mach-omap2/usb-host.c               |    2 
 arch/arm/mach-omap2/usb-musb.c               |    2 
 arch/arm/mach-omap2/usb.h                    |   82 ++++++++++++++++++++
 arch/arm/plat-omap/include/plat/usb.h        |  106 --------------------------
 32 files changed, 88 insertions(+), 136 deletions(-)
 create mode 100644 arch/arm/mach-omap2/usb.h
arch/arm/mach-omap1/clock.c +0 -1
index 638f407..1e49eda 100644
@@ -22,7 +22,6 @@
 #include <asm/mach-types.h>
 
 #include <plat/cpu.h>
-#include <plat/usb.h>
 #include <plat/clock.h>
 #include <plat/sram.h>
 #include <plat/clkdev_omap.h>
arch/arm/mach-omap2/board-2430sdp.c +0 -1
index 95b384d..df561ad 100644
@@ -35,7 +35,6 @@
 
 #include "common.h"
 #include <plat/gpmc.h>
-#include <plat/usb.h>
 #include "gpmc-smc91x.h"
 
 #include <video/omapdss.h>
arch/arm/mach-omap2/board-3430sdp.c +0 -1
index 96cd369..14c07ee 100644
@@ -30,7 +30,6 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <plat/usb.h>
 #include "common.h"
 #include <plat/dma.h>
 #include <plat/gpmc.h>
arch/arm/mach-omap2/board-3630sdp.c +0 -1
index fc224ad..f8e6288 100644
@@ -18,7 +18,6 @@
 
 #include "common.h"
 #include "gpmc-smc91x.h"
-#include <plat/usb.h>
 
 #include <mach/board-zoom.h>
 
arch/arm/mach-omap2/board-4430sdp.c +0 -1
index 3669c12..5700fc5 100644
@@ -34,7 +34,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 #include <plat/mmc.h>
 #include "omap4-keypad.h"
 #include <video/omapdss.h>
arch/arm/mach-omap2/board-am3517crane.c +0 -1
index 318fead..603503c 100644
@@ -26,7 +26,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 
 #include "am35xx-emac.h"
 #include "mux.h"
arch/arm/mach-omap2/board-am3517evm.c +0 -1
index e162897..0dbeb77 100644
@@ -33,7 +33,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 #include <video/omapdss.h>
 #include <video/omap-panel-generic-dpi.h>
 #include <video/omap-panel-tfp410.h>
arch/arm/mach-omap2/board-cm-t35.c +0 -1
index 376d26e..435c7be 100644
@@ -41,7 +41,6 @@
 #include "common.h"
 #include <linux/platform_data/mtd-nand-omap2.h>
 #include <plat/gpmc.h>
-#include <plat/usb.h>
 #include <video/omapdss.h>
 #include <video/omap-panel-generic-dpi.h>
 #include <video/omap-panel-tfp410.h>
arch/arm/mach-omap2/board-cm-t3517.c +0 -1
index 59c0a45..db1e14c 100644
@@ -39,7 +39,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
 #include <plat/gpmc.h>
 
arch/arm/mach-omap2/board-devkit8000.c +0 -1
index 1fd161e..8df2720 100644
@@ -41,7 +41,6 @@
 #include "common.h"
 #include <plat/gpmc.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
-#include <plat/usb.h>
 #include <video/omapdss.h>
 #include <video/omap-panel-generic-dpi.h>
 #include <video/omap-panel-tfp410.h>
arch/arm/mach-omap2/board-igep0020.c +0 -1
index 48d5e41..62da89f 100644
@@ -31,7 +31,6 @@
 
 #include "common.h"
 #include <plat/gpmc.h>
-#include <plat/usb.h>
 
 #include <video/omapdss.h>
 #include <video/omap-panel-tfp410.h>
arch/arm/mach-omap2/board-ldp.c +0 -1
index ee8c3cf..8d9406b 100644
@@ -37,7 +37,6 @@
 #include "common.h"
 #include <plat/gpmc.h>
 #include <mach/board-zoom.h>
-#include <plat/usb.h>
 #include "gpmc-smsc911x.h"
 
 #include <video/omapdss.h>
arch/arm/mach-omap2/board-omap3beagle.c +0 -1
index 388c431..33a5f58 100644
@@ -43,7 +43,6 @@
 #include <video/omap-panel-tfp410.h>
 #include <plat/gpmc.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
-#include <plat/usb.h>
 #include <plat/omap_device.h>
 
 #include "mux.h"
arch/arm/mach-omap2/board-omap3evm.c +0 -1
index b9b776b..6e7e69b 100644
@@ -45,7 +45,6 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <plat/usb.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
 #include "common.h"
 #include <linux/platform_data/spi-omap2-mcspi.h>
arch/arm/mach-omap2/board-omap3logic.c +0 -1
index 7bd8253..a0d8fe1 100644
@@ -37,7 +37,6 @@
 #include "gpmc-smsc911x.h"
 #include <plat/gpmc.h>
 #include <plat/sdrc.h>
-#include <plat/usb.h>
 
 #include "common.h"
 #include "mux.h"
arch/arm/mach-omap2/board-omap3pandora.c +0 -1
index 00a1f4a..f2be51b 100644
@@ -42,7 +42,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 #include <video/omapdss.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
 
arch/arm/mach-omap2/board-omap3stalker.c +0 -1
index 731235e..4343fb6 100644
@@ -42,7 +42,6 @@
 #include "common.h"
 #include <plat/gpmc.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
-#include <plat/usb.h>
 #include <video/omapdss.h>
 #include <video/omap-panel-generic-dpi.h>
 #include <video/omap-panel-tfp410.h>
arch/arm/mach-omap2/board-omap3touchbook.c +0 -1
index 944ffc4..c26c958 100644
@@ -46,7 +46,6 @@
 #include "common.h"
 #include <plat/gpmc.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
-#include <plat/usb.h>
 
 #include "mux.h"
 #include "hsmmc.h"
arch/arm/mach-omap2/board-omap4panda.c +0 -1
index bfcd397..74e39bb 100644
@@ -39,7 +39,6 @@
 #include <video/omapdss.h>
 
 #include "common.h"
-#include <plat/usb.h>
 #include <plat/mmc.h>
 #include <video/omap-panel-tfp410.h>
 
arch/arm/mach-omap2/board-overo.c +0 -1
index b700685..0eed6da 100644
@@ -50,7 +50,6 @@
 #include <video/omap-panel-generic-dpi.h>
 #include <video/omap-panel-tfp410.h>
 #include <plat/gpmc.h>
-#include <plat/usb.h>
 
 #include "mux.h"
 #include "sdram-micron-mt46h32m32lf-6.h"
arch/arm/mach-omap2/board-rm680.c +0 -1
index 45997bf..d55a983 100644
@@ -24,7 +24,6 @@
 
 #include <plat/i2c.h>
 #include <plat/mmc.h>
-#include <plat/usb.h>
 #include <plat/gpmc.h>
 #include "common.h"
 #include <plat/serial.h>
arch/arm/mach-omap2/board-rx51.c +0 -1
index 7bbb05d..8c4d27e 100644
@@ -26,7 +26,6 @@
 #include "common.h"
 #include <plat/dma.h>
 #include <plat/gpmc.h>
-#include <plat/usb.h>
 
 #include "mux.h"
 #include "pm.h"
arch/arm/mach-omap2/board-ti8168evm.c +0 -1
index c4f8833..4977c77 100644
@@ -20,7 +20,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 
 static struct omap_musb_board_data musb_board_data = {
 	.set_phy_power	= ti81xx_musb_phy_power,
arch/arm/mach-omap2/board-zoom-peripherals.c +0 -1
index c166fe1..ce923b7 100644
@@ -26,7 +26,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 
 #include <mach/board-zoom.h>
 
arch/arm/mach-omap2/board-zoom.c +0 -1
index 4994438..6e1afae 100644
@@ -22,7 +22,6 @@
 #include <asm/mach/arch.h>
 
 #include "common.h"
-#include <plat/usb.h>
 
 #include <mach/board-zoom.h>
 
arch/arm/mach-omap2/common.h +2 -0
index 7045e4d..fa2f4c9 100644
@@ -36,6 +36,8 @@
 #include <plat/serial.h>
 #include <plat/common.h>
 
+#include "usb.h"
+
 #define OMAP_INTC_START		NR_IRQS
 
 #ifdef CONFIG_SOC_OMAP2420
arch/arm/mach-omap2/omap_phy_internal.c +2 -2
index d992db8..4d76a3c 100644
@@ -27,11 +27,11 @@
 #include <linux/io.h>
 #include <linux/err.h>
 #include <linux/usb.h>
-
-#include <plat/usb.h>
+#include <linux/usb/musb.h>
 
 #include "soc.h"
 #include "control.h"
+#include "usb.h"
 
 void am35x_musb_reset(void)
 {
arch/arm/mach-omap2/twl-common.c +0 -1
index 635e109..1131d47 100644
@@ -27,7 +27,6 @@
 #include <linux/regulator/fixed.h>
 
 #include <plat/i2c.h>
-#include <plat/usb.h>
 
 #include "soc.h"
 #include "twl-common.h"
arch/arm/mach-omap2/usb-host.c +1 -1
index 3c43449..b1cf8c8 100644
@@ -25,10 +25,10 @@
 
 #include <asm/io.h>
 
-#include <plat/usb.h>
 #include <plat/omap_device.h>
 
 #include "mux.h"
+#include "usb.h"
 
 #ifdef CONFIG_MFD_OMAP_USB_HOST
 
arch/arm/mach-omap2/usb-musb.c +1 -1
index 51da21c..faf473f 100644
@@ -25,12 +25,12 @@
 #include <linux/io.h>
 #include <linux/usb/musb.h>
 
-#include <plat/usb.h>
 #include <plat/omap_device.h>
 
 #include "am35xx.h"
 
 #include "mux.h"
+#include "usb.h"
 
 static struct musb_hdrc_config musb_config = {
 	.multipoint	= 1,
arch/arm/mach-omap2/usb.h new file +82 -0

82 lines not on this page · raw message

arch/arm/plat-omap/include/plat/usb.h +0 -106

121 lines not on this page · raw message

#2 lore raw

PATCH 1/2 ARM: OMAP2+: Introduce local usb.h

Quoted 7 lines · Tony Lindgren

Let's move what we can from plat/usb.h to the local usb.h for ARM common zImage support.

This is needed so we can remove plat/usb.h for ARM common zImage support.

Cc Felipe Balbi <[email protected]>
Quoted 636 lines
Cc Samuel Ortiz <[email protected]>
Cc Alan Stern <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Partha Basak <[email protected]>
Cc Keshava Munegowda <[email protected]>
Cc linux-usb at vger.kernel.org
---
 arch/arm/mach-omap1/clock.c                  |    1 
 arch/arm/mach-omap2/board-2430sdp.c          |    1 
 arch/arm/mach-omap2/board-3430sdp.c          |    1 
 arch/arm/mach-omap2/board-3630sdp.c          |    1 
 arch/arm/mach-omap2/board-4430sdp.c          |    1 
 arch/arm/mach-omap2/board-am3517crane.c      |    1 
 arch/arm/mach-omap2/board-am3517evm.c        |    1 
 arch/arm/mach-omap2/board-cm-t35.c           |    1 
 arch/arm/mach-omap2/board-cm-t3517.c         |    1 
 arch/arm/mach-omap2/board-devkit8000.c       |    1 
 arch/arm/mach-omap2/board-igep0020.c         |    1 
 arch/arm/mach-omap2/board-ldp.c              |    1 
 arch/arm/mach-omap2/board-omap3beagle.c      |    1 
 arch/arm/mach-omap2/board-omap3evm.c         |    1 
 arch/arm/mach-omap2/board-omap3logic.c       |    1 
 arch/arm/mach-omap2/board-omap3pandora.c     |    1 
 arch/arm/mach-omap2/board-omap3stalker.c     |    1 
 arch/arm/mach-omap2/board-omap3touchbook.c   |    1 
 arch/arm/mach-omap2/board-omap4panda.c       |    1 
 arch/arm/mach-omap2/board-overo.c            |    1 
 arch/arm/mach-omap2/board-rm680.c            |    1 
 arch/arm/mach-omap2/board-rx51.c             |    1 
 arch/arm/mach-omap2/board-ti8168evm.c        |    1 
 arch/arm/mach-omap2/board-zoom-peripherals.c |    1 
 arch/arm/mach-omap2/board-zoom.c             |    1 
 arch/arm/mach-omap2/common.h                 |    2 
 arch/arm/mach-omap2/omap_phy_internal.c      |    4 -
 arch/arm/mach-omap2/twl-common.c             |    1 
 arch/arm/mach-omap2/usb-host.c               |    2 
 arch/arm/mach-omap2/usb-musb.c               |    2 
 arch/arm/mach-omap2/usb.h                    |   82 ++++++++++++++++++++
 arch/arm/plat-omap/include/plat/usb.h        |  106 --------------------------
 32 files changed, 88 insertions(+), 136 deletions(-)
 create mode 100644 arch/arm/mach-omap2/usb.h
arch/arm/mach-omap1/clock.c +0 -1
index 638f407..1e49eda 100644
@@ -22,7 +22,6 @@
 #include <asm/mach-types.h>
 
 #include <plat/cpu.h>
-#include <plat/usb.h>
 #include <plat/clock.h>
 #include <plat/sram.h>
 #include <plat/clkdev_omap.h>
arch/arm/mach-omap2/board-2430sdp.c +0 -1
index 95b384d..df561ad 100644
@@ -35,7 +35,6 @@
 
 #include "common.h"
 #include <plat/gpmc.h>
-#include <plat/usb.h>
 #include "gpmc-smc91x.h"
 
 #include <video/omapdss.h>
arch/arm/mach-omap2/board-3430sdp.c +0 -1
index 96cd369..14c07ee 100644
@@ -30,7 +30,6 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <plat/usb.h>
 #include "common.h"
 #include <plat/dma.h>
 #include <plat/gpmc.h>
arch/arm/mach-omap2/board-3630sdp.c +0 -1
index fc224ad..f8e6288 100644
@@ -18,7 +18,6 @@
 
 #include "common.h"
 #include "gpmc-smc91x.h"
-#include <plat/usb.h>
 
 #include <mach/board-zoom.h>
 
arch/arm/mach-omap2/board-4430sdp.c +0 -1
index 3669c12..5700fc5 100644
@@ -34,7 +34,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 #include <plat/mmc.h>
 #include "omap4-keypad.h"
 #include <video/omapdss.h>
arch/arm/mach-omap2/board-am3517crane.c +0 -1
index 318fead..603503c 100644
@@ -26,7 +26,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 
 #include "am35xx-emac.h"
 #include "mux.h"
arch/arm/mach-omap2/board-am3517evm.c +0 -1
index e162897..0dbeb77 100644
@@ -33,7 +33,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 #include <video/omapdss.h>
 #include <video/omap-panel-generic-dpi.h>
 #include <video/omap-panel-tfp410.h>
arch/arm/mach-omap2/board-cm-t35.c +0 -1
index 376d26e..435c7be 100644
@@ -41,7 +41,6 @@
 #include "common.h"
 #include <linux/platform_data/mtd-nand-omap2.h>
 #include <plat/gpmc.h>
-#include <plat/usb.h>
 #include <video/omapdss.h>
 #include <video/omap-panel-generic-dpi.h>
 #include <video/omap-panel-tfp410.h>
arch/arm/mach-omap2/board-cm-t3517.c +0 -1
index 59c0a45..db1e14c 100644
@@ -39,7 +39,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
 #include <plat/gpmc.h>
 
arch/arm/mach-omap2/board-devkit8000.c +0 -1
index 1fd161e..8df2720 100644
@@ -41,7 +41,6 @@
 #include "common.h"
 #include <plat/gpmc.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
-#include <plat/usb.h>
 #include <video/omapdss.h>
 #include <video/omap-panel-generic-dpi.h>
 #include <video/omap-panel-tfp410.h>
arch/arm/mach-omap2/board-igep0020.c +0 -1
index 48d5e41..62da89f 100644
@@ -31,7 +31,6 @@
 
 #include "common.h"
 #include <plat/gpmc.h>
-#include <plat/usb.h>
 
 #include <video/omapdss.h>
 #include <video/omap-panel-tfp410.h>
arch/arm/mach-omap2/board-ldp.c +0 -1
index ee8c3cf..8d9406b 100644
@@ -37,7 +37,6 @@
 #include "common.h"
 #include <plat/gpmc.h>
 #include <mach/board-zoom.h>
-#include <plat/usb.h>
 #include "gpmc-smsc911x.h"
 
 #include <video/omapdss.h>
arch/arm/mach-omap2/board-omap3beagle.c +0 -1
index 388c431..33a5f58 100644
@@ -43,7 +43,6 @@
 #include <video/omap-panel-tfp410.h>
 #include <plat/gpmc.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
-#include <plat/usb.h>
 #include <plat/omap_device.h>
 
 #include "mux.h"
arch/arm/mach-omap2/board-omap3evm.c +0 -1
index b9b776b..6e7e69b 100644
@@ -45,7 +45,6 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <plat/usb.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
 #include "common.h"
 #include <linux/platform_data/spi-omap2-mcspi.h>
arch/arm/mach-omap2/board-omap3logic.c +0 -1
index 7bd8253..a0d8fe1 100644
@@ -37,7 +37,6 @@
 #include "gpmc-smsc911x.h"
 #include <plat/gpmc.h>
 #include <plat/sdrc.h>
-#include <plat/usb.h>
 
 #include "common.h"
 #include "mux.h"
arch/arm/mach-omap2/board-omap3pandora.c +0 -1
index 00a1f4a..f2be51b 100644
@@ -42,7 +42,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 #include <video/omapdss.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
 
arch/arm/mach-omap2/board-omap3stalker.c +0 -1
index 731235e..4343fb6 100644
@@ -42,7 +42,6 @@
 #include "common.h"
 #include <plat/gpmc.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
-#include <plat/usb.h>
 #include <video/omapdss.h>
 #include <video/omap-panel-generic-dpi.h>
 #include <video/omap-panel-tfp410.h>
arch/arm/mach-omap2/board-omap3touchbook.c +0 -1
index 944ffc4..c26c958 100644
@@ -46,7 +46,6 @@
 #include "common.h"
 #include <plat/gpmc.h>
 #include <linux/platform_data/mtd-nand-omap2.h>
-#include <plat/usb.h>
 
 #include "mux.h"
 #include "hsmmc.h"
arch/arm/mach-omap2/board-omap4panda.c +0 -1
index bfcd397..74e39bb 100644
@@ -39,7 +39,6 @@
 #include <video/omapdss.h>
 
 #include "common.h"
-#include <plat/usb.h>
 #include <plat/mmc.h>
 #include <video/omap-panel-tfp410.h>
 
arch/arm/mach-omap2/board-overo.c +0 -1
index b700685..0eed6da 100644
@@ -50,7 +50,6 @@
 #include <video/omap-panel-generic-dpi.h>
 #include <video/omap-panel-tfp410.h>
 #include <plat/gpmc.h>
-#include <plat/usb.h>
 
 #include "mux.h"
 #include "sdram-micron-mt46h32m32lf-6.h"
arch/arm/mach-omap2/board-rm680.c +0 -1
index 45997bf..d55a983 100644
@@ -24,7 +24,6 @@
 
 #include <plat/i2c.h>
 #include <plat/mmc.h>
-#include <plat/usb.h>
 #include <plat/gpmc.h>
 #include "common.h"
 #include <plat/serial.h>
arch/arm/mach-omap2/board-rx51.c +0 -1
index 7bbb05d..8c4d27e 100644
@@ -26,7 +26,6 @@
 #include "common.h"
 #include <plat/dma.h>
 #include <plat/gpmc.h>
-#include <plat/usb.h>
 
 #include "mux.h"
 #include "pm.h"
arch/arm/mach-omap2/board-ti8168evm.c +0 -1
index c4f8833..4977c77 100644
@@ -20,7 +20,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 
 static struct omap_musb_board_data musb_board_data = {
 	.set_phy_power	= ti81xx_musb_phy_power,
arch/arm/mach-omap2/board-zoom-peripherals.c +0 -1
index c166fe1..ce923b7 100644
@@ -26,7 +26,6 @@
 #include <asm/mach/map.h>
 
 #include "common.h"
-#include <plat/usb.h>
 
 #include <mach/board-zoom.h>
 
arch/arm/mach-omap2/board-zoom.c +0 -1
index 4994438..6e1afae 100644
@@ -22,7 +22,6 @@
 #include <asm/mach/arch.h>
 
 #include "common.h"
-#include <plat/usb.h>
 
 #include <mach/board-zoom.h>
 
arch/arm/mach-omap2/common.h +2 -0
index 7045e4d..fa2f4c9 100644
@@ -36,6 +36,8 @@
 #include <plat/serial.h>
 #include <plat/common.h>
 
+#include "usb.h"
+
 #define OMAP_INTC_START		NR_IRQS
 
 #ifdef CONFIG_SOC_OMAP2420
arch/arm/mach-omap2/omap_phy_internal.c +2 -2
index d992db8..4d76a3c 100644
@@ -27,11 +27,11 @@
 #include <linux/io.h>
 #include <linux/err.h>
 #include <linux/usb.h>
-
-#include <plat/usb.h>
+#include <linux/usb/musb.h>
 
 #include "soc.h"
 #include "control.h"
+#include "usb.h"
 
 void am35x_musb_reset(void)
 {
arch/arm/mach-omap2/twl-common.c +0 -1
index 635e109..1131d47 100644
@@ -27,7 +27,6 @@
 #include <linux/regulator/fixed.h>
 
 #include <plat/i2c.h>
-#include <plat/usb.h>
 
 #include "soc.h"
 #include "twl-common.h"
arch/arm/mach-omap2/usb-host.c +1 -1
index 3c43449..b1cf8c8 100644
@@ -25,10 +25,10 @@
 
 #include <asm/io.h>
 
-#include <plat/usb.h>
 #include <plat/omap_device.h>
 
 #include "mux.h"
+#include "usb.h"
 
 #ifdef CONFIG_MFD_OMAP_USB_HOST
 
arch/arm/mach-omap2/usb-musb.c +1 -1
index 51da21c..faf473f 100644
@@ -25,12 +25,12 @@
 #include <linux/io.h>
 #include <linux/usb/musb.h>
 
-#include <plat/usb.h>
 #include <plat/omap_device.h>
 
 #include "am35xx.h"
 
 #include "mux.h"
+#include "usb.h"
 
 static struct musb_hdrc_config musb_config = {
 	.multipoint	= 1,
arch/arm/mach-omap2/usb.h new file +82 -0
new file mode 100644
index 0000000..b2c4ff1
@@ -0,0 +1,82 @@
+#include <plat/usb.h>
+
+/* AM35x */
+/* USB 2.0 PHY Control */
+#define CONF2_PHY_GPIOMODE	(1 << 23)
+#define CONF2_OTGMODE		(3 << 14)
+#define CONF2_NO_OVERRIDE	(0 << 14)
+#define CONF2_FORCE_HOST	(1 << 14)
+#define CONF2_FORCE_DEVICE	(2 << 14)
+#define CONF2_FORCE_HOST_VBUS_LOW (3 << 14)
+#define CONF2_SESENDEN		(1 << 13)
+#define CONF2_VBDTCTEN		(1 << 12)
+#define CONF2_REFFREQ_24MHZ	(2 << 8)
+#define CONF2_REFFREQ_26MHZ	(7 << 8)
+#define CONF2_REFFREQ_13MHZ	(6 << 8)
+#define CONF2_REFFREQ		(0xf << 8)
+#define CONF2_PHYCLKGD		(1 << 7)
+#define CONF2_VBUSSENSE		(1 << 6)
+#define CONF2_PHY_PLLON		(1 << 5)
+#define CONF2_RESET		(1 << 4)
+#define CONF2_PHYPWRDN		(1 << 3)
+#define CONF2_OTGPWRDN		(1 << 2)
+#define CONF2_DATPOL		(1 << 1)
+
+/* TI81XX specific definitions */
+#define USBCTRL0	0x620
+#define USBSTAT0	0x624
+
+/* TI816X PHY controls bits */
+#define TI816X_USBPHY0_NORMAL_MODE	(1 << 0)
+#define TI816X_USBPHY_REFCLK_OSC	(1 << 8)
+
+/* TI814X PHY controls bits */
+#define USBPHY_CM_PWRDN		(1 << 0)
+#define USBPHY_OTG_PWRDN	(1 << 1)
+#define USBPHY_CHGDET_DIS	(1 << 2)
+#define USBPHY_CHGDET_RSTRT	(1 << 3)
+#define USBPHY_SRCONDM		(1 << 4)
+#define USBPHY_SINKONDP		(1 << 5)
+#define USBPHY_CHGISINK_EN	(1 << 6)
+#define USBPHY_CHGVSRC_EN	(1 << 7)
+#define USBPHY_DMPULLUP		(1 << 8)
+#define USBPHY_DPPULLUP		(1 << 9)
+#define USBPHY_CDET_EXTCTL	(1 << 10)
+#define USBPHY_GPIO_MODE	(1 << 12)
+#define USBPHY_DPOPBUFCTL	(1 << 13)
+#define USBPHY_DMOPBUFCTL	(1 << 14)
+#define USBPHY_DPINPUT		(1 << 15)
+#define USBPHY_DMINPUT		(1 << 16)
+#define USBPHY_DPGPIO_PD	(1 << 17)
+#define USBPHY_DMGPIO_PD	(1 << 18)
+#define USBPHY_OTGVDET_EN	(1 << 19)
+#define USBPHY_OTGSESSEND_EN	(1 << 20)
+#define USBPHY_DATA_POLARITY	(1 << 23)
+
+struct usbhs_omap_board_data {
+	enum usbhs_omap_port_mode	port_mode[OMAP3_HS_USB_PORTS];
+
+	/* have to be valid if phy_reset is true and portx is in phy mode */
+	int	reset_gpio_port[OMAP3_HS_USB_PORTS];
+
+	/* Set this to true for ES2.x silicon */
+	unsigned			es2_compatibility:1;
+
+	unsigned			phy_reset:1;
+
+	/*
+	 * Regulators for USB PHYs.
+	 * Each PHY can have a separate regulator.
+	 */
+	struct regulator		*regulator[OMAP3_HS_USB_PORTS];
+};
+
+extern void usb_musb_init(struct omap_musb_board_data *board_data);
+extern void usbhs_init(const struct usbhs_omap_board_data *pdata);
+
+extern void am35x_musb_reset(void);
+extern void am35x_musb_phy_power(u8 on);
+extern void am35x_musb_clear_irq(void);
+extern void am35x_set_mode(u8 musb_mode);
+extern void ti81xx_musb_phy_power(u8 on);
+
arch/arm/plat-omap/include/plat/usb.h +0 -106
index 87ee140..1dd6522 100644
@@ -26,24 +26,6 @@ enum usbhs_omap_port_mode {
 	OMAP_OHCI_PORT_MODE_TLL_2PIN_DPDM
 };
 
-struct usbhs_omap_board_data {
-	enum usbhs_omap_port_mode	port_mode[OMAP3_HS_USB_PORTS];
-
-	/* have to be valid if phy_reset is true and portx is in phy mode */
-	int	reset_gpio_port[OMAP3_HS_USB_PORTS];
-
-	/* Set this to true for ES2.x silicon */
-	unsigned			es2_compatibility:1;
-
-	unsigned			phy_reset:1;
-
-	/*
-	 * Regulators for USB PHYs.
-	 * Each PHY can have a separate regulator.
-	 */
-	struct regulator		*regulator[OMAP3_HS_USB_PORTS];
-};
-
 #ifdef CONFIG_ARCH_OMAP2PLUS
 
 struct ehci_hcd_omap_platform_data {
@@ -83,97 +65,9 @@ struct omap_musb_board_data {
 
 enum musb_interface    {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI};
 
-extern void usb_musb_init(struct omap_musb_board_data *board_data);
-
-extern void usbhs_init(const struct usbhs_omap_board_data *pdata);
 extern int omap_tll_enable(void);
 extern int omap_tll_disable(void);
 
-extern int omap4430_phy_power(struct device *dev, int ID, int on);
-extern int omap4430_phy_set_clk(struct device *dev, int on);
-extern int omap4430_phy_init(struct device *dev);
-extern int omap4430_phy_exit(struct device *dev);
-extern int omap4430_phy_suspend(struct device *dev, int suspend);
-
-#endif
-
-extern void am35x_musb_reset(void);
-extern void am35x_musb_phy_power(u8 on);
-extern void am35x_musb_clear_irq(void);
-extern void am35x_set_mode(u8 musb_mode);
-extern void ti81xx_musb_phy_power(u8 on);
-
-/* AM35x */
-/* USB 2.0 PHY Control */
-#define CONF2_PHY_GPIOMODE	(1 << 23)
-#define CONF2_OTGMODE		(3 << 14)
-#define CONF2_NO_OVERRIDE	(0 << 14)
-#define CONF2_FORCE_HOST	(1 << 14)
-#define CONF2_FORCE_DEVICE	(2 << 14)
-#define CONF2_FORCE_HOST_VBUS_LOW (3 << 14)
-#define CONF2_SESENDEN		(1 << 13)
-#define CONF2_VBDTCTEN		(1 << 12)
-#define CONF2_REFFREQ_24MHZ	(2 << 8)
-#define CONF2_REFFREQ_26MHZ	(7 << 8)
-#define CONF2_REFFREQ_13MHZ	(6 << 8)
-#define CONF2_REFFREQ		(0xf << 8)
-#define CONF2_PHYCLKGD		(1 << 7)
-#define CONF2_VBUSSENSE		(1 << 6)
-#define CONF2_PHY_PLLON		(1 << 5)
-#define CONF2_RESET		(1 << 4)
-#define CONF2_PHYPWRDN		(1 << 3)
-#define CONF2_OTGPWRDN		(1 << 2)
-#define CONF2_DATPOL		(1 << 1)
-
-/* TI81XX specific definitions */
-#define USBCTRL0	0x620
-#define USBSTAT0	0x624
-
-/* TI816X PHY controls bits */
-#define TI816X_USBPHY0_NORMAL_MODE	(1 << 0)
-#define TI816X_USBPHY_REFCLK_OSC	(1 << 8)
-
-/* TI814X PHY controls bits */
-#define USBPHY_CM_PWRDN		(1 << 0)
-#define USBPHY_OTG_PWRDN	(1 << 1)
-#define USBPHY_CHGDET_DIS	(1 << 2)
-#define USBPHY_CHGDET_RSTRT	(1 << 3)
-#define USBPHY_SRCONDM		(1 << 4)
-#define USBPHY_SINKONDP		(1 << 5)
-#define USBPHY_CHGISINK_EN	(1 << 6)
-#define USBPHY_CHGVSRC_EN	(1 << 7)
-#define USBPHY_DMPULLUP		(1 << 8)
-#define USBPHY_DPPULLUP		(1 << 9)
-#define USBPHY_CDET_EXTCTL	(1 << 10)
-#define USBPHY_GPIO_MODE	(1 << 12)
-#define USBPHY_DPOPBUFCTL	(1 << 13)
-#define USBPHY_DMOPBUFCTL	(1 << 14)
-#define USBPHY_DPINPUT		(1 << 15)
-#define USBPHY_DMINPUT		(1 << 16)
-#define USBPHY_DPGPIO_PD	(1 << 17)
-#define USBPHY_DMGPIO_PD	(1 << 18)
-#define USBPHY_OTGVDET_EN	(1 << 19)
-#define USBPHY_OTGSESSEND_EN	(1 << 20)
-#define USBPHY_DATA_POLARITY	(1 << 23)
-
-#if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_USB)
-u32 omap1_usb0_init(unsigned nwires, unsigned is_device);
-u32 omap1_usb1_init(unsigned nwires);
-u32 omap1_usb2_init(unsigned nwires, unsigned alt_pingroup);
-#else
-static inline u32 omap1_usb0_init(unsigned nwires, unsigned is_device)
-{
-	return 0;
-}
-static inline u32 omap1_usb1_init(unsigned nwires)
-{
-	return 0;
-
-}
-static inline u32 omap1_usb2_init(unsigned nwires, unsigned alt_pingroup)
-{
-	return 0;
-}
 #endif
 
 #endif	/* __ASM_ARCH_OMAP_USB_H */
Signature · 8 lines
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121019/8ba85a4b/attachment.sig>
author maintainer
#3 lore raw

PATCH 1/2 ARM: OMAP2+: Introduce local usb.h

Quoted 10 lines · Felipe Balbi
Quoted 7 lines · Tony Lindgren

Let's move what we can from plat/usb.h to the local usb.h for ARM common zImage support.

This is needed so we can remove plat/usb.h for ARM common zImage support.

Cc Felipe Balbi <[email protected]>

Thanks, I've now pushed these two patches on v3.7-rc1 to omap-for-v3.8/cleanup-headers-usb branch.

Greg and Samuel, in case you need to, it's OK to merge the branch above now that plat/usb.h is moved.

Regards,

Tony

author maintainer
#4 lore raw

PATCH 2/2 ARM: OMAP: move OMAP USB platform data to <linux/platform_data/omap-usb.h>

In reply to Tony Lindgren

From: Felipe Balbi <[email protected]>

In order to make single zImage work for ARM architecture, we need to make sure we don't depend on private headers.

Move USB platform_data to <linux/platform_data/omap-usb.h> and add a minimal drivers/mfd/usb-omap.h.

Cc Samuel Ortiz <[email protected]>
Cc Alan Stern <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Partha Basak <[email protected]>
Cc Keshava Munegowda <[email protected]>
Cc linux-usb at vger.kernel.org
[tony at atomide.com: updated for local mfd/usb-omap.h]
---
 arch/arm/mach-omap2/board-4430sdp.c    |    1 +
 arch/arm/mach-omap2/board-am3517evm.c  |    1 +
 arch/arm/mach-omap2/board-omap3evm.c   |    1 +
 arch/arm/mach-omap2/board-omap4panda.c |    1 +
 arch/arm/mach-omap2/board-rx51.c       |    1 +
 arch/arm/mach-omap2/board-ti8168evm.c  |    2 +
 arch/arm/mach-omap2/usb-tusb6010.c     |    1 +
 arch/arm/mach-omap2/usb.h              |    2 +
 drivers/mfd/omap-usb-host.c            |    5 +++
 drivers/mfd/omap-usb-tll.c             |    2 +
 drivers/mfd/omap-usb.h                 |    2 +
 drivers/usb/host/ehci-omap.c           |    3 +-
 drivers/usb/host/ohci-omap3.c          |    1 -
 drivers/usb/musb/am35x.c               |    3 +-
 drivers/usb/musb/musb_dsps.c           |    3 +-
 drivers/usb/musb/omap2430.h            |    2 +
 include/linux/platform_data/usb-omap.h |   47 ++++++++++++++++++--------------
 17 files changed, 48 insertions(+), 30 deletions(-)
 create mode 100644 drivers/mfd/omap-usb.h
 rename arch/arm/plat-omap/include/plat/usb.h => include/linux/platform_data/usb-omap.h (56%)
arch/arm/mach-omap2/board-4430sdp.c +1 -0
index 5700fc5..52534ba 100644
@@ -27,6 +27,7 @@
 #include <linux/leds.h>
 #include <linux/leds_pwm.h>
 #include <linux/platform_data/omap4-keypad.h>
+#include <linux/usb/musb.h>
 
 #include <asm/hardware/gic.h>
 #include <asm/mach-types.h>
arch/arm/mach-omap2/board-am3517evm.c +1 -0
index 0dbeb77..96d6c5a 100644
@@ -25,6 +25,7 @@
 #include <linux/can/platform/ti_hecc.h>
 #include <linux/davinci_emac.h>
 #include <linux/mmc/host.h>
+#include <linux/usb/musb.h>
 #include <linux/platform_data/gpio-omap.h>
 
 #include "am35xx.h"
arch/arm/mach-omap2/board-omap3evm.c +1 -0
index 6e7e69b..a22a5b6 100644
@@ -32,6 +32,7 @@
 #include <linux/spi/ads7846.h>
 #include <linux/i2c/twl.h>
 #include <linux/usb/otg.h>
+#include <linux/usb/musb.h>
 #include <linux/usb/nop-usb-xceiv.h>
 #include <linux/smsc911x.h>
 
arch/arm/mach-omap2/board-omap4panda.c +1 -0
index 74e39bb..3f0b92a 100644
@@ -29,6 +29,7 @@
 #include <linux/regulator/machine.h>
 #include <linux/regulator/fixed.h>
 #include <linux/ti_wilink_st.h>
+#include <linux/usb/musb.h>
 #include <linux/wl12xx.h>
 #include <linux/platform_data/omap-abe-twl6040.h>
 
arch/arm/mach-omap2/board-rx51.c +1 -0
index 8c4d27e..c2f8f6c 100644
@@ -17,6 +17,7 @@
 #include <linux/io.h>
 #include <linux/gpio.h>
 #include <linux/leds.h>
+#include <linux/usb/musb.h>
 #include <linux/platform_data/spi-omap2-mcspi.h>
 
 #include <asm/mach-types.h>
arch/arm/mach-omap2/board-ti8168evm.c +2 -0
index 4977c77..5e672c2 100644
@@ -14,6 +14,8 @@
  */
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/platform_device.h>
+#include <linux/usb/musb.h>
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
arch/arm/mach-omap2/usb-tusb6010.c +1 -0
index 805bea6..5e24289 100644
@@ -15,6 +15,7 @@
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
 #include <linux/export.h>
+#include <linux/platform_data/usb-omap.h>
 
 #include <linux/usb/musb.h>
 
arch/arm/mach-omap2/usb.h +1 -1
index b2c4ff1..9b986ea 100644
@@ -1,4 +1,4 @@
-#include <plat/usb.h>
+#include <linux/platform_data/usb-omap.h>
 
 /* AM35x */
 /* USB 2.0 PHY Control */
drivers/mfd/omap-usb-host.c +4 -1
index 23cec57..cebfe0a 100644
@@ -26,9 +26,12 @@
 #include <linux/spinlock.h>
 #include <linux/gpio.h>
 #include <plat/cpu.h>
-#include <plat/usb.h>
+#include <linux/platform_device.h>
+#include <linux/platform_data/usb-omap.h>
 #include <linux/pm_runtime.h>
 
+#include "omap-usb.h"
+
 #define USBHS_DRIVER_NAME	"usbhs_omap"
 #define OMAP_EHCI_DEVICE	"ehci-omap"
 #define OMAP_OHCI_DEVICE	"ohci-omap3"
drivers/mfd/omap-usb-tll.c +1 -1
index 4b7757b..0db0dfa 100644
@@ -25,8 +25,8 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/err.h>
-#include <plat/usb.h>
 #include <linux/pm_runtime.h>
+#include <linux/platform_data/usb-omap.h>
 
 #define USBTLL_DRIVER_NAME	"usbhs_tll"
 
drivers/mfd/omap-usb.h new file +2 -0
new file mode 100644
index 0000000..972aa96
@@ -0,0 +1,2 @@
+extern int omap_tll_enable(void);
+extern int omap_tll_disable(void);
drivers/usb/host/ehci-omap.c +2 -1
index d7fe287..0d5ac36 100644
@@ -39,12 +39,13 @@
 #include <linux/platform_device.h>
 #include <linux/slab.h>
 #include <linux/usb/ulpi.h>
-#include <plat/usb.h>
 #include <linux/regulator/consumer.h>
 #include <linux/pm_runtime.h>
 #include <linux/gpio.h>
 #include <linux/clk.h>
 
+#include <linux/platform_data/usb-omap.h>
+
 /* EHCI Register Set */
 #define EHCI_INSNREG04					(0xA0)
 #define EHCI_INSNREG04_DISABLE_UNSUSPEND		(1 << 5)
drivers/usb/host/ohci-omap3.c +0 -1
index 1b8133b..bd7803d 100644
@@ -30,7 +30,6 @@
  */
 
 #include <linux/platform_device.h>
-#include <plat/usb.h>
 #include <linux/pm_runtime.h>
 
 /*-------------------------------------------------------------------------*/
drivers/usb/musb/am35x.c +1 -2
index 457f25e..0605fe3 100644
@@ -34,8 +34,7 @@
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
 #include <linux/usb/nop-usb-xceiv.h>
-
-#include <plat/usb.h>
+#include <linux/platform_data/usb-omap.h>
 
 #include "musb_core.h"
 
drivers/usb/musb/musb_dsps.c +1 -2
index 444346e..a67af21 100644
@@ -38,13 +38,12 @@
 #include <linux/pm_runtime.h>
 #include <linux/module.h>
 #include <linux/usb/nop-usb-xceiv.h>
+#include <linux/platform_data/usb-omap.h>
 
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_address.h>
 
-#include <plat/usb.h>
-
 #include "musb_core.h"
 
 #ifdef CONFIG_OF
drivers/usb/musb/omap2430.h +1 -1
index b85f397..8ef6566 100644
@@ -10,7 +10,7 @@
 #ifndef __MUSB_OMAP243X_H__
 #define __MUSB_OMAP243X_H__
 
-#include <plat/usb.h>
+#include <linux/platform_data/usb-omap.h>
 
 /*
  * OMAP2430-specific definitions
include/linux/platform_data/usb-omap.h renamed from arch/arm/plat-omap/include/plat/usb.h +27 -20

65 lines not on this page · raw message