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

Skip to content
Commit 841eb431 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

regulator: qpnp-lcdb: Fix boost headroom and max voltage configuration



For PM660L, maximum boost voltage is 6250 mV and for PM855L, it
is 6275 mV. Fix this. Also, if the child node for boost regulator
is not specified in the device tree, boost headroom is set to 0.
This is incorrect when there is a request for voltage change in
addition to enable/disable LDO/NCP regulators, boost voltage can
get set without the required headroom as the headroom was set to
0. Fix this by initializing boost headroom to default values even
if the child node for boost is not defined.

While at it, add the default boost headroom values for different
PMICs in device tree bindings documentation.

Change-Id: I79911d88e0fa25d8b520796c8eea61e6e4ab27ae
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent f5c48058
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment