[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120802061837.GF12241@avionic-0098.adnet.avionic-design.de>
Date: Thu, 2 Aug 2012 08:18:37 +0200
From: Thierry Reding <thierry.reding@...onic-design.de>
To: Rob Herring <robherring2@...il.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Linus Walleij <linus.walleij@...ricsson.com>,
devicetree-discuss@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Wolfram Sang <w.sang@...gutronix.de>
Subject: Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support
On Tue, Jul 31, 2012 at 05:03:05PM -0500, Rob Herring wrote:
> For nr-gpios, I think it is typically not needed. Generally, you will
> know how many gpio lines the h/w has based on the compatible string. If
> this part really is the same part but different packages with different
> numbers of gpio, then this property makes sense.
That's exactly what I need it for. The controller is synthesized in a
CPLD, so technically the part is always the same, but the configured
logic can implement any number of GPIOs.
Thierry
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists