Cadence DSI bridge
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/cdns,dsi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Boris Brezillon <boris.brezillon@bootlin.com>"
CDNS DSI is a bridge device which converts DPI to DSI
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "cdns,dsi", "ti,j721e-dsi"
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Register block for controller's registers.
Item 2
Register block for wrapper settings registers in case of TI J7 SoCs.
clocks — required here #
Array item rules (items) #
Item 1
PSM clock, used by the IP
Item 2
sys clock, used by the IP
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dsi_p_clk"
Item 2
Exact value (
const):"dsi_sys_clk"
phys — required here #
Maximum number of items (maxItems): 1
phy-names — required here #
Exact value (const): "dphy"
interrupts — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
reset-names — not listed as required here #
Exact value (const): "dsi_p_rst"
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
Output port representing the DSI output. It can have at most 4 endpoints. The endpoint number is directly encoding the DSI virtual channel used by this device.
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input port representing the DPI input.
Required in this object (required): "port@1"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):../dsi-controller.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"ti,j721e-dsi"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
power-domains— not listed as required hereMaximum number of items (
maxItems):1When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "phys", "phy-names", "ports"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <2>;
#size-cells = <2>;
dsi@fd0c0000 {
compatible = "cdns,dsi";
reg = <0x0 0xfd0c0000 0x0 0x1000>;
clocks = <&pclk>, <&sysclk>;
clock-names = "dsi_p_clk", "dsi_sys_clk";
interrupts = <1>;
phys = <&dphy0>;
phy-names = "dphy";
#address-cells = <1>;
#size-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&xxx_dpi_output>;
};
};
};
panel@0 {
compatible = "panasonic,vvx10f034n00";
reg = <0>;
power-supply = <&vcc_lcd_reg>;
};
};
};
bus {
#address-cells = <2>;
#size-cells = <2>;
dsi@fd0c0000 {
compatible = "cdns,dsi";
reg = <0x0 0xfd0c0000 0x0 0x1000>;
clocks = <&pclk>, <&sysclk>;
clock-names = "dsi_p_clk", "dsi_sys_clk";
interrupts = <1>;
phys = <&dphy1>;
phy-names = "dphy";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
endpoint@0 {
reg = <0>;
remote-endpoint = <&dsi_panel_input>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&xxx_dpi_output>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)