Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755013Ab2EaKQ4 (ORCPT ); Thu, 31 May 2012 06:16:56 -0400 Received: from mail-qa0-f49.google.com ([209.85.216.49]:38153 "EHLO mail-qa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751396Ab2EaKQz (ORCPT ); Thu, 31 May 2012 06:16:55 -0400 MIME-Version: 1.0 In-Reply-To: <4FC72DDF.7080209@codethink.co.uk> References: <349645b61d0b28f6e84f7ae1f2c8c28e12a11d92.1338398567.git.rubini@gnudd.com> <4FC72DDF.7080209@codethink.co.uk> Date: Thu, 31 May 2012 18:16:54 +0800 Message-ID: Subject: Re: [PATCH RFC 2/3] i2c-nomadik: turn the platform driver to an amba driver From: Linus Walleij To: Ben Dooks Cc: Alessandro Rubini , Lee Jones , Giancarlo Asnaghi , Russell King , Linus Walleij , Srinidhi Kasagar , linux-kernel@vger.kernel.org, Wolfram Sang , Jean Delvare , linux-i2c@vger.kernel.org, STEricsson_nomadik_linux@list.st.com, linux-arm-kernel@lists.infradead.org, Alan Cox Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 971 Lines: 25 On Thu, May 31, 2012 at 4:37 PM, Ben Dooks 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/