Re: [PATCH v6 partial 0/2] pxa27x_udc port to device-tree and gpio_desc

2014-09-25 Thread Linus Walleij
On Wed, Sep 24, 2014 at 9:41 PM, Robert Jarzmik robert.jarz...@free.fr wrote: I have not found in the gpiolib anything for a driver to set that active_low value, only for machine code. The legacy behaviour was that that information was handed over to the driver. That's correct, active low is

Re: [PATCH v6 partial 0/2] pxa27x_udc port to device-tree and gpio_desc

2014-09-25 Thread Linus Walleij
On Thu, Sep 25, 2014 at 10:26 AM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Sep 24, 2014 at 9:41 PM, Robert Jarzmik robert.jarz...@free.fr wrote: I have not found in the gpiolib anything for a driver to set that active_low value, only for machine code. The legacy behaviour was

[PATCH v6 partial 0/2] pxa27x_udc port to device-tree and gpio_desc

2014-09-24 Thread Robert Jarzmik
Hi Felipe and Linus, As you requested, Felipe, I made the translation for the driver's probing from gpio to gpio_desc. Even if the code is functional, I'm pretty unhappy about my patch 1, because I lost the active_low notion in the transformation. I have not found in the gpiolib anything for a