All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] OPP: Make ceil/floor/exact helpers share code
@ 2022-06-03  6:20 Viresh Kumar
  2022-06-03  6:20 ` [PATCH 1/5] OPP: Remove dev_pm_opp_find_freq_ceil_by_volt() Viresh Kumar
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Viresh Kumar @ 2022-06-03  6:20 UTC (permalink / raw)
  To: Nishanth Menon, Rafael J. Wysocki, Stephen Boyd, Viresh Kumar
  Cc: Viresh Kumar, linux-pm, Vincent Guittot, Krzysztof Kozlowski,
	linux-kernel

Hello,

All helpers of type ceil/floor/exact do pretty much the same thing. Rewrite them
in order to reduce code redundancy.

Tested the freq based routines on Hikey platform, work as expected.

This is rebased over other recent OPP changes / cleanups and is pushed here will
all dependencies:

git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git opp/ceil

--
Viresh

Viresh Kumar (5):
  OPP: Remove dev_pm_opp_find_freq_ceil_by_volt()
  OPP: Add generic key finding helpers
  OPP: Use generic key finding helpers for freq key
  OPP: Use generic key finding helpers for level key
  OPP: Use generic key finding helpers for bandwidth key

 drivers/opp/core.c     | 437 ++++++++++++++---------------------------
 include/linux/pm_opp.h |   8 -
 2 files changed, 147 insertions(+), 298 deletions(-)

-- 
2.31.1.272.g89b43f80a514


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-03  6:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-03  6:20 [PATCH 0/5] OPP: Make ceil/floor/exact helpers share code Viresh Kumar
2022-06-03  6:20 ` [PATCH 1/5] OPP: Remove dev_pm_opp_find_freq_ceil_by_volt() Viresh Kumar
2022-06-03  6:20 ` [PATCH 2/5] OPP: Add generic key finding helpers Viresh Kumar
2022-06-03  6:20 ` [PATCH 3/5] OPP: Use generic key finding helpers for freq key Viresh Kumar
2022-06-03  6:20 ` [PATCH 4/5] OPP: Use generic key finding helpers for level key Viresh Kumar
2022-06-03  6:20 ` [PATCH 5/5] OPP: Use generic key finding helpers for bandwidth key Viresh Kumar

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.