M7350/kernel/arch/arm/boot/dts/qcom/msm8909-pm8916-qrd-skut-evt.dts

88 lines
2.1 KiB
Plaintext
Raw Normal View History

2024-09-09 08:57:42 +00:00
/*
* Copyright (c) 2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/dts-v1/;
#include "msm8909-pm8916-qrd-skut.dtsi"
/ {
qcom,board-id= <0x1000b 0xa>, <0x1040b 0xa>;
};
&soc {
/*
* DT node to add support for SMB358 charger and integrate
* with VM-BMS
*/
i2c@78b8000 {
smb358_otg_vreg: smb358-charger@6c {
compatible = "qcom,smb358-charger";
reg = <0x6c>;
interrupt-parent = <&msm_gpio>;
interrupts = <110 8>;
pinctrl-names = "default";
pinctrl-0 = <&smb_int_default>;
qcom,float-voltage-mv = <4350>;
qcom,recharge-mv = <100>;
regulator-name = "smb358_otg_vreg";
qcom,thermal-mitigation = <1500 700 600 0>;
qcom,fastchg-current-max-ma = <1500>;
qcom,disable-apsd;
qcom,bms-psy-name = "bms";
qcom,bms-controlled-charging;
qcom,iterm-disabled;
qcom,chg-inhibit-disabled;
qcom,chg-vadc = <&pm8916_vadc>;
qcom,chg-adc_tm = <&pm8916_adc_tm>;
qcom,irq-gpio = <&msm_gpio 110 0x00>;
qcom,using-pmic-therm;
qcom,hot-bat-decidegc = <520>;
qcom,cold-bat-decidegc = <0>;
qcom,bat-present-decidegc = <200>;
/*
* Below preperties are used for enable JEITA
*/
qcom,warm-bat-decidegc = <450>;
qcom,cool-bat-decidegc = <0>;
qcom,warm-bat-ma = <1000>;
qcom,cool-bat-ma = <1000>;
qcom,warm-bat-mv = <4000>;
qcom,cool-bat-mv = <4000>;
status = "ok";
};
};
};
&pm8916_chg {
status = "ok";
qcom,use-external-charger;
};
/ {
qrd_batterydata: qcom,battery-data {
qcom,rpull-up-kohm = <0>;
qcom,vref-batt-therm = <1800000>;
#include "batterydata-qrd-skut-4v35-2300mah.dtsi"
};
};
&pm8916_bms {
status = "ok";
qcom,resume-soc = <99>;
qcom,battery-data = <&qrd_batterydata>;
};