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

Commit df21e1b8 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

ARM: dts: msm: Enable SMB1390 device on Kona platforms



Add SMB1390 to the right I2C interface, specifying the required pinctrl
configuration and a means of reading the die temperature via a
thermistor.

Change-Id: I96c883795c7a4ca512e5ef7afc1900a958356079
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent c99c0b23
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -245,6 +245,24 @@
	qcom,fg-esr-cal-temp-thresh = <10 40>;
};

&qupv3_se15_i2c {
	#address-cells = <1>;
	#size-cells = <0>;
#include "smb1390.dtsi"
};

&smb1390 {
	pinctrl-names = "default";
	pinctrl-0 = <&smb_stat_default>;
	status = "ok";
};

&smb1390_charger {
	io-channels = <&pm8150b_vadc ADC_AMUX_THM2>;
	io-channel-names = "cp_die_temp";
	status = "ok";
};

&pm8150_vadc {
	#address-cells = <1>;
	#size-cells = <0>;