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:
Guru Das Srinagesh <gurus@codeaurora.org>
Loading
Please register or sign in to comment