From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Stach Subject: Re: [PATCH 2/4] cpufreq: add i.MX5 cpufreq driver Date: Mon, 26 May 2014 17:57:33 +0200 Message-ID: <1401119853.4829.65.camel@weser.hi.pengutronix.de> References: <1401099308-9658-1-git-send-email-l.stach@pengutronix.de> <1401099308-9658-2-git-send-email-l.stach@pengutronix.de> <1401101131.4829.29.camel@weser.hi.pengutronix.de> <1401107748.4829.39.camel@weser.hi.pengutronix.de> <1401109863.4829.46.camel@weser.hi.pengutronix.de> <1401112697.4829.56.camel@weser.hi.pengutronix.de> <1401118115.4829.60.camel@weser.hi.pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-pm-owner@vger.kernel.org To: Viresh Kumar Cc: "Rafael J. Wysocki" , "linux-pm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , Shawn Guo , Kumar Gala , Ian Campbell , Mark Rutland , Pawel Moll , Rob Herring , Sascha Hauer List-Id: devicetree@vger.kernel.org Am Montag, den 26.05.2014, 21:05 +0530 schrieb Viresh Kumar: > On 26 May 2014 20:58, Lucas Stach wrote: > > The platform I'm working on supports cpu rail voltage regulation just > > fine. > > So, the regulator can be scaled to support all values from your dts > and we can work without MAX-volt parameter here.. The max-volt parameter is still useful to determine the acceptable tolerance. It defines that max voltage one would pass to the regulator framework, without the need to "compute" the tolerance in any way, as we already have a datasheet defined max value. > > > I just want to make sure that the driver works properly on platforms > > where this isn't the case. > > Can we just take care of this simply by not adding any regulators at > all? In that case cpufreq-cpu0 will try working without a regulator.. No, we need the regulator to determine which OPPs are actually useable. If the regulator is only supplying 1.1V we can only scale to 800MHz max, which is the case for some of the industrial i.MX53 versions. Regards, Lucas -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ |