NVIDIA Tegra SOR Output Encoder
Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra124-sor.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"
The Serial Output Resource (SOR) can be used to drive HDMI, LVDS, eDP and DP outputs.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^sor@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"nvidia,tegra124-sor","nvidia,tegra210-sor","nvidia,tegra210-sor1","nvidia,tegra186-sor","nvidia,tegra186-sor1","nvidia,tegra194-sor"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra132-sor"Item 2
Exact value (
const):"nvidia,tegra124-sor"
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): 5
Maximum number of items (maxItems): 6
clock-names — required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
resets — required here #
Array item rules (items) #
Item 1
module reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sor"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
avdd-io-hdmi-dp-supply — required here #
I/O supply for HDMI/DP
vdd-hdmi-dp-pll-supply — required here #
PLL supply for HDMI/DP
hdmi-supply — not listed as required here #
+5.0V HDMI connector supply, required for HDMI
nvidia,interface — not listed as required here #
index of the SOR interface
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
nvidia,ddc-i2c-bus — not listed as required here #
phandle of an I2C controller used for DDC EDID probing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
nvidia,hpd-gpio — not listed as required here #
specifies a GPIO used for hotplug detection
Maximum number of items (maxItems): 1
nvidia,edid — not listed as required here #
supplies a binary EDID blob
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
nvidia,panel — not listed as required here #
phandle of a display panel, required for eDP
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
nvidia,xbar-cfg — not listed as required here #
5 cells containing the crossbar configuration. Each lane of the SOR, identified by the cell's index, is mapped via the crossbar to the pad specified by the cell's value.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
nvidia,dpaux — not listed as required here #
phandle to a DisplayPort AUX interface
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
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,tegra186-sor","nvidia,tegra194-sor"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
clock input for the SOR hardware
Item 2
SOR output clock
Item 3
input for the pixel clock
Item 4
reference clock for the SOR clock
Item 5
safe reference clock for the SOR clock during power up
Item 6
SOR pad output clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sor"Item 2
Item 3
Exact value (
const):"parent"Item 4
Exact value (
const):"dp"Item 5
Exact value (
const):"safe"Item 6
Exact value (
const):"pad"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
clock input for the SOR hardware
Item 2
SOR output clock
Item 3
input for the pixel clock
Item 4
reference clock for the SOR clock
Item 5
safe reference clock for the SOR clock during power up
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sor"Item 2
Item 3
Exact value (
const):"parent"Item 4
Exact value (
const):"dp"Item 5
Exact value (
const):"safe"
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", "avdd-io-hdmi-dp-supply", "vdd-hdmi-dp-pll-supply"
Examples (examples) #
#include <dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/gpio/tegra-gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
sor0: sor@54540000 {
compatible = "nvidia,tegra210-sor";
reg = <0x54540000 0x00040000>;
interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&tegra_car TEGRA210_CLK_SOR0>,
<&tegra_car TEGRA210_CLK_SOR0_OUT>,
<&tegra_car TEGRA210_CLK_PLL_D_OUT0>,
<&tegra_car TEGRA210_CLK_PLL_DP>,
<&tegra_car TEGRA210_CLK_SOR_SAFE>;
clock-names = "sor", "out", "parent", "dp", "safe";
resets = <&tegra_car 182>;
reset-names = "sor";
pinctrl-0 = <&state_dpaux_aux>;
pinctrl-1 = <&state_dpaux_i2c>;
pinctrl-2 = <&state_dpaux_off>;
pinctrl-names = "aux", "i2c", "off";
power-domains = <&pd_sor>;
avdd-io-hdmi-dp-supply = <&avdd_1v05>;
vdd-hdmi-dp-pll-supply = <&vdd_1v8>;
hdmi-supply = <&vdd_hdmi>;
nvidia,ddc-i2c-bus = <&hdmi_ddc>;
nvidia,hpd-gpio = <&gpio TEGRA_GPIO(CC, 1) GPIO_ACTIVE_LOW>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 69: Tegra186 and later
Line 98: optional when driving an eDP output
Line 127: deprecated
Line 148: deprecated