bindings: Address dt-binding-check errors for iommu-debug-test

Improve compliance with dt-schema.

Change-Id: I48b9a334abdd5d2039f8df9d92f4e26d07c87c37
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
This commit is contained in:
Patrick Daly
2023-05-24 21:03:44 -07:00
parent 2ddcde29d8
commit 5596ba611f

View File

@@ -1,7 +1,7 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2 %YAML 1.2
--- ---
$id: "http://devicetree.org/schemas/iommu/iommu-debug-test.yaml#" $id: "http://devicetree.org/schemas/iommu/qcom,iommu-debug-test.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#" $schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: IOMMU Debugging and Testing Framework Device Tree Bindings title: IOMMU Debugging and Testing Framework Device Tree Bindings
@@ -19,19 +19,24 @@ properties:
items: items:
- const: qcom,iommu-debug-test - const: qcom,iommu-debug-test
child nodes: sample_usecase:
compatible: : qcom,iommu-debug-usecase description: |
iommus: A child device with various iommu properties under test.
minItems: 1 type: object
items: properties:
- description: IOMMU specifier with a SID and an SMR mask compatible:
description: const: qcom,iommu-debug-usecase
IOMMU specifier with a SID and an SMR mask iommus:
minItems: 1
description:
IOMMU specifier with a SID and an SMR mask
required: required:
- compatible - compatible
- iommus - iommus
additionalProperties: false
examples: examples:
- | - |
iommu_test_device { iommu_test_device {
@@ -39,5 +44,5 @@ examples:
sample_usecase { sample_usecase {
compatible = "qcom,iommu-debug-usecase"; compatible = "qcom,iommu-debug-usecase";
iommus = <&apps_smmu 0x7e1 0>; iommus = <&apps_smmu 0x7e1 0>;
} };
}; };