From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754381AbcHSDPB (ORCPT ); Thu, 18 Aug 2016 23:15:01 -0400 Received: from mail-io0-f181.google.com ([209.85.223.181]:33607 "EHLO mail-io0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752848AbcHSDO4 (ORCPT ); Thu, 18 Aug 2016 23:14:56 -0400 From: Kevin Hilman To: Finlye Xiao Cc: srinivas.kandagatla@linaro.org, maxime.ripard@free-electrons.com, heiko@sntech.de, robh+dt@kernel.org, frowand.list@gmail.com, sre@kernel.org, dbaryshkov@gmail.com, dwmw2@infradead.org, mark.rutland@arm.com, nm@ti.com, rjw@rjwysocki.net, viresh.kumar@linaro.org, sboyd@codeaurora.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, wxt@rock-chips.com, jay.xu@rock-chips.com, rocky.hao@rock-chips.com, tim.chen@rock-chips.com, tony.xie@rock-chips.com, ulysses.huang@rock-chips.com, lin.huang@rock-chips.com Subject: Re: [PATCH v2 1/4] nvmem: rockchip-efuse: Change initcall to subsys Organization: BayLibre References: <1471510341-63926-1-git-send-email-finley.xiao@rock-chips.com> <1471510341-63926-2-git-send-email-finley.xiao@rock-chips.com> Date: Thu, 18 Aug 2016 13:28:58 -0500 In-Reply-To: <1471510341-63926-2-git-send-email-finley.xiao@rock-chips.com> (Finlye Xiao's message of "Thu, 18 Aug 2016 16:52:18 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Finlye Xiao writes: > From: Finley Xiao > > We will register a cpufreq notifier for adjusting opp's voltage, and it > need to fetch cpu's leakage from efuse in the notifier_call. so the efuse > driver should probe before cpufreq driver. > > Signed-off-by: Finley Xiao Why can't this be handled with deferred probling? initcall ordering is a can of worms. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH v2 1/4] nvmem: rockchip-efuse: Change initcall to subsys Date: Thu, 18 Aug 2016 13:28:58 -0500 Message-ID: References: <1471510341-63926-1-git-send-email-finley.xiao@rock-chips.com> <1471510341-63926-2-git-send-email-finley.xiao@rock-chips.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1471510341-63926-2-git-send-email-finley.xiao-TNX95d0MmH7DzftRWevZcw@public.gmane.org> (Finlye Xiao's message of "Thu, 18 Aug 2016 16:52:18 +0800") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Finlye Xiao Cc: mark.rutland-5wv7dgnIgG8@public.gmane.org, nm-l0cyMroinI0@public.gmane.org, heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org, viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, tony.xie-TNX95d0MmH7DzftRWevZcw@public.gmane.org, srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, tim.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org, dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, ulysses.huang-TNX95d0MmH7DzftRWevZcw@public.gmane.org, jay.xu-TNX95d0MmH7DzftRWevZcw@public.gmane.org, sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, lin.huang-TNX95d0MmH7DzftRWevZcw@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org, sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, rocky.hao-TNX95d0MmH7DzftRWevZcw@public.gmane.org, dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org List-Id: devicetree@vger.kernel.org Finlye Xiao writes: > From: Finley Xiao > > We will register a cpufreq notifier for adjusting opp's voltage, and it > need to fetch cpu's leakage from efuse in the notifier_call. so the efuse > driver should probe before cpufreq driver. > > Signed-off-by: Finley Xiao Why can't this be handled with deferred probling? initcall ordering is a can of worms. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@baylibre.com (Kevin Hilman) Date: Thu, 18 Aug 2016 13:28:58 -0500 Subject: [PATCH v2 1/4] nvmem: rockchip-efuse: Change initcall to subsys In-Reply-To: <1471510341-63926-2-git-send-email-finley.xiao@rock-chips.com> (Finlye Xiao's message of "Thu, 18 Aug 2016 16:52:18 +0800") References: <1471510341-63926-1-git-send-email-finley.xiao@rock-chips.com> <1471510341-63926-2-git-send-email-finley.xiao@rock-chips.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Finlye Xiao writes: > From: Finley Xiao > > We will register a cpufreq notifier for adjusting opp's voltage, and it > need to fetch cpu's leakage from efuse in the notifier_call. so the efuse > driver should probe before cpufreq driver. > > Signed-off-by: Finley Xiao Why can't this be handled with deferred probling? initcall ordering is a can of worms. Kevin