Skip to contentSkip to conversation

PM / devfreq: Add possible_frequencies device attribute

PATCH 함명주 1 participant 1 message Jul 21, 2014 Arm Qualcomm mailing list

lore
Share & tools
lore

함명주

author
#0 lore raw

Sender : Saravana Kannan<[email protected]>
Title : [PATCH v4] PM / devfreq: Add possible_frequencies device attribute

Quoted 11 lines

Some devices use freq_table instead of OPP. For those devices, the available_frequencies sysfs file shows up empty. So, add a possible_frequencies attribute/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