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

Commit 26e9321a authored by Kavya Nunna's avatar Kavya Nunna
Browse files

ARM: dts: msm: Add support of pmd-vbus detect on sdxprairie



Add device node for pmd-vbus detect to support
USB VBUS/ID detection.

Change-Id: Ib639a1381189ae8115089fb48e0ffdac40146a5c
Signed-off-by: default avatarKavya Nunna <knunna@codeaurora.org>
parent 3752fcb2
Loading
Loading
Loading
Loading
+11 −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
@@ -197,3 +197,13 @@
		};
	};
};

&soc {
	vbus_detect: qcom,pmd-vbus-det {
		compatible = "qcom,pmd-vbus-det";
		interrupt-parent = <&spmi_bus>;
		interrupts = <0x0 0x0d 0x0 IRQ_TYPE_NONE>;
		interrupt-names = "usb_vbus";
		status = "disabled";
	};
};