[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKohpomX_ZXSyk7RuCyO1t8VUee5H5KN5zj1-VhDp+ZtFbF-xA@mail.gmail.com>
Date: Fri, 9 May 2014 11:30:15 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Jonghwan Choi <jhbird.choi@...sung.com>
Cc: Nishanth Menon <nm@...com>,
Linux PM list <linux-pm@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Len Brown <len.brown@...el.com>,
Amit Daniel Kachhap <amit.daniel@...sung.com>
Subject: Re: [PATCH 1/3] PM / OPP: Add support for descending order for
cpufreq table
On 9 May 2014 06:39, Jonghwan Choi <jhbird.choi@...sung.com> wrote:
> -> In exynos cpufreq driver, if we want to support more frequency, then
Don't add "->" to your replies, it doesn't make it more readable but less.
> we have to describe frequency information in dts file and have to change exynos cpufreq
> driver file also(For adding divider value).
Why? So, as far as I got it your dividers are nothing but 0,1,2...
i.e.
Freqs: 400 500 600 700 800
div: 4 3 2 1 0
right? That's what you are doing in exynos5440. So just add this in your
probe after doing: dev_pm_opp_init_cpufreq_table
for(i = 0; all-available-freqs; i++)
dvfs_info->freq_table[i].driver_data = dvfs_info->freq_count - i;
And this will work with changes in dts files.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists