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

Commit 44c95f10 authored by Venkata Rao Kakani's avatar Venkata Rao Kakani Committed by Gerrit - the friendly Code Review server
Browse files

ssusb: vplatform: enable otg passthrough in la-gvm



Enable ssusb passthrough functionality in la-gvm

Change-Id: I9652cc2e4d2bdf9e0b2027abf0cce84eb77e049e
Signed-off-by: default avatarVenkata Rao Kakani <vkakani@codeaurora.org>
parent 83ddc388
Loading
Loading
Loading
Loading
+35 −3
Original line number Diff line number Diff line
@@ -185,9 +185,26 @@

#include "vplatform-lfv-msm8996-usb.dtsi"

&pm8994_l12 {
	qcom,init-voltage = <1800000>;
	proxy-supply = <&pm8994_l12>;
	qcom,proxy-consumer-enable;
	qcom,proxy-consumer-current = <10000>;
	qcom,set = <3>;
	status = "okay";
};

&pm8994_s2_corner {
	qcom,set = <3>;
	qcom,use-voltage-corner;
	status = "okay";
};

&usb3 {
	qcom,disable-host-mode-pm;
	qcom,disable-dev-mode-pm;
	qcom,no-wakeup-src-in-hostmode;
	vbus_dwc3-supply = <&usb_otg_switch>;
	vdda33-supply = <&pm8994_l24>;
	vdda18-supply = <&pm8994_l12>;
	status = "okay";
};

@@ -200,7 +217,12 @@
};

&usb_detect {
	qcom,force-vbus-status-off; /*on - adb , off - MTMD*/
	qcom,vbus-det-gpio = <&pm8994_gpios 17 0>;
	interrupt-parent = <&spmi_bus>;
	interrupts = <0x0 0x9 0x0 IRQ_TYPE_NONE>;
	interrupt-names ="pmic_id_irq";
	/delete-property/qcom,skip-vbus-detect;
	status = "okay";
};

&android_usb {
@@ -217,11 +239,21 @@

&ssphy {
	status = "okay";
	reg = <0x07410000 0x7a8>,
		<0x007ab244 0x4>;
	reg-names = "qmp_phy_base",
		"vls_clamp_reg";
};

&dbm_1p5 {
	status = "okay";
};
&usb_otg_switch {
	gpio = <&pm8994_gpios 11 0>;
	enable-active-high;
	status = "okay";
	/delete-property/ vin-supply;
};

&pm8994_gpios {
	gpio@c600 { /* GPIO 7 - adv7481 INT3 */