Re: [PATCH] mfd: sprd: get subdevices from DT instead for SC27XX SPI

2020-06-16 Thread Lee Jones
On Tue, 16 Jun 2020, Baolin Wang wrote: > On Mon, Jun 15, 2020 at 11:08 PM Orson Zhai wrote: > > > > On Mon, Jun 15, 2020 at 10:12 PM Baolin Wang wrote: > > > > > > On Mon, Jun 15, 2020 at 11:47 AM Chunyan Zhang > > > wrote: > > > > > > > > From: Chunyan Zhang > > > > > > > > SC27XX-SPI

Re: [PATCH] mfd: sprd: get subdevices from DT instead for SC27XX SPI

2020-06-16 Thread Lee Jones
On Mon, 15 Jun 2020, Baolin Wang wrote: > On Mon, Jun 15, 2020 at 11:47 AM Chunyan Zhang wrote: > > > > From: Chunyan Zhang > > > > SC27XX-SPI added subdevices according to a pre-defined mfd_cell array, > > no matter these devices were really included on board. So with this > > patch we switch

Re: [PATCH] mfd: sprd: get subdevices from DT instead for SC27XX SPI

2020-06-15 Thread Baolin Wang
On Mon, Jun 15, 2020 at 11:08 PM Orson Zhai wrote: > > On Mon, Jun 15, 2020 at 10:12 PM Baolin Wang wrote: > > > > On Mon, Jun 15, 2020 at 11:47 AM Chunyan Zhang wrote: > > > > > > From: Chunyan Zhang > > > > > > SC27XX-SPI added subdevices according to a pre-defined mfd_cell array, > > > no

Re: [PATCH] mfd: sprd: get subdevices from DT instead for SC27XX SPI

2020-06-15 Thread Orson Zhai
On Mon, Jun 15, 2020 at 10:12 PM Baolin Wang wrote: > > On Mon, Jun 15, 2020 at 11:47 AM Chunyan Zhang wrote: > > > > From: Chunyan Zhang > > > > SC27XX-SPI added subdevices according to a pre-defined mfd_cell array, > > no matter these devices were really included on board. So with this > >

Re: [PATCH] mfd: sprd: get subdevices from DT instead for SC27XX SPI

2020-06-15 Thread Baolin Wang
On Mon, Jun 15, 2020 at 11:47 AM Chunyan Zhang wrote: > > From: Chunyan Zhang > > SC27XX-SPI added subdevices according to a pre-defined mfd_cell array, > no matter these devices were really included on board. So with this > patch we switch to a new way of detecting subdevices which are >

[PATCH] mfd: sprd: get subdevices from DT instead for SC27XX SPI

2020-06-14 Thread Chunyan Zhang
From: Chunyan Zhang SC27XX-SPI added subdevices according to a pre-defined mfd_cell array, no matter these devices were really included on board. So with this patch we switch to a new way of detecting subdevices which are defined in the devicetree. Signed-off-by: Chunyan Zhang ---