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

Commit b373c65e authored by Hemant Kumar's avatar Hemant Kumar
Browse files

sound: 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
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent f1fb1191
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
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>;
	};