Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09ea24f6 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

msm: limits: Move profile switch interface to sysfs



At present, LMH interface supports for the LMH hardware to
switch profiles and this can be achieved by using the debug
file system interface.

Move this interface from debug file system to system
file system, so that it can be accessed in devices without
the debug file system mounted.

Below are the new sysfs interfaces,
/sys/class/msm_limits/lmh-profile/level
	 - Set or get the current LMH operating profile.
/sys/class/msm_limits/lmh-profile/total_levels
	- Total operating profile levels supported in this device.
/sys/class/msm_limits/lmh-profile/available_levels
	- Lists the available profile levels for this device.

Change-Id: Id2920c69bb2033c2026e9dd7f8d50ed4347887ff
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 4acf16e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment