linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.ml.walleij-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Mika Westerberg <mika.westerberg-X3B1VOXEql0@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	ryan-7Wk5F4Od5/oYd5yxfr4S2w@public.gmane.org,
	martinwguy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v6 1/2] spi: implemented driver for Cirrus EP93xx SPI controller
Date: Mon, 3 May 2010 15:18:09 +0200	[thread overview]
Message-ID: <o2l63386a3d1005030618q1914e04x471ce544c6be82dc@mail.gmail.com> (raw)
In-Reply-To: <20100503042123.GM26418-WfG2TfFPcQ9S6P4I59wummXnswh1EIUO@public.gmane.org>

2010/5/3 Mika Westerberg <mika.westerberg-X3B1VOXEql0@public.gmane.org>:

> Yeah. It looks pretty similar. Although there seems to be differences. Documentation
> of the controller can be found in:
>
>        http://www.cirrus.com/en/pubs/manual/EP93xx_Users_Guide_UM1.pdf
>
> It does not mention anything about AMBA PL022.

They have surely based the hardware on the PL022. A diff document would
surely be useful, can Cirrus answer that kind of questions for you?

Hm, it has to be *really* different to warrant a totally new driver
duplicate code is never fun...

>> Can you make a hexdump of the PrimeCell ID registers at offset
>> base+0xffe0..0xffff and post the contents?
>
> Here it is, you probably meant base + 0xfe0 .. 0xfff, right?
>
> [    2.410000] 0xc6070fe0: 0x0
> [    2.410000] 0xc6070fe4: 0x0
> [    2.410000] 0xc6070fe8: 0x0
> [    2.420000] 0xc6070fec: 0x0
> [    2.420000] 0xc6070ff0: 0x0
> [    2.420000] 0xc6070ff4: 0x0
> [    2.430000] 0xc6070ff8: 0x0
> [    2.430000] 0xc6070ffc: 0x0

Looks like it's been blanked out so atleast it is not identifying itself as
a PL022 anymore.

It could also be that PL022 and the Cirrus controller has some common
ancestor...

Yours,
Linus Walleij

------------------------------------------------------------------------------

  parent reply	other threads:[~2010-05-03 13:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-02 14:38 [PATCH v6 0/2] spi: driver for Cirrus EP93xx SPI controller Mika Westerberg
     [not found] ` <cover.1272805161.git.mika.westerberg-X3B1VOXEql0@public.gmane.org>
2010-05-02 14:38   ` [PATCH v6 1/2] spi: implemented " Mika Westerberg
2010-05-03  0:18     ` [spi-devel-general] " Linus Walleij
     [not found]       ` <h2r63386a3d1005021718k31125e4fz43a08025997b5c5c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-05-03  4:21         ` Mika Westerberg
     [not found]           ` <20100503042123.GM26418-WfG2TfFPcQ9S6P4I59wummXnswh1EIUO@public.gmane.org>
2010-05-03 13:18             ` Linus Walleij [this message]
2010-05-03 17:00         ` H Hartley Sweeten
     [not found]           ` <0D753D10438DA54287A00B0270842697636E9BA5D3-gaq956PjLg32KbjnnMDalRurcAul1UnsRrxOEX5GOmysTnJN9+BGXg@public.gmane.org>
2010-05-05  9:04             ` Linus Walleij
     [not found]     ` <0dce0e9fdb6af35854d26d7bd0d8af5a5ea8f76a.1272805161.git.mika.westerberg-X3B1VOXEql0@public.gmane.org>
2010-05-03 18:45       ` H Hartley Sweeten
     [not found]         ` <0D753D10438DA54287A00B0270842697636EADDB8E-gaq956PjLg32KbjnnMDalRurcAul1UnsRrxOEX5GOmysTnJN9+BGXg@public.gmane.org>
2010-05-03 19:15           ` Mika Westerberg
2010-05-02 14:39 ` [PATCH v6 2/2] ep93xx: SPI driver platform support code Mika Westerberg
     [not found]   ` <865b5d7ca0fae1977a1fadcdabdb715e3ea1604d.1272805161.git.mika.westerberg-X3B1VOXEql0@public.gmane.org>
2010-05-04 17:21     ` H Hartley Sweeten
     [not found]       ` <0D753D10438DA54287A00B0270842697636EB838E1-gaq956PjLg32KbjnnMDalRurcAul1UnsRrxOEX5GOmysTnJN9+BGXg@public.gmane.org>
2010-05-05 14:26         ` Russell King - ARM Linux
2010-05-11  0:24           ` H Hartley Sweeten
     [not found]             ` <0D753D10438DA54287A00B0270842697636EE74B65-gaq956PjLg32KbjnnMDalRurcAul1UnsRrxOEX5GOmysTnJN9+BGXg@public.gmane.org>
2010-05-11  6:13               ` Mika Westerberg

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=o2l63386a3d1005030618q1914e04x471ce544c6be82dc@mail.gmail.com \
    --to=linus.ml.walleij-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=martinwguy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=mika.westerberg-X3B1VOXEql0@public.gmane.org \
    --cc=ryan-7Wk5F4Od5/oYd5yxfr4S2w@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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).