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

Skip to content
Commit 0d0636de authored by Sahil Chandna's avatar Sahil Chandna
Browse files

power: smb1390-psy: Add support for dual charge Pumps



Dual SMB1390 PMICs, master and slave, are supported as companion chargers
to the primary charge PMIC. The CP driver is split into master and slave
drivers, the slave mirrors master's operations.

The master acts as the proxy for both, interacting with main charger and
userspace, with the inherited interface and die temp of master alone is
exposed.

The Master SMB1390 handles:
- All IRQ
- Switching of slave SMB1390
- Configuring ILIM of slave

Currently, the supported mode is MID(input)-VBAT(output). When ILIM falls
below threshold ilim, both SMB are turned off. In the absence of slave
charge pump, the drivers fall back to support a single charge pump like
before, for backward compatibility.

Change-Id: I7c16d8d5e205ddc4cd212b0e7c5d2e54eea78df1
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
Signed-off-by: default avatarSahil Chandna <chandna@codeaurora.org>
parent 29fcc27e
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