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

Commit 64883208 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

ARM: dts: msm: add SMB1357 device node for msmkrypton-sim



During bringup, the msmkrypton-sim devicetree is being used for both
CDPs and MTPs, so enable the SMB1357 device node on msmkrypton-sim in
order to do charging and vbus detection.

Change-Id: I22ae77a73bb4489c9de5283ee4a907fe52b0122a
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent c936945a
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -53,3 +53,17 @@
	qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
	status = "ok";
};

&i2c_1 {
	smb1357_otg_supply: smb1357-charger@1c {
		compatible = "qcom,smb1357-charger";
		reg = <0x1c>;
		interrupt-parent = <&msmgpio>;
		interrupts = <24 0x3>;	/* MDM GPIO 24 */
		qcom,float-voltage-mv = <4200>;
		qcom,charging-timeout = <1536>;
		qcom,recharge-thresh-mv = <200>;
		qcom,iterm-ma = <100>;
		regulator-name = "smb1357_otg_supply";
	};
};