mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
dt-bindings: tegra264: Update schemas
Update tegra264 schemas as follows: - correct nvidia,tegra264-rtc interrupts maxItems, minItems - correct tegra-spidev reg maxItems, minItems. add missing attributes into example. - fix compatible in example for nvidia,tegra186-spi-slave - document multi-master attribute in nvidia,tegra264-bpmp-i2c Update year range in .yaml file(s) Copyright Change-Id: Ibcafe16aa674975a7b74328d20f4f6e8f66b51fe Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3321635 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
# Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify it
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# under the terms and conditions of the GNU General Public License,
|
# under the terms and conditions of the GNU General Public License,
|
||||||
@@ -43,6 +43,11 @@ properties:
|
|||||||
minimum: 0x5
|
minimum: 0x5
|
||||||
maximum: 0x5
|
maximum: 0x5
|
||||||
|
|
||||||
|
multi-master:
|
||||||
|
$ref: "/schemas/types.yaml#/definitions/flag"
|
||||||
|
description: Enables retries if arbitration is lost. Currently, the
|
||||||
|
functionality is supported only by the Tegra264 BPMP firmware.
|
||||||
|
|
||||||
'#address-cells':
|
'#address-cells':
|
||||||
$ref: "/schemas/types.yaml#/definitions/uint32"
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
||||||
minimum: 0x1
|
minimum: 0x1
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
# Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify it
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# under the terms and conditions of the GNU General Public License,
|
# under the terms and conditions of the GNU General Public License,
|
||||||
@@ -68,9 +68,7 @@ properties:
|
|||||||
interrupts:
|
interrupts:
|
||||||
$ref: "/schemas/types.yaml#/definitions/uint32-matrix"
|
$ref: "/schemas/types.yaml#/definitions/uint32-matrix"
|
||||||
description: |
|
description: |
|
||||||
Interrupts are give by a tuple of 3 values:
|
Interrupts are give by a tuple of 2 values with interrupt-parent phandle:
|
||||||
- interrupt specifier (GIC_SPI = 0, GIC_PPI = 1)
|
|
||||||
definitions in dt-bindings/interrupt-controller/arm-gic.h
|
|
||||||
- interrupt number
|
- interrupt number
|
||||||
- trigger type (rising edge, falling edge, both, etc)
|
- trigger type (rising edge, falling edge, both, etc)
|
||||||
definitions in dt-bindings/interrupt-controller/irq.h
|
definitions in dt-bindings/interrupt-controller/irq.h
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
# Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify it
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# under the terms and conditions of the GNU General Public License,
|
# under the terms and conditions of the GNU General Public License,
|
||||||
@@ -206,7 +206,7 @@ required:
|
|||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
spi@810c460000 {
|
spi@810c460000 {
|
||||||
compatible = "nvidia,tegra234-spi, nvidia,tegra210-spi";
|
compatible = "nvidia,tegra186-spi-slave";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
reg = <0x81 0x0c460000 0x0 0x10000>;
|
reg = <0x81 0x0c460000 0x0 0x10000>;
|
||||||
interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
# Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify it
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# under the terms and conditions of the GNU General Public License,
|
# under the terms and conditions of the GNU General Public License,
|
||||||
@@ -47,12 +47,10 @@ properties:
|
|||||||
reg:
|
reg:
|
||||||
$ref: "/schemas/types.yaml#/definitions/uint32-matrix"
|
$ref: "/schemas/types.yaml#/definitions/uint32-matrix"
|
||||||
description: |
|
description: |
|
||||||
Registers are given by a tuple of two values:
|
Register is specified as a value.
|
||||||
- register address:
|
|
||||||
- register block size.
|
|
||||||
items:
|
items:
|
||||||
minItems: 4
|
minItems: 1
|
||||||
maxItems: 4
|
maxItems: 1
|
||||||
items:
|
items:
|
||||||
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
- $ref: "/schemas/types.yaml#/definitions/uint32"
|
||||||
minimum: 0x0
|
minimum: 0x0
|
||||||
@@ -70,4 +68,7 @@ required:
|
|||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
spi@0 {
|
spi@0 {
|
||||||
|
compatible = "tegra-spidev";
|
||||||
|
reg = <0x0>;
|
||||||
|
spi-max-frequency = <0x2faf080>;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user