From mboxrd@z Thu Jan 1 00:00:00 1970 From: b29396@freescale.com (Dong Aisheng) Date: Thu, 23 Aug 2012 15:15:04 +0800 Subject: [PATCH 4/7] regulator: anatop-regulator: convert to use imx-syscon to access anatop register In-Reply-To: <20120822155953.GQ7995@opensource.wolfsonmicro.com> References: <1345619928-15446-1-git-send-email-b29396@freescale.com> <1345619928-15446-5-git-send-email-b29396@freescale.com> <20120822155953.GQ7995@opensource.wolfsonmicro.com> Message-ID: <20120823071503.GF10057@shlinux2.ap.freescale.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Aug 22, 2012 at 11:59:53PM +0800, Mark Brown wrote: > On Wed, Aug 22, 2012 at 03:18:45PM +0800, Dong Aisheng wrote: > > From: Dong Aisheng > > > > Using standard imx syscon API to access anatop register. > > Acked-by: Mark Brown > Thanks > With the conversion to regmap it'd also be good to convert the driver to > use the regmap helper functions for enable and voltage operations if > possible. The anatop-regulator driver only implements set_voltage_sel/get_voltage_sel which i have already converted, what do you mean others like 'for enable and voltage operations' i should also convert? Regards Dong Aisheng From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dong Aisheng Subject: Re: [PATCH 4/7] regulator: anatop-regulator: convert to use imx-syscon to access anatop register Date: Thu, 23 Aug 2012 15:15:04 +0800 Message-ID: <20120823071503.GF10057@shlinux2.ap.freescale.net> References: <1345619928-15446-1-git-send-email-b29396@freescale.com> <1345619928-15446-5-git-send-email-b29396@freescale.com> <20120822155953.GQ7995@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20120822155953.GQ7995-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Mark Brown Cc: Zhao Richard-B20223 , "linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org" , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org" , "kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org" , "paul.liu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "lrg-l0cyMroinI0@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org" List-Id: devicetree@vger.kernel.org On Wed, Aug 22, 2012 at 11:59:53PM +0800, Mark Brown wrote: > On Wed, Aug 22, 2012 at 03:18:45PM +0800, Dong Aisheng wrote: > > From: Dong Aisheng > > > > Using standard imx syscon API to access anatop register. > > Acked-by: Mark Brown > Thanks > With the conversion to regmap it'd also be good to convert the driver to > use the regmap helper functions for enable and voltage operations if > possible. The anatop-regulator driver only implements set_voltage_sel/get_voltage_sel which i have already converted, what do you mean others like 'for enable and voltage operations' i should also convert? Regards Dong Aisheng From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932307Ab2HWHeU (ORCPT ); Thu, 23 Aug 2012 03:34:20 -0400 Received: from am1ehsobe005.messaging.microsoft.com ([213.199.154.208]:46575 "EHLO am1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756045Ab2HWHeR (ORCPT ); Thu, 23 Aug 2012 03:34:17 -0400 X-Forefront-Antispam-Report: CIP:70.37.183.190;KIP:(null);UIP:(null);IPV:NLI;H:mail.freescale.net;RD:none;EFVD:NLI X-SpamScore: 1 X-BigFish: VS1(zz98dI1432Izz1202h1082kzz8275bh8275dhz2dh2a8h668h839h944hd25hf0ah107ah1155h) Date: Thu, 23 Aug 2012 15:15:04 +0800 From: Dong Aisheng To: Mark Brown CC: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linus.walleij@stericsson.com" , "s.hauer@pengutronix.de" , "shawn.guo@linaro.org" , "kernel@pengutronix.de" , "grant.likely@secretlab.ca" , "rob.herring@calxeda.com" , "sameo@linux.intel.com" , "lrg@ti.com" , Zhao Richard-B20223 , "devicetree-discuss@lists.ozlabs.org" , "swarren@wwwdotorg.org" , "paul.liu@linaro.org" Subject: Re: [PATCH 4/7] regulator: anatop-regulator: convert to use imx-syscon to access anatop register Message-ID: <20120823071503.GF10057@shlinux2.ap.freescale.net> References: <1345619928-15446-1-git-send-email-b29396@freescale.com> <1345619928-15446-5-git-send-email-b29396@freescale.com> <20120822155953.GQ7995@opensource.wolfsonmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20120822155953.GQ7995@opensource.wolfsonmicro.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginatorOrg: freescale.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 22, 2012 at 11:59:53PM +0800, Mark Brown wrote: > On Wed, Aug 22, 2012 at 03:18:45PM +0800, Dong Aisheng wrote: > > From: Dong Aisheng > > > > Using standard imx syscon API to access anatop register. > > Acked-by: Mark Brown > Thanks > With the conversion to regmap it'd also be good to convert the driver to > use the regmap helper functions for enable and voltage operations if > possible. The anatop-regulator driver only implements set_voltage_sel/get_voltage_sel which i have already converted, what do you mean others like 'for enable and voltage operations' i should also convert? Regards Dong Aisheng