power: qpnp-bms: introduce custom oem battery data
By default, there are only palladium and desay battery profile data in
the current implementation. However, OEMs may want to maintain their own
battery profile data for other battery types.
Introduce battery type "BATT_OEM" and the corresponding profile table as
"bms-battery-data-oem.c".
Default functionality should not be impacted. The bms will still
default to palladium 1500 to maintain backwards functionality.
CRs-Fixed: 431640
Change-Id: I97d21ecacda92ae18f0aaa0f2256f62f3de1daa5
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
4 files changed