aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@org.rmk.(none)>2005-04-02 01:10:31 +0100
committerRussell King <rmk@flint.arm.linux.org.uk>2005-04-02 01:10:31 +0100
commit30f42668ce9be163611ff2b3c58aa64bb9193729 (patch)
tree1ad398fcf82bb59aabaa04bf637c73a62a34a9b0
parente379d235fd5af2f934bb81e6765ef6062de1a5b1 (diff)
downloadhistory-30f42668ce9be163611ff2b3c58aa64bb9193729.tar.gz
[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
-rw-r--r--arch/arm/mach-s3c2410/mach-rx3715.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/mach-rx3715.c b/arch/arm/mach-s3c2410/mach-rx3715.c
index 26e2d86cdd03c4..f8d3a9784e711b 100644
--- a/arch/arm/mach-s3c2410/mach-rx3715.c
+++ b/arch/arm/mach-s3c2410/mach-rx3715.c
@@ -54,6 +54,16 @@ static struct map_desc rx3715_iodesc[] __initdata = {
{ (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 @@ static struct s3c2410_uartcfg rx3715_uartcfgs[] = {
.ucon = 0x3c5,
.ulcon = 0x03,
.ufcon = 0x51,
+ .clocks = rx3715_serial_clocks,
+ .clocks_size = ARRAY_SIZE(rx3715_serial_clocks),
},
[1] = {
.hwport = 1,
@@ -68,6 +80,8 @@ static struct s3c2410_uartcfg rx3715_uartcfgs[] = {
.ucon = 0x3c5,
.ulcon = 0x03,
.ufcon = 0x00,
+ .clocks = rx3715_serial_clocks,
+ .clocks_size = ARRAY_SIZE(rx3715_serial_clocks),
},
/* IR port */
[2] = {
@@ -76,6 +90,8 @@ static struct s3c2410_uartcfg rx3715_uartcfgs[] = {
.ucon = 0x3c5,
.ulcon = 0x43,
.ufcon = 0x51,
+ .clocks = rx3715_serial_clocks,
+ .clocks_size = ARRAY_SIZE(rx3715_serial_clocks),
}
};