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

Commit 8cac8c70 authored by Manu Gautam's avatar Manu Gautam
Browse files

ARM: dts: msm: Allow DP-DM lines voting for charger detection



USB data lines must be in high impedance or float state to
ensure USB PHY doesn't interfere with charger detection by PMIC.
Add dpdm-supply (exposed by PHY driver) to charger node to
allow charger driver vote for data lines using this regulator.

Change-Id: I5ac177299c77108a5b796d18eb6e2bd9481b7309
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 50445c69
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -129,6 +129,7 @@
	smb1381_charger: qcom,smb1381-charger@1000 {
		compatible = "qcom,smb138x-charger";
		qcom,use-extcon;
		dpdm-supply = <&usb2_phy>;
	};
};

+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -129,6 +129,7 @@
	smb1381_charger: qcom,smb1381-charger@1000 {
		compatible = "qcom,smb138x-charger";
		qcom,use-extcon;
		dpdm-supply = <&usb2_phy>;
	};
};