linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH RFC 2/3] i2c-nomadik: turn the platform driver to an amba driver
Date: Thu, 31 May 2012 18:16:54 +0800	[thread overview]
Message-ID: <CACRpkdZpjn0RBGY+CqqSW3ip0MSQUJSaqN0GD=a4THnPHNM-jg@mail.gmail.com> (raw)
In-Reply-To: <4FC72DDF.7080209@codethink.co.uk>

On Thu, May 31, 2012 at 4:37 PM, Ben Dooks <ben.dooks@codethink.co.uk> wrote:
> On 31/05/12 02:51, Linus Walleij wrote:
>>
>> You will need some add-on patch to the db8500 device tree moving this
>> over to the AMBA (PrimeCell) bus abstraction.
>
> What does AMBA win us over the platform device here?

In Alessandro's case I guess it's that he can use his PCI-to-AMBA wrapper, and
there is no similar PCI-to platformdevice wrapper. So it saves some work
on his part.

But since the device has PrimeCell ID registers, this is really the
right thing to
do anyway, since autodetecting from hardware is allways NiceToDo(TM).
Else ST and us shouldn't have put the magic numbers (0xB105F00D) in there
anyway.

Yours,
Linus Walleij

  reply	other threads:[~2012-05-31 10:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30 17:45 [PATCH RFC 0/3] i2c-nomadik changes Alessandro Rubini
2012-05-30 17:45 ` [PATCH RFC 1/3] i2c-nomadik: move header from <plat/i2c.h> to <linux/i2c-nomadik.h> Alessandro Rubini
2012-05-31  1:47   ` Linus Walleij
2012-05-31  8:37     ` Ben Dooks
2012-05-31  8:32   ` Ben Dooks
2012-05-30 17:45 ` [PATCH RFC 2/3] i2c-nomadik: turn the platform driver to an amba driver Alessandro Rubini
2012-05-31  1:51   ` Linus Walleij
2012-05-31  8:37     ` Ben Dooks
2012-05-31 10:16       ` Linus Walleij [this message]
2012-05-31 18:02       ` Alessandro Rubini
2012-06-01  1:53         ` Linus Walleij
2012-06-01  2:24           ` Lee Jones
2012-05-30 17:46 ` [PATCH RFC 3/3] i2c-nomadik: depend on ARM_AMBA, not PLAT_NOMADIK Alessandro Rubini
2012-05-31  1:55 ` [PATCH RFC 0/3] i2c-nomadik changes Linus Walleij

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='CACRpkdZpjn0RBGY+CqqSW3ip0MSQUJSaqN0GD=a4THnPHNM-jg@mail.gmail.com' \
    --to=linus.walleij@linaro.org \
    --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).