Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54ff13b0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Disable SW based thermal regulation for atoll"

parents 949db0e0 60862a6f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -174,6 +174,7 @@
	dpdm-supply = <&qusb_phy0>;
	qcom,charger-temp-max = <800>;
	qcom,smb-temp-max = <800>;
	qcom,disable-sw-thermal-regulation;
};

&pm6150l_gpios {
+1 −0
Original line number Diff line number Diff line
@@ -175,6 +175,7 @@
	dpdm-supply = <&qusb_phy0>;
	qcom,charger-temp-max = <800>;
	qcom,smb-temp-max = <800>;
	qcom,disable-sw-thermal-regulation;
};

&pm6150l_gpios {
+1 −0
Original line number Diff line number Diff line
@@ -126,6 +126,7 @@
	dpdm-supply = <&qusb_phy0>;
	qcom,charger-temp-max = <800>;
	qcom,smb-temp-max = <800>;
	qcom,disable-sw-thermal-regulation;
};

&usb0 {
+4 −0
Original line number Diff line number Diff line
@@ -334,6 +334,10 @@ static int smb5_chg_config_init(struct smb5 *chip)
	chg->chg_freq.freq_below_otg_threshold	= 800;
	chg->chg_freq.freq_above_otg_threshold	= 800;

	if (of_property_read_bool(chip->chg.dev->of_node,
				      "qcom,disable-sw-thermal-regulation"))
		chg->wa_flags &= ~SW_THERM_REGULATION_WA;

out:
	of_node_put(revid_dev_node);
	return rc;