All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan <ryanphilips19@googlemail.com>
To: Nishanth Menon <nm@ti.com>
Cc: Tony Lindgren <tony@atomide.com>,
	Ran Shalit <ranshalit@gmail.com>,
	Linux OMAP Mailing List <linux-omap@vger.kernel.org>
Subject: Re: omap voltage management
Date: Mon, 6 Apr 2015 21:06:29 +0530	[thread overview]
Message-ID: <CANMsd00+fRi=gwXh-jdXQ0NhxPzzUf4-DHY8k8ZK1LBni0YFYQ@mail.gmail.com> (raw)
In-Reply-To: <55228570.9040504@ti.com>

Hi Nishanth,

On Mon, Apr 6, 2015 at 6:39 PM, Nishanth Menon <nm@ti.com> wrote:
> On 04/06/2015 06:42 AM, Ryan wrote:
>>
>> On Wed, Apr 1, 2015 at 7:17 PM, Nishanth Menon <nm@ti.com> wrote:
>>>
>>> On 04/01/2015 08:18 AM, Ryan wrote:
>>>>
>>>> Hi,
>>>>
>>>> I would like to ask a related question here
>>>
>>> Please try not to top post :).
>>>
>>>>
>>>> If i use performance governor alone - constantly running at the
>>>> highest frequency. Does the smart reflex still has a role to play?
>>>
>>> Yes. cpufreq governor are just policies - cpufreq policies just
>>> selects a frequency to run the CPU from a list of frequencies. for
>>> each frequency to be achieved, there is ABB, AVS configuration needed
>>> (strategy specific to SoC).
>>
>>
>> I was trying to find out where exactly the voltages for core and IVA
>> are set in the code.
>
>
> The generic layer for dvfs is yet to be implemented in k.org.
>

I am using a older TI Kernel. I thought this will a good starting
point to understand
as the platform i am working on uses this. if you could provide some pointers
on who initiates the voltage transition and how for each freq. It
would be highly helpful. I did add prints and start tracing
It became too complex for me to fully get a understanding.

http://git.omapzoom.org/?p=kernel/omap.git;a=tree;h=refs/heads/p-android-omap-3.0;hb=refs/heads/p-android-omap-3.0

>> Are they set whenever for every frequency change? - I see that the
>
>
> yes.
>
>> table is divided into OPP50, OPP100 and
>> so on but was not able to trace the entire path.
>>

Say if i use a lower freq (OPP50) - Apart from MPU - Should both core
and iva voltages should
also be set to opp50 voltages as listed in omap446x_vdd_core_volt_data
and omap446x_vdd_core_volt_data?

>> Also, does smartreflex framework uses the same path to change the
>> voltages (omap446x_vdd_core_volt_data,
>> omap446x_vdd_core_volt_data)
>
>
> 4460 on Panda-es does not have an implementation yet.
> --
> Regards,
> Nishanth Menon
>

  reply	other threads:[~2015-04-06 15:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 20:05 omap voltage management Ran Shalit
2015-03-19 20:27 ` Tony Lindgren
2015-03-20  5:11   ` Ran Shalit
2015-03-21 19:18     ` Ran Shalit
2015-03-25 21:47       ` Tony Lindgren
2015-03-25 22:47         ` Nishanth Menon
2015-04-01 13:18           ` Ryan
2015-04-01 13:47             ` Nishanth Menon
2015-04-06 11:42               ` Ryan
2015-04-06 13:09                 ` Nishanth Menon
2015-04-06 15:36                   ` Ryan [this message]
2015-04-06 16:25                     ` Nishanth Menon

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='CANMsd00+fRi=gwXh-jdXQ0NhxPzzUf4-DHY8k8ZK1LBni0YFYQ@mail.gmail.com' \
    --to=ryanphilips19@googlemail.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=ranshalit@gmail.com \
    --cc=tony@atomide.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.