[RFC][PATCH 3/5] ARM: SAMSUNG: Adding IO mapping for OTG PHY.

p.paneri at samsung.com p.paneri at samsung.com
Tue Jun 21 03:03:45 EDT 2011


From: Praveen Paneri <p.paneri at samsung.com>

Adding virtual addresses for OTG PHY.

Signed-off-by: Praveen Paneri <p.paneri at samsung.com>
---
 arch/arm/mach-s5p64x0/cpu.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s5p64x0/cpu.c b/arch/arm/mach-s5p64x0/cpu.c
index a5c0095..8dc6f20 100644
--- a/arch/arm/mach-s5p64x0/cpu.c
+++ b/arch/arm/mach-s5p64x0/cpu.c
@@ -57,6 +57,11 @@ static struct map_desc s5p64x0_iodesc[] __initdata = {
 		.pfn		= __phys_to_pfn(S5P64X0_PA_VIC1),
 		.length		= SZ_16K,
 		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_USB_HSPHY,
+		.pfn		= __phys_to_pfn(S5P64X0_PA_USB_HSPHY),
+		.length		= SZ_1M,
+		.type		= MT_DEVICE,
 	},
 };
 
-- 
1.7.0.4




More information about the linux-arm-kernel mailing list