summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/setup-usb-phy.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2013-01-02 01:53:07 +0100
committerKukjin Kim <kgene.kim@samsung.com>2013-01-10 19:45:17 +0100
commitc48bcc2d681ac21e532114dcd96a6b9c4e72acb1 (patch)
tree73ff3e1720259ede3cec32ff9331bbff34d3e43a /arch/arm/mach-s5pv210/setup-usb-phy.c
parentARM: S5P64X0: move s5p64x0-clock.h into local directory (diff)
downloadlinux-c48bcc2d681ac21e532114dcd96a6b9c4e72acb1.tar.xz
linux-c48bcc2d681ac21e532114dcd96a6b9c4e72acb1.zip
ARM: S5PV210: move regs-sys.h into setup-usb-phy.c file
The <mach/regs-sys.h> can be moved into mach-s5pv210/setup-usb-phy.c file. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-s5pv210/setup-usb-phy.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-s5pv210/setup-usb-phy.c b/arch/arm/mach-s5pv210/setup-usb-phy.c
index be39cf4aa91b..356a0900af03 100644
--- a/arch/arm/mach-s5pv210/setup-usb-phy.c
+++ b/arch/arm/mach-s5pv210/setup-usb-phy.c
@@ -12,12 +12,17 @@
#include <linux/err.h>
#include <linux/io.h>
#include <linux/platform_device.h>
+
#include <mach/map.h>
-#include <mach/regs-sys.h>
+
#include <plat/cpu.h>
#include <plat/regs-usb-hsotg-phy.h>
#include <plat/usb-phy.h>
+#define S5PV210_USB_PHY_CON (S3C_VA_SYS + 0xE80C)
+#define S5PV210_USB_PHY0_EN (1 << 0)
+#define S5PV210_USB_PHY1_EN (1 << 1)
+
static int s5pv210_usb_otgphy_init(struct platform_device *pdev)
{
struct clk *xusbxti;