aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210
diff options
context:
space:
mode:
authorThomas Ryu <smilesr.ryu@samsung.com>2011-12-13 20:47:30 +0900
committerSimon Wilson <simonwilson@google.com>2012-01-11 18:34:41 -0800
commit9345ff5c125a0597bc9deb76ec784b883f616107 (patch)
tree377463300c992b912918867b8fc39a61ee251ae9 /arch/arm/mach-s5pv210
parentc8c609f0d82e86be9827faf1980b97dea15c529f (diff)
downloadkernel_samsung_aries-9345ff5c125a0597bc9deb76ec784b883f616107.zip
kernel_samsung_aries-9345ff5c125a0597bc9deb76ec784b883f616107.tar.gz
kernel_samsung_aries-9345ff5c125a0597bc9deb76ec784b883f616107.tar.bz2
ARM: S5PC11X: improve USB signal quality
Tunning of PHY0 Tune Register to improve physical characteristics. This improves the margin of USB eye diagram, which means the quality of USB signal is also improved. Signed-off-by: Thomas Ryu <smilesr.ryu@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rwxr-xr-xarch/arm/mach-s5pv210/mach-herring.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-s5pv210/mach-herring.c b/arch/arm/mach-s5pv210/mach-herring.c
index f605dcf..be33104 100755
--- a/arch/arm/mach-s5pv210/mach-herring.c
+++ b/arch/arm/mach-s5pv210/mach-herring.c
@@ -5977,9 +5977,8 @@ void otg_phy_init(void)
writel(readl(S3C_USBOTG_PHYTUNE) | (0x1<<20),
S3C_USBOTG_PHYTUNE);
- /* set DC level as 6 (6%) */
- writel((readl(S3C_USBOTG_PHYTUNE) & ~(0xf)) | (0x1<<2) | (0x1<<1),
- S3C_USBOTG_PHYTUNE);
+ /* set DC level as 0xf (24%) */
+ writel(readl(S3C_USBOTG_PHYTUNE) | 0xf, S3C_USBOTG_PHYTUNE);
}
EXPORT_SYMBOL(otg_phy_init);