arm/dts:Bring up charger IC SGM41543D
Rhode4G use SGM41543D as the 2nd charger IC. Bring up charger IC SGM41543D. Change-Id: If103372d5badd9712f3c73aa26768721e1b9ff84 Signed-off-by: Lei Chen <chenlei18@lenovo.com> Reviewed-on: https://gerrit.mot.com/2238622 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wei Xu <xuwei9@lenovo.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Reviewed-by: Lei Chen <chenl18@motorola.com> Submit-Approved: Lu Lu <lulu2@lenovo.com>
This commit is contained in:
1 parent
f26e3b7bbc
commit
9d63034afe
1 file changed
+56
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user