Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1315972 > unrolled thread

Missing OMAP PM layer

Started byPali Rohár <pali.rohar@gmail.com>
First post2016-01-24 21:30 +0100
Last post2016-01-25 19:20 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  Missing OMAP PM layer Pali Rohár <pali.rohar@gmail.com> - 2016-01-24 21:30 +0100
    Re: Missing OMAP PM layer Tony Lindgren <tony@atomide.com> - 2016-01-25 17:40 +0100
      Re: Missing OMAP PM layer Pali Rohár <pali.rohar@gmail.com> - 2016-01-25 18:30 +0100
      Re: Missing OMAP PM layer Kevin Hilman <khilman@baylibre.com> - 2016-01-25 19:20 +0100

#1315972 — Missing OMAP PM layer

FromPali Rohár <pali.rohar@gmail.com>
Date2016-01-24 21:30 +0100
SubjectMissing OMAP PM layer
Message-ID<qUzsm-1Ab-13@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hello,

make menuconfig allows me to choose "OMAP PM layer selection" and the 
only one option is CONFIG_OMAP_PM_NOOP "No-op/debug PM layer".

What does it mean? Power manager is noop?

I see that it has only two corresponding files in mainline kernel:
arch/arm/mach-omap2/omap-pm.h
arch/arm/mach-omap2/omap-pm-noop.c

Nokia's kernels (for N900 and N950) had also:
arch/arm/mach-omap2/omap-pm-srf.c

Can somebody explain it what happened with omap power management?

Looks like that omap-pm.h provides some API, but the only implementation 
is noop which do nothing.

-- 
Pali Rohár
pali.rohar@gmail.com

[toc] | [next] | [standalone]


#1316979

FromTony Lindgren <tony@atomide.com>
Date2016-01-25 17:40 +0100
Message-ID<qUSll-6Ia-37@gated-at.bofh.it>
In reply to#1315972
* Pali Rohár <pali.rohar@gmail.com> [160124 12:24]:
> Hello,
> 
> make menuconfig allows me to choose "OMAP PM layer selection" and the 
> only one option is CONFIG_OMAP_PM_NOOP "No-op/debug PM layer".
> 
> What does it mean? Power manager is noop?
> 
> I see that it has only two corresponding files in mainline kernel:
> arch/arm/mach-omap2/omap-pm.h
> arch/arm/mach-omap2/omap-pm-noop.c
> 
> Nokia's kernels (for N900 and N950) had also:
> arch/arm/mach-omap2/omap-pm-srf.c
> 
> Can somebody explain it what happened with omap power management?
> 
> Looks like that omap-pm.h provides some API, but the only implementation 
> is noop which do nothing.

I believe none of that is needed any longer in mainline.

Kevin, care to descrbibe what should be done here?

Regards,

Tony

[toc] | [prev] | [next] | [standalone]


#1317109

FromPali Rohár <pali.rohar@gmail.com>
Date2016-01-25 18:30 +0100
Message-ID<qUT7K-7lX-49@gated-at.bofh.it>
In reply to#1316979

[Multipart message — attachments visible in raw view] — view raw

On Monday 25 January 2016 17:34:42 Tony Lindgren wrote:
> * Pali Rohár <pali.rohar@gmail.com> [160124 12:24]:
> > Hello,
> > 
> > make menuconfig allows me to choose "OMAP PM layer selection" and
> > the only one option is CONFIG_OMAP_PM_NOOP "No-op/debug PM layer".
> > 
> > What does it mean? Power manager is noop?
> > 
> > I see that it has only two corresponding files in mainline kernel:
> > arch/arm/mach-omap2/omap-pm.h
> > arch/arm/mach-omap2/omap-pm-noop.c
> > 
> > Nokia's kernels (for N900 and N950) had also:
> > arch/arm/mach-omap2/omap-pm-srf.c
> > 
> > Can somebody explain it what happened with omap power management?
> > 
> > Looks like that omap-pm.h provides some API, but the only
> > implementation is noop which do nothing.
> 
> I believe none of that is needed any longer in mainline.

Ok, and what was that omap-pm? Do you know what Nokia omap-pm-srf.c do?

-- 
Pali Rohár
pali.rohar@gmail.com

[toc] | [prev] | [next] | [standalone]


#1317140

FromKevin Hilman <khilman@baylibre.com>
Date2016-01-25 19:20 +0100
Message-ID<qUTU5-7YI-1@gated-at.bofh.it>
In reply to#1316979
Tony Lindgren <tony@atomide.com> writes:

> * Pali Rohár <pali.rohar@gmail.com> [160124 12:24]:
>> Hello,
>> 
>> make menuconfig allows me to choose "OMAP PM layer selection" and the 
>> only one option is CONFIG_OMAP_PM_NOOP "No-op/debug PM layer".
>> 
>> What does it mean? Power manager is noop?
>> 
>> I see that it has only two corresponding files in mainline kernel:
>> arch/arm/mach-omap2/omap-pm.h
>> arch/arm/mach-omap2/omap-pm-noop.c
>> 
>> Nokia's kernels (for N900 and N950) had also:
>> arch/arm/mach-omap2/omap-pm-srf.c
>> 
>> Can somebody explain it what happened with omap power management?
>> 
>> Looks like that omap-pm.h provides some API, but the only implementation 
>> is noop which do nothing.
>
> I believe none of that is needed any longer in mainline.
>
> Kevin, care to descrbibe what should be done here?

We had created the OMAP PM layer as a pluggable layer where we could
experiment with different approaches for adding constratints, etc.  I
can't remember anymore what all was in there, but we gutted most of it
after switching to runtime PM. 

The SRF was a "shared resource framework" that came out of a TI kernel
that was never accepted upstream either, but was one of the
implementation of the OMAP PM layer.

Kevin

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web