From 5a8cf885679161768dbcafbc1c3e804b5456db22 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Thu, 30 Nov 2023 12:25:37 -0800 Subject: [PATCH] ARM: dts: qcom: enable thermal mitigation for sun boards Add thermal mitigation step for sun boards so that clients like thermal SW can do thermal mitigation via charge_control_limit property under battery power supply. Change-Id: I0a4ec6e466d5cc52577a28334ec66eddcaf35ef5 Signed-off-by: Subbaraman Narayanamurthy --- qcom/sun-mtp.dtsi | 5 +++++ qcom/sun-qrd-sku1.dtsi | 5 +++++ qcom/sun-qrd-sku2.dtsi | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/qcom/sun-mtp.dtsi b/qcom/sun-mtp.dtsi index 89df16fc..df2c37d1 100644 --- a/qcom/sun-mtp.dtsi +++ b/qcom/sun-mtp.dtsi @@ -63,6 +63,11 @@ }; }; +&battery_charger { + qcom,thermal-mitigation-step = <500000>; + #cooling-cells = <2>; +}; + &pmic_glink_debug { i2c@106 { reg = <0x106>; /* I2C instance 6 in ADSP for SE5 */ diff --git a/qcom/sun-qrd-sku1.dtsi b/qcom/sun-qrd-sku1.dtsi index ebbc3714..459466b6 100644 --- a/qcom/sun-qrd-sku1.dtsi +++ b/qcom/sun-qrd-sku1.dtsi @@ -41,6 +41,11 @@ }; }; +&battery_charger { + qcom,thermal-mitigation-step = <500000>; + #cooling-cells = <2>; +}; + &pmic_glink_debug { i2c@106 { reg = <0x106>; /* I2C instance 6 in ADSP for SE5 */ diff --git a/qcom/sun-qrd-sku2.dtsi b/qcom/sun-qrd-sku2.dtsi index 562b358e..f6c7b630 100644 --- a/qcom/sun-qrd-sku2.dtsi +++ b/qcom/sun-qrd-sku2.dtsi @@ -39,6 +39,11 @@ }; }; +&battery_charger { + qcom,thermal-mitigation-step = <500000>; + #cooling-cells = <2>; +}; + &pmic_glink_debug { i2c@106 { reg = <0x106>; /* I2C instance 6 in ADSP for SE5 */