On Fri, Oct 24, 2008 at 10:54 AM, Anton Vorontsov <[EMAIL PROTECTED]> wrote: > On Thu, Oct 23, 2008 at 08:13:00PM +0200, Stefan Roese wrote: >> On Thursday 23 October 2008, Wolfgang Ocker wrote: >> > The GPIOLIB allows the specification of a base gpio number for a >> > controller. That is not possible using OF. Instead, free gpio numbers >> > are assigned. >> > >> > In order to allow static, predefined gpio numbers, a base property in >> > the gpio controller node specifies the first gpio number. >> > >> > v2, v3: added/improved description of base property in doc >> >> These version descriptions are better placed below the "---" line. And you >> should remove the "Re: " from the subject line. Other than this: >> >> Acked-by: Stefan Roese <[EMAIL PROTECTED]> > > Please-defer-this-patch-by: Anton Vorontsov <[EMAIL PROTECTED]> > > Wolfgang, Stefan, see this comment: > > http://ozlabs.org/pipermail/linuxppc-dev/2008-October/064505.html > > ..just tell me what are you trying to solve.
Yeah, I don't like this patch either. GPIO numbering is a Linux internal detail and has no bearing on the hardware description. If you need to know what a particular gpio number is then it should be resolved by finding the device tree node; not by trying to fix a GPIO controller to a particular number. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev