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

Commit bafb98e9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add dtsi entries of USB for SDM670"

parents 5f59be16 9e420a36
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
@@ -146,3 +146,38 @@

	status = "ok";
};

&usb0 {
	/delete-property/ qcom,usb-dbm;
	/delete-property/ extcon;
	qcom,charging-disabled;
	dwc3@a600000 {
		maximum-speed = "high-speed";
		usb-phy = <&qusb_phy0>, <&usb_nop_phy>;
	};
};

&qusb_phy0 {
	reg = <0x088e2000 0x4>,
		<0x0a720000 0x9500>;
	reg-names = "qusb_phy_base",
		"emu_phy_base";
	qcom,emulation;
	qcom,emu-init-seq = <0x19 0x1404
				0x20 0x1414
				0x79 0x1410
				0x00 0x1418
				0x99 0x1404
				0x04 0x1408
				0xd9 0x1404>;

	qcom,emu-dcm-reset-seq = <0x5 0x14      /* 0x1 0x14 for E1.2 */
				0x100000 0x20
				0x0 0x20
				0x1a0 0x20    /* 0x220 0x20 for E1.2 */
				0x80 0x28>;
};

&usb_qmp_dp_phy {
	status = "disabled";
};
+35 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017, 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
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#include "sdm845-usb.dtsi"

&soc {
	/delete-node/ ssusb@a800000;
	/delete-node/ qusb@88e3000;
	/delete-node/ ssphy@88eb000;
};

&usb0 {
	extcon = <&pm660_pdphy>, <&pm660_pdphy>, <0> /* <&eud> */;
};

&qusb_phy0 {
	vdd-supply = <&pm660l_l1>;
	vdda18-supply = <&pm660_l10>;
	vdda33-supply = <&pm660l_l7>;
};

&usb_qmp_dp_phy {
	vdd-supply = <&pm660_l1>;
	core-supply = <&pm660l_l1>;
};
+1 −0
Original line number Diff line number Diff line
@@ -2046,3 +2046,4 @@
#include "pm660l.dtsi"
#include "sdm670-regulator.dtsi"
#include "sdm670-audio.dtsi"
#include "sdm670-usb.dtsi"