From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH RFC 2/3] i2c-nomadik: turn the platform driver to an amba driver Date: Fri, 01 Jun 2012 10:24:08 +0800 Message-ID: <4FC827C8.20605@linaro.org> References: <349645b61d0b28f6e84f7ae1f2c8c28e12a11d92.1338398567.git.rubini@gnudd.com> <4FC72DDF.7080209@codethink.co.uk> <20120531180204.GA28779@mail.gnudd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; Format="flowed" Content-Transfer-Encoding: base64 Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Linus Walleij Cc: giancarlo.asnaghi@st.com, linux@arm.linux.org.uk, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, Alessandro Rubini , linux-kernel@vger.kernel.org, w.sang@pengutronix.de, STEricsson_nomadik_linux@list.st.com, ben.dooks@codethink.co.uk, linux-i2c@vger.kernel.org, khali@linux-fr.org, linux-arm-kernel@lists.infradead.org, alan@linux.intel.com List-Id: linux-i2c@vger.kernel.org T24gMDEvMDYvMTIgMDk6NTMsIExpbnVzIFdhbGxlaWogd3JvdGU6Cj4gT24gRnJpLCBKdW4gMSwg MjAxMiBhdCAyOjAyIEFNLCBBbGVzc2FuZHJvIFJ1YmluaTxydWJpbmlAZ251ZGQuY29tPiAgd3Jv dGU6Cj4KPj4gU28gSSdsbCByZXN1Ym1pdCBpbiB0aGUgcmlnaHQgd2F5ICgtTSwgaW5jbHVkZS9s aW51eC9wbGF0Zm9ybV9kYXRhKQo+PiBhcyBzb29uIGFzIEkgaGF2ZSBpbmZvcm1hdGlvbiBmb3Ig ZnRkIGZpeHVwLgo+Cj4gT0sgaWYgbm90aGluZyBoYXBwZW5zIHlvdSBjYW4gcHJvYmFibHkganVz dCBnbyBpbiBhbmQgcGF0Y2g6Cj4gYXJjaC9hcm0vYm9vdC9kdHMvZGI4NTAwLmR0c2kKPgo+IEkg c3VzcGVjdCBpdCdzIGp1c3QgdGhlIGNvbXBhdGlibGU9IHRoYXQgbmVlZHMgdG8gYmUgY2hhbmdl ZCB0bwo+ICJhcm0scHJpbWVjZWxsIiBvciBqdXN0IGhhdmUgdGhhdCBzdHJpbmcgYWRkZWQgdG8g dGhlIG90aGVycyB0aGF0Cj4gYXJlIGFscmVhZHkgdGhlcmUgZm9yIGVhY2ggaTJjIGRldmljZSBl bnRyeS4KCkkgYWxyZWFkeSBoYXZlIGEgcGF0Y2ggdG8gZW5hYmxlZCBJMkMuIElmIHRoaXMgcGF0 Y2ggZ29lcyBpbiwgSSB3aWxsIGZpeCAKaXQgdXAgdG8gcmVnaXN0ZXIgaXRzZWxmIGFzIGEgUHJp bWVjZWxsIGRldmljZSBpbnN0ZWFkLiBObyBwcm9ibGVtLgoKLS0gCkxlZSBKb25lcwpMaW5hcm8g U1QtRXJpY3Nzb24gTGFuZGluZyBUZWFtIExlYWQKTTogKzQ0IDc3IDg4IDYzMyA1MTUKTGluYXJv Lm9yZyDilIIgT3BlbiBzb3VyY2Ugc29mdHdhcmUgZm9yIEFSTSBTb0NzCkZvbGxvdyBMaW5hcm86 IEZhY2Vib29rIHwgVHdpdHRlciB8IEJsb2cKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fCmxpbnV4LWFybS1rZXJuZWwgbWFpbGluZyBsaXN0CmxpbnV4LWFy bS1rZXJuZWxAbGlzdHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5mcmFkZWFkLm9yZy9t YWlsbWFuL2xpc3RpbmZvL2xpbnV4LWFybS1rZXJuZWwK From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Fri, 01 Jun 2012 10:24:08 +0800 Subject: [PATCH RFC 2/3] i2c-nomadik: turn the platform driver to an amba driver In-Reply-To: References: <349645b61d0b28f6e84f7ae1f2c8c28e12a11d92.1338398567.git.rubini@gnudd.com> <4FC72DDF.7080209@codethink.co.uk> <20120531180204.GA28779@mail.gnudd.com> Message-ID: <4FC827C8.20605@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 01/06/12 09:53, Linus Walleij wrote: > On Fri, Jun 1, 2012 at 2:02 AM, Alessandro Rubini wrote: > >> So I'll resubmit in the right way (-M, include/linux/platform_data) >> as soon as I have information for ftd fixup. > > OK if nothing happens you can probably just go in and patch: > arch/arm/boot/dts/db8500.dtsi > > I suspect it's just the compatible= that needs to be changed to > "arm,primecell" or just have that string added to the others that > are already there for each i2c device entry. I already have a patch to enabled I2C. If this patch goes in, I will fix it up to register itself as a Primecell device instead. No problem. -- Lee Jones Linaro ST-Ericsson Landing Team Lead M: +44 77 88 633 515 Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758783Ab2FACYP (ORCPT ); Thu, 31 May 2012 22:24:15 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:48709 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758760Ab2FACYN (ORCPT ); Thu, 31 May 2012 22:24:13 -0400 Message-ID: <4FC827C8.20605@linaro.org> Date: Fri, 01 Jun 2012 10:24:08 +0800 From: Lee Jones User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 To: Linus Walleij CC: Alessandro Rubini , ben.dooks@codethink.co.uk, giancarlo.asnaghi@st.com, linux@arm.linux.org.uk, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, linux-kernel@vger.kernel.org, w.sang@pengutronix.de, khali@linux-fr.org, linux-i2c@vger.kernel.org, STEricsson_nomadik_linux@list.st.com, linux-arm-kernel@lists.infradead.org, alan@linux.intel.com Subject: Re: [PATCH RFC 2/3] i2c-nomadik: turn the platform driver to an amba driver References: <349645b61d0b28f6e84f7ae1f2c8c28e12a11d92.1338398567.git.rubini@gnudd.com> <4FC72DDF.7080209@codethink.co.uk> <20120531180204.GA28779@mail.gnudd.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/06/12 09:53, Linus Walleij wrote: > On Fri, Jun 1, 2012 at 2:02 AM, Alessandro Rubini wrote: > >> So I'll resubmit in the right way (-M, include/linux/platform_data) >> as soon as I have information for ftd fixup. > > OK if nothing happens you can probably just go in and patch: > arch/arm/boot/dts/db8500.dtsi > > I suspect it's just the compatible= that needs to be changed to > "arm,primecell" or just have that string added to the others that > are already there for each i2c device entry. I already have a patch to enabled I2C. If this patch goes in, I will fix it up to register itself as a Primecell device instead. No problem. -- Lee Jones Linaro ST-Ericsson Landing Team Lead M: +44 77 88 633 515 Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog