Commit 39ef6340 authored by Shawn Guo's avatar Shawn Guo

ARM: imx: include ulpi.h rather than mach/ulpi.h

Rename mach-imx/include/mach/ulpi.h to mach-imx/ulpi.h, and update
users to include ulpi.h rather than mach/ulpi.h.
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
parent c045e3f1
...@@ -48,12 +48,11 @@ ...@@ -48,12 +48,11 @@
#include <asm/memory.h> #include <asm/memory.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/ulpi.h>
#include "common.h" #include "common.h"
#include "devices-imx31.h" #include "devices-imx31.h"
#include "crmregs-imx3.h" #include "crmregs-imx3.h"
#include "iomux-mx3.h" #include "iomux-mx3.h"
#include "ulpi.h"
static int armadillo5x0_pins[] = { static int armadillo5x0_pins[] = {
/* UART1 */ /* UART1 */
......
...@@ -35,12 +35,12 @@ ...@@ -35,12 +35,12 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include "common.h" #include "common.h"
#include "devices-imx27.h" #include "devices-imx27.h"
#include "eukrea-baseboards.h" #include "eukrea-baseboards.h"
#include "iomux-mx27.h" #include "iomux-mx27.h"
#include "ulpi.h"
static const int eukrea_cpuimx27_pins[] __initconst = { static const int eukrea_cpuimx27_pins[] __initconst = {
/* UART1 */ /* UART1 */
......
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/time.h> #include <asm/mach/time.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include "3ds_debugboard.h" #include "3ds_debugboard.h"
#include "common.h" #include "common.h"
#include "devices-imx27.h" #include "devices-imx27.h"
#include "iomux-mx27.h" #include "iomux-mx27.h"
#include "ulpi.h"
#define SD1_EN_GPIO IMX_GPIO_NR(2, 25) #define SD1_EN_GPIO IMX_GPIO_NR(2, 25)
#define OTG_PHY_RESET_GPIO IMX_GPIO_NR(2, 23) #define OTG_PHY_RESET_GPIO IMX_GPIO_NR(2, 23)
......
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
#include <asm/memory.h> #include <asm/memory.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <asm/memblock.h> #include <asm/memblock.h>
#include <mach/ulpi.h>
#include "3ds_debugboard.h" #include "3ds_debugboard.h"
#include "common.h" #include "common.h"
#include "devices-imx31.h" #include "devices-imx31.h"
#include "iomux-mx3.h" #include "iomux-mx3.h"
#include "ulpi.h"
static int mx31_3ds_pins[] = { static int mx31_3ds_pins[] = {
/* UART1 */ /* UART1 */
......
...@@ -43,12 +43,12 @@ ...@@ -43,12 +43,12 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include "board-mx31lilly.h" #include "board-mx31lilly.h"
#include "common.h" #include "common.h"
#include "devices-imx31.h" #include "devices-imx31.h"
#include "iomux-mx3.h" #include "iomux-mx3.h"
#include "ulpi.h"
/* /*
* This file contains module-specific initialization routines for LILLY-1131. * This file contains module-specific initialization routines for LILLY-1131.
......
...@@ -40,12 +40,12 @@ ...@@ -40,12 +40,12 @@
#include <asm/setup.h> #include <asm/setup.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include "board-mx31lite.h" #include "board-mx31lite.h"
#include "common.h" #include "common.h"
#include "devices-imx31.h" #include "devices-imx31.h"
#include "iomux-mx3.h" #include "iomux-mx3.h"
#include "ulpi.h"
/* /*
* This file contains the module-specific initialization routines. * This file contains the module-specific initialization routines.
......
...@@ -43,13 +43,13 @@ ...@@ -43,13 +43,13 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <asm/memblock.h> #include <asm/memblock.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include <linux/platform_data/asoc-imx-ssi.h> #include <linux/platform_data/asoc-imx-ssi.h>
#include "board-mx31moboard.h" #include "board-mx31moboard.h"
#include "common.h" #include "common.h"
#include "devices-imx31.h" #include "devices-imx31.h"
#include "iomux-mx3.h" #include "iomux-mx3.h"
#include "ulpi.h"
static unsigned int moboard_pins[] = { static unsigned int moboard_pins[] = {
/* UART0 */ /* UART0 */
......
...@@ -34,11 +34,11 @@ ...@@ -34,11 +34,11 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <asm/mach/time.h> #include <asm/mach/time.h>
#include <mach/ulpi.h>
#include "common.h" #include "common.h"
#include "devices-imx27.h" #include "devices-imx27.h"
#include "iomux-mx27.h" #include "iomux-mx27.h"
#include "ulpi.h"
#define OTG_PHY_CS_GPIO (GPIO_PORTB + 23) #define OTG_PHY_CS_GPIO (GPIO_PORTB + 23)
#define USBH2_PHY_CS_GPIO (GPIO_PORTB + 24) #define USBH2_PHY_CS_GPIO (GPIO_PORTB + 24)
......
...@@ -43,12 +43,12 @@ ...@@ -43,12 +43,12 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <asm/memblock.h> #include <asm/memblock.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include "common.h" #include "common.h"
#include "devices-imx31.h" #include "devices-imx31.h"
#include "iomux-mx3.h" #include "iomux-mx3.h"
#include "pcm037.h" #include "pcm037.h"
#include "ulpi.h"
static enum pcm037_board_variant pcm037_instance = PCM037_PCM970; static enum pcm037_board_variant pcm037_instance = PCM037_PCM970;
......
...@@ -34,12 +34,12 @@ ...@@ -34,12 +34,12 @@
#include <asm/mach/time.h> #include <asm/mach/time.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include "board-pcm038.h" #include "board-pcm038.h"
#include "common.h" #include "common.h"
#include "devices-imx27.h" #include "devices-imx27.h"
#include "iomux-mx27.h" #include "iomux-mx27.h"
#include "ulpi.h"
static const int pcm038_pins[] __initconst = { static const int pcm038_pins[] __initconst = {
/* UART1 */ /* UART1 */
......
...@@ -34,11 +34,11 @@ ...@@ -34,11 +34,11 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include "common.h" #include "common.h"
#include "devices-imx35.h" #include "devices-imx35.h"
#include "iomux-mx35.h" #include "iomux-mx35.h"
#include "ulpi.h"
static const struct fb_videomode fb_modedb[] = { static const struct fb_videomode fb_modedb[] = {
{ {
......
...@@ -23,11 +23,11 @@ ...@@ -23,11 +23,11 @@
#include <linux/usb/otg.h> #include <linux/usb/otg.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include "common.h" #include "common.h"
#include "devices-imx31.h" #include "devices-imx31.h"
#include "iomux-mx3.h" #include "iomux-mx3.h"
#include "ulpi.h"
static unsigned int devboard_pins[] = { static unsigned int devboard_pins[] = {
/* UART1 */ /* UART1 */
......
...@@ -25,13 +25,13 @@ ...@@ -25,13 +25,13 @@
#include <linux/usb/otg.h> #include <linux/usb/otg.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include <media/soc_camera.h> #include <media/soc_camera.h>
#include "common.h" #include "common.h"
#include "devices-imx31.h" #include "devices-imx31.h"
#include "iomux-mx3.h" #include "iomux-mx3.h"
#include "ulpi.h"
static unsigned int marxbot_pins[] = { static unsigned int marxbot_pins[] = {
/* SDHC2 */ /* SDHC2 */
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <linux/usb/ulpi.h> #include <linux/usb/ulpi.h>
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/ulpi.h>
#include <media/soc_camera.h> #include <media/soc_camera.h>
...@@ -32,6 +31,7 @@ ...@@ -32,6 +31,7 @@
#include "common.h" #include "common.h"
#include "devices-imx31.h" #include "devices-imx31.h"
#include "iomux-mx3.h" #include "iomux-mx3.h"
#include "ulpi.h"
static unsigned int smartbot_pins[] = { static unsigned int smartbot_pins[] = {
/* UART1 */ /* UART1 */
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <linux/usb/otg.h> #include <linux/usb/otg.h>
#include <linux/usb/ulpi.h> #include <linux/usb/ulpi.h>
#include <mach/ulpi.h> #include "ulpi.h"
/* ULPIVIEW register bits */ /* ULPIVIEW register bits */
#define ULPIVW_WU (1 << 31) /* Wakeup */ #define ULPIVW_WU (1 << 31) /* Wakeup */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment