summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorAlice Sheng <alicesheng@google.com>2023-04-07 15:36:59 -0700
committerAlice Sheng <alicesheng@google.com>2023-04-25 17:40:39 +0000
commit23dea07a42e3463b9dcb3d7055944b820b3f540d (patch)
treecce1fc6ed08006bf762daecf5c86186f32d2d140 /dts
parent0665be2d6229c1d25b6604161cbe67cc06cf39a3 (diff)
downloadshusky-23dea07a42e3463b9dcb3d7055944b820b3f540d.tar.gz
dts: ripcurrent: support RA9530 HPP
Add current limits via MDIS and disable sw ramp Bug: 272392035 Change-Id: I5c015d575f9d0a0aa013702d8085757e625bae37
Diffstat (limited to 'dts')
-rw-r--r--dts/google/zuma-ripcurrent-charging.dtsi16
-rw-r--r--dts/google/zuma-ripcurrent-wcharger-ra9530.dtsi1
2 files changed, 16 insertions, 1 deletions
diff --git a/dts/google/zuma-ripcurrent-charging.dtsi b/dts/google/zuma-ripcurrent-charging.dtsi
index 6b733f9..1c908b5 100644
--- a/dts/google/zuma-ripcurrent-charging.dtsi
+++ b/dts/google/zuma-ripcurrent-charging.dtsi
@@ -33,6 +33,22 @@
google,pps-awake;
google,taper_step-count = <1>;
+ google,wlc-dc-fcc-ua = <4950000>; /* 1C(4950mah) */
+
+ // thermal budgets
+ google,mdis-thermal-mitigation =
+ <5677000 3413000 2603000 2017000 1919000 1506000 909000 575000 254000>;
+ // source ONLINE selection criteria
+ google,mdis-out-sel-online = <1 2>;
+ // PD+main-charger, WLC+main-charger
+ google,mdis-out0-limits =
+ <4000000 3500000 3000000 3000000 2500000 2000000 1500000 1000000 500000
+ 1100000 500000 500000 500000 250000 250000 100000 100000 100000>;
+ // PPS_CP+pca94xx-mains, // WLC_CP+pca94xx-mains
+ google,mdis-out1-limits =
+ <6000000 5500000 5000000 4500000 3500000 3000000 2500000 2000000 1000000
+ 5000000 4500000 4000000 3000000 2500000 2000000 1500000 1000000 0>;
+
};
google_charger: google,charger {
diff --git a/dts/google/zuma-ripcurrent-wcharger-ra9530.dtsi b/dts/google/zuma-ripcurrent-wcharger-ra9530.dtsi
index b83ef72..ab5b5c5 100644
--- a/dts/google/zuma-ripcurrent-wcharger-ra9530.dtsi
+++ b/dts/google/zuma-ripcurrent-wcharger-ra9530.dtsi
@@ -61,7 +61,6 @@
idt,max_vout_mv = <19500>;
idt,has_wlc_dc = <1>;
google,power_mitigate_threshold = <90>;
- google,has-sw-ramp;
pinctrl-names = "default";
pinctrl-0 = <&wc_irq &wc_en>;