NVIDIA Tegra Display Controller
Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-dc.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): "^dc@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"nvidia,tegra20-dc","nvidia,tegra30-dc","nvidia,tegra114-dc","nvidia,tegra124-dc","nvidia,tegra210-dc"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra124-dc"Item 2
Exact value (
const):"nvidia,tegra132-dc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
display controller pixel clock
Item 2
parent clock
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"dc"
Item 2
Exact value (
const):"parent"
resets — required here #
Array item rules (items) #
Item 1
module reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dc"
interconnect-names — not listed as required here #
true — No constraints added by this property rule.
interconnects — not listed as required here #
true — No constraints added by this property rule.
iommus — not listed as required here #
Maximum number of items (maxItems): 1
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
power-domains — not listed as required here #
Array item rules (items) #
Item 1
phandle to the core power domain
memory-region — not listed as required here #
true — No constraints added by this property rule.
nvidia,head — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The number of the display controller head. This is used to setup the various types of output to receive video data from the given head.
nvidia,outputs — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
A list of phandles of outputs that this display controller can drive.
rgb — not listed as required here #
Value type (type): "object"
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)Allowed values (
enum):"nvidia,tegra20-dc","nvidia,tegra30-dc","nvidia,tegra114-dc"When the condition matches (
then) #Properties and child nodes (
properties)
interconnects— not listed as required hereArray item rules (
items)Item 1
window A memory client
Item 2
window B memory client
Item 3
window B memory client (vertical filter)
Item 4
window C memory client
Item 5
cursor memory client
interconnect-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"wina"Item 2
Exact value (
const):"winb"Item 3
Exact value (
const):"winb-vfilter"Item 4
Exact value (
const):"winc"Item 5
Exact value (
const):"cursor"
rgb— not listed as required hereEach display controller node has a child node, named "rgb", that represents the RGB output associated with the controller.
Value type (
type):"object"Properties and child nodes (
properties)
nvidia,ddc-i2c-bus— not listed as required hereShared schema rule (
$ref):/schemas/types.yaml#/definitions/phandlephandle of an I2C controller used for DDC EDID probing
nvidia,hpd-gpio— not listed as required herespecifies a GPIO used for hotplug detection
Maximum number of items (
maxItems):1
nvidia,edid— not listed as required hereShared schema rule (
$ref):/schemas/types.yaml#/definitions/uint8-arraysupplies a binary EDID blob
nvidia,panel— not listed as required hereShared schema rule (
$ref):/schemas/types.yaml#/definitions/phandlephandle of a display panel
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interconnects— not listed as required hereMinimum number of items (
minItems):4Array item rules (
items)Item 1
window A memory client
Item 2
window B memory client
Item 3
window C memory client
Item 4
cursor memory client
Item 5
window D memory client
Item 6
window T memory client
interconnect-names— not listed as required hereMinimum number of items (
minItems):4Array item rules (
items)Item 1
Exact value (
const):"wina"Item 2
Exact value (
const):"winb"Item 3
Exact value (
const):"winc"Item 4
Exact value (
const):"cursor"Item 5
Exact value (
const):"wind"Item 6
Exact value (
const):"wint"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "reset-names"
Examples (examples) #
#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
dc@54200000 {
compatible = "nvidia,tegra20-dc";
reg = <0x54200000 0x00040000>;
interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&tegra_car TEGRA20_CLK_DISP1>;
clock-names = "dc";
resets = <&tegra_car 27>;
reset-names = "dc";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 40: optional
Line 46: optional