Re: [PATCH 1/6] mfd: syscon: Add syscon_register() function

2018-01-22 Thread David Lechner
On 01/22/2018 05:39 AM, Sekhar Nori wrote: On Monday 22 January 2018 04:38 PM, Arnd Bergmann wrote: On Mon, Jan 22, 2018 at 11:53 AM, Sekhar Nori wrote: On Saturday 20 January 2018 08:50 AM, David Lechner wrote: This adds a new syscon_register() function that creates a new syscon regmap and a

Re: [PATCH 1/6] mfd: syscon: Add syscon_register() function

2018-01-22 Thread Sekhar Nori
On Monday 22 January 2018 04:38 PM, Arnd Bergmann wrote: > On Mon, Jan 22, 2018 at 11:53 AM, Sekhar Nori wrote: >> On Saturday 20 January 2018 08:50 AM, David Lechner wrote: >>> This adds a new syscon_register() function that creates a new syscon >>> regmap and adds it to the lookup list. >> >> /*

Re: [PATCH 1/6] mfd: syscon: Add syscon_register() function

2018-01-22 Thread Arnd Bergmann
On Mon, Jan 22, 2018 at 11:53 AM, Sekhar Nori wrote: > On Saturday 20 January 2018 08:50 AM, David Lechner wrote: >> This adds a new syscon_register() function that creates a new syscon >> regmap and adds it to the lookup list. > > /* > * registers a "global" syscon "device", usually not backed b

Re: [PATCH 1/6] mfd: syscon: Add syscon_register() function

2018-01-22 Thread Sekhar Nori
On Saturday 20 January 2018 08:50 AM, David Lechner wrote: > This adds a new syscon_register() function that creates a new syscon > regmap and adds it to the lookup list. > > This function serves two purposes: > > 1. This is needed for platforms without device tree support where the >syscon r

[PATCH 1/6] mfd: syscon: Add syscon_register() function

2018-01-19 Thread David Lechner
This adds a new syscon_register() function that creates a new syscon regmap and adds it to the lookup list. This function serves two purposes: 1. This is needed for platforms without device tree support where the syscon regmap is needed in early boot (e.g. clocks), because using a platform