summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudarshan Rajagopalan <sudaraja@codeaurora.org>2017-04-27 13:38:21 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-01 17:14:20 -0700
commitedeb290f5dc82d581de36a1f4b78ef1497d0eafc (patch)
tree8f320632668fe167537367e00c51092affda5cbb
parentf1a10f1598632dc7ab10b369083a21ff68b8398b (diff)
ARM: dts: msm: Add iommu coherent test device for msm8998
Added a new iommu test device which is dma-coherent. This test device will be used for validating buffer coherency. Change-Id: Iea1c57fd2cd5d71de2f26932d21cae8102fb918e Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
-rw-r--r--arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi b/arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi
index ecfff13f9355..da28e56bc2df 100644
--- a/arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi
+++ b/arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi
@@ -176,4 +176,16 @@
*/
iommus = <&mmss_smmu 42>;
};
+
+ iommu_coherent_test_device {
+ compatible = "iommu-debug-test";
+ /*
+ * 43 shouldn't be used by anyone on the mmss_smmu. We just
+ * need _something_ here to get this node recognized by the
+ * SMMU driver. Our test uses ATOS, which doesn't use SIDs
+ * anyways, so using a dummy value is ok.
+ */
+ iommus = <&mmss_smmu 43>;
+ dma-coherent;
+ };
};