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

Skip to content
Commit caceca44 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

power: smb5: Add snapshot of SMB5 driver and its dependencies



Add snapshot of the QPNP-SMB5 driver, along with its dependencies, as of
msm-4.14 'commit 7e16ff6cdde5 ("defconfig: qcs405: enable WLAN configs
for 32-bit QCS405")'.

Get rid of the use of module parameters in qpnp-smb5.c and battery.c as
they do not scale well for multiple device instances of the same driver.
Instead:
- move debug_mask to debugfs (both files), and
- associate pd_disabled and weak_chg_icl_ua with the device instead,
  using sysfs (only qpnp-smb5.c)

The QPNP-SMB5 driver controls battery charging and other related
functionalities of the PM8150B chip and chips similar to PM8150B.

Change-Id: Ic356e58aaadf810aa279ade59ae11bdc743788d5
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent c7b44586
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