Texas Instruments AM65x Display Subsystem
Schema identifier ($id): "http://devicetree.org/schemas/display/ti/ti,am65x-dss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jyri Sarha <jsarha@ti.com>", "Tomi Valkeinen <tomi.valkeinen@ti.com>"
The AM625 and AM65x TI Keystone Display SubSystem has two output ports and two video planes. In AM65x DSS, the first video port supports 1 OLDI TX and in AM625 DSS, the first video port output is internally routed to 2 OLDI TXes. The second video port supports DPI format. The first plane is full video plane with all features and the second is a "lite plane" without scaling support. The AM62L display subsystem has a single output port which supports DPI format but it only supports single video "lite plane" which does not support scaling. The output port is routed to SoC boundary via DPI interface and same DPI signals are also routed internally to DSI Tx controller present within the SoC. Due to clocking limitations only one of the interface i.e. either DSI or DPI can be used at once.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,am625-dss", "ti,am62a7-dss", "ti,am62l-dss", "ti,am65x-dss"
reg — required here #
Addresses to each DSS memory region described in the SoC's TRM.
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
common DSS register area
Item 2
VIDL1 light video plane
Item 3
VID video plane
Item 4
OVR1 overlay manager for vp1
Item 5
OVR2 overlay manager for vp2
Item 6
VP1 video port 1
Item 7
VP2 video port 2
Item 8
common1 DSS register area
Rule 2
Array item rules (
items)Item 1
common DSS register area
Item 2
VIDL1 light video plane
Item 3
OVR1 overlay manager for vp1
Item 4
VP1 video port 1
Item 5
common1 DSS register area
reg-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"common"Item 2
Exact value (
const):"vidl1"Item 3
Exact value (
const):"vid"Item 4
Exact value (
const):"ovr1"Item 5
Exact value (
const):"ovr2"Item 6
Exact value (
const):"vp1"Item 7
Exact value (
const):"vp2"Item 8
Exact value (
const):"common1"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"common"Item 2
Exact value (
const):"vidl1"Item 3
Exact value (
const):"ovr1"Item 4
Exact value (
const):"vp1"Item 5
Exact value (
const):"common1"
clocks — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
fck DSS functional clock
Item 2
vp1 Video Port 1 pixel clock
Item 3
vp2 Video Port 2 pixel clock
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"fck"
Item 2
Exact value (
const):"vp1"
Item 3
Exact value (
const):"vp2"
assigned-clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
assigned-clock-parents — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
interrupts — required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
phandle to the associated power domain
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
For AM65x DSS, the OLDI output port node from video port 1. For AM625 DSS, the internal DPI output port node from video port 1. For AM62A7 DSS, the port is tied off inside the SoC. For AM62L DSS, the DSS DPI output port node from video port 1 or DSI Tx controller node connected to video port 1.
Properties and child nodes (properties)
endpoint@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
For AM625 DSS, VP Connection to OLDI0. For AM65X DSS, OLDI output from the SoC.
endpoint@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
For AM625 DSS, VP Connection to OLDI1.
At least one of these rules must match (anyOf)
Rule 1
Rule 2
Required in this object (
required):"endpoint@0","endpoint@1"
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
The DSS DPI output port node from video port 2
ti,am65x-oldi-io-ctrl — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to syscon device node mapping OLDI IO_CTRL registers. The mapped range should point to OLDI_DAT0_IO_CTRL, map it and following OLDI_DAT1_IO_CTRL, OLDI_DAT2_IO_CTRL, OLDI_DAT3_IO_CTRL, and OLDI_CLK_IO_CTRL registers. This property is needed for OLDI interface to work.
max-memory-bandwidth — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Input memory (from main memory to dispc) bandwidth limit in bytes per second
oldi-transmitters — not listed as required here #
Child node under the DSS, to describe all the OLDI transmitters connected to the DSS videoports.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#address-cells — not listed as required here
Exact value (const): 1
#size-cells — not listed as required here
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^oldi@[0-1]$ — name matches this regular expression
Shared schema rule ($ref): ti,am625-oldi.yaml#
OLDI transmitters connected to the DSS VPs
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):"ti,am62a7-dss"When the condition matches (
then) #Properties and child nodes (
properties)
oldi-transmitters— not listed as required here
false— Not permitted by this property rule.
ports— not listed as required hereProperties and child nodes (
properties)
port@0— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"ti,am62l-dss"When the condition matches (
then) #Properties and child nodes (
properties)
ports— not listed as required hereProperties and child nodes (
properties)
port@1— not listed as required here
false— Not permitted by this property rule.
reg— not listed as required hereMaximum number of items (
maxItems):5
reg-names— not listed as required hereMaximum number of items (
maxItems):5
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereMaximum number of items (
maxItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):8
reg-names— not listed as required hereMinimum number of items (
minItems):8
clocks— not listed as required hereMinimum number of items (
minItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):3
Rule 3 #
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)
oldi-transmitters— not listed as required here
false— Not permitted by this property rule.
ports— not listed as required hereProperties and child nodes (
properties)
port@0— not listed as required hereProperties and child nodes (
properties)
endpoint@1— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/soc/ti,sci_pm_domain.h>
dss: dss@4a00000 {
compatible = "ti,am65x-dss";
reg = <0x04a00000 0x1000>, /* common */
<0x04a02000 0x1000>, /* vidl1 */
<0x04a06000 0x1000>, /* vid */
<0x04a07000 0x1000>, /* ovr1 */
<0x04a08000 0x1000>, /* ovr2 */
<0x04a0a000 0x1000>, /* vp1 */
<0x04a0b000 0x1000>, /* vp2 */
<0x04a01000 0x1000>; /* common1 */
reg-names = "common", "vidl1", "vid",
"ovr1", "ovr2", "vp1", "vp2", "common1";
ti,am65x-oldi-io-ctrl = <&dss_oldi_io_ctrl>;
power-domains = <&k3_pds 67 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 67 1>,
<&k3_clks 216 1>,
<&k3_clks 67 2>;
clock-names = "fck", "vp1", "vp2";
interrupts = <GIC_SPI 166 IRQ_TYPE_EDGE_RISING>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
oldi_out0: endpoint {
remote-endpoint = <&lcd_in0>;
};
};
};
};
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/soc/ti,sci_pm_domain.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
dss1: dss@30200000 {
compatible = "ti,am625-dss";
reg = <0x00 0x30200000 0x00 0x1000>, /* common */
<0x00 0x30202000 0x00 0x1000>, /* vidl1 */
<0x00 0x30206000 0x00 0x1000>, /* vid */
<0x00 0x30207000 0x00 0x1000>, /* ovr1 */
<0x00 0x30208000 0x00 0x1000>, /* ovr2 */
<0x00 0x3020a000 0x00 0x1000>, /* vp1 */
<0x00 0x3020b000 0x00 0x1000>, /* vp2 */
<0x00 0x30201000 0x00 0x1000>; /* common1 */
reg-names = "common", "vidl1", "vid",
"ovr1", "ovr2", "vp1", "vp2", "common1";
power-domains = <&k3_pds 186 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 186 6>,
<&vp1_clock>,
<&k3_clks 186 2>;
clock-names = "fck", "vp1", "vp2";
interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
oldi-transmitters {
#address-cells = <1>;
#size-cells = <0>;
oldi0: oldi@0 {
reg = <0>;
clocks = <&k3_clks 186 0>;
clock-names = "serial";
ti,companion-oldi = <&oldi1>;
ti,oldi-io-ctrl = <&dss_oldi_io_ctrl>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
oldi0_in: endpoint {
remote-endpoint = <&dpi0_out0>;
};
};
port@1 {
reg = <1>;
oldi0_out: endpoint {
remote-endpoint = <&panel_in0>;
};
};
};
};
oldi1: oldi@1 {
reg = <1>;
clocks = <&k3_clks 186 0>;
clock-names = "serial";
ti,secondary-oldi;
ti,companion-oldi = <&oldi0>;
ti,oldi-io-ctrl = <&dss_oldi_io_ctrl>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
oldi1_in: endpoint {
remote-endpoint = <&dpi0_out1>;
};
};
port@1 {
reg = <1>;
oldi1_out: endpoint {
remote-endpoint = <&panel_in1>;
};
};
};
};
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
dpi0_out0: endpoint@0 {
reg = <0>;
remote-endpoint = <&oldi0_in>;
};
dpi0_out1: endpoint@1 {
reg = <1>;
remote-endpoint = <&oldi1_in>;
};
};
port@1 {
reg = <1>;
dpi1_out: endpoint {
remote-endpoint = <&hdmi_bridge>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2019 Texas Instruments Incorporated