From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751997Ab2FLIOA (ORCPT ); Tue, 12 Jun 2012 04:14:00 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:50244 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937Ab2FLIN4 (ORCPT ); Tue, 12 Jun 2012 04:13:56 -0400 Message-ID: <4FD6FA40.3010204@linaro.org> Date: Tue, 12 Jun 2012 09:13:52 +0100 From: Lee Jones User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 To: Linus Walleij CC: grant.likely@secretlab.ca, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linus.walleij@stericsson.com, arnd@arndb.de, Samuel Ortiz , Mattias WALLIN , Mark Brown Subject: Re: [PATCH 07/14] mfd: Initialise the AB8500 driver at core_initcall time References: <1339428307-3850-1-git-send-email-lee.jones@linaro.org> <1339428307-3850-8-git-send-email-lee.jones@linaro.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/06/12 22:03, Linus Walleij wrote: > On Mon, Jun 11, 2012 at 5:25 PM, Lee Jones wrote: > >> The AB8500 is soon to have its own IRQ domain. For this to be useful >> the driver needs to be initialised earlier in the boot sequence. Here >> we move initialisation forward from arch_initcall to core_initcall time. > > I don't understand why using IRQ domain makes it necessary to > initialize the driver earlier in the init process. Please explain to me, > I need tutoring here. Perhaps I need to invest some time into deferring each user's probe()s instead. Leave it with me I'll do some investigation. -- Lee Jones Linaro ST-Ericsson Landing Team Lead M: +44 77 88 633 515 Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Tue, 12 Jun 2012 09:13:52 +0100 Subject: [PATCH 07/14] mfd: Initialise the AB8500 driver at core_initcall time In-Reply-To: References: <1339428307-3850-1-git-send-email-lee.jones@linaro.org> <1339428307-3850-8-git-send-email-lee.jones@linaro.org> Message-ID: <4FD6FA40.3010204@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 11/06/12 22:03, Linus Walleij wrote: > On Mon, Jun 11, 2012 at 5:25 PM, Lee Jones wrote: > >> The AB8500 is soon to have its own IRQ domain. For this to be useful >> the driver needs to be initialised earlier in the boot sequence. Here >> we move initialisation forward from arch_initcall to core_initcall time. > > I don't understand why using IRQ domain makes it necessary to > initialize the driver earlier in the init process. Please explain to me, > I need tutoring here. Perhaps I need to invest some time into deferring each user's probe()s instead. Leave it with me I'll do some investigation. -- Lee Jones Linaro ST-Ericsson Landing Team Lead M: +44 77 88 633 515 Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog