From ea130acc092e2c4575898218d8ac2717c0bc40d8 Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Tue, 8 Jun 2021 20:16:44 +0530 Subject: [PATCH] ARM: dts: qcom: enable cx ipeak common driver for holi-pm6125 Enable common driver to limit Cx ipeak based on voting from various clients in multimedia. Change-Id: I8e89c8acd40716936943d6e100e4cee05b9a68f6 --- qcom/holi-cdp-pm6125.dtsi | 7 +++++++ qcom/holi-mtp-pm6125.dtsi | 7 +++++++ qcom/holi-mtp-usbc-pm6125.dtsi | 7 +++++++ qcom/holi-qrd-pm6125.dtsi | 7 +++++++ 4 files changed, 28 insertions(+) diff --git a/qcom/holi-cdp-pm6125.dtsi b/qcom/holi-cdp-pm6125.dtsi index e85d061a45f3..fc52a355f145 100644 --- a/qcom/holi-cdp-pm6125.dtsi +++ b/qcom/holi-cdp-pm6125.dtsi @@ -148,6 +148,13 @@ linux,can-disable; }; }; + + cx_ipeak_lm: cx_ipeak@3ed000 { + #size-cells = <1>; + compatible = "qcom,cx-ipeak-v2"; + reg = <0x3ed000 0xe010>; + status = "ok"; + }; }; &pm7250b_charger { diff --git a/qcom/holi-mtp-pm6125.dtsi b/qcom/holi-mtp-pm6125.dtsi index 5138898ec886..d6a0c69ba746 100644 --- a/qcom/holi-mtp-pm6125.dtsi +++ b/qcom/holi-mtp-pm6125.dtsi @@ -155,6 +155,13 @@ #include "qg-batterydata-atl466271_3300mAh.dtsi" #include "qg-batterydata-atl436186020H_3780mAh.dtsi" }; + + cx_ipeak_lm: cx_ipeak@3ed000 { + #size-cells = <1>; + compatible = "qcom,cx-ipeak-v2"; + reg = <0x3ed000 0xe010>; + status = "ok"; + }; }; &soc { diff --git a/qcom/holi-mtp-usbc-pm6125.dtsi b/qcom/holi-mtp-usbc-pm6125.dtsi index 04eb38e0137e..1dc219f16ba2 100644 --- a/qcom/holi-mtp-usbc-pm6125.dtsi +++ b/qcom/holi-mtp-usbc-pm6125.dtsi @@ -174,6 +174,13 @@ #include "qg-batterydata-atl466271_3300mAh.dtsi" #include "qg-batterydata-atl436186020H_3780mAh.dtsi" }; + + cx_ipeak_lm: cx_ipeak@3ed000 { + #size-cells = <1>; + compatible = "qcom,cx-ipeak-v2"; + reg = <0x3ed000 0xe010>; + status = "ok"; + }; }; &soc { diff --git a/qcom/holi-qrd-pm6125.dtsi b/qcom/holi-qrd-pm6125.dtsi index 03a022f1203f..2fa5a875f24c 100644 --- a/qcom/holi-qrd-pm6125.dtsi +++ b/qcom/holi-qrd-pm6125.dtsi @@ -211,6 +211,13 @@ #include "qg-batterydata-atl436186020H_3780mAh.dtsi" #include "qg-batterydata-atl466271_3300mAh.dtsi" }; + + cx_ipeak_lm: cx_ipeak@3ed000 { + #size-cells = <1>; + compatible = "qcom,cx-ipeak-v2"; + reg = <0x3ed000 0xe010>; + status = "ok"; + }; }; &pm7250b_charger {