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

Commit 776af591 authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

ARM: dts: msm: update charger configuration for SDMMAGPIE IDP/QRD



Update ADC channel configuration for PM6150 charger and enable
PSY based SMB1390 device.

While at it, remove PON device of PM8009.

Change-Id: I633048ef844e73d39794d963ab749cec0dd7cc89
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent a0eb66fb
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -24,11 +24,6 @@
			reg = <0x100 0x100>;
		};

		pm8009_pon: qcom,power-on@800 {
			compatible = "qcom,qpnp-power-on";
			reg = <0x800 0x100>;
		};

		pm8009_gpios: pinctrl@c000 {
			compatible = "qcom,spmi-gpio";
			reg = <0xc000 0x400>;
+7 −2
Original line number Diff line number Diff line
@@ -228,12 +228,16 @@
		      <&pm6150_vadc ADC_USB_IN_I>,
		      <&pm6150_vadc ADC_CHG_TEMP>,
		      <&pm6150_vadc ADC_DIE_TEMP>,
		      <&pm6150l_vadc ADC_AMUX_THM1_PU2>;
		      <&pm6150l_vadc ADC_AMUX_THM1_PU2>,
		      <&pm6150_vadc ADC_SBUx>,
		      <&pm6150_vadc ADC_VPH_PWR>;
	io-channel-names = "usb_in_voltage",
			   "usb_in_current",
			   "chg_temp",
			   "die_temp",
			   "conn_temp";
			   "conn_temp",
			   "sbux_res",
			   "vph_voltage";
	qcom,battery-data = <&mtp_batterydata>;
	qcom,step-charging-enable;
	qcom,sw-jeita-enable;
@@ -279,6 +283,7 @@
};

&smb1390_charger {
	compatible = "qcom,smb1390-charger-psy";
	io-channels = <&pm6150l_vadc ADC_AMUX_THM2>;
	io-channel-names = "cp_die_temp";
	status = "ok";
+7 −2
Original line number Diff line number Diff line
@@ -269,12 +269,16 @@
		      <&pm6150_vadc ADC_USB_IN_I>,
		      <&pm6150_vadc ADC_CHG_TEMP>,
		      <&pm6150_vadc ADC_DIE_TEMP>,
		      <&pm6150l_vadc ADC_AMUX_THM1_PU2>;
		      <&pm6150l_vadc ADC_AMUX_THM1_PU2>,
		      <&pm6150_vadc ADC_SBUx>,
		      <&pm6150_vadc ADC_VPH_PWR>;
	io-channel-names = "usb_in_voltage",
			   "usb_in_current",
			   "chg_temp",
			   "die_temp",
			   "conn_temp";
			   "conn_temp",
			   "sbux_res",
			   "vph_voltage";
	qcom,battery-data = <&mtp_batterydata>;
	qcom,sw-jeita-enable;
	qcom,fcc-stepping-enable;
@@ -308,6 +312,7 @@
};

&smb1390_charger {
	compatible = "qcom,smb1390-charger-psy";
	io-channels = <&pm6150l_vadc ADC_AMUX_THM2>;
	io-channel-names = "cp_die_temp";
	status = "ok";