mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] Make sharp zaurus sl-5500 use ucb1x00 generic infrastructure
@ 2005-08-11 12:56 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2005-08-11 12:56 UTC (permalink / raw)
  To: rpurdie, lenz, kernel list, rmk

Make collie use ucb1x00 core.

Signed-off-by: Pavel Machek <pavel@suse.cz>

---
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-11 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-11 12:56 [patch] Make sharp zaurus sl-5500 use ucb1x00 generic infrastructure Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®