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
pgpJLaYwYBts2.pgp
Description: PGP signature