linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: john.tobias.ph@gmail.com (John Tobias)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3]: Support cpu frequency scaling and power management for iMX6SL
Date: Tue, 17 Dec 2013 19:03:01 -0800	[thread overview]
Message-ID: <CACUGKYP3u-nu8O2K6op_oSRKHn4ugLuaD2n5cBBJW5473tYVTQ@mail.gmail.com> (raw)
In-Reply-To: <20131218023808.GZ6691@S2101-09.ap.freescale.net>

I think that's the right way to do it. Follow the Freescale kernel to
set the operating-points.

On Tue, Dec 17, 2013 at 6:38 PM, Shawn Guo <shawn.guo@linaro.org> wrote:
> On Tue, Dec 17, 2013 at 07:30:46PM +0100, Markus Niebel wrote:
>> >> @@ -38,6 +38,19 @@
>> >>                         device_type = "cpu";
>> >>                         reg = <0x0>;
>> >>                         next-level-cache = <&L2>;
>> >> +                       operating-points = <
>> >> +                               /* kHz    uV */
>> >> +                               1000000 1275000
>> >> +                               792000  1150000
>>
>> according to the CPU documentation the following operation points are suggested (at least AFAIK):
>>                                996000  1250000 /* for consumer grade only */
>>                                792000  1150000
>>                                396000  1050000
>> note: AFAIK there is no way to detect at runtime if we  running on industrial / automotive variant
>> so there is a risk to run at too high frequency ...
>
> I can only find IMX6SLCEC - i.MX 6SoloLite Applications Processors for
> Consumer Products on freescale website.
>
>  http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6SLCEC.pdf?fpsp=1
>
> In that document, I can see the following in Table 9. Operating Ranges.
>
>  LDO output set at 1.250V minimum for operation up to 996MHz
>  LDO output set at 1.150V minimum for operation up to 792MHz
>  LDO output set at 0.95V minimum for operation up to 396MHz
>
> However, if you access Freescale 3.10 kernel tree, you will see there
> are 25mV addition to each operating-point.
>
>         operating-points = <
>                 /* kHz   uV */
>                 996000  1275000
>                 792000  1175000
>                 396000  975000
>         >;
>
> From the commit log, it said this 25mV is added to compensate the output
> tolerance from external regulators.
>
> I suggest we follow Freescale kernel to set the operating-points.
>
> Shawn
>

  reply	other threads:[~2013-12-18  3:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17  1:40 [PATCH 1/3]: Support cpu frequency scaling and power management for iMX6SL John Tobias
2013-12-17  2:37 ` John Tobias
     [not found]   ` <52B09856.5050609@tqsc.de>
2013-12-17 18:31     ` John Tobias
2013-12-18  2:38     ` Shawn Guo
2013-12-18  3:03       ` John Tobias [this message]
2013-12-17 14:04 ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACUGKYP3u-nu8O2K6op_oSRKHn4ugLuaD2n5cBBJW5473tYVTQ@mail.gmail.com \
    --to=john.tobias.ph@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).