From 72cea303a63cf9f1906ac9cfaf1ffd3f8c504e1d Mon Sep 17 00:00:00 2001 From: Jack Pham Date: Wed, 12 Feb 2020 12:53:19 -0800 Subject: [PATCH] ARM: dts: msm: Add usb_audio_qmi_dev node Add the usb_audio_qmi_dev node which instantiates the audio QMI service device used for tunneling USB audio data to ADSP. Also add alias entries for usb0 and usb1 which will allow the audio driver to determine which controller is being used. Change-Id: I688a4a8e6234d538f025662123c56b17d5f89be5 --- qcom/lahaina-usb.dtsi | 8 ++++++++ qcom/lahaina.dtsi | 2 ++ 2 files changed, 10 insertions(+) diff --git a/qcom/lahaina-usb.dtsi b/qcom/lahaina-usb.dtsi index fe21d50ad716..b84c665f0132 100644 --- a/qcom/lahaina-usb.dtsi +++ b/qcom/lahaina-usb.dtsi @@ -531,4 +531,12 @@ USB3_UNI_PCS_REFGEN_REQ_CONFIG1 0x21 0 0xffffffff 0xffffffff 0x00>; }; + + usb_audio_qmi_dev { + compatible = "qcom,usb-audio-qmi-dev"; + iommus = <&apps_smmu 0x180f 0x0>; + qcom,iommu-dma = "disabled"; + qcom,usb-audio-stream-id = <0xf>; + qcom,usb-audio-intr-num = <2>; + }; }; diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 50a7b59d4131..4ffa6ce8d856 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -51,6 +51,8 @@ swr0 = &swr0; swr1 = &swr1; swr2 = &swr2; + usb0 = &usb0; + usb1 = &usb1; }; cpus {