Skip to contentSkip to conversation

ARM: S3C24XX: Add support UART3 for S3C2443 and S3C2416

PATCH New Sangbeom Kim 1 participant 1 message Nov 17, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: S3C24XX: Add support UART3 for S3C2443 and S3C2416

From: Abhilash Kesavan <[email protected]>

Both S3C2443 and S3C2416 support 4 UART channels, this patch adds support for the missing uart channel.

---
 arch/arm/mach-s3c2416/mach-smdk2416.c |    7 +++++++
 arch/arm/mach-s3c2443/mach-smdk2443.c |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
arch/arm/mach-s3c2416/mach-smdk2416.c +7 -0
index 7fc3664..ce08704 100644
@@ -110,6 +110,13 @@ static struct s3c2410_uartcfg smdk2416_uartcfgs[] __initdata = {
 		.ucon	     = UCON,
 		.ulcon	     = ULCON | 0x50,
 		.ufcon	     = UFCON,
+	},
+	[3] = {
+		.hwport	     = 3,
+		.flags	     = 0,
+		.ucon	     = UCON,
+		.ulcon	     = ULCON,
+		.ufcon	     = UFCON,
 	}
 };
 
arch/arm/mach-s3c2443/mach-smdk2443.c +7 -0
index 4337f0a..0f131c1 100644
@@ -99,6 +99,13 @@ static struct s3c2410_uartcfg smdk2443_uartcfgs[] __initdata = {
 		.ucon	     = 0x3c5,
 		.ulcon	     = 0x43,
 		.ufcon	     = 0x51,
+	},
+	[3] = {
+		.hwport	     = 3,
+		.flags	     = 0,
+		.ucon	     = 0x3c5,
+		.ulcon	     = 0x03,
+		.ufcon	     = 0x51,
 	}
 };
 
Signature · 1 line
1.6.2.5