mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 18:21:35 +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>
115 lines
3.2 KiB
YAML
115 lines
3.2 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/dbg@2/nvidia,tegra186-camera-ivc-protocol-debug.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Debug Driver for Camera RTCPU
|
|
|
|
maintainers:
|
|
- Evgeny Kornev
|
|
|
|
description: |
|
|
the compatability = nvidia,tegra186-camera-ivc-protocol-debug is mentioned in the following drivers
|
|
- <TOP>/kernel/nvidia-oot/drivers/platform/tegra/rtcpu/rtcpu-debug.c
|
|
|
|
The following nodes use this compatibility
|
|
- /camera-ivc-channels/dbg@2
|
|
|
|
select:
|
|
properties:
|
|
compatible:
|
|
minItems: 1
|
|
maxItems: 1
|
|
items:
|
|
enum:
|
|
- nvidia,tegra186-camera-ivc-protocol-debug
|
|
|
|
required:
|
|
- compatible
|
|
|
|
properties:
|
|
|
|
nvidia,service:
|
|
$ref: "/schemas/types.yaml#/definitions/string-array"
|
|
items:
|
|
enum:
|
|
- debug
|
|
|
|
|
|
nvidia,version:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x0
|
|
maximum: 0x0
|
|
|
|
nvidia,group:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x1
|
|
maximum: 0x1
|
|
|
|
nvidia,frame-count:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x1
|
|
maximum: 0x1
|
|
|
|
nvidia,frame-size:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x2000
|
|
maximum: 0x2000
|
|
|
|
nvidia,ivc-timeout:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x32
|
|
maximum: 0x32
|
|
|
|
nvidia,test-timeout:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x1388
|
|
maximum: 0x1388
|
|
|
|
nvidia,mem-map:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32-matrix"
|
|
items:
|
|
minItems: 5
|
|
maxItems: 5
|
|
items:
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
|
|
|
nvidia,test-bw:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 0x249f00
|
|
maximum: 0x249f00
|
|
|
|
required:
|
|
- compatible
|
|
|
|
examples:
|
|
- |
|
|
dbg@2 {
|
|
compatible = "nvidia,tegra186-camera-ivc-protocol-debug";
|
|
nvidia,service = "debug";
|
|
nvidia,version = <0>;
|
|
nvidia,group = <1>;
|
|
nvidia,frame-count = <1>;
|
|
nvidia,frame-size = <8192>;
|
|
nvidia,ivc-timeout = <50>;
|
|
nvidia,test-timeout = <5000>;
|
|
nvidia,mem-map = <&tegra_rce &vi0 &isp &vi1 &isp1>;
|
|
nvidia,test-bw = <2400000>;
|
|
status = "disabled";
|
|
};
|