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

Skip to content
Commit e5477918 authored by Zhenhua Huang's avatar Zhenhua Huang
Browse files

power: smb1360: Add an optional property to stop updating empty_soc flag



By default, SOC empty irq triggers when voltage is less than empty_soc
threshold. Empty_soc flag will be set in irq handler and SOC reported
becomes 0%.

On some targets, while booting up at lower voltages, if the inrush
current is high, the voltage may momentarily drop below the empty_soc
threshold, falsely triggering the IRQ and setting the SOC to 0.
Make it optional to avoid this issue.

CRs-fixed: 713559
Change-Id: I30b1e4e88702bb9b3983f5a417c6897c767ddae6
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
parent 88240c83
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