Re: [PATCH 2/2] [RFC] base: soc: Allow early registration of a single SoC device

2017-03-13 Thread Geert Uytterhoeven
Hi Arnd, On Mon, Mar 13, 2017 at 2:28 PM, Arnd Bergmann wrote: > On Mon, Mar 13, 2017 at 2:13 PM, Geert Uytterhoeven > wrote: >> On Mon, Mar 13, 2017 at 2:06 PM, Arnd Bergmann wrote: >>> On Mon, Mar 13, 2017 at 1:46 PM, Geert Uytterhoeven >>>

Re: [PATCH 2/2] [RFC] base: soc: Allow early registration of a single SoC device

2017-03-13 Thread Geert Uytterhoeven
Hi Arnd, On Mon, Mar 13, 2017 at 2:06 PM, Arnd Bergmann wrote: > On Mon, Mar 13, 2017 at 1:46 PM, Geert Uytterhoeven > wrote: >> On Mon, Mar 13, 2017 at 1:41 PM, Arnd Bergmann wrote: >>> On Thu, Mar 9, 2017 at 7:18 PM, Geert Uytterhoeven >>>

Re: [PATCH 2/2] [RFC] base: soc: Allow early registration of a single SoC device

2017-03-13 Thread Arnd Bergmann
On Mon, Mar 13, 2017 at 1:46 PM, Geert Uytterhoeven wrote: > On Mon, Mar 13, 2017 at 1:41 PM, Arnd Bergmann wrote: >> On Thu, Mar 9, 2017 at 7:18 PM, Geert Uytterhoeven >> >> I'd prefer to not have to do the early registration at all and have fewer >> special

Re: [PATCH 2/2] [RFC] base: soc: Allow early registration of a single SoC device

2017-03-13 Thread Geert Uytterhoeven
Hi Arnd, On Mon, Mar 13, 2017 at 1:41 PM, Arnd Bergmann wrote: > On Thu, Mar 9, 2017 at 7:18 PM, Geert Uytterhoeven > wrote: >> commit 1da1b3628df34a2a ("base: soc: Early register bus when needed") >> added support for early registration of SoC devices

Re: [PATCH 2/2] [RFC] base: soc: Allow early registration of a single SoC device

2017-03-13 Thread Arnd Bergmann
On Thu, Mar 9, 2017 at 7:18 PM, Geert Uytterhoeven wrote: > commit 1da1b3628df34a2a ("base: soc: Early register bus when needed") > added support for early registration of SoC devices from a > core_initcall(). However, some drivers need to check the SoC revision > from

[PATCH 2/2] [RFC] base: soc: Allow early registration of a single SoC device

2017-03-09 Thread Geert Uytterhoeven
commit 1da1b3628df34a2a ("base: soc: Early register bus when needed") added support for early registration of SoC devices from a core_initcall(). However, some drivers need to check the SoC revision from an early_initcall(), which is even earlier. While registering the SoC bus and device, and