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

Skip to content
Commit 304d0338 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

power: bcl: Add hotplug mitigation support



Add Support for hotplugging the CPU's when BCL
thresholds are reached.

The default mask indicating the cores to hotplug
on BCL conditions is defined in device tree.
BCL module provides a sysfs node to input and
read the current hotplug mask.
/qcom,bcl.#/hotplug_mask
Here the bits 0-7 corresponds to cores 0-7
respectively. If the value of the bit is set to 1,
then the corresponding core will be hotplugged on
battery current limit condition.

BCL module also provides another sysfs node,
/qcom,bcl.#/hotplug_status
which shows the current cores hotplugged
because of BCL conditions.

Change-Id: I4cc8e1da6ed77fcf3e03c0b925e427d2fc94aeca
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 5b1408c2
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