linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: joel@jms.id.au (Joel Stanley)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] [ARM] kirkwood: combine support for openrd base/client support
Date: Tue, 13 Oct 2009 01:16:46 +1030	[thread overview]
Message-ID: <ad9478410910120746g2ce82af1t71a84ea02e9eecb7@mail.gmail.com> (raw)
In-Reply-To: <200910120946.01628.dk-arm-linux@gmx.de>

Hello,

On Mon, Oct 12, 2009 at 18:16, Dieter Kiermaier <dk-arm-linux@gmx.de> wrote:
>> If you can point out where I should be looking, I will have a look and
>> if I can find it I will enable it.
>
> I'm sorry, but I haven't an openrd-client board :(
> Maybe someone else can help us?

I have tested Alexander's patch on my openrd-client board, applied to
Linus' tree.  It boots and networking works fine.

I also added calls to initialise i2c and pcie based on the patch by
Simon Kagstrom, and both devices appear to work.  The diff I added is
attached.

# i2cdetect -l
i2c-0	i2c       	mv64xxx_i2c adapter             	I2C adapter

# lspci -v
00:00.0 Memory controller: Marvell Technology Group Ltd. Device 6281 (rev 02)
	Subsystem: Marvell Technology Group Ltd. Device 11ab
	Flags: bus master, fast devsel, latency 0, IRQ 9
	Memory at <ignored> (64-bit, prefetchable)
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [60] Express Root Port (Slot-), MSI 00
	Capabilities: [100] Advanced Error Reporting

00:01.0 VGA compatible controller: XGI Technology Inc. (eXtreme
Graphics Innovation) Z11/Z11M (prog-if 00 [VGA controller])
	Flags: bus master, fast devsel, latency 0
	BIST result: 00
	Memory at e0000000 (32-bit, prefetchable) [size=64M]
	Memory at e4000000 (32-bit, non-prefetchable) [size=256K]
	I/O ports at f2000000 [size=128]
	[virtual] Expansion ROM at e4040000 [disabled] [size=64K]
	Capabilities: [40] Power Management version 2
	Capabilities: [a0] Express Endpoint, MSI 01
	Capabilities: [c0] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [100] Advanced Error Reporting

Joel

--

Author: Joel Stanley <joel@jms.id.au>
Date:   Tue Oct 13 00:02:04 2009 +1030

    Add pcie and i2c initalisation

diff --git a/arch/arm/mach-kirkwood/openrd-setup.c
b/arch/arm/mach-kirkwood/openrd-setup.c
index 6bdeeab..d5504e2 100644
--- a/arch/arm/mach-kirkwood/openrd-setup.c
+++ b/arch/arm/mach-kirkwood/openrd-setup.c
@@ -80,6 +80,10 @@ static void __init openrd_init(void)
 #endif
        kirkwood_sata_init(&openrd_sata_data);
        kirkwood_sdio_init(&openrd_mvsdio_data);
+
+       kirkwood_i2c_init();
+
+       kirkwood_pcie_init();
 }

 #ifdef CONFIG_MACH_OPENRD_BASE

  reply	other threads:[~2009-10-12 14:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-09 12:39 [PATCH] [ARM] kirkwood: combine support for openrd base/client support Alexander Clouter
2009-10-09 12:41 ` Alexander Clouter
2009-10-09 14:00 ` Dieter Kiermaier
2009-10-09 14:03   ` Dhaval Vasa
2009-10-09 14:03   ` Dhaval Vasa
2009-10-09 14:05   ` Alexander Clouter
2009-10-09 14:24     ` Dieter Kiermaier
2009-10-13  3:20     ` Nicolas Pitre
2009-10-13 14:28       ` [PATCH] [ARM] kirkwood: combine support for openrd base/client?support Alexander Clouter
2009-10-09 15:24   ` [PATCH] [ARM] kirkwood: combine support for openrd base/client support Alexander Clouter
2009-10-12  6:36     ` Dieter Kiermaier
2009-10-12  7:31       ` Alexander Clouter
2009-10-12  7:46         ` Dieter Kiermaier
2009-10-12 14:46           ` Joel Stanley [this message]
2009-10-13 14:41             ` [PATCH] [ARM] kirkwood: combine support for openrd base/client ?support Alexander Clouter

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=ad9478410910120746g2ce82af1t71a84ea02e9eecb7@mail.gmail.com \
    --to=joel@jms.id.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).