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

Commit fe98881c authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

ARM: dts: mdm: Add the gpio-usb-detect DT for sdxpoorwills



The non-charger platforms of sdxpoorwills use the gpio-usb-detect
driver for USB detection. Add the device node for it and keep it
disabled.

Change-Id: If5c69e121a50f4f075effbc862685305ef460176
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 163b4baa
Loading
Loading
Loading
Loading
+9 −1
Original line number Original line Diff line number Diff line
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * 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
 * it under the terms of the GNU General Public License version 2 and
@@ -771,6 +771,14 @@
		mbox-desc-offset = <0x0>;
		mbox-desc-offset = <0x0>;
		#mbox-cells = <1>;
		#mbox-cells = <1>;
	};
	};

	usb_detect: qcom,gpio-usbdetect {
		compatible = "qcom,gpio-usbdetect";
		interrupt-parent = <&spmi_bus>;
		interrupts = <0x0 0x0d 0x0 IRQ_TYPE_NONE>;
		interrupt-names = "vbus_det_irq";
		status = "disabled";
	};
};
};


#include "pmxpoorwills.dtsi"
#include "pmxpoorwills.dtsi"