mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
Jira ESDP-28694 Change-Id: Ic6fa743f34b6331d85334465961ae64a91aee588 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3307869 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Mark Mendez <mmendez@nvidia.com>
66 lines
1.7 KiB
YAML
66 lines
1.7 KiB
YAML
# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify it
|
|
# under the terms and conditions of the GNU General Public License,
|
|
# version 2, as published by the Free Software Foundation.
|
|
#
|
|
# This program is distributed in the hope it will be useful, but WITHOUT
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
# more details.
|
|
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/smmu_test/nvidia,smmu_test.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Nvidia SMMU Test
|
|
|
|
maintainers:
|
|
- Sachin Nikam
|
|
|
|
description: |
|
|
The following nodes use this compatibility
|
|
- /smmu_test
|
|
|
|
select:
|
|
properties:
|
|
compatible:
|
|
minItems: 1
|
|
maxItems: 1
|
|
items:
|
|
enum:
|
|
- nvidia,smmu_test
|
|
|
|
required:
|
|
- compatible
|
|
|
|
properties:
|
|
|
|
iommus:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32-matrix"
|
|
description: |
|
|
iommus are given by a tuple of 2 values:
|
|
- Phandle to the device
|
|
- Device ID
|
|
items:
|
|
minItems: 2
|
|
maxItems: 2
|
|
items:
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x0
|
|
maximum: 0x0
|
|
|
|
required:
|
|
- compatible
|
|
- iommus
|
|
|
|
examples:
|
|
- |
|
|
smmu_test {
|
|
compatible = "nvidia,smmu_test";
|
|
iommus = <&smmu4_mmu 0x00000000>;
|
|
status = "disabled";
|
|
};
|