Re: [PATCH Resend] driver/core: cpu: initialize opp table
From: Rafael J. Wysocki <hidden>
Date: 2014-05-19 20:59:27
Also in:
lkml
From: Rafael J. Wysocki <hidden>
Date: 2014-05-19 20:59:27
Also in:
lkml
On Monday, May 19, 2014 11:13:24 PM Rafael J. Wysocki wrote:
On Monday, May 19, 2014 11:59:11 AM Viresh Kumar wrote:quoted
All drivers expecting CPU's OPPs from device tree initialize OPP table using of_init_opp_table() and there is nothing driver specific in that. They all do it in the same way adding to code redundancy. It would be better if we can get rid of code redundancy by initializing CPU OPPs from core code for all CPUs that have a "operating-points" property defined in their node. This patch initializes OPPs as soon as CPU device is registered in register_cpu(). Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Amit Daniel Kachhap <redacted> Cc: Kukjin Kim <redacted> Cc: Shawn Guo <redacted> Cc: Sudeep Holla <redacted> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Do patches [2-5/5] depend on this one BTW? -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.