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

Commit 47062af7 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add configurability support to pm6150 charger/qg"

parents 56f07fa2 665839da
Loading
Loading
Loading
Loading
+0 −8
Original line number Original line Diff line number Diff line
@@ -207,10 +207,6 @@
			#cooling-cells = <2>;
			#cooling-cells = <2>;


			qcom,pmic-revid = <&pm6150_revid>;
			qcom,pmic-revid = <&pm6150_revid>;
			qcom,auto-recharge-soc = <98>;

			qcom,thermal-mitigation = <4200000 3500000 3000000
					2500000 2000000 1500000 1000000 500000>;


			qcom,chgr@1000 {
			qcom,chgr@1000 {
				reg = <0x1000 0x100>;
				reg = <0x1000 0x100>;
@@ -411,10 +407,6 @@
			qcom,vbatt-empty-mv = <3000>;
			qcom,vbatt-empty-mv = <3000>;
			qcom,vbatt-empty-cold-mv = <3000>;
			qcom,vbatt-empty-cold-mv = <3000>;
			qcom,s3-entry-fifo-length = <2>;
			qcom,s3-entry-fifo-length = <2>;
			qcom,qg-iterm-ma = <100>;
			qcom,hold-soc-while-full;
			qcom,linearize-soc;
			qcom,cl-feedback-on;


			qcom,pmic-revid = <&pm6150_revid>;
			qcom,pmic-revid = <&pm6150_revid>;
			io-channels = <&pm6150_vadc ADC_BAT_THERM_PU2>,
			io-channels = <&pm6150_vadc ADC_BAT_THERM_PU2>,
+14 −0
Original line number Original line Diff line number Diff line
@@ -19,6 +19,11 @@
#include "sdmmagpie-camera-sensor-idp.dtsi"
#include "sdmmagpie-camera-sensor-idp.dtsi"


&soc {
&soc {
	mtp_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "qg-batterydata-alium-3600mah.dtsi"
		#include "qg-batterydata-mlp466076-3200mah.dtsi"
	};
};
};


&qupv3_se8_2uart {
&qupv3_se8_2uart {
@@ -221,6 +226,10 @@


&pm6150_qg {
&pm6150_qg {
	qcom,battery-data = <&mtp_batterydata>;
	qcom,battery-data = <&mtp_batterydata>;
	qcom,qg-iterm-ma = <100>;
	qcom,hold-soc-while-full;
	qcom,linearize-soc;
	qcom,cl-feedback-on;
};
};


&pm6150_charger {
&pm6150_charger {
@@ -239,10 +248,15 @@
			   "sbux_res",
			   "sbux_res",
			   "vph_voltage";
			   "vph_voltage";
	qcom,battery-data = <&mtp_batterydata>;
	qcom,battery-data = <&mtp_batterydata>;
	qcom,auto-recharge-soc = <98>;
	qcom,step-charging-enable;
	qcom,step-charging-enable;
	qcom,sw-jeita-enable;
	qcom,sw-jeita-enable;
	qcom,fcc-stepping-enable;
	qcom,fcc-stepping-enable;
	qcom,suspend-input-on-debug-batt;
	qcom,sec-charger-config = <3>;
	qcom,sec-charger-config = <3>;
	qcom,thermal-mitigation = <4200000 3500000 3000000
			2500000 2000000 1500000 1000000 500000>;
	dpdm-supply = <&qusb_phy0>;
};
};


&pm6150_gpios {
&pm6150_gpios {
+15 −0
Original line number Original line Diff line number Diff line
@@ -36,6 +36,12 @@
		pinctrl-1 = <&fpc_reset_high>;
		pinctrl-1 = <&fpc_reset_high>;
		pinctrl-2 = <&fpc_int_low>;
		pinctrl-2 = <&fpc_int_low>;
	};
	};

	mtp_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "qg-batterydata-alium-3600mah.dtsi"
		#include "qg-batterydata-mlp466076-3200mah.dtsi"
	};
};
};


&qupv3_se7_i2c{
&qupv3_se7_i2c{
@@ -262,6 +268,10 @@


&pm6150_qg {
&pm6150_qg {
	qcom,battery-data = <&mtp_batterydata>;
	qcom,battery-data = <&mtp_batterydata>;
	qcom,qg-iterm-ma = <100>;
	qcom,hold-soc-while-full;
	qcom,linearize-soc;
	qcom,cl-feedback-on;
};
};


&pm6150_charger {
&pm6150_charger {
@@ -280,9 +290,14 @@
			   "sbux_res",
			   "sbux_res",
			   "vph_voltage";
			   "vph_voltage";
	qcom,battery-data = <&mtp_batterydata>;
	qcom,battery-data = <&mtp_batterydata>;
	qcom,auto-recharge-soc = <98>;
	qcom,sw-jeita-enable;
	qcom,sw-jeita-enable;
	qcom,fcc-stepping-enable;
	qcom,fcc-stepping-enable;
	qcom,suspend-input-on-debug-batt;
	qcom,sec-charger-config = <1>;
	qcom,sec-charger-config = <1>;
	qcom,thermal-mitigation = <4200000 3500000 3000000
			2500000 2000000 1500000 1000000 500000>;
	dpdm-supply = <&qusb_phy0>;
};
};


&pm6150_gpios {
&pm6150_gpios {
+0 −11
Original line number Original line Diff line number Diff line
@@ -670,12 +670,6 @@
			linux,cma-default;
			linux,cma-default;
		};
		};
	};
	};

	mtp_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "qg-batterydata-alium-3600mah.dtsi"
		#include "qg-batterydata-mlp466076-3200mah.dtsi"
	};
};
};


&soc {
&soc {
@@ -3089,11 +3083,6 @@
	extcon = <&pm6150_pdphy>, <&pm6150_charger>, <&eud>;
	extcon = <&pm6150_pdphy>, <&pm6150_charger>, <&eud>;
};
};


&pm6150_charger {
	dpdm-supply = <&qusb_phy0>;
	qcom,suspend-input-on-debug-batt;
};

&pm6150_vadc {
&pm6150_vadc {
	rf_pa0_therm {
	rf_pa0_therm {
		reg = <ADC_AMUX_THM2_PU2>;
		reg = <ADC_AMUX_THM2_PU2>;
+15 −0
Original line number Original line Diff line number Diff line
@@ -53,6 +53,12 @@
			gpio-key,wakeup;
			gpio-key,wakeup;
		};
		};
	};
	};

	mtp_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "qg-batterydata-alium-3600mah.dtsi"
		#include "qg-batterydata-mlp356477-2800mah.dtsi"
	};
};
};


&qupv3_se0_2uart {
&qupv3_se0_2uart {
@@ -182,6 +188,10 @@


&pm6150_qg {
&pm6150_qg {
	qcom,battery-data = <&mtp_batterydata>;
	qcom,battery-data = <&mtp_batterydata>;
	qcom,qg-iterm-ma = <100>;
	qcom,hold-soc-while-full;
	qcom,linearize-soc;
	qcom,cl-feedback-on;
};
};


&pm6150_charger {
&pm6150_charger {
@@ -200,10 +210,15 @@
			   "sbux_res",
			   "sbux_res",
			   "vph_voltage";
			   "vph_voltage";
	qcom,battery-data = <&mtp_batterydata>;
	qcom,battery-data = <&mtp_batterydata>;
	qcom,auto-recharge-soc = <98>;
	qcom,step-charging-enable;
	qcom,step-charging-enable;
	qcom,sw-jeita-enable;
	qcom,sw-jeita-enable;
	qcom,fcc-stepping-enable;
	qcom,fcc-stepping-enable;
	qcom,suspend-input-on-debug-batt;
	qcom,sec-charger-config = <3>;
	qcom,sec-charger-config = <3>;
	qcom,thermal-mitigation = <4200000 3500000 3000000
			2500000 2000000 1500000 1000000 500000>;
	dpdm-supply = <&qusb_phy0>;
};
};


&smb1390 {
&smb1390 {
Loading