ChangeSet 1.2224.7.2, 2005/04/01 23:10:31+01:00, [EMAIL PROTECTED](none)
[ARM PATCH] 2638/1: RX3715 - allow fclk as clock source
Patch from Ben Dooks
Since the RX3715 inits with fclk as the clock source,
and to allow the system to generate the baud-rates for
bluetooth control, this patch configures the platform
data for "fclk" as a clock source
Signed-off-by: Ben Dooks
Signed-off-by: Russell King
mach-rx3715.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+)
diff -Nru a/arch/arm/mach-s3c2410/mach-rx3715.c
b/arch/arm/mach-s3c2410/mach-rx3715.c
--- a/arch/arm/mach-s3c2410/mach-rx3715.c 2005-04-03 21:22:06 -07:00
+++ b/arch/arm/mach-s3c2410/mach-rx3715.c 2005-04-03 21:22:06 -07:00
@@ -54,6 +54,16 @@
{ (u32)S3C24XX_VA_ISA_BYTE, S3C2410_CS3, SZ_16M, MT_DEVICE },
};
+
+static struct s3c24xx_uart_clksrc rx3715_serial_clocks[] = {
+ [0] = {
+ .name = "fclk",
+ .divisor = 0,
+ .min_baud = 0,
+ .max_baud = 0,
+ }
+};
+
static struct s3c2410_uartcfg rx3715_uartcfgs[] = {
[0] = {
.hwport = 0,
@@ -61,6 +71,8 @@
.ucon = 0x3c5,
.ulcon = 0x03,
.ufcon = 0x51,
+ .clocks = rx3715_serial_clocks,
+ .clocks_size = ARRAY_SIZE(rx3715_serial_clocks),
},
[1] = {
.hwport = 1,
@@ -68,6 +80,8 @@
.ucon = 0x3c5,
.ulcon = 0x03,
.ufcon = 0x00,
+ .clocks = rx3715_serial_clocks,
+ .clocks_size = ARRAY_SIZE(rx3715_serial_clocks),
},
/* IR port */
[2] = {
@@ -76,6 +90,8 @@
.ucon = 0x3c5,
.ulcon = 0x43,
.ufcon = 0x51,
+ .clocks = rx3715_serial_clocks,
+ .clocks_size = ARRAY_SIZE(rx3715_serial_clocks),
}
};
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html