[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171023051052epcms1p6ab11328679c36c925f510a87f84590aa@epcms1p6>
Date: Mon, 23 Oct 2017 05:10:52 +0000
From: MyungJoo Ham <myungjoo.ham@...sung.com>
To: Chanwoo Choi <cw00.choi@...sung.com>,
Kyungmin Park <kyungmin.park@...sung.com>
CC: "rafael.j.wysocki@...el.com" <rafael.j.wysocki@...el.com>,
"chanwoo@...nel.org" <chanwoo@...nel.org>,
Inki Dae <inki.dae@...sung.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>
Subject: RE: [PATCH v5 3/7] PM / devfreq: Use the available min/max
frequency
> The commit a76caf55e5b35 ("thermal: Add devfreq cooling") is able
> to disable OPP as a cooling device. In result, both update_devfreq()
> and {min|max}_freq_show() have to consider the 'opp->available'
> status of each OPP.
>
> So, this patch adds the 'scaling_{min|max}_freq' to struct devfreq
> in order to indicate the available mininum and maximum frequency
> by adjusting OPP interface such as dev_pm_opp_{disable|enable}().
> The 'scaling_{min|max}_freq' are used for on both update_devfreq()
> and {min|max}_freq_show().
>
> Signed-off-by: Chanwoo Choi <cw00.choi@...sung.com>
Acked-by: MyungJoo Ham <myungjoo.ham@...sung.com>
(along with the 2/7, revert commit)
> ---
> drivers/devfreq/devfreq.c | 40 ++++++++++++++++++++++++++++++++--------
> include/linux/devfreq.h | 4 ++++
> 2 files changed, 36 insertions(+), 8 deletions(-)
Powered by blists - more mailing lists