162306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../ 262306a36Sopenharmony_ciDate: September 2011 362306a36Sopenharmony_ciContact: MyungJoo Ham <myungjoo.ham@samsung.com> 462306a36Sopenharmony_ciDescription: 562306a36Sopenharmony_ci Provide a place in sysfs for the devfreq objects. 662306a36Sopenharmony_ci This allows accessing various devfreq specific variables. 762306a36Sopenharmony_ci The name of devfreq object denoted as ... is same as the 862306a36Sopenharmony_ci name of device using devfreq. 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../name 1162306a36Sopenharmony_ciDate: November 2019 1262306a36Sopenharmony_ciContact: Chanwoo Choi <cw00.choi@samsung.com> 1362306a36Sopenharmony_ciDescription: 1462306a36Sopenharmony_ci The /sys/class/devfreq/.../name shows the name of device 1562306a36Sopenharmony_ci of the corresponding devfreq object. 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../governor 1862306a36Sopenharmony_ciDate: September 2011 1962306a36Sopenharmony_ciContact: MyungJoo Ham <myungjoo.ham@samsung.com> 2062306a36Sopenharmony_ciDescription: 2162306a36Sopenharmony_ci The /sys/class/devfreq/.../governor show or set the name of the 2262306a36Sopenharmony_ci governor used by the corresponding devfreq object. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../cur_freq 2562306a36Sopenharmony_ciDate: September 2011 2662306a36Sopenharmony_ciContact: MyungJoo Ham <myungjoo.ham@samsung.com> 2762306a36Sopenharmony_ciDescription: 2862306a36Sopenharmony_ci The /sys/class/devfreq/.../cur_freq shows the current 2962306a36Sopenharmony_ci frequency of the corresponding devfreq object. Same as 3062306a36Sopenharmony_ci target_freq when get_cur_freq() is not implemented by 3162306a36Sopenharmony_ci devfreq driver. 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../target_freq 3462306a36Sopenharmony_ciDate: September 2012 3562306a36Sopenharmony_ciContact: Rajagopal Venkat <rajagopal.venkat@linaro.org> 3662306a36Sopenharmony_ciDescription: 3762306a36Sopenharmony_ci The /sys/class/devfreq/.../target_freq shows the next governor 3862306a36Sopenharmony_ci predicted target frequency of the corresponding devfreq object. 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../trans_stat 4162306a36Sopenharmony_ciDate: October 2012 4262306a36Sopenharmony_ciContact: MyungJoo Ham <myungjoo.ham@samsung.com> 4362306a36Sopenharmony_ciDescription: 4462306a36Sopenharmony_ci This ABI shows or clears the statistics of devfreq behavior 4562306a36Sopenharmony_ci on a specific device. It shows the time spent in each state 4662306a36Sopenharmony_ci and the number of transitions between states. 4762306a36Sopenharmony_ci In order to activate this ABI, the devfreq target device 4862306a36Sopenharmony_ci driver should provide the list of available frequencies 4962306a36Sopenharmony_ci with its profile. If need to reset the statistics of devfreq 5062306a36Sopenharmony_ci behavior on a specific device, enter 0(zero) to 'trans_stat' 5162306a36Sopenharmony_ci as following:: 5262306a36Sopenharmony_ci 5362306a36Sopenharmony_ci echo 0 > /sys/class/devfreq/.../trans_stat 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci If the transition table is bigger than PAGE_SIZE, reading 5662306a36Sopenharmony_ci this will return an -EFBIG error. 5762306a36Sopenharmony_ci 5862306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../available_frequencies 5962306a36Sopenharmony_ciDate: October 2012 6062306a36Sopenharmony_ciContact: Nishanth Menon <nm@ti.com> 6162306a36Sopenharmony_ciDescription: 6262306a36Sopenharmony_ci The /sys/class/devfreq/.../available_frequencies shows 6362306a36Sopenharmony_ci the available frequencies of the corresponding devfreq object. 6462306a36Sopenharmony_ci This is a snapshot of available frequencies and not limited 6562306a36Sopenharmony_ci by the min/max frequency restrictions. 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../available_governors 6862306a36Sopenharmony_ciDate: October 2012 6962306a36Sopenharmony_ciContact: Nishanth Menon <nm@ti.com> 7062306a36Sopenharmony_ciDescription: 7162306a36Sopenharmony_ci The /sys/class/devfreq/.../available_governors shows 7262306a36Sopenharmony_ci currently available governors in the system. 7362306a36Sopenharmony_ci 7462306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../min_freq 7562306a36Sopenharmony_ciDate: January 2013 7662306a36Sopenharmony_ciContact: MyungJoo Ham <myungjoo.ham@samsung.com> 7762306a36Sopenharmony_ciDescription: 7862306a36Sopenharmony_ci The /sys/class/devfreq/.../min_freq shows and stores 7962306a36Sopenharmony_ci the minimum frequency requested by users. It is 0 if 8062306a36Sopenharmony_ci the user does not care. min_freq overrides the 8162306a36Sopenharmony_ci frequency requested by governors. 8262306a36Sopenharmony_ci 8362306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../max_freq 8462306a36Sopenharmony_ciDate: January 2013 8562306a36Sopenharmony_ciContact: MyungJoo Ham <myungjoo.ham@samsung.com> 8662306a36Sopenharmony_ciDescription: 8762306a36Sopenharmony_ci The /sys/class/devfreq/.../max_freq shows and stores 8862306a36Sopenharmony_ci the maximum frequency requested by users. It is 0 if 8962306a36Sopenharmony_ci the user does not care. max_freq overrides the 9062306a36Sopenharmony_ci frequency requested by governors and min_freq. 9162306a36Sopenharmony_ci The max_freq overrides min_freq because max_freq may be 9262306a36Sopenharmony_ci used to throttle devices to avoid overheating. 9362306a36Sopenharmony_ci 9462306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../polling_interval 9562306a36Sopenharmony_ciDate: September 2011 9662306a36Sopenharmony_ciContact: MyungJoo Ham <myungjoo.ham@samsung.com> 9762306a36Sopenharmony_ciDescription: 9862306a36Sopenharmony_ci The /sys/class/devfreq/.../polling_interval shows and sets 9962306a36Sopenharmony_ci the requested polling interval of the corresponding devfreq 10062306a36Sopenharmony_ci object. The values are represented in ms. If the value is 10162306a36Sopenharmony_ci less than 1 jiffy, it is considered to be 0, which means 10262306a36Sopenharmony_ci no polling. This value is meaningless if the governor is 10362306a36Sopenharmony_ci not polling. 10462306a36Sopenharmony_ci 10562306a36Sopenharmony_ci A list of governors that support the node: 10662306a36Sopenharmony_ci - simple_ondmenad 10762306a36Sopenharmony_ci - tegra_actmon 10862306a36Sopenharmony_ci 10962306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../userspace/set_freq 11062306a36Sopenharmony_ciDate: September 2011 11162306a36Sopenharmony_ciContact: MyungJoo Ham <myungjoo.ham@samsung.com> 11262306a36Sopenharmony_ciDescription: 11362306a36Sopenharmony_ci The /sys/class/devfreq/.../userspace/set_freq shows and 11462306a36Sopenharmony_ci sets the requested frequency for the devfreq object if 11562306a36Sopenharmony_ci userspace governor is in effect. 11662306a36Sopenharmony_ci 11762306a36Sopenharmony_ci A list of governors that support the node: 11862306a36Sopenharmony_ci - userspace 11962306a36Sopenharmony_ci 12062306a36Sopenharmony_ciWhat: /sys/class/devfreq/.../timer 12162306a36Sopenharmony_ciDate: July 2020 12262306a36Sopenharmony_ciContact: Chanwoo Choi <cw00.choi@samsung.com> 12362306a36Sopenharmony_ciDescription: 12462306a36Sopenharmony_ci This ABI shows and stores the kind of work timer by users. 12562306a36Sopenharmony_ci This work timer is used by devfreq workqueue in order to 12662306a36Sopenharmony_ci monitor the device status such as utilization. The user 12762306a36Sopenharmony_ci can change the work timer on runtime according to their demand 12862306a36Sopenharmony_ci as following:: 12962306a36Sopenharmony_ci 13062306a36Sopenharmony_ci echo deferrable > /sys/class/devfreq/.../timer 13162306a36Sopenharmony_ci echo delayed > /sys/class/devfreq/.../timer 13262306a36Sopenharmony_ci 13362306a36Sopenharmony_ci A list of governors that support the node: 13462306a36Sopenharmony_ci - simple_ondemand 135