From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: [PATCH 00/10] cpufreq: Get rid of cpufreq-dt's platform data Date: Thu, 21 Apr 2016 14:28:52 +0530 Message-ID: Return-path: Received: from mail-pf0-f173.google.com ([209.85.192.173]:35708 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751804AbcDUI7S (ORCPT ); Thu, 21 Apr 2016 04:59:18 -0400 Received: by mail-pf0-f173.google.com with SMTP id n1so28198856pfn.2 for ; Thu, 21 Apr 2016 01:59:17 -0700 (PDT) Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Rafael Wysocki Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, nm@ti.com, sboyd@codeaurora.org, arnd.bergmann@linaro.org, andrew@lunn.ch, gregory.clement@free-electrons.com, jason@lakedaemon.net, sebastian.hesselbarth@gmail.com, thomas.petazzoni@free-electrons.com, Viresh Kumar Hi Guys, The aim of the series is to kill the users of cpufreq-dt's platform data, i.e. mvebu. And because that required a new API to the OPP core, this just became a mix of cpufreq and OPP patches. The first four patches does some sort of cleanup of the OPP core to base the next patches. Fifth one sets the shared_opp flag in opp-tables (required by later patches). Sixth one adds a new API for opp-v1 users, to get the CPUs sharing an OPP table. Seventh to tenth update cpufreq-dt and mvebu to get rid of platform data. @Rafael: The last patch touches the compatible-list array in cpufreq-dt-platdev.c, which is also touched by '[PATCH 0/8] cpufreq: dt: Don't create platform-device from platform code'. So, the last one has some sort of dependency on that series, otherwise all other patches can be applied cleanly. @Arnd: Can you please look at patches 7-10 .. Viresh Kumar (10): PM / OPP: Propagate the error returned by _find_opp_table() PM / OPP: Add missing doc style comments PM / OPP: dev_pm_opp_set_sharing_cpus() doesn't depend on CONFIG_OF PM / OPP: Relocate dev_pm_opp_set_sharing_cpus() PM / OPP: Mark shared-opp for non-dt case PM / OPP: Add dev_pm_opp_get_sharing_cpus() cpufreq: dt: Identify cpu-sharing for platforms without operating-points-v2 mvebu: Use dev_pm_opp_set_sharing_cpus() to mark OPP tables as shared cpufreq: dt: Kill platform-data cpufreq: mvebu: Use generic platdev driver arch/arm/mach-mvebu/pmsu.c | 14 ++- drivers/base/power/opp/cpu.c | 187 +++++++++++++++++++++++++++-------- drivers/cpufreq/cpufreq-dt-platdev.c | 2 + drivers/cpufreq/cpufreq-dt.c | 22 ++--- include/linux/cpufreq-dt.h | 24 ----- include/linux/pm_opp.h | 18 ++-- 6 files changed, 176 insertions(+), 91 deletions(-) delete mode 100644 include/linux/cpufreq-dt.h -- 2.7.1.410.g6faf27b