[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard



On Fri, Jul 24, 2015 at 05:49:42AM -0700, Thomas Kaiser wrote:
> Hi,
> 
> Timo wrote:
> >
> > I think what Maxime was trying to say is, that while all of your boards 
> > support Cpufreq, only the Cubietruck supports voltage scaling because only 
> > Cubietruck has the power regulator nodes defined in it's dts file (just 
> > have a look at the last lines of the Cubitruck dts file and compare that to 
> > the dts file, let's say, for Bananapi). On the other boards, the frequency 
> > is scaled, but the voltage always stays at 1.4V as set in U-Boot (that 
> > means the voltages in the cpufreq operating points are not used on these 
> > boards). At least that's what I understand after a recent email axchange 
> > with Chen-Yu Tsai. 
> 
> 
> Ah, now I think I understand. You're talking about these lines here?
> 
>     
> https://github.com/RobertCNelson/u-boot/blob/master/arch/arm/dts/sun7i-a20-cubietruck.dts#L244-L269
> 
> So while using CONFIG_REGULATOR_AXP20X=y will bring working cpufreq
> support to the cubietruck, shouldn't adding these lines to the
> device trees of the other 5 A20 devices enable CPU voltage scaling
> there?

That and
https://github.com/RobertCNelson/u-boot/blob/master/arch/arm/dts/sun7i-a20-cubietruck.dts#L108-L110

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Attachment: signature.asc
Description: Digital signature


Reply to: