Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-13 Thread Janusz Krzysztofik
Hi Linus, On Friday, July 13, 2018 9:35:06 AM CEST Linus Walleij wrote: > On Tue, Jul 10, 2018 at 7:56 PM Janusz Krzysztofik wrote: > > > - .gpio = AMS_DELTA_GPIO_PIN_MODEM_NRESET, > > > > This is OK but not enough for clean build of board-ams-delta.c when merged > > into

Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-13 Thread Janusz Krzysztofik
Hi Linus, On Friday, July 13, 2018 9:35:06 AM CEST Linus Walleij wrote: > On Tue, Jul 10, 2018 at 7:56 PM Janusz Krzysztofik wrote: > > > - .gpio = AMS_DELTA_GPIO_PIN_MODEM_NRESET, > > > > This is OK but not enough for clean build of board-ams-delta.c when merged > > into

Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-13 Thread Mark Brown
On Fri, Jul 13, 2018 at 09:35:06AM +0200, Linus Walleij wrote: > 4. An immutable branch with the ARM SoC change for Mark to pull > before applying this so I can rebase this patch on that. That'd be ideal, though just waiting till after the merge window when all these cleanups are in works too

Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-13 Thread Mark Brown
On Fri, Jul 13, 2018 at 09:35:06AM +0200, Linus Walleij wrote: > 4. An immutable branch with the ARM SoC change for Mark to pull > before applying this so I can rebase this patch on that. That'd be ideal, though just waiting till after the merge window when all these cleanups are in works too

Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-13 Thread Linus Walleij
On Tue, Jul 10, 2018 at 7:56 PM Janusz Krzysztofik wrote: > > - .gpio = AMS_DELTA_GPIO_PIN_MODEM_NRESET, > > This is OK but not enough for clean build of board-ams-delta.c when merged > into current linux-next as one more struct fixed_voltage_config introduced > there >

Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-13 Thread Linus Walleij
On Tue, Jul 10, 2018 at 7:56 PM Janusz Krzysztofik wrote: > > - .gpio = AMS_DELTA_GPIO_PIN_MODEM_NRESET, > > This is OK but not enough for clean build of board-ams-delta.c when merged > into current linux-next as one more struct fixed_voltage_config introduced > there >

Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-10 Thread Janusz Krzysztofik
Hi Linus, Regarding OMAP1 part (limited to board-ams-delta.c): On Tuesday, July 10, 2018 8:11:12 AM CEST Linus Walleij wrote: > ... > ChangeLog v3->v4: > - Rebase and adapt the OMAP1 changes for the GPIO descriptor > look-up tables deployed by Janusz. > ... > - Go over all patches to board

Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-10 Thread Janusz Krzysztofik
Hi Linus, Regarding OMAP1 part (limited to board-ams-delta.c): On Tuesday, July 10, 2018 8:11:12 AM CEST Linus Walleij wrote: > ... > ChangeLog v3->v4: > - Rebase and adapt the OMAP1 changes for the GPIO descriptor > look-up tables deployed by Janusz. > ... > - Go over all patches to board

[PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-10 Thread Linus Walleij
As we augmented the regulator core to accept a GPIO descriptor instead of a GPIO number, we can augment the fixed GPIO regulator to look up and pass that descriptor directly from device tree or board GPIO descriptor look up tables. Some boards just auto-enumerate their fixed regulator platform

[PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-10 Thread Linus Walleij
As we augmented the regulator core to accept a GPIO descriptor instead of a GPIO number, we can augment the fixed GPIO regulator to look up and pass that descriptor directly from device tree or board GPIO descriptor look up tables. Some boards just auto-enumerate their fixed regulator platform