mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 18:21:35 +03:00
This is the output of the automated scripts created to parse the dtb and dts files congruently Jira ESDP-27666 Change-Id: Ic82a3f813bcbe6e78ba5f9b68875293c5d4bc6d7 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3274878 Tested-by: Mark Mendez <mmendez@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
88 lines
2.4 KiB
YAML
88 lines
2.4 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/linux,cma/shared-dma-pool.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: FIXME -- add title
|
|
|
|
maintainers:
|
|
- FIXME -- add maintainers
|
|
|
|
description: |
|
|
the compatability = shared-dma-pool is mentioned in the following drivers
|
|
- <TOP>/kernel/kernel-oot/drivers/of/of_reserved_mem.c
|
|
|
|
The following nodes use this compatibility
|
|
- /reserved-memory/linux,cma
|
|
|
|
select:
|
|
properties:
|
|
compatible:
|
|
minItems: 1
|
|
maxItems: 1
|
|
items:
|
|
enum:
|
|
- shared-dma-pool
|
|
|
|
required:
|
|
- compatible
|
|
|
|
properties:
|
|
|
|
reusable:
|
|
$ref: "/schemas/types.yaml#/definitions/flag"
|
|
|
|
size:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32-matrix"
|
|
items:
|
|
minItems: 2
|
|
maxItems: 2
|
|
items:
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x0
|
|
maximum: 0x0
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x4000000
|
|
maximum: 0x4000000
|
|
|
|
alignment:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32-matrix"
|
|
items:
|
|
minItems: 2
|
|
maxItems: 2
|
|
items:
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x0
|
|
maximum: 0x0
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x10000
|
|
maximum: 0x10000
|
|
|
|
linux,cma-default:
|
|
$ref: "/schemas/types.yaml#/definitions/flag"
|
|
|
|
required:
|
|
- compatible
|
|
|
|
examples:
|
|
- |
|
|
linux,cma {
|
|
compatible = "shared-dma-pool";
|
|
status = "disabled";
|
|
reusable;
|
|
size = <0x0 0x4000000>;
|
|
alignment = <0x0 0x10000>;
|
|
linux,cma-default;
|
|
};
|