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

Commit 4f6a84b6 authored by Mayank Rana's avatar Mayank Rana
Browse files

ARM: dts: msm: Add dpdm regulator handler on sdxprairie



PM8150B charger requires a reference to USB PHY which exposes
a DPDM regulator to be enabled prior to performing charger type
detection. Using same reference usb driver checks for dpdm
regulator status before starting dwc3 state machine as it might
interfere with apsd (automatic power source detection).

Change-Id: If3c11acb3673c43a6dcc0c50191cf10057d28889
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 681f798f
Loading
Loading
Loading
Loading
+2 −2
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
@@ -16,7 +16,7 @@
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>

&pm8150b_charger {
	/delete-property/ dpdm-supply;
	dpdm-supply = <&usb2_phy>;

	smb5_vconn: qcom,smb5-vconn {
		regulator-name = "smb5-vconn";
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@
		qcom,use-pdc-interrupts;

		USB3_GDSC-supply = <&gdsc_usb30>;
		dpdm-supply = <&usb2_phy>;
		clocks = <&clock_gcc GCC_USB30_MASTER_CLK>,
			<&clock_gcc GCC_USB30_SLV_AHB_CLK>,
			<&clock_gcc GCC_USB30_MSTR_AXI_CLK>,