Files
linux-nv-oot/Documentation/devicetree/bindings/platform/tegra/nvidia,tegra234-epl-client.yaml
Mark Mendez a2ee9f655f PCT: Create devicetree validation schema
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>
2025-07-24 10:19:12 +00:00

149 lines
4.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/safetyservices_epl_client@110000/nvidia,tegra234-epl-client.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: FIXME -- add title
maintainers:
- FIXME -- add maintainers
description: |
the compatability = nvidia,tegra234-epl-client is mentioned in the following drivers
- <TOP>/kernel/kernel-oot/drivers/platform/tegra/tegra-epl.c
The following nodes use this compatibility
- /safetyservices_epl_client@110000
select:
properties:
compatible:
minItems: 1
maxItems: 1
items:
enum:
- nvidia,tegra234-epl-client
required:
- compatible
properties:
mboxes:
$ref: "/schemas/types.yaml#/definitions/uint32-matrix"
items:
minItems: 3
maxItems: 3
items:
- $ref: "/schemas/types.yaml#/definitions/uint32"
- $ref: "/schemas/types.yaml#/definitions/uint32"
minimum: 0x101
maximum: 0x101
- $ref: "/schemas/types.yaml#/definitions/uint32"
minimum: 0x80000000
maximum: 0x80000000
mbox-names:
$ref: "/schemas/types.yaml#/definitions/string-array"
items:
enum:
- epl-tx
handshake-retry-count:
$ref: "/schemas/types.yaml#/definitions/uint32"
minimum: 0xc8
maximum: 0xc8
reg:
$ref: "/schemas/types.yaml#/definitions/uint32-matrix"
description: |
Registers are given by a tuple of two values:
- register address:
- register block size.
items:
minItems: 4
maxItems: 4
items:
- $ref: "/schemas/types.yaml#/definitions/uint32"
minimum: 0x0
maximum: 0x0
- $ref: "/schemas/types.yaml#/definitions/uint32"
minimum: 0x110000
maximum: 0x170038
- $ref: "/schemas/types.yaml#/definitions/uint32"
minimum: 0x0
maximum: 0x0
- $ref: "/schemas/types.yaml#/definitions/uint32"
minimum: 0x4
maximum: 0x4
client-misc-sw-generic-err0:
$ref: "/schemas/types.yaml#/definitions/string-array"
items:
enum:
- nvgpu
client-misc-sw-generic-err1:
$ref: "/schemas/types.yaml#/definitions/string-array"
items:
enum:
- gk20b
client-misc-sw-generic-err3:
$ref: "/schemas/types.yaml#/definitions/string-array"
items:
enum:
- gk20d
client-misc-sw-generic-err4:
$ref: "/schemas/types.yaml#/definitions/string-array"
items:
enum:
- gk20e
required:
- compatible
- reg
examples:
- |
safetyservices_epl_client@110000 {
compatible = "nvidia,tegra234-epl-client";
mboxes = <&top_hsp3 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_TX(0)>;
mbox-names = "epl-tx";
handshake-retry-count = < 200 >;
reg = <0x0 0x00110000 0x0 0x4>,
<0x0 0x00110004 0x0 0x4>,
<0x0 0x00120000 0x0 0x4>,
<0x0 0x00120004 0x0 0x4>,
<0x0 0x00130000 0x0 0x4>,
<0x0 0x00130004 0x0 0x4>,
<0x0 0x00140000 0x0 0x4>,
<0x0 0x00140004 0x0 0x4>,
<0x0 0x00150000 0x0 0x4>,
<0x0 0x00150004 0x0 0x4>,
<0x0 0x00170038 0x0 0x4>;
client-misc-sw-generic-err0 = "fsicom_client";
client-misc-sw-generic-err1 = "gk20b";
client-misc-sw-generic-err3 = "gk20d";
client-misc-sw-generic-err4 = "gk20e";
enable-deinit-notify;
status = "disabled";
};