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

Skip to content
Commit e6b2f4a1 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: qcom: Add the QPNP QGAUGE (QG) driver



The QG driver adds support for battery gauging and reporting
the battery specific parameters to userspace. The driver comprises
of the below files:

qpnp-qg.c: Core QG driver
qg-soc.c: SOC (state of charge) scaling operations
qg-util.c: Common functions
qg-battery-profile.c: Parsing battery profile from DT
qg-profile-lib.c: Operations on battery profiles
qg-sdam.c: SDAM interface for QG

This commit also adds the below UAPI files,

qg.h: QG data shared between kernel and userspace QG modules
qg-profile.c: Profile data exchange between kernel and userspace.

CRs-Fixed: 2190528
Change-Id: I97f9d051692ed659030136a622e62009da55b462
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 350a47b2
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