From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v14 03/10] qcom: spm: Add Subsystem Power Manager driver Date: Tue, 16 Dec 2014 15:39:31 +0100 Message-ID: <5335513.NAdy3tNNVt@wuerfel> References: <1417541958-56907-1-git-send-email-lina.iyer@linaro.org> <2519415.GklIQeMgWR@wuerfel> <20141205154526.GC2995@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from mout.kundenserver.de ([212.227.126.130]:49278 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340AbaLPOkV (ORCPT ); Tue, 16 Dec 2014 09:40:21 -0500 In-Reply-To: <20141205154526.GC2995@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Lina Iyer Cc: Daniel Lezcano , khilman@linaro.org, sboyd@codeaurora.org, galak@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, lorenzo.pieralisi@arm.com, msivasub@codeaurora.org, devicetree@vger.kernel.org On Friday 05 December 2014 08:45:26 Lina Iyer wrote: > On Thu, Dec 04 2014 at 11:20 -0700, Arnd Bergmann wrote: > >On Thursday 04 December 2014 09:28:34 Lina Iyer wrote: > >Having all cpuidle code generally live in drivers/cpuidle is still a good > >idea IMO, but using a platform device just for the purpose of passing > >data between some platform specific code and another platform specific > >driver hasn't worked out that well here. > > > To achieve both, I cant think of a better way to initialize the cpuidle > driver without the use of reference count (0 ==> > platform_driver_register). > > I tried creating dummy platform device in the DT but something or > another gives in to an ugly implementation. > > Any other ideas? Hi Lina, sorry for missing your mail earlier, I just replied to Daniel on this topic, when the thread popped up again. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Tue, 16 Dec 2014 15:39:31 +0100 Subject: [PATCH v14 03/10] qcom: spm: Add Subsystem Power Manager driver In-Reply-To: <20141205154526.GC2995@linaro.org> References: <1417541958-56907-1-git-send-email-lina.iyer@linaro.org> <2519415.GklIQeMgWR@wuerfel> <20141205154526.GC2995@linaro.org> Message-ID: <5335513.NAdy3tNNVt@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday 05 December 2014 08:45:26 Lina Iyer wrote: > On Thu, Dec 04 2014 at 11:20 -0700, Arnd Bergmann wrote: > >On Thursday 04 December 2014 09:28:34 Lina Iyer wrote: > >Having all cpuidle code generally live in drivers/cpuidle is still a good > >idea IMO, but using a platform device just for the purpose of passing > >data between some platform specific code and another platform specific > >driver hasn't worked out that well here. > > > To achieve both, I cant think of a better way to initialize the cpuidle > driver without the use of reference count (0 ==> > platform_driver_register). > > I tried creating dummy platform device in the DT but something or > another gives in to an ugly implementation. > > Any other ideas? Hi Lina, sorry for missing your mail earlier, I just replied to Daniel on this topic, when the thread popped up again. Arnd