Re: [PATCH v3 4/4] power: supply: Introduce Qualcomm PMIC GLINK power supply

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30/01/2023 05:20, Bjorn Andersson wrote:
From: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

The PMIC GLINK service, running on a coprocessor of modern Qualcomm
platforms, deals with battery charging and fuel gauging, as well as
reporting status of AC and wireless power supplies.

As this is just one of the functionalities provided by the PMIC GLINK
service, this power supply driver is implemented as an auxilirary bus
driver, spawned by the main "pmic glink" driver when the PMIC GLINK
service is detected.

Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
Tested-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> # SM8350 PDX215
Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>
---

Changes since v2:
- None

  drivers/power/supply/Kconfig        |    9 +
  drivers/power/supply/Makefile       |    1 +
  drivers/power/supply/qcom_battmgr.c | 1421 +++++++++++++++++++++++++++
  3 files changed, 1431 insertions(+)
  create mode 100644 drivers/power/supply/qcom_battmgr.c


<snip>


Reviewed-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>

Devices doesn't have a battery, but it behaved as expected and values were coherent:
Tested-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx> # on SM8550-MTP & SM8450-HDK



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux