Re: [PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

2015-01-19 Thread Ludovic Desroches
On Mon, Jan 19, 2015 at 11:16:30AM +0100, Linus Walleij wrote: > On Wed, Jan 14, 2015 at 9:45 PM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > > attached a patch we the idea how to handle the current issue > > only compiled not tested (too late here) > > Ludovic have you tested Jean-Christophe'

Re: [PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

2015-01-19 Thread Linus Walleij
On Wed, Jan 14, 2015 at 9:45 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > attached a patch we the idea how to handle the current issue > only compiled not tested (too late here) Ludovic have you tested Jean-Christophe's patch? Does it solve the boot issue? Yours, Linus Walleij -- To unsubscri

Re: [PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

2015-01-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:49 Fri 28 Nov , Ludovic Desroches wrote: > This patch allows to have gpio controller with status set to disabled. > > gpio_banks represents all the gpio banks available on the device whereas > nbanks represents the gpio banks used. Having a disabled gpio controller > involves that nbanks

Re: [PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

2014-12-05 Thread Linus Walleij
On Wed, Dec 3, 2014 at 4:08 PM, Ludovic Desroches wrote: > On Mon, Dec 01, 2014 at 02:56:22PM +0100, Linus Walleij wrote: >> Remobe these calls, and instead in at91_gpio_probe() in the same >> file, call gpiochip_add_pingroup_range() for each GPIO chip. >> >> That way the GPIO ranges are inserted

Re: [PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

2014-12-03 Thread Ludovic Desroches
On Mon, Dec 01, 2014 at 02:56:22PM +0100, Linus Walleij wrote: > On Fri, Nov 28, 2014 at 5:49 PM, Ludovic Desroches > wrote: > > > This patch allows to have gpio controller with status set to disabled. > > > > gpio_banks represents all the gpio banks available on the device whereas > > nbanks rep

Re: [PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

2014-12-02 Thread Linus Walleij
On Mon, Dec 1, 2014 at 2:59 PM, Nicolas Ferre wrote: > Le 28/11/2014 17:49, Ludovic Desroches a écrit : >> This patch allows to have gpio controller with status set to disabled. >> >> gpio_banks represents all the gpio banks available on the device whereas >> nbanks represents the gpio banks used.

Re: [PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

2014-12-01 Thread Ludovic Desroches
On Mon, Dec 01, 2014 at 02:56:22PM +0100, Linus Walleij wrote: > On Fri, Nov 28, 2014 at 5:49 PM, Ludovic Desroches > wrote: > > > This patch allows to have gpio controller with status set to disabled. > > > > gpio_banks represents all the gpio banks available on the device whereas > > nbanks rep

Re: [PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

2014-12-01 Thread Nicolas Ferre
Le 28/11/2014 17:49, Ludovic Desroches a écrit : > This patch allows to have gpio controller with status set to disabled. > > gpio_banks represents all the gpio banks available on the device whereas > nbanks represents the gpio banks used. Having a disabled gpio controller > involves that nbanks v

Re: [PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

2014-12-01 Thread Linus Walleij
On Fri, Nov 28, 2014 at 5:49 PM, Ludovic Desroches wrote: > This patch allows to have gpio controller with status set to disabled. > > gpio_banks represents all the gpio banks available on the device whereas > nbanks represents the gpio banks used. Having a disabled gpio controller > involves tha

[PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

2014-11-28 Thread Ludovic Desroches
This patch allows to have gpio controller with status set to disabled. gpio_banks represents all the gpio banks available on the device whereas nbanks represents the gpio banks used. Having a disabled gpio controller involves that nbanks value is lower than gpio_banks and that some pointers in the