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

Commit e3dc9b05 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

arm/dts: 8974: Add qpnp-vadc phandle for usb3 device node



Add qpnp-vadc phandle for usb3 device node which is required
to get usb power supply's VOLTAGE_NOW property.

CRs-Fixed: 599547
Change-Id: Ia01e0620ec9a6ca28adb9e71ccac030a33a41642
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 6b6c4b3d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, 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
@@ -185,6 +185,10 @@
	qcom,hsusb-otg-pnoc-errata-fix;
};

&usb3 {
	qcom,usbin-vadc = <&pm8941_vadc>;
};

&gdsc_venus {
	qcom,skip-logic-collapse;
	qcom,retain-periph;
+5 −1
Original line number Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, 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
@@ -95,6 +95,10 @@
	};
};

&usb3 {
	qcom,usbin-vadc = <&pm8941_vadc>;
};

/* GPU overrides */
&msm_gpu {
	/* Updated chip ID */
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, 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
@@ -102,6 +102,7 @@
	vbus_dwc3-supply = <&pm8941_mvs1>;
	qcom,misc-ref = <&pm8941_misc>;
	dwc_usb3-adc_tm = <&pm8941_adc_tm>;
	qcom,usbin-vadc = <&pm8941_vadc>;
	interrupt-map-mask = <0x0 0xffffffff>;
	interrupt-map = <0x0 0 &intc 0 133 0
			0x0 1 &spmi_bus 0x0 0x2 0x9 0x0>;
+5 −1
Original line number Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, 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
@@ -64,6 +64,10 @@
	qcom,init-smps-mode = <0>;	/* Allow AUTO mode for VDD_CX. */
};

&usb3 {
	qcom,usbin-vadc = <&pm8941_vadc>;
};

&krait_regulator_pmic {
	status = "ok";