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 <quic_subbaram@quicinc.com>
73 lines
1.1 KiB
Plaintext
73 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#include "sun-qrd.dtsi"
|
|
|
|
&pmic_glink_adc {
|
|
status = "ok";
|
|
|
|
smb1501_1_iin {
|
|
reg = <0x1066801>;
|
|
label = "smb1501_1_iin";
|
|
};
|
|
|
|
smb1501_1_ichg {
|
|
reg = <0x1066802>;
|
|
label = "smb1501_1_ichg";
|
|
};
|
|
|
|
smb1501_1_die_temp {
|
|
reg = <0x1066803>;
|
|
label = "smb1501_1_die_temp";
|
|
};
|
|
|
|
smb1501_2_iin {
|
|
reg = <0x1066901>;
|
|
label = "smb1501_2_iin";
|
|
};
|
|
|
|
smb1501_2_ichg {
|
|
reg = <0x1066902>;
|
|
label = "smb1501_2_ichg";
|
|
};
|
|
|
|
smb1501_2_die_temp {
|
|
reg = <0x1066903>;
|
|
label = "smb1501_2_die_temp";
|
|
};
|
|
};
|
|
|
|
&battery_charger {
|
|
qcom,thermal-mitigation-step = <500000>;
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
&pmic_glink_debug {
|
|
i2c@106 {
|
|
reg = <0x106>; /* I2C instance 6 in ADSP for SE5 */
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
qcom,bus-type = "i2c";
|
|
|
|
qcom,smb1501@68 {
|
|
compatible = "qcom,i2c-pmic";
|
|
reg = <0x68>;
|
|
qcom,can-sleep;
|
|
};
|
|
|
|
qcom,smb1501@69 {
|
|
compatible = "qcom,i2c-pmic";
|
|
reg = <0x69>;
|
|
qcom,can-sleep;
|
|
};
|
|
|
|
qcom,idt9418@3b {
|
|
compatible = "qcom,i2c-pmic";
|
|
reg = <0x3b>;
|
|
qcom,can-sleep;
|
|
};
|
|
};
|
|
};
|