From 6b870a2c57b6224d1d791525841a20b1ef0f2a50 Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Wed, 24 May 2023 15:41:32 -0700 Subject: [PATCH] bindings: Snapshot of qcom-iommu-test bindings qcom-iommu-test bindings snapshot from msm-6.1 branch commit 0285b5bf8b6f ("Merge "ARM: dts: msm: Update proxy device settings""). Change-Id: I13a13828ed0863a61c4e1c2a6a8eac4d4d57d70f Signed-off-by: Patrick Daly --- bindings/iommu/qcom,iommu-debug-test.yaml | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 bindings/iommu/qcom,iommu-debug-test.yaml diff --git a/bindings/iommu/qcom,iommu-debug-test.yaml b/bindings/iommu/qcom,iommu-debug-test.yaml new file mode 100644 index 00000000..8705218d --- /dev/null +++ b/bindings/iommu/qcom,iommu-debug-test.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/iommu/iommu-debug-test.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: IOMMU Debugging and Testing Framework Device Tree Bindings + +maintainers: + - Georgi Djakov + +description: | + The IOMMU Debugging and Testing Framework is used for collecting information + that is useful for debugging/instrumenting the IOMMU framework code, as well + as testing various IOMMU related features. + +properties: + compatible: + items: + - const: qcom,iommu-debug-test + + child nodes: + compatible: : qcom,iommu-debug-usecase + iommus: + minItems: 1 + items: + - description: IOMMU specifier with a SID and an SMR mask + description: + IOMMU specifier with a SID and an SMR mask + +required: + - compatible + - iommus + +examples: + - | + iommu_test_device { + compatible = "qcom,iommu-debug-test"; + sample_usecase { + compatible = "qcom,iommu-debug-usecase"; + iommus = <&apps_smmu 0x7e1 0>; + } + };