OSDN Git Service

ARM: dts: msm: Attach device memory to lpass iommu on msmfalcon
authorVijayavardhan Vennapusa <vvreddy@codeaurora.org>
Tue, 6 Dec 2016 12:37:32 +0000 (18:07 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Wed, 7 Dec 2016 14:05:50 +0000 (06:05 -0800)
In order to share the usb audio qmi device iova with lpass usb audio
driver, attach usb audio qmi device to lpass q6 iommu using sid 6.

Change-Id: I6b3c9b49ac973f2472391b3f702908212e3f6e7d
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
arch/arm/boot/dts/qcom/msmfalcon-common.dtsi

index b2bad31..9769020 100644 (file)
                reset-names = "phy_reset", "phy_phy_reset";
        };
 
+       usb_audio_qmi_dev {
+               compatible = "qcom,usb-audio-qmi-dev";
+               iommus = <&lpass_q6_smmu 6>;
+               qcom,usb-audio-stream-id = <6>;
+               qcom,usb-audio-intr-num = <2>;
+       };
+
        dbm_1p5: dbm@a8f8000 {
                compatible = "qcom,usb-dbm-1p5";
                reg = <0xa8f8000 0x300>;