From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751621AbbGCF6i (ORCPT ); Fri, 3 Jul 2015 01:58:38 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:59326 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754128AbbGCF6g (ORCPT ); Fri, 3 Jul 2015 01:58:36 -0400 X-Listener-Flag: 11101 Message-ID: <1435903111.5056.18.camel@mtkswgap22> Subject: Re: [RESEND PATCH 2/6] soc: Mediatek: Add SCPSYS CPU power domain driver From: Scott Shu To: Sascha Hauer CC: , , , , , , , , , , , , , , Date: Fri, 3 Jul 2015 13:58:31 +0800 In-Reply-To: <20150623055351.GA22419@pengutronix.de> References: <1434650481-39421-1-git-send-email-scott.shu@mediatek.com> <1434650481-39421-3-git-send-email-scott.shu@mediatek.com> <20150623055351.GA22419@pengutronix.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sascha, I just wonder can we separate the MTCMOS into cpu and non-cpu part? Just like qcom's xcc driver, they put cpu related code under "arch/arm/mach-xxx" but put the others under "driver". Thanks, Scott On Tue, 2015-06-23 at 07:53 +0200, Sascha Hauer wrote: > Hi Scott, > > On Fri, Jun 19, 2015 at 02:01:17AM +0800, Scott Shu wrote: > > This adds a CPU power domain driver for the Mediatek SCPSYS unit on > > MT6580. > > This seems to be support for the very same hardware as I am posting > here: > > https://lkml.org/lkml/2015/6/22/41 > > We should consolidate this. > > My driver is currently handles all power domains except the CPUs while > yours handles only the CPUs. > I currently haven't looked whether CPUs can just be part of a power > domain aswell, but if that works this would probably be the way to go. > > Sascha > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Shu Subject: Re: [RESEND PATCH 2/6] soc: Mediatek: Add SCPSYS CPU power domain driver Date: Fri, 3 Jul 2015 13:58:31 +0800 Message-ID: <1435903111.5056.18.camel@mtkswgap22> References: <1434650481-39421-1-git-send-email-scott.shu@mediatek.com> <1434650481-39421-3-git-send-email-scott.shu@mediatek.com> <20150623055351.GA22419@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150623055351.GA22419@pengutronix.de> Sender: linux-kernel-owner@vger.kernel.org To: Sascha Hauer Cc: yingjoe.chen@mediatek.com, robh+dt@kernel.org, matthias.bgg@gmail.com, linux@arm.linux.org.uk, rchintakuntla@cavium.com, lorenzo.pieralisi@arm.com, marc.ceeeee@gmail.com, heiko@sntech.de, catalin.marinas@arm.com, arnd@arndb.de, galak@codeaurora.org, srv_wsdupstream@mediatek.com, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: linux-mediatek@lists.infradead.org Hi Sascha, I just wonder can we separate the MTCMOS into cpu and non-cpu part? Just like qcom's xcc driver, they put cpu related code under "arch/arm/mach-xxx" but put the others under "driver". Thanks, Scott On Tue, 2015-06-23 at 07:53 +0200, Sascha Hauer wrote: > Hi Scott, > > On Fri, Jun 19, 2015 at 02:01:17AM +0800, Scott Shu wrote: > > This adds a CPU power domain driver for the Mediatek SCPSYS unit on > > MT6580. > > This seems to be support for the very same hardware as I am posting > here: > > https://lkml.org/lkml/2015/6/22/41 > > We should consolidate this. > > My driver is currently handles all power domains except the CPUs while > yours handles only the CPUs. > I currently haven't looked whether CPUs can just be part of a power > domain aswell, but if that works this would probably be the way to go. > > Sascha > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: scott.shu@mediatek.com (Scott Shu) Date: Fri, 3 Jul 2015 13:58:31 +0800 Subject: [RESEND PATCH 2/6] soc: Mediatek: Add SCPSYS CPU power domain driver In-Reply-To: <20150623055351.GA22419@pengutronix.de> References: <1434650481-39421-1-git-send-email-scott.shu@mediatek.com> <1434650481-39421-3-git-send-email-scott.shu@mediatek.com> <20150623055351.GA22419@pengutronix.de> Message-ID: <1435903111.5056.18.camel@mtkswgap22> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Sascha, I just wonder can we separate the MTCMOS into cpu and non-cpu part? Just like qcom's xcc driver, they put cpu related code under "arch/arm/mach-xxx" but put the others under "driver". Thanks, Scott On Tue, 2015-06-23 at 07:53 +0200, Sascha Hauer wrote: > Hi Scott, > > On Fri, Jun 19, 2015 at 02:01:17AM +0800, Scott Shu wrote: > > This adds a CPU power domain driver for the Mediatek SCPSYS unit on > > MT6580. > > This seems to be support for the very same hardware as I am posting > here: > > https://lkml.org/lkml/2015/6/22/41 > > We should consolidate this. > > My driver is currently handles all power domains except the CPUs while > yours handles only the CPUs. > I currently haven't looked whether CPUs can just be part of a power > domain aswell, but if that works this would probably be the way to go. > > Sascha > >