Skip to contentSkip to conversation

Make sharp zaurus sl-5500 use ucb1x00 generic infrastructure

PATCH New Pavel Machek 1 participant 1 message Aug 11, 2005

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

PATCH 1/1 Make sharp zaurus sl-5500 use ucb1x00 generic infrastructure

Make collie use ucb1x00 core.

---
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(-)
arch/arm/mach-sa1100/collie.c +6 -0
@@ -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();
 }
Signature · 1 line
if you have sharp zaurus hardware you don't need... you know my address