OSDN Git Service

power: bcl: Add frequency mitigation as an optional property for BCL
authorManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Fri, 18 Nov 2016 10:03:31 +0000 (15:33 +0530)
committerManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Fri, 9 Dec 2016 14:18:33 +0000 (19:48 +0530)
commitc2ec16b9e137ae66834aba47c5a1ce0952718ebb
treebf173105d2113808f355d3ab67166d2c4fe508f6
parent54fb4f8396b497698866ad18e127650282b34d7f
power: bcl: Add frequency mitigation as an optional property for BCL

For targets with LMH DCVSh hardware and OSM, BCL software frequency
mitigation is not required. Since hardware is doing the frequency
mitigation, there is no need for the HLOS BCL frequency mitigation.
So make the properties "qcom,mitigation-freq-khz" and
"qcom,thermal-handle" as optional properties.

Change-Id: I0062f3b39f00ff2f0e74affcffbcf1afd89d3b2f
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Documentation/devicetree/bindings/arm/msm/bcl.txt
drivers/power/qcom-charger/battery_current_limit.c