mbox series

[v2,0/5] Enable PMI8998 charger on supported devices

Message ID 20230524-pmi8998-charger-dts-v2-0-2a5c77d2ff0c@linaro.org
Headers show
Series Enable PMI8998 charger on supported devices | expand

Message

Caleb Connolly May 26, 2023, 9:50 p.m. UTC
These devices have been fairly heavily validated with the driver and are
known to not explode. Add the pmi8998_charger node to pmi8998 and enable
the charger for the OnePlus 6(T), PocoPhone F1 and SHIFT6mq.

The charger depends on the RRADC for the input voltage and current. The
RRADC was originally disabled by default, but there isn't really a need
for this as it's used by all devices. Let's take the opportunity to
enable it by default.

The associated driver and dt-bindings that this series depends on can be
found here:
https://lore.kernel.org/linux-arm-msm/20230524-pmi8998-charger-v9-0-cd7f6d03c0ab@linaro.org/

Changes since v1:
 * Squash qcom,spmi-pmic bindings patch into the driver series rather
   than add it here.
V1: https://lore.kernel.org/all/20230524-pmi8998-charger-dts-v1-0-f9334afc4505@linaro.org/

---
Caleb Connolly (4):
      arm64: dts: qcom: pmi8998: enable rradc by default
      arm64: dts: qcom: pmi8998: add charger node
      arm64: dts: qcom: sdm845-oneplus: enable pmi8998 charger
      arm64: dts: qcom: sdm845-shift-axolotl: enable pmi8998 charger

Joel Selvaraj (1):
      arm64: dts: qcom: sdm845-xiaomi-beryllium: enable pmi8998 charger

 .../boot/dts/qcom/msm8998-oneplus-common.dtsi      |  4 ----
 arch/arm64/boot/dts/qcom/pmi8998.dtsi              | 22 ++++++++++++++++++++--
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts         |  4 ----
 .../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi |  2 +-
 .../boot/dts/qcom/sdm845-oneplus-enchilada.dts     |  4 ++++
 arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts |  4 ++++
 arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts  | 10 ++++++++++
 .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi   | 16 +++++++++++++---
 8 files changed, 52 insertions(+), 14 deletions(-)
---
base-commit: cc054ff7ce5edcfeaf78d90b8d3e39be0c3eec5f

// Caleb (they/them)

Comments

Bjorn Andersson June 13, 2023, 10:30 p.m. UTC | #1
On Fri, 26 May 2023 22:50:19 +0100, Caleb Connolly wrote:
> These devices have been fairly heavily validated with the driver and are
> known to not explode. Add the pmi8998_charger node to pmi8998 and enable
> the charger for the OnePlus 6(T), PocoPhone F1 and SHIFT6mq.
> 
> The charger depends on the RRADC for the input voltage and current. The
> RRADC was originally disabled by default, but there isn't really a need
> for this as it's used by all devices. Let's take the opportunity to
> enable it by default.
> 
> [...]

Applied, thanks!

[1/5] arm64: dts: qcom: pmi8998: enable rradc by default
      commit: 4e6b053768020f2117caf27b5e062d1e0a06de0c
[2/5] arm64: dts: qcom: pmi8998: add charger node
      commit: 7711c35fd67c762d65fa802d06411e7bdbd3f748
[3/5] arm64: dts: qcom: sdm845-oneplus: enable pmi8998 charger
      commit: 23cf50b13e0686cd9929f54f89580d7b22cbeb71
[4/5] arm64: dts: qcom: sdm845-shift-axolotl: enable pmi8998 charger
      commit: e5d83d4d5cb9e00befb497fe8a64001ac1cce157
[5/5] arm64: dts: qcom: sdm845-xiaomi-beryllium: enable pmi8998 charger
      commit: e58cf964157bb2f875155a2dcf68f3a8db0da2e3

Best regards,