Re: [PATCH 11/46] ARM: pxa: cmx270: use platform device for nand

2019-10-22 Thread Arnd Bergmann
On Sat, Oct 19, 2019 at 11:44 AM Miquel Raynal wrote: > > Hi Arnd, > > Arnd Bergmann wrote on Fri, 18 Oct 2019 17:41:26 +0200: > > > The driver traditionally hardcodes the MMIO register address and > > the GPIO numbers from data defined in platform header files. > > > > To make it indepdendent of

Re: [PATCH 11/46] ARM: pxa: cmx270: use platform device for nand

2019-10-19 Thread Miquel Raynal
Hi Arnd, Arnd Bergmann wrote on Fri, 18 Oct 2019 17:41:26 +0200: > The driver traditionally hardcodes the MMIO register address and > the GPIO numbers from data defined in platform header files. > > To make it indepdendent of that, use a memory resource for the > registers, and a gpio lookup ta