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


Groups > linux.kernel > #1317140

Re: Missing OMAP PM layer

From Kevin Hilman <khilman@baylibre.com>
Newsgroups linux.kernel
Subject Re: Missing OMAP PM layer
Date 2016-01-25 19:20 +0100
Message-ID <qUTU5-7YI-1@gated-at.bofh.it> (permalink)
References <qUzsm-1Ab-13@gated-at.bofh.it> <qUSll-6Ia-37@gated-at.bofh.it>
Organization BayLibre

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web