[patch] Make sharp zaurus sl-5500 use ucb1x00 generic infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make collie use ucb1x00 core.

Signed-off-by: Pavel Machek <[email protected]>

---
commit 4a7a0c6b2c3845ba652b7a27c6e65099aea53b27
tree 1e15e85e6fce3adaca5720f06544555fcb31f0f6
parent 5f1a0d9f2bef25e7620b37d02ad2c94875ea9908
author <pavel@amd.(none)> Thu, 11 Aug 2005 14:53:29 +0200
committer <pavel@amd.(none)> Thu, 11 Aug 2005 14:53:29 +0200

 arch/arm/mach-sa1100/collie.c     |    6 ++++++
 drivers/mfd/ucb1x00-core.c        |    1 +
 include/asm-arm/arch-sa1100/mcp.h |    2 ++
 3 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c
--- a/arch/arm/mach-sa1100/collie.c
+++ b/arch/arm/mach-sa1100/collie.c
@@ -40,6 +40,7 @@
 #include <asm/hardware/scoop.h>
 #include <asm/mach/sharpsl_param.h>
 #include <asm/hardware/locomo.h>
+#include <asm/arch/mcp.h>
 
 #include "generic.h"
 
@@ -66,6 +67,10 @@ struct platform_device colliescoop_devic
 	.resource	= collie_scoop_resources,
 };
 
+static struct mcp_plat_data collie_mcp_data = {
+	.mccr0          = MCCR0_ADM,
+	.sclk_rate      = 11981000,
+};
 
 #ifdef CONFIG_SHARP_LOCOMO
 /*
@@ -238,6 +243,7 @@ static void __init collie_init(void)
 
 	sa11x0_set_flash_data(&collie_flash_data, collie_flash_resources,
 			      ARRAY_SIZE(collie_flash_resources));
+	sa11x0_set_mcp_data(&collie_mcp_data);
 
 	sharpsl_save_param();
 }

-- 
if you have sharp zaurus hardware you don't need... you know my address
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux