Files
android_kernel_samsung_sm87…/bindings/iommu/qcom,iommu-debug-test.yaml
Patrick Daly 5596ba611f 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>
2023-05-26 16:40:47 -07:00

49 lines
1.2 KiB
YAML

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