mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: rpurdie@rpsys.net, lenz@cs.wisc.edu,
	kernel list <linux-kernel@vger.kernel.org>,
	rmk@arm.linux.org.uk
Subject: [patch] Make sharp zaurus sl-5500 use ucb1x00 generic infrastructure
Date: Thu, 11 Aug 2005 14:56:09 +0200	[thread overview]
Message-ID: <20050811125609.GA3685@elf.ucw.cz> (raw)

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

                 reply	other threads:[~2005-08-11 12:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050811125609.GA3685@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=lenz@cs.wisc.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    --cc=rpurdie@rpsys.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®