[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZpjn0RBGY+CqqSW3ip0MSQUJSaqN0GD=a4THnPHNM-jg@mail.gmail.com>
Date: Thu, 31 May 2012 18:16:54 +0800
From: Linus Walleij <linus.walleij@...aro.org>
To: Ben Dooks <ben.dooks@...ethink.co.uk>
Cc: Alessandro Rubini <rubini@...dd.com>,
Lee Jones <lee.jones@...aro.org>,
Giancarlo Asnaghi <giancarlo.asnaghi@...com>,
Russell King <linux@....linux.org.uk>,
Linus Walleij <linus.walleij@...ricsson.com>,
Srinidhi Kasagar <srinidhi.kasagar@...ricsson.com>,
linux-kernel@...r.kernel.org, Wolfram Sang <w.sang@...gutronix.de>,
Jean Delvare <khali@...ux-fr.org>, linux-i2c@...r.kernel.org,
STEricsson_nomadik_linux@...t.st.com,
linux-arm-kernel@...ts.infradead.org,
Alan Cox <alan@...ux.intel.com>
Subject: Re: [PATCH RFC 2/3] i2c-nomadik: turn the platform driver to an amba driver
On Thu, May 31, 2012 at 4:37 PM, Ben Dooks <ben.dooks@...ethink.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists