From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH] ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to a level all boards can supply Date: Mon, 3 Aug 2015 11:16:24 +0200 Message-ID: <20150803091624.GZ2564@lukather> References: <1438543386-7253-1-git-send-email-public_timo.s@silentcreek.de> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FgR7z6dKxNwpUCN/" Return-path: Content-Disposition: inline In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Julian Calaby Cc: public_timo.s-fWgRPtSzPNU3WX+qO2AYSQ@public.gmane.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree , "Mailing List, Arm" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-sunxi , Chen-Yu Tsai List-Id: devicetree@vger.kernel.org --FgR7z6dKxNwpUCN/ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Mon, Aug 03, 2015 at 09:35:51AM +1000, Julian Calaby wrote: > Hi Timo, > > On Mon, Aug 3, 2015 at 5:23 AM, Timo Sigurdsson > wrote: > > sun7i-a20.dtsi contains an cpufreq operating point at 0.9 volts. Most A20 boards > > (or all?), however, do not allow the voltage to go below 1.0V. Thus, raise the > > voltage for the lowest operating point to 1.0V so all boards can actually use > > it. > > Surely it wouldn't be added here if some could supply 0.9v. > > Is the code that uses this smart enough to sensibly switch between two > operating points with the same frequency and different voltages? If > so, maybe just add a 144MHz @ 1.0v operating point? And how would it choose between the two exactly ? Switch to the 144MHz @ 0.9V and see if it works ? If it doesn't you might have screwed your system already, and might not be able to recover from it at all. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --FgR7z6dKxNwpUCN/--