arm/dts:Bring up charger IC SGM41543D

This reverts commit 7e0e5a19add3ee32e2c883469cadb1503f9ae430.
IC SGM41543D is necessary for SKU XT1687 of rhode.

Change-Id: I45353cb0485c1a24b1ffbd7281275d3851174fa6
Signed-off-by: Murilo Alves <alvesm@motorola.com>
Reviewed-on: https://gerrit.mot.com/2737689
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
This commit is contained in:
Murilo Alves authored and PDO SCM Team committed 2023-09-18 16:46:50 -05:00
1 parent bc7d86f68c
commit 890bed9b0f
1 file changed
+56
+56
View File
@@ -177,6 +177,62 @@
temp_neg_10_thres = <0>;
};
sgm41543: sgm41543@0B {
status = "okay";
compatible = "sgm,sgm41543D";
reg = <0x0B>;
pinctrl-names = "default";
pinctrl-0 = <&sgm4154x_gpio_pins &gpio6_adc_default>;
#io-channel-cells = <1>;
io-channels = <&pm6125_vadc ADC_GPIO3_DIV3>,
<&wt6670 PSY_IIO_QC3P_REAL_TYPE>,
<&wt6670 PSY_IIO_QC3P_POWER>,
<&wt6670 PSY_IIO_START_DETECTION>,
<&wt6670 PSY_IIO_DETECTION_READY>,
<&mmi_chrg PSY_IIO_QC3P_START_POLICY>;
io-channel-names = "gpio3_div3",
"wt6670_usb_real_type",
"wt6670_usb_qc3p_power",
"wt6670_start_detection",
"wt6670_detection_ready",
"qc3p_start_policy";
interrupt-parent = <&tlmm>;
interrupts = <96 0>; //irq num base on hardware design
sgm,irq-gpio = <&tlmm 96 0>; //irq num base on hardware design
sgm,chg-en-gpio = <&tlmm 36 0>; //gpio num base on hardware design 1.MTK parent node name is pio 2.QUALCOMM parent node name is tlmm or other
dpdm-supply = <&usb2_phy0>;
mmi,qc3-support;
/* sw jeita parameter customer defined*/
enable_sw_jeita;
jeita_temp_above_t4_cv = <0>;
jeita_temp_t3_to_t4_cv = <4100000>;
jeita_temp_t2_to_t3_cv = <4350000>;
jeita_temp_t1_to_t2_cv = <4350000>;
jeita_temp_t0_to_t1_cv = <0>;
jeita_temp_below_t0_cv = <0>;
jeita_temp_above_t4_cc_current = <0>;
jeita_temp_t3_to_t4_cc_current = <1000000>;
jeita_temp_t2_to_t3_cc_current = <1250000>;
jeita_temp_t1_to_t2_cc_current = <1000000>;
jeita_temp_below_t0_cc_current = <0>;
temp_t4_thres = <50>;
temp_t4_thres_minus_x_degree = <48>;
temp_t3_thres = <45>;
temp_t3_thres_minus_x_degree = <45>;
temp_t2_thres = <20>;
temp_t2_thres_plus_x_degree = <15>;
temp_t1_thres = <0>;
temp_t1_thres_plus_x_degree = <0>;
temp_t0_thres = <0>;
temp_t0_thres_plus_x_degree = <2>;
temp_neg_10_thres = <0>;
};
bq25890: bq25890@6A {
status = "okay";
compatible = "ti,bq2589x-1";