From 9cf313fc677809e3d50692fd5c33b232b906c2a4 Mon Sep 17 00:00:00 2001 From: Elson Roy Serrao Date: Thu, 8 Oct 2020 12:06:45 -0700 Subject: [PATCH] ARM: dts: msm: Enable board specific USB detection on sdxlemur Add USB detection through extcon based notification for sdxlemur MTP/CDP. Change-Id: I31ebe73e40dabafea6caa764e887ebf022fcc64f --- qcom/sdxlemur-cdp.dtsi | 4 ++++ qcom/sdxlemur-mtp.dtsi | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/qcom/sdxlemur-cdp.dtsi b/qcom/sdxlemur-cdp.dtsi index 0439a942f1ec..0b6dc2969cd6 100644 --- a/qcom/sdxlemur-cdp.dtsi +++ b/qcom/sdxlemur-cdp.dtsi @@ -7,3 +7,7 @@ &qnand_1 { status = "ok"; }; + +&usb { + extcon = <&vbus_detect>; +}; diff --git a/qcom/sdxlemur-mtp.dtsi b/qcom/sdxlemur-mtp.dtsi index 0439a942f1ec..0b6dc2969cd6 100644 --- a/qcom/sdxlemur-mtp.dtsi +++ b/qcom/sdxlemur-mtp.dtsi @@ -7,3 +7,7 @@ &qnand_1 { status = "ok"; }; + +&usb { + extcon = <&vbus_detect>; +};