Solomon SSD2825 RGB to MIPI-DSI bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/solomon,ssd2825.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Svyatoslav Ryhel <clamor95@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "solomon,ssd2825"

reg — not listed as required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

dvdd-supply — not listed as required here #

Regulator for 1.2V digital power supply.

avdd-supply — not listed as required here #

Regulator for 1.2V analog power supply.

vddio-supply — not listed as required here #

Regulator for 1.8V IO power supply.

spi-max-frequency — not listed as required here #

Maximum value (maximum): 1000000

spi-cpha — not listed as required here #

true — No constraints added by this property rule.

spi-cpol — not listed as required here #

true — No constraints added by this property rule.

clocks — not listed as required here #

Maximum number of items (maxItems): 1

Reference TX_CLK used before PLL is locked.

solomon,hs-zero-delay-ns — not listed as required here #

HS zero delay period

Minimum value (minimum): 0

Maximum value (maximum): 1700

Default value (default): 133

solomon,hs-prep-delay-ns — not listed as required here #

HS prep delay period

Minimum value (minimum): 0

Maximum value (maximum): 1728

Default value (default): 40

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties and child nodes (properties) #

port@0 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Video port for RGB input

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/endpoint-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

bus-width — not listed as required here

Allowed values (enum): 16, 18, 24

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Video port for DSI output (panel or connector)

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    dsi@2 {
        compatible = "solomon,ssd2825";
        reg = <2>;

        spi-max-frequency = <1000000>;

        spi-cpha;
        spi-cpol;

        reset-gpios = <&gpio 114 GPIO_ACTIVE_LOW>;

        dvdd-supply = <&vdd_1v2>;
        avdd-supply = <&vdd_1v2>;
        vddio-supply = <&vdd_1v8_io>;

        solomon,hs-zero-delay-ns = <300>;
        solomon,hs-prep-delay-ns = <65>;

        clocks = <&ssd2825_tx_clk>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;

                bridge_input: endpoint {
                    remote-endpoint = <&dpi_output>;
                    bus-width = <24>;
                };
            };

            port@1 {
                reg = <1>;

                bridge_output: endpoint {
                    remote-endpoint = <&panel_input>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page