PM / devfreq: Add possible_frequencies device attribute
Sender : Saravana Kannan<[email protected]>
Title : [PATCH v4] PM / devfreq: Add possible_frequencies device attribute
Quoted 11 lines
Some devices use
freq_tableinstead of OPP. For those devices, theavailable_frequenciessysfs file shows up empty. So, add apossible_frequenciesattribute/syfs file that list all the possible frequencies.For devices that use OPP, the output of this file will match
available_frequencies. It may change in the future to show all OPP frequencies -- even the disabled ones.Signed-off-by Saravana Kannan
Looks Good.
I'll rebase and merge into devfreq-next when I get back (I can only access the Internet via mobile phones until Wed this week.) I'll move this sysfs entry to .../stat along with stat sysfs and make it conditional (appears only when stat is available)
Cheers,
MyungJoo.
--
MyungJoo Ham (함명주), PHD
Frontier CS Lab, Software Center
Samsung Electronics
Cell: +82-10-6714-2858