From 486d3af1893057f1ad18a30f6f0aeced7c84d8c5 Mon Sep 17 00:00:00 2001 From: Jack Pham Date: Tue, 17 Dec 2019 10:11:21 -0800 Subject: [PATCH] dt-bindings: Add USB audio QMI driver bindings Add bindings for usb audio qmi service device. A remote entity communicates with usb audio qmi server to enable or disable particular audio stream on enumerated usb audio device. This offloads ISOC data transfer operations to remote entity and allows apps processor to go to power collapse more frequently for better power saving. Change-Id: I391dd45925799d364ab637a3050be61b7da6dbb1 --- bindings/sound/qcom-usb-audio-qmi-dev.txt | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 bindings/sound/qcom-usb-audio-qmi-dev.txt diff --git a/bindings/sound/qcom-usb-audio-qmi-dev.txt b/bindings/sound/qcom-usb-audio-qmi-dev.txt new file mode 100644 index 000000000000..9d3fb78f96a7 --- /dev/null +++ b/bindings/sound/qcom-usb-audio-qmi-dev.txt @@ -0,0 +1,26 @@ +QTI USB Audio QMI Device + +USB Audio QMI device is used to attach to remote processor IOMMU and +map USB Audio driver specific memory to iova to share with remote +processor. + +Required Properties: + +- compatible : "qcom,usb-audio-qmi-dev" + +- iommus : A list of phandle and IOMMU specifier pairs that describe the + IOMMU master interfaces of the device. + +- qcom,usb-audio-stream-id : Stream id is prepended to iova before passing + iova to remote processor. This allows remote processor to access iova. + +- qcom,usb-audio-intr-num : Interrupter number for external sub system + destination. + +Example: + usb_audio_qmi_dev { + compatible = "qcom,usb-audio-qmi-dev"; + iommus = <&lpass_q6_smmu 12>; + qcom,usb-audio-stream-id = <12>; + qcom,usb-audio-intr-num = <1>; + };