dt-bindings: qpnp-fg-gen4: add support to show high resolution of MSOC
Currently CAPACITY_RAW property shows the monotonic SOC read
from FG_BATT_SOC peripheral which is in the scale of 0-255. For
showing a higher resolution of monotonic SOC to the user, obtain
it from FG SRAM which is in the scale of 0-65535 and show it in
centi-percentage when "qcom,soc-hi-res" property is specified.
When the charger is removed, show CAPACITY_RAW simply as
CAPACITY multiplied by 100.
Change-Id: Ic9e3ca23cd8708ecfdf10f5b40e65649197b753b
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment