Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754540Ab1DDKkQ (ORCPT ); Mon, 4 Apr 2011 06:40:16 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:63365 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754081Ab1DDKkL (ORCPT ); Mon, 4 Apr 2011 06:40:11 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=V1n3RKwCIKjDdIRZdN/S2Tc1ECmCIMesV6d1teMWr3pZipF0aAAGNtyBibT9zHmJDn bXs0W5+sQX9gXXtVCxzQjtNdpVvH+B4fO2I56l3fmqOGpzhpJmPWhcut9N28K5WgbRix 4Ye4gdrSj7QNWv/qYYpT5R+PlCy8Hj7DTaWv0= Date: Mon, 4 Apr 2011 14:40:06 +0400 From: Anton Vorontsov To: Jamie Iles Cc: Grant Likely , Thomas Gleixner , LKML , Russell King , Arnd Bergmann , Nicolas Pitre Subject: Re: [PATCH] gpio: support for Synopsys DesignWare APB GPIO Message-ID: <20110404104006.GA24789@oksana.dev.rtsoft.ru> References: <1301665638-29841-1-git-send-email-jamie@jamieiles.com> <20110403025907.GA5670@pulham.picochip.com> <20110403120344.GA1540@oksana.dev.rtsoft.ru> <20110403140750.GB5670@pulham.picochip.com> <20110403152244.GC5670@pulham.picochip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20110403152244.GC5670@pulham.picochip.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 919 Lines: 27 On Sun, Apr 03, 2011 at 04:22:44PM +0100, Jamie Iles wrote: [...] > > As discussed earlier in the thread, you probably don't need to support > > multiple banks with this driver. Instead, create a separate device > > instance for each bank. > > The reason I proposed this was for controllers where the registers > aren't grouped together for each bank. For example, the Synopsys block > has: > > 0x00-0x08 bank A control registers > 0x0c-0x14 bank B control registers > ... > 0x50 bank A input register > 0x54 bank B input register. Which, I guess, is another point for "multiple resources" approach. Grant? -- Anton Vorontsov Email: cbouatmailru@gmail.com -- 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/