Re: [PATCH] efikamx: reintroduce Genesi Efika MX Smarttop via device tree

From: Matt Sealey
Date: Mon Aug 13 2012 - 11:50:56 EST


On Thu, Aug 9, 2012 at 5:19 AM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, Aug 07, 2012 at 04:46:18PM -0500, Matt Sealey wrote:
>
> Yay for indentation! It'd be good to rewrite your DT so you could cut
> down on that, at the minute it's not good for legibility.
>
>> + sw1_reg: sw1 {
>> + regulator-min-microvolt = <600000>;
>> + regulator-max-microvolt = <1375000>;
>> + regulator-boot-on;
>> + regulator-always-on;
>> + };
>
> This and many of your other regulators have voltage ranges specified but
> no consumers which doesn't make sense. It looks awfully like you've
> just typed in the maximum range supported by the regulator which is most
> likely broken.

Okay I have a question about this; some of the regulators (SW1
especially) are obviously consumed by the CPU core complex so that
when DVFS gives us a hint we can clock down and reduce voltage. How on
earth do we implement that?

We can drop the maximum range to be better for the CPU (1.3V is too
high, I think this is legacy from when we may have had a sorted 1GHz
MX51 coming out) but I can't find any source for where this is hooked
in.

--
Matt Sealey <matt@xxxxxxxxxxxxxx>
Product Development Analyst, Genesi USA, Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/