NVIDIA 3D graphics engine
Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-gr3d.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^gr3d@[0-9a-f]+$"
compatible — not listed as required here #
Allowed values (enum): "nvidia,tegra20-gr3d", "nvidia,tegra30-gr3d", "nvidia,tegra114-gr3d"
reg — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
resets — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
reset-names — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
iommus — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interconnects — not listed as required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 10
interconnect-names — not listed as required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 10
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
power-domains — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
power-domain-names — not listed as required here #
Maximum number of items (maxItems): 2
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nvidia,tegra20-gr2d"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
module clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"3d"
resets— not listed as required hereArray item rules (
items)Item 1
module reset
Item 2
memory client hotflush reset
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"3d"Item 2
Exact value (
const):"mc"
iommus— not listed as required hereMaximum number of items (
maxItems):1
interconnects— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
interconnect-names— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
power-domains— not listed as required hereArray item rules (
items)Item 1
phandle to the TD power domain
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nvidia,tegra30-gr3d"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
primary module clock
Item 2
secondary module clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"3d"Item 2
Exact value (
const):"3d2"
resets— not listed as required hereArray item rules (
items)Item 1
primary module reset
Item 2
secondary module reset
Item 3
primary memory client hotflush reset
Item 4
secondary memory client hotflush reset
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"3d"Item 2
Exact value (
const):"3d2"Item 3
Exact value (
const):"mc"Item 4
Exact value (
const):"mc2"
iommus— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
interconnects— not listed as required hereMinimum number of items (
minItems):8Maximum number of items (
maxItems):8
interconnect-names— not listed as required hereMinimum number of items (
minItems):8Maximum number of items (
maxItems):8
power-domains— not listed as required hereArray item rules (
items)Item 1
phandle to the TD power domain
Item 2
phandle to the TD2 power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"3d0"Item 2
Exact value (
const):"3d1"Property dependencies (
dependencies)
power-domains— applies when this property is presentAlso requires:
"power-domain-names"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nvidia,tegra114-gr2d"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
module clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"3d"
resets— not listed as required hereArray item rules (
items)Item 1
module reset
Item 2
memory client hotflush reset
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"3d"Item 2
Exact value (
const):"mc"
iommus— not listed as required hereMaximum number of items (
maxItems):1
interconnects— not listed as required hereMinimum number of items (
minItems):10Maximum number of items (
maxItems):10
interconnect-names— not listed as required hereMinimum number of items (
minItems):10Maximum number of items (
maxItems):10
power-domains— not listed as required hereArray item rules (
items)Item 1
phandle to the TD power domain
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/memory/tegra20-mc.h>
gr3d@54180000 {
compatible = "nvidia,tegra20-gr3d";
reg = <0x54180000 0x00040000>;
clocks = <&tegra_car TEGRA20_CLK_GR3D>;
resets = <&tegra_car 24>, <&mc TEGRA20_MC_RESET_3D>;
reset-names = "3d", "mc";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)