Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios Kernel

Display bindings

Single-page view · as markdown

Atmel's High LCD Controller (HLCDC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / atmel

Schema identifier ($id): "http://devicetree.org/schemas/display/atmel/atmel,hlcdc-display-controller.yaml#"

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

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>", "Alexandre Belloni <alexandre.belloni@bootlin.com>", "Claudiu Beznea <claudiu.beznea@tuxon.dev>"

The LCD Controller (LCDC) consists of logic for transferring LCD image data from an external display buffer to a TFT LCD panel. The LCDC has one display input buffer per layer that fetches pixels through the single bus host interface and a look-up table to allow palletized display configurations.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "atmel,hlcdc-display-controller"

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

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.

Output endpoint of the controller, connecting the LCD panel signals.

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

reg — not listed as required here

Maximum number of items (maxItems): 1

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Endpoint connecting the LCD panel signals.

Properties and child nodes (properties)

bus-width — not listed as required here

Allowed values (enum): 12, 16, 18, 24

Required in this object (required): "#address-cells", "#size-cells", "compatible", "port@0"

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

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Analog Devices ADV7511/11W/13 HDMI Encoders

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"

The ADV7511, ADV7511W and ADV7513 are HDMI audio and video transmitters compatible with HDMI 1.4 and DVI 1.0. They support color space conversion, S/PDIF, CEC and HDCP. The transmitter input is parallel RGB or YUV data.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,adv7511", "adi,adv7511w", "adi,adv7513"

reg — required here #

I2C slave addresses.

The ADV7511/11W/13 internal registers are split into four pages exposed through different I2C addresses, creating four register maps. Each map has it own I2C address and acts as a standard slave device on the I2C bus. The main address is mandatory, others are optional and revert to defaults if not specified.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

reg-names — not listed as required here #

Names of maps with programmable addresses. It can contain any map needing a non-default address.

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "main"

Item 2

Exact value (const): "edid"

Item 3

Exact value (const): "cec"

Item 4

Exact value (const): "packet"

clocks — not listed as required here #

Reference to the CEC clock.

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "cec"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

pd-gpios — not listed as required here #

GPIO connected to the power down signal.

Maximum number of items (maxItems): 1

avdd-supply — required here #

A 1.8V supply that powers up the AVDD pin.

dvdd-supply — required here #

A 1.8V supply that powers up the DVDD pin.

pvdd-supply — required here #

A 1.8V supply that powers up the PVDD pin.

dvdd-3v-supply — required here #

A 3.3V supply that powers up the DVDD_3V pin.

bgvdd-supply — required here #

A 1.8V supply that powers up the BGVDD pin.

adi,input-depth — required here #

Number of bits per color component at the input.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 8, 10, 12

adi,input-colorspace — required here #

Input color space.

Allowed values (enum): "rgb", "yuv422", "yuv444"

adi,input-clock — required here #

Input clock type.
  "1x": one clock cycle per pixel
  "2x": two clock cycles per pixel
  "dd": one clock cycle per pixel, data driven on both edges

Allowed values (enum): "1x", "2x", "dd"

adi,clock-delay — not listed as required here #

Video data clock delay relative to the pixel clock, in ps (-1200ps .. 1600 ps).

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 0

adi,embedded-sync — not listed as required here #

If defined, the input uses synchronization signals embedded in the data stream (similar to BT.656).

Value type (type): "boolean"

adi,input-style — not listed as required here #

Input components arrangement variant as listed in the input format tables in the datasheet.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 3

adi,input-justification — not listed as required here #

Input bit justification.

Allowed values (enum): "left", "evenly", "right"

ports — required here #

The ADV7511(W)/13 has two video ports and one audio port.

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

Properties and child nodes (properties) #

port@0 — not listed as required here

Video port for the RGB or YUV input.

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

port@1 — not listed as required here

Video port for the HDMI output.

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

port@2 — not listed as required here

Audio port for the HDMI output.

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

Condition (if) #

This rule must not match (not) #

Properties and child nodes (properties) #

adi,input-colorspace — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rgb", "yuv444"

adi,input-clock — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "1x"

When the condition matches (then) #

Required in this object (required): "adi,input-style", "adi,input-justification"

When the condition does not match (else) #

Properties and child nodes (properties) #

adi,input-style — not listed as required here #

false — Not permitted by this property rule.

adi,input-justification — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible", "reg", "ports", "adi,input-depth", "adi,input-colorspace", "adi,input-clock", "avdd-supply", "dvdd-supply", "pvdd-supply", "dvdd-3v-supply", "bgvdd-supply"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

i2c@e6500000 {
    #address-cells = <1>;
    #size-cells = <0>;

    reg = <0 0xe6500000>;

    adv7511w: hdmi@39 {
        compatible = "adi,adv7511w";
        /*
         * The EDID page will be accessible on address 0x66 on the I2C
         * bus. All other maps continue to use their default addresses.
         */
        reg = <0x39>, <0x66>;
        reg-names = "main", "edid";
        interrupt-parent = <&gpio3>;
        interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
        clocks = <&cec_clock>;
        clock-names = "cec";
        avdd-supply = <&v1v8>;
        dvdd-supply = <&v1v8>;
        pvdd-supply = <&v1v8>;
        dvdd-3v-supply = <&v3v3>;
        bgvdd-supply = <&v1v8>;

        adi,input-depth = <8>;
        adi,input-colorspace = "yuv422";
        adi,input-clock = "1x";

        adi,input-style = <3>;
        adi,input-justification = "right";
        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                adv7511w_in: endpoint {
                    remote-endpoint = <&dpi_out>;
                };
            };

            port@1 {
                reg = <1>;
                adv7511_out: endpoint {
                    remote-endpoint = <&hdmi_connector_in>;
                };
            };

            port@2 {
                reg = <2>;
                codec_endpoint: endpoint {
                    remote-endpoint = <&i2s0_cpu_endpoint>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 136: adi,input-colorspace and adi,input-clock are required except in

Line 137: "rgb 1x" and "yuv444 1x" modes, in which case they must not be

Line 138: specified.

Analog Devices ADV7533/35 HDMI Encoders

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

The ADV7533 and ADV7535 are HDMI audio and video transmitters compatible with HDMI 1.4 and DVI 1.0. They support color space conversion, S/PDIF, CEC and HDCP. The transmitter input is MIPI DSI.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,adv7533", "adi,adv7535"

reg — required here #

I2C slave addresses.

The ADV7533/35 internal registers are split into four pages exposed through different I2C addresses, creating four register maps. Each map has it own I2C address and acts as a standard slave device on the I2C bus. The main address is mandatory, others are optional and revert to defaults if not specified.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

reg-names — not listed as required here #

Names of maps with programmable addresses. It can contain any map needing a non-default address.

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "main"

Item 2

Exact value (const): "edid"

Item 3

Exact value (const): "cec"

Item 4

Exact value (const): "packet"

clocks — not listed as required here #

Reference to the CEC clock.

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "cec"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

pd-gpios — not listed as required here #

GPIO connected to the power down signal.

Maximum number of items (maxItems): 1

avdd-supply — required here #

A 1.8V supply that powers up the AVDD pin.

dvdd-supply — required here #

A 1.8V supply that powers up the DVDD pin.

pvdd-supply — required here #

A 1.8V supply that powers up the PVDD pin.

a2vdd-supply — required here #

A 1.8V supply that powers up the A2VDD pin.

v3p3-supply — required here #

A 3.3V supply that powers up the V3P3 pin.

v1p2-supply — not listed as required here #

A supply that powers up the V1P2 pin. It can be either 1.2V or 1.8V for ADV7533 but only 1.8V for ADV7535.

adi,disable-timing-generator — not listed as required here #

Disables the internal timing generator. The chip will rely on the sync signals in the DSI data lanes, rather than generating its own timings for HDMI output.

Value type (type): "boolean"

adi,dsi-lanes — required here #

Number of DSI data lanes connected to the DSI host.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 2, 3, 4

#sound-dai-cells — not listed as required here #

Exact value (const): 0

ports — required here #

The ADV7533/35 has two video ports and one audio port.

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

Properties and child nodes (properties) #

port@0 — not listed as required here

Video port for the DSI input. The remote endpoint phandle should be a reference to a valid mipi_dsi_host_device.

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

port@1 — not listed as required here

Video port for the HDMI output.

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

port@2 — not listed as required here

Audio port for the HDMI output.

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

Required in this object (required): "compatible", "reg", "ports", "adi,dsi-lanes", "avdd-supply", "dvdd-supply", "pvdd-supply", "a2vdd-supply", "v3p3-supply"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

i2c@e6500000 {
    #address-cells = <1>;
    #size-cells = <0>;

    reg = <0 0xe6500000>;

    adv7533: hdmi@39 {
        compatible = "adi,adv7533";
        /*
         * The EDID page will be accessible on address 0x66 on the I2C
         * bus. All other maps continue to use their default addresses.
         */
        reg = <0x39>, <0x66>;
        reg-names = "main", "edid";
        interrupt-parent = <&gpio3>;
        interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
        clocks = <&cec_clock>;
        clock-names = "cec";
        adi,dsi-lanes = <4>;
        avdd-supply = <&v1v8>;
        dvdd-supply = <&v1v8>;
        pvdd-supply = <&v1v8>;
        a2vdd-supply = <&v1v8>;
        v3p3-supply = <&v3v3>;

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

            port@0 {
                reg = <0>;
                adv7533_in: endpoint {
                    remote-endpoint = <&dsi_out>;
                };
            };

            port@1 {
                reg = <1>;
                adv7533_out: endpoint {
                    remote-endpoint = <&hdmi_connector_in>;
                };
            };

            port@2 {
                reg = <2>;
                codec_endpoint: endpoint {
                    remote-endpoint = <&i2s0_cpu_endpoint>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Analogix ANX7625 SlimPort (4K Mobile HD Transmitter)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Xin Ji <xji@analogixsemi.com>"

The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable devices.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "analogix,anx7625"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

used for interrupt pin B8.

Maximum number of items (maxItems): 1

enable-gpios — not listed as required here #

used for power on chip control, POWER_EN pin D2.

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

used for reset chip control, RESET_N pin B7.

Maximum number of items (maxItems): 1

vdd10-supply — required here #

Regulator that provides the supply 1.0V power.

vdd18-supply — required here #

Regulator that provides the supply 1.8V power.

vdd33-supply — required here #

Regulator that provides the supply 3.3V power.

analogix,lane0-swing — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 20

an array of swing register setting for DP tx lane0 PHY. Registers 0~9 are Swing0_Pre0, Swing1_Pre0, Swing2_Pre0, Swing3_Pre0, Swing0_Pre1, Swing1_Pre1, Swing2_Pre1, Swing0_Pre2, Swing1_Pre2, Swing0_Pre3, they are for [Boost control] and [Swing control] setting. Registers 0~9, bit 3:0 is [Boost control], these bits control post cursor manual, increase the [Boost control] to increase Pre-emphasis value. Registers 0~9, bit 6:4 is [Swing control], these bits control swing manual, increase [Swing control] setting to add Vp-p value for each Swing, Pre. Registers 10~19 are Swing0_Pre0, Swing1_Pre0, Swing2_Pre0, Swing3_Pre0, Swing0_Pre1, Swing1_Pre1, Swing2_Pre1, Swing0_Pre2, Swing1_Pre2, Swing0_Pre3, they are for [R select control] and [R Termination control] setting. Registers 10~19, bit 4:0 is [R select control], these bits are compensation manual, increase it can enhance IO driven strength and Vp-p. Registers 10~19, bit 5:6 is [R termination control], these bits adjust 50ohm impedance of DP tx termination. 00:55 ohm, 01:50 ohm(default), 10:45 ohm, 11:40 ohm.

analogix,lane1-swing — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 20

an array of swing register setting for DP tx lane1 PHY. DP TX lane1 swing register setting same with lane0 swing, please refer lane0-swing property description.

analogix,audio-enable — not listed as required here #

Value type (type): "boolean"

let the driver enable audio HDMI codec function or not.

aux-bus — not listed as required here #

Shared schema rule ($ref): /schemas/display/dp-aux-bus.yaml#

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.

MIPI DSI/DPI input.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

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)

remote-endpoint — not listed as required here

true — No constraints added by this property rule.

bus-type — not listed as required here

Allowed values (enum): 7

Default value (default): 1

data-lanes — not listed as required here

true — No constraints added by this property rule.

port@1 — required here

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

Video port for panel or connector.

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

Required in this object (required): "compatible", "reg", "vdd10-supply", "vdd18-supply", "vdd33-supply", "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>

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

    encoder@58 {
        compatible = "analogix,anx7625";
        reg = <0x58>;
        enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;
        vdd10-supply = <&pp1000_mipibrdg>;
        vdd18-supply = <&pp1800_mipibrdg>;
        vdd33-supply = <&pp3300_mipibrdg>;
        analogix,audio-enable;
        analogix,lane0-swing = /bits/ 8 <0x14 0x54 0x64 0x74>;
        analogix,lane1-swing = /bits/ 8 <0x14 0x54 0x64 0x74>;

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

            mipi2dp_bridge_in: port@0 {
                reg = <0>;
                anx7625_in: endpoint {
                    remote-endpoint = <&mipi_dsi>;
                    bus-type = <7>;
                    data-lanes = <0 1 2 3>;
                };
            };

            mipi2dp_bridge_out: port@1 {
                reg = <1>;
                anx7625_out: endpoint {
                    remote-endpoint = <&panel_in>;
                };
            };
        };

        aux-bus {
            panel {
                compatible = "innolux,n125hce-gn1";
                power-supply = <&pp3300_disp_x>;
                backlight = <&backlight_lcd0>;

                port {
                    panel_in: endpoint {
                        remote-endpoint = <&anx7625_out>;
                    };
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2019 Analogix Semiconductor, Inc.

Analogix ANX7814 SlimPort (Full-HD Transmitter)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Andrzej Hajda <andrzej.hajda@intel.com>", "Neil Armstrong <neil.armstrong@linaro.org>", "Robert Foss <robert.foss@linaro.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "analogix,anx7808", "analogix,anx7812", "analogix,anx7814", "analogix,anx7816", "analogix,anx7818"

reg — required here #

Maximum number of items (maxItems): 1

I2C address of the device.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Should contain the INTP interrupt.

hpd-gpios — not listed as required here #

Deprecated (deprecated): true

Maximum number of items (maxItems): 1

Which GPIO to use for hpd.

pd-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Which GPIO to use for power down.

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Which GPIO to use for reset.

dvdd10-supply — not listed as required here #

Regulator for 1.0V digital core power.

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#/properties/port

Video port for HDMI input.

port@1 — required here

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

Video port for SlimPort, DisplayPort, eDP or MyDP output.

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

Required in this object (required): "compatible", "reg", "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/gpio/gpio.h>

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

    anx7814: bridge@38 {
        compatible = "analogix,anx7814";
        reg = <0x38>;
        interrupt-parent = <&gpio0>;
        interrupts = <99 IRQ_TYPE_LEVEL_LOW>;   /* INTP */
        pd-gpios = <&pio 33 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&pio 98 GPIO_ACTIVE_HIGH>;

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

            port@0 {
                reg = <0>;
                anx7814_in: endpoint {
                    remote-endpoint = <&hdmi0_out>;
                };
            };

            port@1 {
                reg = <1>;
                anx7814_out: endpoint {
                    remote-endpoint = <&edp_out>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Analogix Display Port bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Rob Herring <robh@kernel.org>"

Properties and child nodes (properties) #

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

true — No constraints added by this property rule.

clock-names — required here #

true — No constraints added by this property rule.

phys — not listed as required here #

true — No constraints added by this property rule.

phy-names — not listed as required here #

Exact value (const): "dp"

force-hpd — not listed as required here #

Value type (type): "boolean"

Indicate driver need force hpd when hpd detect failed, this is used for some eDP screen which don not have a hpd signal.

hpd-gpios — not listed as required here #

Hotplug detect GPIO. Indicates which GPIO should be used for hotplug detection

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#/properties/port

Input node to receive pixel data.

port@1 — required here

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

Port node with one endpoint connected to a dp-connector node.

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

Required in this object (required): "reg", "interrupts", "clock-names", "clocks", "ports"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Analogix ANX6345 eDP Transmitter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Torsten Duwe <duwe@lst.de>"

The ANX6345 is an ultra-low power Full-HD eDP transmitter designed for portable devices.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "analogix,anx6345"

reg — required here #

Maximum number of items (maxItems): 1

base I2C address of the device

reset-gpios — required here #

Maximum number of items (maxItems): 1

GPIO connected to active low reset

dvdd12-supply — required here #

Regulator for 1.2V digital core power.

dvdd25-supply — required here #

Regulator for 2.5V digital core power.

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#/properties/port

Video port for LVTTL input

port@1 — not listed as required here

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

Video port for eDP output (panel or connector). May be omitted if EDID works reliably.

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

Required in this object (required): "compatible", "reg", "reset-gpios", "dvdd12-supply", "dvdd25-supply", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

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

  anx6345: anx6345@38 {
    compatible = "analogix,anx6345";
    reg = <0x38>;
    reset-gpios = <&pio42 1 /* GPIO_ACTIVE_LOW */>;
    dvdd25-supply = <&reg_dldo2>;
    dvdd12-supply = <&reg_fldo1>;

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

      anx6345_in: port@0 {
        reg = <0>;
        anx6345_in_tcon0: endpoint {
          remote-endpoint = <&tcon0_out_anx6345>;
        };
      };

      anx6345_out: port@1 {
        reg = <1>;
        anx6345_out_panel: endpoint {
          remote-endpoint = <&panel_in_edp>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Cadence DSI bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / 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 here

Rule 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 here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

power-domains — not listed as required here

Maximum number of items (maxItems): 1

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum 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)

Cadence MHDP8546 bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Swapnil Jakhade <sjakhade@cadence.com>", "Yuti Amonkar <yamonkar@cadence.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "cdns,mhdp8546", "ti,j721e-mhdp8546"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Register block of mhdptx apb registers up to PHY mapped area (AUX_CONFIG_P). The AUX and PMA registers are not part of this range, they are instead included in the associated PHY.

Item 2

Register block for DSS_EDP0_INTG_CFG_VP registers in case of TI J7 SoCs.

Item 3

Register block of mhdptx sapb registers.

reg-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "mhdptx"

Item 2

Exact value (const): "j721e-intg"

Item 3

Exact value (const): "mhdptx-sapb"

clocks — required here #

Maximum number of items (maxItems): 1

DP bridge clock, used by the IP to know how to translate a number of clock cycles into a time (which is used to comply with DP standard timings and delays).

phys — required here #

Maximum number of items (maxItems): 1

phandle to the DisplayPort PHY.

phy-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dpphy"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

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#/properties/port

First input port representing the DP bridge input.

port@1 — not listed as required here

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

Second input port representing the DP bridge input.

port@2 — not listed as required here

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

Third input port representing the DP bridge input.

port@3 — not listed as required here

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

Fourth input port representing the DP bridge input.

port@4 — required here

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

Output port representing the DP bridge output.

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "ti,j721e-mhdp8546"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

reg-names — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reg-names — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible", "clocks", "reg", "reg-names", "phys", "phy-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>
bus {
    #address-cells = <2>;
    #size-cells = <2>;

    mhdp: dp-bridge@f0fb000000 {
        compatible = "cdns,mhdp8546";
        reg = <0xf0 0xfb000000 0x0 0x1000000>;
        reg-names = "mhdptx";
        clocks = <&mhdp_clock>;
        phys = <&dp_phy>;
        phy-names = "dpphy";
        interrupts = <GIC_SPI 614 IRQ_TYPE_LEVEL_HIGH>;

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

            port@0 {
                reg = <0>;
                dp_bridge_input: endpoint {
                    remote-endpoint = <&xxx_dpi_output>;
                };
            };

            port@4 {
                reg = <4>;
                dp_bridge_output: endpoint {
                    remote-endpoint = <&xxx_dp_connector_input>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Chipone ICN6211 MIPI-DSI to RGB Converter bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Jagan Teki <jagan@amarulasolutions.com>"

ICN6211 is MIPI-DSI to RGB Converter bridge from chipone.

It has a flexible configuration of MIPI DSI signal input and produce RGB565, RGB666, RGB888 output format.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "chipone,icn6211"

reg — required here #

Maximum number of items (maxItems): 1

virtual channel number of a DSI peripheral

clock-names — not listed as required here #

Exact value (const): "refclk"

clocks — not listed as required here #

Maximum number of items (maxItems): 1

Optional external clock connected to REF_CLK input. The clock rate must be in 10..154 MHz range.

enable-gpios — required here #

Bridge EN pin, chip is reset when EN is low.

vdd1-supply — not listed as required here #

A 1.8V/2.5V/3.3V supply that power the MIPI RX.

vdd2-supply — not listed as required here #

A 1.8V/2.5V/3.3V supply that power the PLL.

vdd3-supply — not listed as required here #

A 1.8V/2.5V/3.3V supply that power the RGB output.

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#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Video port for MIPI DSI input

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

array of physical DSI data lane indexes.

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Item 3

Exact value (const): 3

Item 4

Exact value (const): 4

port@1 — required here

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

Video port for MIPI DPI output (panel or connector).

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

Required in this object (required): "compatible", "reg", "enable-gpios", "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>

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

  bridge@0 {
    compatible = "chipone,icn6211";
    reg = <0>;
    enable-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* LCD-RST: PL5 */

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

      port@0 {
        reg = <0>;

        bridge_in_dsi: endpoint {
          remote-endpoint = <&dsi_out_bridge>;
        };
      };

      port@1 {
        reg = <1>;

        bridge_out_panel: endpoint {
          remote-endpoint = <&panel_out_bridge>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Chrontel CH7033 Video Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "chrontel,ch7033"

reg — required here #

Maximum number of items (maxItems): 1

I2C address of the device

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#/properties/port

Video port for RGB input.

port@1 — required here

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

DVI port, should be connected to a node compatible with the dvi-connector binding.

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

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

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

false

Not allowed by this rule.

Examples (examples) #

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

    vga-dvi-encoder@76 {
        compatible = "chrontel,ch7033";
        reg = <0x76>;

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

            port@0 {
                reg = <0>;
                endpoint {
                    remote-endpoint = <&lcd0_rgb_out>;
                };
            };

            port@1 {
                reg = <1>;
                endpoint {
                    remote-endpoint = <&dvi_in>;
                };
            };

        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2019,2020 Lubomir Rintel <lkundrak@v3.sk>

Freescale i.MX8MP DWC HDMI TX Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/fsl,imx8mp-hdmi-tx.yaml#"

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

Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>"

The i.MX8MP HDMI transmitter is a Synopsys DesignWare HDMI 2.0a TX controller IP.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/display/bridge/synopsys,dw-hdmi.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8mp-hdmi-tx"

reg-io-width — not listed as required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 4

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "iahb"

Item 2

Exact value (const): "isfr"

Item 3

Exact value (const): "cec"

Item 4

Exact value (const): "pix"

power-domains — required here #

Maximum number of items (maxItems): 1

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#/properties/port

Parallel RGB input port

port@1 — required here

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

HDMI output port

port@2 — not listed as required here

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

Parallel audio input port

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

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "power-domains", "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mp-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/imx8mp-power.h>

hdmi@32fd8000 {
    compatible = "fsl,imx8mp-hdmi-tx";
    reg = <0x32fd8000 0x7eff>;
    interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clk IMX8MP_CLK_HDMI_APB>,
             <&clk IMX8MP_CLK_HDMI_REF_266M>,
             <&clk IMX8MP_CLK_32K>,
             <&hdmi_tx_phy>;
    clock-names = "iahb", "isfr", "cec", "pix";
    power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_HDMI_TX>;
    reg-io-width = <1>;
    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
            reg = <0>;

            endpoint {
                remote-endpoint = <&pvi_to_hdmi_tx>;
            };
        };

        port@1 {
            reg = <1>;
            endpoint {
                remote-endpoint = <&hdmi0_con>;
            };
        };

        port@2 {
            reg = <2>;

            endpoint {
                remote-endpoint = <&pai_to_hdmi_tx>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qm/qxp LVDS Display Bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-ldb.yaml#"

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

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

The Freescale i.MX8qm/qxp LVDS Display Bridge(LDB) has two channels.

The i.MX8qm/qxp LDB is controlled by Control and Status Registers(CSR) module. The CSR module, as a system controller, contains the LDB's configuration registers.

For i.MX8qxp LDB, each channel supports up to 24bpp parallel input color format and can map the input to VESA or JEIDA standards. The two channels cannot be used simultaneously, that is to say, the user should pick one of them to use. Two LDB channels from two LDB instances can work together in LDB split mode to support a dual link LVDS display. The channel indexes have to be different. Channel0 outputs odd pixels and channel1 outputs even pixels.

For i.MX8qm LDB, each channel additionally supports up to 30bpp parallel input color format. The two channels can be used simultaneously, either in dual mode or split mode. In dual mode, the two channels output identical data. In split mode, channel0 outputs odd pixels and channel1 outputs even pixels.

A side note is that i.MX8qm/qxp LDB is officially called pixel mapper in the SoC reference manuals. The pixel mapper uses logic of LDBs embedded in i.MX6qdl/sx SoCs, i.e., it is essentially based on them. To keep the naming consistency, this binding calls it LDB.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8qm-ldb", "fsl,imx8qxp-ldb"

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

clocks — required here #

Array item rules (items) #

Item 1

pixel clock

Item 2

bypass clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pixel"

Item 2

Exact value (const): "bypass"

power-domains — required here #

Maximum number of items (maxItems): 1

fsl,companion-ldb — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

A phandle which points to companion LDB which is used in LDB split mode.

Properties matching a name pattern (patternProperties) #

^channel@[0-1]$ — name matches this regular expression #

Value type (type): "object"

Represents a channel of LDB.

Properties and child nodes (properties) #

#address-cells — required here

Exact value (const): 1

#size-cells — required here

Exact value (const): 0

reg — required here

The channel index.

Allowed values (enum): 0, 1

phys — required here

A phandle to the phy module representing the LVDS PHY.

Maximum number of items (maxItems): 1

phy-names — required here

Exact value (const): "lvds_phy"

port@0 — not listed as required here

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

Input port of the channel.

port@1 — not listed as required here

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

Output port of the channel.

Required in this object (required): "#address-cells", "#size-cells", "reg", "phys", "phy-names"

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "#address-cells", "#size-cells", "clocks", "clock-names", "power-domains", "channel@0", "channel@1"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx8qm-ldb"

When the condition matches (then) #

Properties and child nodes (properties)

fsl,companion-ldb — not listed as required here

false — Not permitted by this property rule.

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/firmware/imx/rsrc.h>
ldb {
    #address-cells = <1>;
    #size-cells = <0>;
    compatible = "fsl,imx8qxp-ldb";
    clocks = <&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_MISC2>,
             <&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_BYPASS>;
    clock-names = "pixel", "bypass";
    power-domains = <&pd IMX_SC_R_LVDS_0>;

    channel@0 {
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <0>;
        phys = <&mipi_lvds_0_phy>;
        phy-names = "lvds_phy";

        port@0 {
            reg = <0>;

            mipi_lvds_0_ldb_ch0_mipi_lvds_0_pxl2dpi: endpoint {
                remote-endpoint = <&mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch0>;
            };
        };
    };

    channel@1 {
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <1>;
        phys = <&mipi_lvds_0_phy>;
        phy-names = "lvds_phy";

        port@0 {
            reg = <0>;

            mipi_lvds_0_ldb_ch1_mipi_lvds_0_pxl2dpi: endpoint {
                remote-endpoint = <&mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch1>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qm/qxp Pixel Combiner

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pixel-combiner.yaml#"

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

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

The Freescale i.MX8qm/qxp Pixel Combiner takes two output streams from a single display controller and manipulates the two streams to support a number of modes(bypass, pixel combine, YUV444 to YUV422, split_RGB) configured as either one screen, two screens, or virtual screens. The pixel combiner is also responsible for generating some of the control signals for the pixel link output channel.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8qm-pixel-combiner", "fsl,imx8qxp-pixel-combiner"

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "apb"

power-domains — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^channel@[0-1]$ — name matches this regular expression #

Value type (type): "object"

Represents a display stream of pixel combiner.

Properties and child nodes (properties) #

#address-cells — required here

Exact value (const): 1

#size-cells — required here

Exact value (const): 0

reg — required here

The display stream index.

Allowed values (enum): 0, 1

port@0 — required here

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

Input endpoint of the display stream.

port@1 — required here

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

Output endpoint of the display stream.

Required in this object (required): "#address-cells", "#size-cells", "reg", "port@0", "port@1"

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "#address-cells", "#size-cells", "reg", "clocks", "clock-names", "power-domains"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
pixel-combiner@56020000 {
    compatible = "fsl,imx8qxp-pixel-combiner";
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0x56020000 0x10000>;
    clocks = <&dc0_pixel_combiner_lpcg IMX_LPCG_CLK_4>;
    clock-names = "apb";
    power-domains = <&pd IMX_SC_R_DC_0>;

    channel@0 {
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <0>;

        port@0 {
            reg = <0>;

            dc0_pixel_combiner_ch0_dc0_dpu_disp0: endpoint {
                remote-endpoint = <&dc0_dpu_disp0_dc0_pixel_combiner_ch0>;
            };
        };

        port@1 {
            reg = <1>;

            dc0_pixel_combiner_ch0_dc0_pixel_link0: endpoint {
                remote-endpoint = <&dc0_pixel_link0_dc0_pixel_combiner_ch0>;
            };
        };
    };

    channel@1 {
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <1>;

        port@0 {
            reg = <0>;

            dc0_pixel_combiner_ch1_dc0_dpu_disp1: endpoint {
                remote-endpoint = <&dc0_dpu_disp1_dc0_pixel_combiner_ch1>;
            };
        };

        port@1 {
            reg = <1>;

            dc0_pixel_combiner_ch1_dc0_pixel_link1: endpoint {
                remote-endpoint = <&dc0_pixel_link1_dc0_pixel_combiner_ch1>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qm/qxp Display Pixel Link

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pixel-link.yaml#"

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

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

The Freescale i.MX8qm/qxp Display Pixel Link(DPL) forms a standard asynchronous linkage between pixel sources(display controller or camera module) and pixel consumers(imaging or displays). It consists of two distinct functions, a pixel transfer function and a control interface. Multiple pixel channels can exist per one control channel. This binding documentation is only for pixel links whose pixel sources are display controllers.

The i.MX8qm/qxp Display Pixel Link is accessed via System Controller Unit(SCU) firmware.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8qm-dc-pixel-link", "fsl,imx8qxp-dc-pixel-link"

fsl,dc-id — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8

u8 value representing the display controller index that the pixel link connects to.

fsl,dc-stream-id — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8

u8 value representing the display controller stream index that the pixel link connects to.

Allowed values (enum): 0, 1

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#/properties/port

The pixel link input port node from upstream video source.

Properties matching a name pattern (patternProperties) #

^port@[1-4]$ — name matches this regular expression

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

The pixel link output port node to downstream bridge.

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx8qxp-dc-pixel-link"

When the condition matches (then) #

Properties and child nodes (properties)

fsl,dc-id — not listed as required here

Exact value (const): 0

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx8qm-dc-pixel-link"

When the condition matches (then) #

Properties and child nodes (properties)

fsl,dc-id — not listed as required here

Allowed values (enum): 0, 1

Required in this object (required): "compatible", "fsl,dc-id", "fsl,dc-stream-id", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

dc0-pixel-link0 {
    compatible = "fsl,imx8qxp-dc-pixel-link";
    fsl,dc-id = /bits/ 8 <0>;
    fsl,dc-stream-id = /bits/ 8 <0>;

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

        /* from dc0 pixel combiner channel0 */
        port@0 {
            reg = <0>;

            dc0_pixel_link0_dc0_pixel_combiner_ch0: endpoint {
                remote-endpoint = <&dc0_pixel_combiner_ch0_dc0_pixel_link0>;
            };
        };

        /* to PXL2DPIs in MIPI/LVDS combo subsystems */
        port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            dc0_pixel_link0_mipi_lvds_0_pxl2dpi: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&mipi_lvds_0_pxl2dpi_dc0_pixel_link0>;
            };

            dc0_pixel_link0_mipi_lvds_1_pxl2dpi: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&mipi_lvds_1_pxl2dpi_dc0_pixel_link0>;
            };
        };

        /* unused */
        port@2 {
            reg = <2>;
        };

        /* unused */
        port@3 {
            reg = <3>;
        };

        /* to imaging subsystem */
        port@4 {
            reg = <4>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Pixel Link to Display Pixel Interface

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pxl2dpi.yaml#"

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

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

The Freescale i.MX8qxp Pixel Link to Display Pixel Interface(PXL2DPI) interfaces the pixel link 36-bit data output and the DSI controller’s MIPI-DPI 24-bit data input, and inputs of LVDS Display Bridge(LDB) module used in LVDS mode, to remap the pixel color codings between those modules. This module is purely combinatorial.

The i.MX8qxp PXL2DPI is controlled by Control and Status Registers(CSR) module. The CSR module, as a system controller, contains the PXL2DPI's configuration register.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-pxl2dpi"

fsl,sc-resource — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

The SCU resource ID associated with this PXL2DPI instance.

power-domains — required here #

Maximum number of items (maxItems): 1

fsl,companion-pxl2dpi — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

A phandle which points to companion PXL2DPI which is used by downstream LVDS Display Bridge(LDB) in split mode.

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#/properties/port

The PXL2DPI input port node from pixel link.

port@1 — required here

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

The PXL2DPI output port node to downstream bridge.

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

Required in this object (required): "compatible", "fsl,sc-resource", "power-domains", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/firmware/imx/rsrc.h>
pxl2dpi {
    compatible = "fsl,imx8qxp-pxl2dpi";
    fsl,sc-resource = <IMX_SC_R_MIPI_0>;
    power-domains = <&pd IMX_SC_R_MIPI_0>;

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

        port@0 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0>;

            mipi_lvds_0_pxl2dpi_dc_pixel_link0: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&dc_pixel_link0_mipi_lvds_0_pxl2dpi>;
            };

            mipi_lvds_0_pxl2dpi_dc_pixel_link1: endpoint@1 {
                 reg = <1>;
                 remote-endpoint = <&dc_pixel_link1_mipi_lvds_0_pxl2dpi>;
            };
        };

        port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch0: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&mipi_lvds_0_ldb_ch0_mipi_lvds_0_pxl2dpi>;
            };

            mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch1: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&mipi_lvds_0_ldb_ch1_mipi_lvds_0_pxl2dpi>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX93 specific extensions to Synopsys Designware MIPI DSI

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/fsl,imx93-mipi-dsi.yaml#"

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

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

There is a Synopsys Designware MIPI DSI Host Controller and a Synopsys Designware MIPI DPHY embedded in Freescale i.MX93 SoC. Some configurations and extensions to them are controlled by i.MX93 media blk-ctrl.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): snps,dw-mipi-dsi.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx93-mipi-dsi"

clocks — not listed as required here #

Array item rules (items) #

Item 1

apb clock

Item 2

pixel clock

Item 3

PHY configuration clock

Item 4

PHY reference clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "pix"

Item 3

Exact value (const): "phy_cfg"

Item 4

Exact value (const): "phy_ref"

interrupts — required here #

Maximum number of items (maxItems): 1

fsl,media-blk-ctrl — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

i.MX93 media blk-ctrl, as a syscon, controls pixel component bit map configurations from LCDIF display controller to the MIPI DSI host controller and MIPI DPHY PLL related configurations through PLL SoC interface.

power-domains — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "interrupts", "fsl,media-blk-ctrl", "power-domains"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx93-clock.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/fsl,imx93-power.h>

dsi@4ae10000 {
    compatible = "fsl,imx93-mipi-dsi";
    reg = <0x4ae10000 0x10000>;
    interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clk IMX93_CLK_MIPI_DSI_GATE>,
             <&clk IMX93_CLK_MEDIA_DISP_PIX>,
             <&clk IMX93_CLK_MIPI_PHY_CFG>,
             <&clk IMX93_CLK_24M>;
    clock-names = "pclk", "pix", "phy_cfg", "phy_ref";
    fsl,media-blk-ctrl = <&media_blk_ctrl>;
    power-domains = <&media_blk_ctrl IMX93_MEDIABLK_PD_MIPI_DSI>;
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "raydium,rm67191";
        reg = <0>;
        reset-gpios = <&adp5585gpio 6 GPIO_ACTIVE_LOW>;
        dsi-lanes = <4>;
        video-mode = <2>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };

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

        port@0 {
            reg = <0>;

            dsi_to_lcdif: endpoint {
                remote-endpoint = <&lcdif_to_dsi>;
            };
        };

        port@1 {
            reg = <1>;

            dsi_out: endpoint {
                remote-endpoint = <&panel_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8MP DPI to LVDS bridge chip

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

The i.MX8MP mediamix contains two registers which are responsible for configuring the on-SoC DPI-to-LVDS serializer. This describes those registers as bridge within the DT.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx6sx-ldb", "fsl,imx8mp-ldb", "fsl,imx93-ldb"

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "ldb"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "ldb"

Item 2

Exact value (const): "lvds"

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#/properties/port

Video port for DPI input.

port@1 — required here

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

Video port for LVDS Channel-A output (panel or bridge).

port@2 — not listed as required here

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

Video port for LVDS Channel-B output (panel or bridge).

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

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx6sx-ldb", "fsl,imx93-ldb"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@2 — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx6sx-ldb"

When the condition matches (then) #

Required in this object (required): "reg-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mp-clock.h>

blk-ctrl {
    #address-cells = <1>;
    #size-cells = <1>;

    bridge@5c {
        compatible = "fsl,imx8mp-ldb";
        clocks = <&clk IMX8MP_CLK_MEDIA_LDB>;
        clock-names = "ldb";
        reg = <0x5c 0x4>, <0x128 0x4>;
        reg-names = "ldb", "lvds";

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

            port@0 {
                reg = <0>;

                ldb_from_lcdif2: endpoint {
                    remote-endpoint = <&lcdif2_to_ldb>;
                };
            };

            port@1 {
                reg = <1>;

                ldb_lvds_ch0: endpoint {
                    remote-endpoint = <&ldb_to_lvdsx4panel>;
                };
            };

            port@2 {
                reg = <2>;

                ldb_lvds_ch1: endpoint {
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

ChromeOS EC ANX7688 HDMI to DP Converter through Type-C Port

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/google,cros-ec-anx7688.yaml#"

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

Maintainers (maintainers): "Nicolas Boichat <drinkcat@chromium.org>"

ChromeOS EC ANX7688 is a display bridge that converts HDMI 2.0 to DisplayPort 1.3 Ultra-HDi (4096x2160p60). It is an Analogix ANX7688 chip which is connected to and operated by the ChromeOS Embedded Controller (See google,cros-ec.yaml). It is accessed using I2C tunneling through the EC and therefore its node should be a child of an EC I2C tunnel node (See google,cros-ec-i2c-tunnel.yaml).

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "google,cros-ec-anx7688"

reg — required here #

Maximum number of items (maxItems): 1

I2C address of the device.

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#/properties/port

Video port for HDMI input.

port@1 — required here

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

USB Type-c connector.

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

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

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

false

Not allowed by this rule.

Examples (examples) #

i2c_tunnel_b: i2c-tunnel1 {
    compatible = "google,cros-ec-i2c-tunnel";
    google,remote-bus = <1>;
    #address-cells = <1>;
    #size-cells = <0>;

    anx7688: anx7688@2c {
        compatible = "google,cros-ec-anx7688";
        reg = <0x2c>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;
            port@0 {
                reg = <0>;
                anx7688_in: endpoint {
                    remote-endpoint = <&hdmi0_out>;
                };
            };
            port@1 {
                reg = <1>;
                anx7688_out: endpoint {
                    remote-endpoint = <&typec_connector>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Ingenic JZ4780 HDMI Transmitter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/ingenic,jz4780-hdmi.yaml#"

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

Maintainers (maintainers): "H. Nikolaus Schaller <hns@goldelico.com>"

The HDMI Transmitter in the Ingenic JZ4780 is a Synopsys DesignWare HDMI 1.4 TX controller IP with accompanying PHY IP.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): synopsys,dw-hdmi.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ingenic,jz4780-dw-hdmi"

reg-io-width — required here #

Exact value (const): 4

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Maximum number of items (maxItems): 2

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

Input from LCD controller output.

port@1 — not listed as required here

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

Link to the HDMI connector.

Required in this object (required): "compatible", "clocks", "clock-names", "ports", "reg-io-width"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/ingenic,jz4780-cgu.h>

hdmi: hdmi@10180000 {
    compatible = "ingenic,jz4780-dw-hdmi";
    reg = <0x10180000 0x8000>;
    reg-io-width = <4>;
    interrupt-parent = <&intc>;
    interrupts = <3>;
    clocks = <&cgu JZ4780_CLK_AHB0>, <&cgu JZ4780_CLK_HDMI>;
    clock-names = "iahb", "isfr";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        hdmi_in: port@0 {
            reg = <0>;
            dw_hdmi_in: endpoint {
                remote-endpoint = <&jz4780_lcd_out>;
            };
        };
        hdmi_out: port@1 {
            reg = <1>;
            dw_hdmi_out: endpoint {
                remote-endpoint = <&hdmi_con>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Intel Keem Bay mipi dsi controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/intel,keembay-dsi.yaml#"

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

Maintainers (maintainers): "Anitha Chrisanthus <anitha.chrisanthus@intel.com>", "Edmond J Dea <edmund.j.dea@intel.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,keembay-dsi"

reg — required here #

Array item rules (items) #

Item 1

MIPI registers range

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mipi"

clocks — required here #

Array item rules (items) #

Item 1

MIPI DSI clock

Item 2

MIPI DSI econfig clock

Item 3

MIPI DSI config clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "clk_mipi"

Item 2

Exact value (const): "clk_mipi_ecfg"

Item 3

Exact value (const): "clk_mipi_cfg"

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#/properties/port

MIPI DSI input port.

port@1 — required here

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

DSI output port.

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

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

mipi-dsi@20900000 {
    compatible = "intel,keembay-dsi";
    reg = <0x20900000 0x4000>;
    reg-names = "mipi";
    clocks = <&scmi_clk 0x86>,
             <&scmi_clk 0x88>,
             <&scmi_clk 0x89>;
    clock-names = "clk_mipi", "clk_mipi_ecfg",
                  "clk_mipi_cfg";

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

        port@0 {
            reg = <0>;
            dsi_in: endpoint {
                remote-endpoint = <&disp_out>;
            };
        };

        port@1 {
            reg = <1>;
            dsi_out: endpoint {
                remote-endpoint = <&adv7535_input>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

ITE IT6263 LVDS to HDMI converter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

The IT6263 is a high-performance single-chip De-SSC(De-Spread Spectrum) LVDS to HDMI converter. Combined with LVDS receiver and HDMI 1.4a transmitter, the IT6263 supports LVDS input and HDMI 1.4 output by conversion function. The built-in LVDS receiver can support single-link and dual-link LVDS inputs, and the built-in HDMI transmitter is fully compliant with HDMI 1.4a/3D, HDCP 1.2 and backward compatible with DVI 1.0 specification.

The IT6263 also encodes and transmits up to 8 channels of I2S digital audio, with sampling rate up to 192KHz and sample size up to 24 bits. In addition, an S/PDIF input port takes in compressed audio of up to 192KHz frame rate.

The newly supported High-Bit Rate(HBR) audio by HDMI specifications v1.3 is provided by the IT6263 in two interfaces: the four I2S input ports or the S/PDIF input port. With both interfaces the highest possible HBR frame rate is supported at up to 768KHz.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/display/lvds-dual-ports.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ite,it6263"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

audio master clock

clock-names — not listed as required here #

Exact value (const): "mclk"

data-mapping — required here #

Allowed values (enum): "jeida-18", "jeida-24", "jeida-30", "vesa-24", "vesa-30"

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

ivdd-supply — required here #

1.8V digital logic power

ovdd-supply — required here #

3.3V I/O pin power

txavcc18-supply — required here #

1.8V HDMI analog frontend power

txavcc33-supply — required here #

3.3V HDMI analog frontend power

pvcc1-supply — required here #

1.8V HDMI frontend core PLL power

pvcc2-supply — required here #

1.8V HDMI frontend filter PLL power

avcc-supply — required here #

3.3V LVDS frontend power

anvdd-supply — required here #

1.8V LVDS frontend analog power

apvdd-supply — required here #

1.8V LVDS frontend PLL power

#sound-dai-cells — not listed as required here #

Exact value (const): 0

ite,i2s-audio-fifo-sources — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Array item rules (items) #

Allowed values (enum): 0, 1, 2, 3

Each array element indicates the pin number of an I2S serial data input line which is connected to an audio FIFO, from audio FIFO0 to FIFO3.

ite,rl-channel-swap-audio-sources — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Items must be unique (uniqueItems): true

Array item rules (items) #

Allowed values (enum): 0, 1, 2, 3

Each array element indicates an audio source whose right channel and left channel are swapped by this converter. For I2S, the element is the pin number of an I2S serial data input line. For S/PDIF, the element is always 0.

ports — not listed as required here #

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

Properties and child nodes (properties) #

port@0 — required here

true — No constraints added by this property rule.

port@1 — not listed as required here

Exactly one of these rules must match (oneOf)

Rule 1

Required in this object (required): "dual-lvds-odd-pixels"

Rule 2

Required in this object (required): "dual-lvds-even-pixels"

port@2 — required here

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

video port for the HDMI output

port@3 — not listed as required here

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

sound input port

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

Required in this object (required): "compatible", "reg", "data-mapping", "ivdd-supply", "ovdd-supply", "txavcc18-supply", "txavcc33-supply", "pvcc1-supply", "pvcc2-supply", "avcc-supply", "anvdd-supply", "apvdd-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

/* single-link LVDS input */
#include <dt-bindings/gpio/gpio.h>

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

    hdmi@4c {
        compatible = "ite,it6263";
        reg = <0x4c>;
        data-mapping = "jeida-24";
        reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
        ivdd-supply = <&reg_buck5>;
        ovdd-supply = <&reg_vext_3v3>;
        txavcc18-supply = <&reg_buck5>;
        txavcc33-supply = <&reg_vext_3v3>;
        pvcc1-supply = <&reg_buck5>;
        pvcc2-supply = <&reg_buck5>;
        avcc-supply = <&reg_vext_3v3>;
        anvdd-supply = <&reg_buck5>;
        apvdd-supply = <&reg_buck5>;

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

            port@0 {
                reg = <0>;

                it6263_lvds_link1: endpoint {
                    remote-endpoint = <&ldb_lvds_ch0>;
                };
            };

            port@2 {
                reg = <2>;

                it6263_out: endpoint {
                    remote-endpoint = <&hdmi_in>;
                };
            };
        };
    };
};
/* dual-link LVDS input */
#include <dt-bindings/gpio/gpio.h>

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

    hdmi@4c {
        compatible = "ite,it6263";
        reg = <0x4c>;
        data-mapping = "jeida-24";
        reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
        ivdd-supply = <&reg_buck5>;
        ovdd-supply = <&reg_vext_3v3>;
        txavcc18-supply = <&reg_buck5>;
        txavcc33-supply = <&reg_vext_3v3>;
        pvcc1-supply = <&reg_buck5>;
        pvcc2-supply = <&reg_buck5>;
        avcc-supply = <&reg_vext_3v3>;
        anvdd-supply = <&reg_buck5>;
        apvdd-supply = <&reg_buck5>;

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

            port@0 {
                reg = <0>;
                dual-lvds-odd-pixels;

                it6263_lvds_link1_dual: endpoint {
                    remote-endpoint = <&ldb_lvds_ch0>;
                };
            };

            port@1 {
                reg = <1>;
                dual-lvds-even-pixels;

                it6263_lvds_link2_dual: endpoint {
                    remote-endpoint = <&ldb_lvds_ch1>;
                };
            };

            port@2 {
                reg = <2>;

                it6263_out_dual: endpoint {
                    remote-endpoint = <&hdmi_in>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

ITE it6505

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Allen Chen <allen.chen@ite.com.tw>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

The IT6505 is a high-performance DisplayPort 1.1a transmitter, fully compliant with DisplayPort 1.1a, HDCP 1.3 specifications. The IT6505 supports color depth of up to 36 bits (12 bits/color) and ensures robust transmission of high-quality uncompressed video content, along with uncompressed and compressed digital audio content.

Aside from the various video output formats supported, the IT6505 also encodes and transmits up to 8 channels of I2S digital audio, with sampling rate up to 192kHz and sample size up to 24 bits. In addition, an S/PDIF input port takes in compressed audio of up to 192kHz frame rate.

Each IT6505 chip comes preprogrammed with an unique HDCP key, in compliance with the HDCP 1.3 standard so as to provide secure transmission of high-definition content. Users of the IT6505 need not purchase any HDCP keys or ROMs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ite,it6505"

reg — not listed as required here #

Maximum number of items (maxItems): 1

ovdd-supply — required here #

I/O voltage

pwr18-supply — required here #

core voltage

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt specifier of INT pin

reset-gpios — required here #

Maximum number of items (maxItems): 1

gpio specifier of RESET pin

extcon — required here #

Maximum number of items (maxItems): 1

extcon specifier for the Power Delivery

#sound-dai-cells — not listed as required here #

Exact value (const): 0

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.

A port node pointing to DPI host port node

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)

link-frequencies — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

Allowed max link frequencies in Hz

port@1 — 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 DP output

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)

data-lanes — not listed as required here

Minimum number of items (minItems): 1

Items must be unique (uniqueItems): true

Array item rules (items)

Item 1

Allowed values (enum): 0, 1

Item 2

Exact value (const): 1

Item 3

Exact value (const): 2

Item 4

Exact value (const): 3

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

Required in this object (required): "compatible", "ovdd-supply", "pwr18-supply", "interrupts", "reset-gpios", "extcon", "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

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

    dp-bridge@5c {
        compatible = "ite,it6505";
        interrupts = <152 IRQ_TYPE_EDGE_FALLING 152 0>;
        reg = <0x5c>;
        pinctrl-names = "default";
        pinctrl-0 = <&it6505_pins>;
        ovdd-supply = <&mt6358_vsim1_reg>;
        pwr18-supply = <&it6505_pp18_reg>;
        reset-gpios = <&pio 179 1>;
        extcon = <&usbc_extcon>;

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

            port@0 {
                reg = <0>;
                it6505_in: endpoint {
                    remote-endpoint = <&dpi_out>;
                    link-frequencies = /bits/ 64 <150000000>;
                };
            };

            port@1 {
                reg = <1>;
                it6505_out: endpoint {
                    remote-endpoint = <&dp_in>;
                    data-lanes = <0 1>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

ITE it66121 HDMI bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Phong LE <ple@baylibre.com>", "Neil Armstrong <neil.armstrong@linaro.org>"

The IT66121 is a high-performance and low-power single channel HDMI transmitter, fully compliant with HDMI 1.3a, HDCP 1.2 and backward compatible to DVI 1.0 specifications.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ite,it66121", "ite,it66122", "ite,it6610"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

Maximum number of items (maxItems): 1

GPIO connected to active low reset

vrf12-supply — required here #

Regulator for 1.2V analog core power.

vcn33-supply — required here #

Regulator for 3.3V digital core power.

vcn18-supply — required here #

Regulator for 1.8V IO core power.

interrupts — required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — not listed as required here #

Exact value (const): 0

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.

DPI input port.

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

Endpoint bus width.

Allowed values (enum): 12, 24

Default value (default): 24

port@1 — required here

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

HDMI Connector port.

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

Required in this object (required): "compatible", "reg", "reset-gpios", "vrf12-supply", "vcn33-supply", "vcn18-supply", "interrupts", "ports"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    it66121hdmitx: hdmitx@4c {
        compatible = "ite,it66121";
        pinctrl-names = "default";
        pinctrl-0 = <&ite_pins_default>;
        vcn33-supply = <&mt6358_vcn33_wifi_reg>;
        vcn18-supply = <&mt6358_vcn18_reg>;
        vrf12-supply = <&mt6358_vrf12_reg>;
        reset-gpios = <&pio 160 GPIO_ACTIVE_LOW>;
        interrupt-parent = <&pio>;
        interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
        reg = <0x4c>;

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

            port@0 {
                reg = <0>;
                it66121_in: endpoint {
                    bus-width = <12>;
                    remote-endpoint = <&display_out>;
                };
            };

            port@1 {
                reg = <1>;
                hdmi_conn_out: endpoint {
                    remote-endpoint = <&hdmi_conn_in>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 66: 12 data lines connected and dual-edge mode

Line 67: 24 data lines connected and single-edge mode

Lontium LT8912B MIPI to HDMI Bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Adrien Grassein <adrien.grassein@gmail.com>"

The LT8912B is a bridge device which convert DSI to HDMI

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "lontium,lt8912b"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO connected to active high RESET pin.

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.

Primary MIPI port for MIPI input

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — required here

true — No constraints added by this property rule.

Required in this object (required): "data-lanes"

port@1 — required here

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

HDMI port, should be connected to a node compatible with the hdmi-connector binding.

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

vcchdmipll-supply — not listed as required here #

A 1.8V supply that powers the HDMI PLL.

vcchdmitx-supply — not listed as required here #

A 1.8V supply that powers the HDMI TX part.

vcclvdspll-supply — not listed as required here #

A 1.8V supply that powers the LVDS PLL.

vcclvdstx-supply — not listed as required here #

A 1.8V supply that powers the LVDS TX part.

vccmipirx-supply — not listed as required here #

A 1.8V supply that powers the MIPI RX part.

vccsysclk-supply — not listed as required here #

A 1.8V supply that powers the SYSCLK.

vdd-supply — not listed as required here #

A 1.8V supply that powers the digital part.

Required in this object (required): "compatible", "reg", "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>

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

  hdmi-bridge@48 {
    compatible = "lontium,lt8912b";
    reg = <0x48>;
    reset-gpios = <&max7323 0 GPIO_ACTIVE_LOW>;

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

      port@0 {
        reg = <0>;

        hdmi_out_in: endpoint {
          data-lanes = <0 1 2 3>;
          remote-endpoint = <&mipi_dsi_out>;
        };
      };

      port@1 {
          reg = <1>;

          endpoint {
              remote-endpoint = <&hdmi_in>;
          };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Lontium LT9211 DSI/LVDS/DPI to DSI/LVDS/DPI bridge.

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

The LT9211 are bridge devices which convert Single/Dual-Link DSI/LVDS or Single DPI to Single/Dual-Link DSI/LVDS or Single DPI.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "lontium,lt9211"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO connected to active high RESET pin.

vccio-supply — required here #

Regulator for 1.8V IO power.

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#/properties/port

Primary MIPI DSI port-1 for MIPI input or LVDS port-1 for LVDS input or DPI input.

port@1 — not listed as required here

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

Additional MIPI port-2 for MIPI input or LVDS port-2 for LVDS input. Used in combination with primary port-1 to drive higher resolution displays

port@2 — required here

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

Primary MIPI DSI port-1 for MIPI output or LVDS port-1 for LVDS output or DPI output.

port@3 — not listed as required here

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

Additional MIPI port-2 for MIPI output or LVDS port-2 for LVDS output. Used in combination with primary port-1 to drive higher resolution displays.

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

Required in this object (required): "compatible", "reg", "vccio-supply", "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>
#include <dt-bindings/interrupt-controller/irq.h>

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

  hdmi-bridge@3b {
    compatible = "lontium,lt9211";
    reg = <0x3b>;

    reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
    interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;

    vccio-supply = <&lt9211_1v8>;

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

      port@0 {
        reg = <0>;

        endpoint {
          remote-endpoint = <&dsi0_out>;
        };
      };

      port@2 {
        reg = <2>;

        endpoint {
          remote-endpoint = <&panel_in_lvds>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Lontium LT9611(UXC) 2 Port MIPI to HDMI Bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"

The LT9611 and LT9611UXC are bridge devices which convert DSI to HDMI

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "lontium,lt9611", "lontium,lt9611uxc"

reg — required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — not listed as required here #

Exact value (const): 1

interrupts — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO connected to active high RESET pin.

vdd-supply — required here #

Regulator for 1.8V MIPI phy power.

vcc-supply — required here #

Regulator for 3.3V IO power.

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#/properties/port

Primary MIPI port-1 for MIPI input

port@1 — not listed as required here

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

Additional MIPI port-2 for MIPI input, used in combination with primary MIPI port-1 to drive higher resolution displays

port@2 — required here

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

HDMI port for HDMI output

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

Required in this object (required): "compatible", "reg", "interrupts", "vdd-supply", "vcc-supply", "ports"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

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

  hdmi-bridge@3b {
    compatible = "lontium,lt9611";
    reg = <0x3b>;

    reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
    interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;

    vdd-supply = <&lt9611_1v8>;
    vcc-supply = <&lt9611_3v3>;

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

      port@0 {
        reg = <0>;
        lt9611_a: endpoint {
          remote-endpoint = <&dsi0_out>;
        };
      };

      port@1 {
        reg = <1>;
        lt9611_b: endpoint {
          remote-endpoint = <&dsi1_out>;
        };
      };

      port@2 {
        reg = <2>;
        lt9611_out: endpoint {
          remote-endpoint = <&hdmi_con>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Transparent LVDS encoders and decoders

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/lvds-codec.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

This binding supports transparent LVDS encoders and decoders that don't require any configuration.

LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple incompatible data link layers have been used over time to transmit image data to LVDS panels. This binding targets devices compatible with the following specifications only.

[JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February 1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA) [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National Semiconductor [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video Electronics Standards Association (VESA)

Those devices have been marketed under the FPD-Link and FlatLink brand names among others.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "onnn,fin3385", "ti,ds90c185", "ti,ds90c187", "ti,sn75lvds83"

Item 2

Exact value (const): "lvds-encoder"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "ti,ds90cf364a", "ti,ds90cf384a", "ti,sn65lvds822", "ti,sn65lvds94"

Item 2

Exact value (const): "lvds-decoder"

Rule 3

Allowed values (enum): "thine,thc63lvdm83d"

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.

For LVDS encoders, port 0 is the parallel input For LVDS decoders, port 0 is the LVDS input

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-mapping — not listed as required here

Allowed values (enum): "jeida-18", "jeida-24", "vesa-24"

The color signals mapping order. See details in Documentation/devicetree/bindings/display/lvds.yaml

port@1 — required here

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

For LVDS encoders, port 1 is the LVDS output For LVDS decoders, port 1 is the parallel output

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

pclk-sample — not listed as required here #

Data sampling on rising or falling edge.

Allowed values (enum): 0, 1

Default value (default): 0

powerdown-gpios — not listed as required here #

The GPIO used to control the power down line of this device.

Maximum number of items (maxItems): 1

power-supply — not listed as required here #

true — No constraints added by this property rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "lvds-decoder"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@0 — not listed as required here

Properties and child nodes (properties)

endpoint — not listed as required here

Properties and child nodes (properties)

data-mapping — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "lvds-encoder"

When the condition matches (then) #

Properties and child nodes (properties)

pclk-sample — not listed as required here

false — Not permitted by this property rule.

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) #

lvds-encoder {
  compatible = "ti,ds90c185", "lvds-encoder";

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

    port@0 {
      reg = <0>;

      lvds_enc_in: endpoint {
        remote-endpoint = <&display_out_rgb>;
      };
    };

    port@1 {
      reg = <1>;

      lvds_enc_out: endpoint {
        remote-endpoint = <&lvds_panel_in>;
      };
    };
  };
};
lvds-decoder {
  compatible = "ti,ds90cf384a", "lvds-decoder";

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

    port@0 {
      reg = <0>;

      lvds_dec_in: endpoint {
        remote-endpoint = <&display_out_lvds>;
      };
    };

    port@1 {
      reg = <1>;

      lvds_dec_out: endpoint {
        remote-endpoint = <&rgb_panel_in>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 36: OnSemi FIN3385

Line 37: For the TI DS90C185 FPD-Link Serializer

Line 38: For the TI DS90C187 FPD-Link Serializer

Line 39: For the TI SN75LVDS83 FlatLink transmitter

Line 40: Generic LVDS encoder compatible fallback

Line 43: For the DS90CF364A FPD-Link LVDS Receiver

Line 44: For the DS90CF384A FPD-Link LVDS Receiver

Line 45: For the SN65LVDS822 FlatLink LVDS Receiver

Line 46: For the SN65DS94 LVDS serdes

Line 47: Generic LVDS decoders compatible fallback

Line 49: For the THC63LVDM83D LVDS serializer

Line 91: Falling edge

Line 92: Rising edge

GE B850v3 video bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/megachips,stdp2690-ge-b850v3-fw.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

STDP4028-ge-b850v3-fw bridges (LVDS-DP) STDP2690-ge-b850v3-fw bridges (DP-DP++)

The video processing pipeline on the second output on the GE B850v3:

Host -> LVDS|--(STDP4028)--|DP -> DP|--(STDP2690)--|DP++ -> Video output

Each bridge has a dedicated flash containing firmware for supporting the custom design. The result is that, in this design, neither the STDP4028 nor the STDP2690 behave as the stock bridges would. The compatible strings include the suffix "-ge-b850v3-fw" to make it clear that the driver is for the bridges with the firmware specific for the GE B850v3.

The hardware do not provide control over the video processing pipeline, as the two bridges behaves as a single one. The only interfaces exposed by the hardware are EDID, HPD, and interrupts.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "megachips,stdp4028-ge-b850v3-fw", "megachips,stdp2690-ge-b850v3-fw"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

ports — required here #

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

Properties and child nodes (properties) #

port@0 — required here

sink port

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

port@1 — required here

source port

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

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

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "megachips,stdp4028-ge-b850v3-fw"

When the condition matches (then) #

Required in this object (required): "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

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

    bridge@73 {
        compatible = "megachips,stdp4028-ge-b850v3-fw";
        reg = <0x73>;
        interrupt-parent = <&gpio2>;
        interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;

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

            port@0 {
                reg = <0>;

                endpoint {
                    remote-endpoint = <&lvds0_out>;
                };

            };

            port@1 {
                reg = <1>;

                endpoint {
                    remote-endpoint = <&stdp2690_in>;
                };
           };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Microchip SAM9X75 LVDS Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/microchip,sam9x75-lvds.yaml#"

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

Maintainers (maintainers): "Dharma Balasubiramani <dharma.b@microchip.com>"

The Low Voltage Differential Signaling Controller (LVDSC) manages data format conversion from the LCD Controller internal DPI bus to OpenLDI LVDS output signals. LVDSC functions include bit mapping, balanced mode management, and serializer.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "microchip,sam9x75-lvds"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Peripheral Bus Clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/at91.h>
lvds-controller@f8060000 {
  compatible = "microchip,sam9x75-lvds";
  reg = <0xf8060000 0x100>;
  interrupts = <56 IRQ_TYPE_LEVEL_HIGH 0>;
  clocks = <&pmc PMC_TYPE_PERIPHERAL 56>;
  clock-names = "pclk";
};

Source notes #

Annotations retained from the schema source

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

Northwest Logic MIPI-DSI controller on i.MX SoCs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/nwl-dsi.yaml#"

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

Maintainers (maintainers): "Guido Gúnther <agx@sigxcpu.org>", "Robert Chiras <robert.chiras@nxp.com>"

NWL MIPI-DSI host controller found on i.MX8 platforms. This is a dsi bridge for the SOCs NWL MIPI-DSI host controller.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ../dsi-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8mq-nwl-dsi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

assigned-clock-parents — not listed as required here #

true — No constraints added by this property rule.

assigned-clock-rates — not listed as required here #

true — No constraints added by this property rule.

assigned-clocks — not listed as required here #

true — No constraints added by this property rule.

clocks — required here #

Array item rules (items) #

Item 1

DSI core clock

Item 2

RX_ESC clock (used in escape mode)

Item 3

TX_ESC clock (used in escape mode)

Item 4

PHY_REF clock

Item 5

LCDIF clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "rx_esc"

Item 3

Exact value (const): "tx_esc"

Item 4

Exact value (const): "phy_ref"

Item 5

Exact value (const): "lcdif"

mux-controls — required here #

mux controller node to use for operating the input mux

phys — required here #

Maximum number of items (maxItems): 1

A phandle to the phy module representing the DPHY

phy-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dphy"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — required here #

Array item rules (items) #

Item 1

dsi byte reset line

Item 2

dsi dpi reset line

Item 3

dsi esc reset line

Item 4

dsi pclk reset line

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "byte"

Item 2

Exact value (const): "dpi"

Item 3

Exact value (const): "esc"

Item 4

Exact value (const): "pclk"

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

Input port node to receive pixel data from the display controller. Exactly one endpoint must be specified.

Properties and child nodes (properties)

endpoint@0 — not listed as required here

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

sub-node describing the input from LCDIF

endpoint@1 — not listed as required here

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

sub-node describing the input from DCSS

Exactly one of these rules must match (oneOf)

Rule 1

Required in this object (required): "endpoint@0"

Rule 2

Required in this object (required): "endpoint@1"

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

port@1 — 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.

DSI output port node to the panel or the next bridge in the chain

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

array of physical DSI data lane indexes.

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Item 3

Exact value (const): 3

Item 4

Exact value (const): 4

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

Required in this object (required): "#address-cells", "#size-cells", "clock-names", "clocks", "compatible", "interrupts", "mux-controls", "phy-names", "phys", "ports", "reg", "reset-names", "resets"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/imx8mq-reset.h>

dsi@30a00000 {
          #address-cells = <1>;
          #size-cells = <0>;
          compatible = "fsl,imx8mq-nwl-dsi";
          reg = <0x30A00000 0x300>;
          clocks = <&clk IMX8MQ_CLK_DSI_CORE>,
                   <&clk IMX8MQ_CLK_DSI_AHB>,
                   <&clk IMX8MQ_CLK_DSI_IPG_DIV>,
                   <&clk IMX8MQ_CLK_DSI_PHY_REF>,
                   <&clk IMX8MQ_CLK_LCDIF_PIXEL>;
          clock-names = "core", "rx_esc", "tx_esc", "phy_ref", "lcdif";
          interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
          mux-controls = <&mux 0>;
          power-domains = <&pgc_mipi>;
          resets = <&src IMX8MQ_RESET_MIPI_DSI_RESET_BYTE_N>,
                   <&src IMX8MQ_RESET_MIPI_DSI_DPI_RESET_N>,
                   <&src IMX8MQ_RESET_MIPI_DSI_ESC_RESET_N>,
                   <&src IMX8MQ_RESET_MIPI_DSI_PCLK_RESET_N>;
          reset-names = "byte", "dpi", "esc", "pclk";
          phys = <&dphy>;
          phy-names = "dphy";

          panel@0 {
                  compatible = "rocktech,jh057n00900";
                  reg = <0>;
                  vcc-supply = <&reg_2v8_p>;
                  iovcc-supply = <&reg_1v8_p>;
                  reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
                  port {
                       panel_in: endpoint {
                                 remote-endpoint = <&mipi_dsi_out>;
                       };
                  };
          };

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

                port@0 {
                       #size-cells = <0>;
                       #address-cells = <1>;
                       reg = <0>;
                       mipi_dsi_in: endpoint@0 {
                                    reg = <0>;
                                    remote-endpoint = <&lcdif_mipi_dsi>;
                       };
                };
                port@1 {
                       reg = <1>;
                       mipi_dsi_out: endpoint {
                                     remote-endpoint = <&panel_in>;
                       };
                };
          };
};

Source notes #

Annotations retained from the schema source

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

NXP PTN3460 eDP to LVDS bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Sean Paul <seanpaul@chromium.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,ptn3460"

reg — required here #

I2C address of the bridge

Maximum number of items (maxItems): 1

edid-emulation — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

The EDID emulation entry to use Value Resolution Description 0 1024x768 NXP Generic 1 1920x1080 NXP Generic 2 1920x1080 NXP Generic 3 1600x900 Samsung LTM200KT 4 1920x1080 Samsung LTM230HT 5 1366x768 NXP Generic 6 1600x900 ChiMei M215HGE

Allowed values (enum): 0, 1, 2, 3, 4, 5, 6

powerdown-gpios — required here #

GPIO connected to the PD_N signal.

Maximum number of items (maxItems): 1

reset-gpios — required here #

GPIO connected to the RST_N signal.

Maximum number of items (maxItems): 1

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#/properties/port

Video port for LVDS output

port@1 — required here

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

Video port for eDP input

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

Required in this object (required): "compatible", "reg", "edid-emulation", "powerdown-gpios", "reset-gpios", "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>

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

  bridge@20 {
    compatible = "nxp,ptn3460";
    reg = <0x20>;
    edid-emulation = <5>;
    powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
    reset-gpios = <&gpx1 5 GPIO_ACTIVE_LOW>;

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

      port@0 {
        reg = <0>;
        bridge_out: endpoint {
          remote-endpoint = <&panel_in>;
        };
      };

      port@1 {
        reg = <1>;
        bridge_in: endpoint {
          remote-endpoint = <&dp_out>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

NXP TDA998x HDMI transmitter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Russell King <linux@armlinux.org.uk>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,tda998x"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

video-ports — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 2294085

Maximum value (maximum): 16777215

24 bits value which defines how the video controller output is wired to the TDA998x input.

audio-ports — not listed as required here #

Array of 2 values per DAI (Documentation/sound/soc/dai.rst). The implementation allows one or two DAIs. If two DAIs are defined, they must be of different type.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Array item rules (items) #

Array item rules (items)

Item 1

The first value defines the DAI type: TDA998x_SPDIF or TDA998x_I2S (see include/dt-bindings/display/tda998x.h).

Allowed values (enum): 1, 2

Item 2

The second value defines the tda998x AP_ENA reg content when the DAI in question is used.

Maximum value (maximum): 255

#sound-dai-cells — not listed as required here #

Allowed values (enum): 0, 1

nxp,calib-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Calibration GPIO, which must correspond with the gpio used for the TDA998x interrupt pin.

port — not listed as required here #

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

Parallel input port

ports — not listed as required here #

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

Properties and child nodes (properties) #

port@0 — not listed as required here

Value type (type): "object"

Parallel input port

port@1 — not listed as required here

Value type (type): "object"

HDMI output port

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

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "port"

Rule 2 #

Required in this object (required): "ports"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/display/tda998x.h>
#include <dt-bindings/interrupt-controller/irq.h>

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

    tda998x: hdmi-encoder@70 {
        compatible = "nxp,tda998x";
        reg = <0x70>;
        interrupt-parent = <&gpio0>;
        interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
        video-ports = <0x230145>;

        #sound-dai-cells = <1>;
                     /* DAI-format / AP_ENA reg value */
        audio-ports = <TDA998x_SPDIF 0x04>,
                      <TDA998x_I2S 0x03>;

        port {
            tda998x_in: endpoint {
                remote-endpoint = <&lcdc_0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Parade PS8622/PS8625 DisplayPort to LVDS Converter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "parade,ps8622", "parade,ps8625"

reg — required here #

Maximum number of items (maxItems): 1

lane-count — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2

Number of DP lanes to use.

use-external-pwm — not listed as required here #

Value type (type): "boolean"

Backlight will be controlled by an external PWM.

reset-gpios — required here #

Maximum number of items (maxItems): 1

GPIO connected to RST_ pin.

sleep-gpios — required here #

Maximum number of items (maxItems): 1

GPIO connected to PD_ pin.

vdd12-supply — 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 — required here

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

Video port for LVDS output.

port@1 — required here

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

Video port for DisplayPort input.

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

Required in this object (required): "compatible", "reg", "reset-gpios", "sleep-gpios", "ports"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "parade,ps8622"

When the condition matches (then) #

Properties and child nodes (properties)

lane-count — not listed as required here

Exact value (const): 1

When the condition does not match (else) #

Properties and child nodes (properties)

lane-count — not listed as required here

Exact value (const): 2

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>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    lvds-bridge@48 {
        compatible = "parade,ps8625";
        reg = <0x48>;
        sleep-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpy7 7 GPIO_ACTIVE_HIGH>;
        lane-count = <2>;
        use-external-pwm;

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

            port@0 {
                reg = <0>;

                bridge_out: endpoint {
                    remote-endpoint = <&panel_in>;
                };
            };

            port@1 {
                reg = <1>;

                bridge_in: endpoint {
                    remote-endpoint = <&dp_out>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

MIPI DSI to eDP Video Format Converter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Nicolas Boichat <drinkcat@chromium.org>"

The PS8640 is a low power MIPI-to-eDP video format converter supporting mobile devices with embedded panel resolutions up to 2048 x 1536. The device accepts a single channel of MIPI DSI v1.1, with up to four lanes plus clock, at a transmission rate up to 1.5Gbit/sec per lane. The device outputs eDP v1.4, one or two lanes, at a link rate of up to 3.24Gbit/sec per lane.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "parade,ps8640"

reg — required here #

Maximum number of items (maxItems): 1

Base I2C address of the device.

powerdown-gpios — required here #

Maximum number of items (maxItems): 1

GPIO connected to active low powerdown.

reset-gpios — required here #

Maximum number of items (maxItems): 1

GPIO connected to active low reset.

vdd12-supply — required here #

Regulator for 1.2V digital core power.

vdd33-supply — required here #

Regulator for 3.3V digital core power.

aux-bus — not listed as required here #

Shared schema rule ($ref): /schemas/display/dp-aux-bus.yaml#

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#/properties/port

Video port for DSI input

port@1 — not listed as required here

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

Video port for eDP output (panel or connector).

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

Required in this object (required): "compatible", "reg", "powerdown-gpios", "reset-gpios", "vdd12-supply", "vdd33-supply", "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>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    ps8640: edp-bridge@18 {
        compatible = "parade,ps8640";
        reg = <0x18>;
        powerdown-gpios = <&pio 116 GPIO_ACTIVE_LOW>;
        reset-gpios = <&pio 115 GPIO_ACTIVE_LOW>;
        vdd12-supply = <&ps8640_fixed_1v2>;
        vdd33-supply = <&mt6397_vgp2_reg>;

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

            port@0 {
                reg = <0>;
                ps8640_in: endpoint {
                    remote-endpoint = <&dsi0_out>;
                };
            };

            port@1 {
                reg = <1>;
                ps8640_out: endpoint {
                    remote-endpoint = <&panel_in>;
                };
            };
        };

        aux-bus {
            panel {
                compatible = "boe,nv133fhm-n62";
                power-supply = <&pp3300_dx_edp>;
                backlight = <&backlight>;

                port {
                    panel_in: endpoint {
                        remote-endpoint = <&ps8640_out>;
                    };
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Renesas R-Car MIPI DSI/CSI-2 Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/renesas,dsi-csi2-tx.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas R-Car Gen4 SoCs. The encoder can operate in either DSI or CSI-2 mode, with up to four data lanes.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/display/dsi-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,r8a779a0-dsi-csi2-tx", "renesas,r8a779g0-dsi-csi2-tx", "renesas,r8a779h0-dsi-csi2-tx"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Functional clock

Item 2

DSI (and CSI-2) functional clock

Item 3

PLL reference clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "fck"

Item 2

Exact value (const): "dsi"

Item 3

Exact value (const): "pll"

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

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#/properties/port

Parallel input port

port@1 — 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.

DSI/CSI-2 output port

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Required in this object (required): "data-lanes"

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

Required in this object (required): "compatible", "reg", "clocks", "power-domains", "resets", "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a779a0-cpg-mssr.h>
#include <dt-bindings/power/r8a779a0-sysc.h>

dsi@fed80000 {
    compatible = "renesas,r8a779a0-dsi-csi2-tx";
    reg = <0xfed80000 0x10000>;
    power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
    clocks = <&cpg CPG_MOD 415>,
             <&cpg CPG_CORE R8A779A0_CLK_DSI>,
             <&cpg CPG_CORE R8A779A0_CLK_CP>;
    clock-names = "fck", "dsi", "pll";
    resets = <&cpg 415>;

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

        port@0 {
            reg = <0>;
            dsi0_in: endpoint {
                remote-endpoint = <&du_out_dsi0>;
            };
        };

        port@1 {
            reg = <1>;
            dsi0_out: endpoint {
                data-lanes = <1 2>;
                remote-endpoint = <&sn65dsi86_in>;
            };
        };
    };
};
#include <dt-bindings/clock/r8a779g0-cpg-mssr.h>
#include <dt-bindings/power/r8a779g0-sysc.h>

dsi@fed80000 {
    #address-cells = <1>;
    #size-cells = <0>;
    compatible = "renesas,r8a779g0-dsi-csi2-tx";
    reg = <0xfed80000 0x10000>;
    clocks = <&cpg CPG_MOD 415>,
             <&cpg CPG_CORE R8A779G0_CLK_DSIEXT>,
             <&cpg CPG_CORE R8A779G0_CLK_DSIREF>;
    clock-names = "fck", "dsi", "pll";
    power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
    resets = <&cpg 415>;

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

        port@0 {
            reg = <0>;
        };

        port@1 {
            reg = <1>;

            dsi0port1_out: endpoint {
                remote-endpoint = <&panel_in>;
                data-lanes = <1 2>;
            };
        };
    };

    panel@0 {
        reg = <0>;
        compatible = "raspberrypi,dsi-7inch", "ilitek,ili9881c";
        power-supply = <&vcc_lcd_reg>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi0port1_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 23: for V3U

Line 24: for V4H

Line 25: for V4M

Renesas RZ/G2L MIPI DSI Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>"

This binding describes the MIPI DSI encoder embedded in the Renesas RZ/G2L alike family of SoC's. The encoder can operate in DSI mode, with up to four data lanes.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r9a07g044-mipi-dsi", "renesas,r9a07g054-mipi-dsi"

Item 2

Exact value (const): "renesas,rzg2l-mipi-dsi"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "renesas,r9a09g056-mipi-dsi"

Item 2

Exact value (const): "renesas,r9a09g057-mipi-dsi"

Rule 3

Allowed values (enum): "renesas,r9a09g057-mipi-dsi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

Sequence operation channel 0 interrupt

Item 2

Sequence operation channel 1 interrupt

Item 3

Video-Input operation channel 1 interrupt

Item 4

DSI Packet Receive interrupt

Item 5

DSI Fatal Error interrupt

Item 6

DSI D-PHY PPI interrupt

Item 7

Debug interrupt

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "seq0"

Item 2

Exact value (const): "seq1"

Item 3

Exact value (const): "vin1"

Item 4

Exact value (const): "rcv"

Item 5

Exact value (const): "ferr"

Item 6

Exact value (const): "ppi"

Item 7

Exact value (const): "debug"

clocks — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

DSI D-PHY PLL multiplied clock

Item 2

DSI D-PHY system clock

Item 3

DSI AXI bus clock

Item 4

DSI Register access clock

Item 5

DSI Video clock

Item 6

DSI D-PHY Escape mode transmit clock

Rule 2

Array item rules (items)

Item 1

DSI D-PHY PLL reference clock

Item 2

DSI AXI bus clock

Item 3

DSI Register access clock

Item 4

DSI Video clock

Item 5

DSI D-PHY Escape mode transmit clock

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "pllclk"

Item 2

Exact value (const): "sysclk"

Item 3

Exact value (const): "aclk"

Item 4

Exact value (const): "pclk"

Item 5

Exact value (const): "vclk"

Item 6

Exact value (const): "lpclk"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "pllrefclk"

Item 2

Exact value (const): "aclk"

Item 3

Exact value (const): "pclk"

Item 4

Exact value (const): "vclk"

Item 5

Exact value (const): "lpclk"

resets — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

MIPI_DSI_CMN_RSTB

Item 2

MIPI_DSI_ARESET_N

Item 3

MIPI_DSI_PRESET_N

Rule 2

Array item rules (items)

Item 1

MIPI_DSI_ARESET_N

Item 2

MIPI_DSI_PRESET_N

reset-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "rst"

Item 2

Exact value (const): "arst"

Item 3

Exact value (const): "prst"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "arst"

Item 2

Exact value (const): "prst"

power-domains — required here #

Maximum number of items (maxItems): 1

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#/properties/port

Parallel input port

port@1 — 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.

DSI output port

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — required here

array of physical DSI data lane indexes.

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Item 3

Exact value (const): 3

Item 4

Exact value (const): 4

Required in this object (required): "data-lanes"

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

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "resets", "reset-names", "power-domains", "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

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 here

Rule for matching array elements (contains)

Exact value (const): "renesas,r9a09g057-mipi-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 5

clock-names — not listed as required here

Maximum number of items (maxItems): 5

resets — not listed as required here

Maximum number of items (maxItems): 2

reset-names — not listed as required here

Maximum number of items (maxItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 6

clock-names — not listed as required here

Minimum number of items (minItems): 6

resets — not listed as required here

Minimum number of items (minItems): 3

reset-names — not listed as required here

Minimum number of items (minItems): 3

Examples (examples) #

#include <dt-bindings/clock/r9a07g044-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

dsi0: dsi@10850000 {
    compatible = "renesas,r9a07g044-mipi-dsi", "renesas,rzg2l-mipi-dsi";
    reg = <0x10850000 0x20000>;
    interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "seq0", "seq1", "vin1", "rcv",
                      "ferr", "ppi", "debug";
    clocks = <&cpg CPG_MOD R9A07G044_MIPI_DSI_PLLCLK>,
             <&cpg CPG_MOD R9A07G044_MIPI_DSI_SYSCLK>,
             <&cpg CPG_MOD R9A07G044_MIPI_DSI_ACLK>,
             <&cpg CPG_MOD R9A07G044_MIPI_DSI_PCLK>,
             <&cpg CPG_MOD R9A07G044_MIPI_DSI_VCLK>,
             <&cpg CPG_MOD R9A07G044_MIPI_DSI_LPCLK>;
    clock-names = "pllclk", "sysclk", "aclk", "pclk", "vclk", "lpclk";
    resets = <&cpg R9A07G044_MIPI_DSI_CMN_RSTB>,
             <&cpg R9A07G044_MIPI_DSI_ARESET_N>,
             <&cpg R9A07G044_MIPI_DSI_PRESET_N>;
    reset-names = "rst", "arst", "prst";
    power-domains = <&cpg>;

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

        port@0 {
            reg = <0>;
            dsi0_in: endpoint {
                remote-endpoint = <&du_out_dsi0>;
            };
        };

        port@1 {
            reg = <1>;
            dsi0_out: endpoint {
                data-lanes = <1 2 3 4>;
                remote-endpoint = <&adv7535_in>;
            };
        };
    };
};
#include <dt-bindings/gpio/gpio.h>

dsi1: dsi@10860000 {
    #address-cells = <1>;
    #size-cells = <0>;
    compatible = "renesas,r9a07g044-mipi-dsi", "renesas,rzg2l-mipi-dsi";
    reg = <0x10860000 0x20000>;
    interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "seq0", "seq1", "vin1", "rcv",
                      "ferr", "ppi", "debug";
    clocks = <&cpg CPG_MOD R9A07G044_MIPI_DSI_PLLCLK>,
             <&cpg CPG_MOD R9A07G044_MIPI_DSI_SYSCLK>,
             <&cpg CPG_MOD R9A07G044_MIPI_DSI_ACLK>,
             <&cpg CPG_MOD R9A07G044_MIPI_DSI_PCLK>,
             <&cpg CPG_MOD R9A07G044_MIPI_DSI_VCLK>,
             <&cpg CPG_MOD R9A07G044_MIPI_DSI_LPCLK>;
    clock-names = "pllclk", "sysclk", "aclk", "pclk", "vclk", "lpclk";
    resets = <&cpg R9A07G044_MIPI_DSI_CMN_RSTB>,
             <&cpg R9A07G044_MIPI_DSI_ARESET_N>,
             <&cpg R9A07G044_MIPI_DSI_PRESET_N>;
    reset-names = "rst", "arst", "prst";
    power-domains = <&cpg>;

    panel@0 {
        compatible = "rocktech,jh057n00900";
        reg = <0>;
        vcc-supply = <&reg_2v8_p>;
        iovcc-supply = <&reg_1v8_p>;
        reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi1_out>;
            };
        };
    };

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

        port@0 {
            reg = <0>;
            dsi1_in: endpoint {
                remote-endpoint = <&du_out_dsi1>;
            };
        };

        port@1 {
            reg = <1>;
            dsi1_out: endpoint {
                data-lanes = <1 2 3 4>;
                remote-endpoint = <&panel_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 22: RZ/G2{L,LC}

Line 23: RZ/V2L

Line 27: RZ/V2N

Line 31: RZ/V2H(P)

Renesas R-Car DWC HDMI TX Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/renesas,dw-hdmi.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP with a companion PHY IP.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): synopsys,dw-hdmi.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r8a774a1-hdmi", "renesas,r8a774b1-hdmi", "renesas,r8a774e1-hdmi", "renesas,r8a7795-hdmi", "renesas,r8a7796-hdmi", "renesas,r8a77961-hdmi", "renesas,r8a77965-hdmi"

Item 2

Exact value (const): "renesas,rcar-gen3-hdmi"

reg-io-width — not listed as required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Maximum number of items (maxItems): 2

resets — required here #

Maximum number of items (maxItems): 1

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#/properties/port

Parallel RGB input port

port@1 — required here

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

HDMI output port

port@2 — required here

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

Sound input port

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

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "interrupts", "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/r8a7795-sysc.h>

hdmi@fead0000 {
    compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi";
    reg = <0xfead0000 0x10000>;
    interrupts = <0 389 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cpg CPG_CORE R8A7795_CLK_S0D4>, <&cpg CPG_MOD 729>;
    clock-names = "iahb", "isfr";
    power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
    resets = <&cpg 729>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
            reg = <0>;
            dw_hdmi0_in: endpoint {
                remote-endpoint = <&du_out_hdmi0>;
            };
        };
        port@1 {
            reg = <1>;
            rcar_dw_hdmi0_out: endpoint {
                remote-endpoint = <&hdmi0_con>;
            };
        };
        port@2 {
            reg = <2>;
            rcar_dw_hdmi0_sound_in: endpoint {
                remote-endpoint = <&hdmi_sound_out>;
            };
        };
    };
};

hdmi0-out {
    compatible = "hdmi-connector";
    label = "HDMI0 OUT";
    type = "a";

    port {
        hdmi0_con: endpoint {
            remote-endpoint = <&rcar_dw_hdmi0_out>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 23: for RZ/G2M compatible HDMI TX

Line 24: for RZ/G2N compatible HDMI TX

Line 25: for RZ/G2H compatible HDMI TX

Line 26: for R-Car H3 compatible HDMI TX

Line 27: for R-Car M3-W compatible HDMI TX

Line 28: for R-Car M3-W+ compatible HDMI TX

Line 29: for R-Car M3-N compatible HDMI TX

Renesas R-Car LVDS Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

These DT bindings describe the LVDS encoder embedded in the Renesas R-Car Gen2, R-Car Gen3, RZ/G1 and RZ/G2 SoCs.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,r8a7742-lvds", "renesas,r8a7743-lvds", "renesas,r8a7744-lvds", "renesas,r8a774a1-lvds", "renesas,r8a774b1-lvds", "renesas,r8a774c0-lvds", "renesas,r8a774e1-lvds", "renesas,r8a7790-lvds", "renesas,r8a7791-lvds", "renesas,r8a7793-lvds", "renesas,r8a7795-lvds", "renesas,r8a7796-lvds", "renesas,r8a77961-lvds", "renesas,r8a77965-lvds", "renesas,r8a77970-lvds", "renesas,r8a77980-lvds", "renesas,r8a77990-lvds", "renesas,r8a77995-lvds"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

resets — required here #

Maximum number of items (maxItems): 1

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#/properties/port

Parallel RGB input port

port@1 — required here

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

LVDS output port

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

power-domains — required here #

Maximum number of items (maxItems): 1

renesas,companion — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to the companion LVDS encoder. This property is mandatory for the first LVDS encoder on R-Car D3 and E3, and RZ/G2E SoCs, and shall point to the second encoder to be used as a companion in dual-link mode. It shall not be set for any other LVDS encoder.

Required in this object (required): "compatible", "reg", "clocks", "power-domains", "resets", "ports"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "renesas,r8a774c0-lvds", "renesas,r8a77990-lvds", "renesas,r8a77995-lvds"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Functional clock

Item 2

EXTAL input clock

Item 3

DU_DOTCLKIN0 input clock

Item 4

DU_DOTCLKIN1 input clock

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): "fck"

Item 2

Allowed values (enum): "extal", "dclkin.0", "dclkin.1"

Item 3

Allowed values (enum): "extal", "dclkin.0", "dclkin.1"

Item 4

Allowed values (enum): "extal", "dclkin.0", "dclkin.1"

Required in this object (required): "clock-names"

When the condition does not match (else) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Array item rules (items)

Item 1

Functional clock

clock-names — not listed as required here #

Array item rules (items)

Item 1

Exact value (const): "fck"

renesas,companion — not listed as required here #

false — Not permitted by this property rule.

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/renesas-cpg-mssr.h>
#include <dt-bindings/power/r8a7795-sysc.h>

lvds@feb90000 {
    compatible = "renesas,r8a7795-lvds";
    reg = <0xfeb90000 0x14>;
    clocks = <&cpg CPG_MOD 727>;
    power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
    resets = <&cpg 727>;

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

        port@0 {
            reg = <0>;
            lvds_in: endpoint {
                remote-endpoint = <&du_out_lvds0>;
            };
        };
        port@1 {
            reg = <1>;
            lvds_out: endpoint {
                remote-endpoint = <&panel_in>;
            };
        };
    };
};
#include <dt-bindings/clock/renesas-cpg-mssr.h>
#include <dt-bindings/power/r8a77990-sysc.h>

lvds0: lvds@feb90000 {
    compatible = "renesas,r8a77990-lvds";
    reg = <0xfeb90000 0x20>;
    clocks = <&cpg CPG_MOD 727>,
             <&x13_clk>,
             <&extal_clk>;
    clock-names = "fck", "dclkin.0", "extal";
    power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
    resets = <&cpg 727>;

    renesas,companion = <&lvds1>;

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

        port@0 {
            reg = <0>;
            lvds0_in: endpoint {
                remote-endpoint = <&du_out_lvds0>;
            };
        };
        port@1 {
            reg = <1>;
            lvds0_out: endpoint {
                remote-endpoint = <&panel_in1>;
            };
        };
    };
};

lvds1: lvds@feb90100 {
    compatible = "renesas,r8a77990-lvds";
    reg = <0xfeb90100 0x20>;
    clocks = <&cpg CPG_MOD 727>,
             <&x13_clk>,
             <&extal_clk>;
    clock-names = "fck", "dclkin.0", "extal";
    power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
    resets = <&cpg 726>;

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

        port@0 {
            reg = <0>;
            lvds1_in: endpoint {
                remote-endpoint = <&du_out_lvds1>;
            };
        };
        port@1 {
            reg = <1>;
            lvds1_out: endpoint {
                remote-endpoint = <&panel_in2>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 19: for RZ/G1H compatible LVDS encoders

Line 20: for RZ/G1M compatible LVDS encoders

Line 21: for RZ/G1N compatible LVDS encoders

Line 22: for RZ/G2M compatible LVDS encoders

Line 23: for RZ/G2N compatible LVDS encoders

Line 24: for RZ/G2E compatible LVDS encoders

Line 25: for RZ/G2H compatible LVDS encoders

Line 26: for R-Car H2 compatible LVDS encoders

Line 27: for R-Car M2-W compatible LVDS encoders

Line 28: for R-Car M2-N compatible LVDS encoders

Line 29: for R-Car H3 compatible LVDS encoders

Line 30: for R-Car M3-W compatible LVDS encoders

Line 31: for R-Car M3-W+ compatible LVDS encoders

Line 32: for R-Car M3-N compatible LVDS encoders

Line 33: for R-Car V3M compatible LVDS encoders

Line 34: for R-Car V3H compatible LVDS encoders

Line 35: for R-Car E3 compatible LVDS encoders

Line 36: for R-Car D3 compatible LVDS encoders

Line 108: The LVDS encoder can use the EXTAL or DU_DOTCLKINx clocks.

Line 109: These clocks are optional.

Samsung MIPI DSIM bridge controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/samsung,mipi-dsim.yaml#"

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

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Jagan Teki <jagan@amarulasolutions.com>", "Marek Szyprowski <m.szyprowski@samsung.com>"

Samsung MIPI DSIM bridge controller can be found it on Exynos and i.MX8M Mini/Nano/Plus SoC's.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "samsung,exynos3250-mipi-dsi", "samsung,exynos4210-mipi-dsi", "samsung,exynos5410-mipi-dsi", "samsung,exynos5422-mipi-dsi", "samsung,exynos5433-mipi-dsi", "samsung,exynos7870-mipi-dsi", "fsl,imx8mm-mipi-dsim", "fsl,imx8mp-mipi-dsim"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx7d-mipi-dsim", "fsl,imx8mn-mipi-dsim"

Item 2

Exact value (const): "fsl,imx8mm-mipi-dsim"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 5

clock-names — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 5

samsung,phy-type — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

phandle to the samsung phy-type

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

samsung,power-domain — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to the associated samsung power domain

vddcore-supply — not listed as required here #

MIPI DSIM Core voltage supply (e.g. 1.1V)

vddio-supply — not listed as required here #

MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V)

samsung,burst-clock-frequency — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

DSIM high speed burst mode frequency. If absent, the pixel clock from the attached device or bridge will be used instead.

samsung,esc-clock-frequency — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

DSIM escape mode frequency.

samsung,pll-clock-frequency — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

DSIM oscillator clock frequency. If absent, the clock frequency of sclk_mipi will be used instead.

phys — not listed as required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Exact value (const): "dsim"

ports — not listed as 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

Input port node to receive pixel data from the display controller. Exactly one endpoint must be specified.

port@1 — not listed as 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.

DSI output port node to the panel or the next bridge in the chain.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Items must be unique (uniqueItems): true

Array item rules (items)

Allowed values (enum): 1, 2, 3, 4

lane-polarities — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

The Samsung MIPI DSI IP requires that all the data lanes have the same polarity.

Property dependencies (dependencies)

lane-polarities — applies when this property is present

Also requires: "data-lanes"

Required in this object (required): "clock-names", "clocks", "compatible", "interrupts", "reg", "samsung,esc-clock-frequency"

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 here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7870-mipi-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "pll"

Item 3

Exact value (const): "byte"

Item 4

Exact value (const): "esc"

ports — required here

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

Required in this object (required): "ports"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-mipi-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 5

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus_clk"

Item 2

Exact value (const): "phyclk_mipidphy0_bitclkdiv8"

Item 3

Exact value (const): "phyclk_mipidphy0_rxclkesc0"

Item 4

Exact value (const): "sclk_rgb_vclk_to_dsim0"

Item 5

Exact value (const): "sclk_mipi"

ports — required here

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

Required in this object (required): "ports", "vddcore-supply", "vddio-supply"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5410-mipi-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus_clk"

Item 2

Exact value (const): "pll_clk"

Required in this object (required): "vddcore-supply", "vddio-supply"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos4210-mipi-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus_clk"

Item 2

Exact value (const): "sclk_mipi"

Required in this object (required): "vddcore-supply", "vddio-supply"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos3250-mipi-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus_clk"

Item 2

Exact value (const): "pll_clk"

Required in this object (required): "vddcore-supply", "vddio-supply", "samsung,phy-type"

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

Value type (type): "object"

Examples (examples) #

#include <dt-bindings/clock/exynos5433.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

dsi@13900000 {
    compatible = "samsung,exynos5433-mipi-dsi";
    reg = <0x13900000 0xC0>;
    interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
    phys = <&mipi_phy 1>;
    phy-names = "dsim";
    clocks = <&cmu_disp CLK_PCLK_DSIM0>,
             <&cmu_disp CLK_PHYCLK_MIPIDPHY0_BITCLKDIV8>,
             <&cmu_disp CLK_PHYCLK_MIPIDPHY0_RXCLKESC0>,
             <&cmu_disp CLK_SCLK_RGB_VCLK_TO_DSIM0>,
             <&cmu_disp CLK_SCLK_DSIM0>;
    clock-names = "bus_clk",
                  "phyclk_mipidphy0_bitclkdiv8",
                  "phyclk_mipidphy0_rxclkesc0",
                  "sclk_rgb_vclk_to_dsim0",
                  "sclk_mipi";
    power-domains = <&pd_disp>;
    vddcore-supply = <&ldo6_reg>;
    vddio-supply = <&ldo7_reg>;
    samsung,burst-clock-frequency = <512000000>;
    samsung,esc-clock-frequency = <16000000>;
    samsung,pll-clock-frequency = <24000000>;
    pinctrl-names = "default";
    pinctrl-0 = <&te_irq>;

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

        port@0 {
            reg = <0>;

            dsi_to_mic: endpoint {
                remote-endpoint = <&mic_to_dsi>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Silicon Image SiI8620 HDMI/MHL bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sil,sii8620"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xtal"

cvcc10-supply — required here #

Digital Core Supply Voltage (1.0V)

interrupts — required here #

Maximum number of items (maxItems): 1

iovcc18-supply — required here #

I/O Supply Voltage (1.8V)

reset-gpios — required here #

Maximum number of items (maxItems): 1

ports — required here #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

port@0 — required here

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

Video port for HDMI (encoder) input

port@1 — required here

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

MHL to connector port

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

Required in this object (required): "compatible", "reg", "clocks", "cvcc10-supply", "interrupts", "iovcc18-supply", "reset-gpios", "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>
#include <dt-bindings/interrupt-controller/irq.h>

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

    bridge@39 {
        reg = <0x39>;
        compatible = "sil,sii8620";
        cvcc10-supply = <&ldo36_reg>;
        iovcc18-supply = <&ldo34_reg>;
        interrupt-parent = <&gpf0>;
        interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
        reset-gpios = <&gpv7 0 GPIO_ACTIVE_LOW>;
        clocks = <&pmu_system_controller 0>;
        clock-names = "xtal";

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

            port@0 {
                reg = <0>;
                mhl_to_hdmi: endpoint {
                    remote-endpoint = <&hdmi_to_mhl>;
                };
            };

            port@1 {
                reg = <1>;
                mhl_to_musb_con: endpoint {
                    remote-endpoint = <&musb_con_to_mhl>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Silicon Image sii902x HDMI bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Boris Brezillon <bbrezillon@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "sil,sii9022-cpi", "sil,sii9022-tpi"

Item 2

Exact value (const): "sil,sii9022"

Rule 2

Exact value (const): "sil,sii9022"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Interrupt line used to inform the host about hotplug events.

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

iovcc-supply — not listed as required here #

I/O Supply Voltage (1.8V or 3.3V)

cvcc12-supply — not listed as required here #

Digital Core Supply Voltage (1.2V)

#sound-dai-cells — not listed as required here #

Allowed values (enum): 0, 1

<0> if only I2S or S/PDIF pin is wired, <1> if both are wired. HDMI audio is configured only if this property is found. If HDMI audio is configured, the sii902x device becomes an I2S and/or S/PDIF audio codec component (e.g. a digital audio sink), that can be used in configuring full audio devices with simple-card or audio-graph-card bindings. See their binding documents on how to describe the way the sii902x device is connected to the rest of the audio system: Documentation/devicetree/bindings/sound/simple-card.yaml Documentation/devicetree/bindings/sound/audio-graph-card.yaml Note: In case of the audio-graph-card binding the used port index should be 3.

sil,i2s-data-lanes — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Items must be unique (uniqueItems): true

Array item rules (items) #

Allowed values (enum): 0, 1, 2, 3

Each integer indicates which I2S pin is connected to which audio FIFO. The first integer selects the I2S audio pin for the first audio FIFO#0 (HDMI channels 1&2), the second for FIFO#1 (HDMI channels 3&4), and so on. There are 4 FIFOs and 4 I2S pins (SD0 - SD3). Any I2S pin can be connected to any FIFO, but there can be no gaps. E.g. an I2S pin must be mapped to FIFO#0 and FIFO#1 before mapping a channel to FIFO#2. The default value is <0>, describing SD0 pin being routed to HDMI audio FIFO#0.

clocks — not listed as required here #

Maximum number of items (maxItems): 1

MCLK input. MCLK can be used to produce HDMI audio CTS values.

clock-names — not listed as required here #

Exact value (const): "mclk"

ports — not listed as required here #

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

Properties and child nodes (properties) #

port@0 — not listed as required here

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

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

Parallel RGB input port

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

Endpoint bus width.

Allowed values (enum): 16, 18, 24

Default value (default): 24

port@1 — not listed as required here

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

HDMI output port

port@3 — not listed as required here

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

Sound input port

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

    hdmi-bridge@39 {
        compatible = "sil,sii9022";
        reg = <0x39>;
        reset-gpios = <&pioA 1 0>;
        iovcc-supply = <&v3v3_hdmi>;
        cvcc12-supply = <&v1v2_hdmi>;

        #sound-dai-cells = <0>;
        sil,i2s-data-lanes = < 0 1 2 >;
        clocks = <&mclk>;
        clock-names = "mclk";

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

            port@0 {
                reg = <0>;
                bridge_in: endpoint {
                    remote-endpoint = <&dc_out>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 17: CEC Programming Interface

Line 18: Transmitter Programming Interface

Silicon Image SiI9234 HDMI/MHL bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Maciej Purski <m.purski@samsung.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sil,sii9234"

reg — required here #

I2C address for TPI interface

Maximum number of items (maxItems): 1

avcc12-supply — required here #

TMDS Analog Supply Voltage, 1.2V

avcc33-supply — required here #

MHL/USB Switch Supply Voltage, 3.3V

cvcc12-supply — required here #

Digital Core Supply Voltage, 1.2V

iovcc18-supply — required here #

I/O voltage supply, 1.8V

interrupts — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

GPIO connected to the reset pin.

Maximum number of items (maxItems): 1

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#/properties/port

Video port for HDMI (encoder) input

port@1 — not listed as required here

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

MHL to connector port

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

Required in this object (required): "compatible", "reg", "avcc12-supply", "avcc33-supply", "cvcc12-supply", "iovcc18-supply", "interrupts", "reset-gpios", "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>
#include <dt-bindings/interrupt-controller/irq.h>

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

  bridge@39 {
    compatible = "sil,sii9234";
    reg = <0x39>;
    avcc12-supply = <&vsil12>;
    avcc33-supply = <&vcc33mhl>;
    cvcc12-supply = <&vsil12>;
    iovcc18-supply = <&vcc18mhl>;
    interrupt-parent = <&gpf3>;
    interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
    reset-gpios = <&gpf3 4 GPIO_ACTIVE_LOW>;

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

      port@0 {
        reg = <0>;
        mhl_to_hdmi: endpoint {
          remote-endpoint = <&hdmi_to_mhl>;
        };
      };

      port@1 {
        reg = <1>;
        mhl_to_connector: endpoint {
          remote-endpoint = <&connector_to_mhl>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Transparent non-programmable DRM bridges

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/simple-bridge.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>", "Maxime Ripard <mripard@kernel.org>"

This binding supports transparent non-programmable bridges that don't require any configuration, with a single input and a single output.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "ti,ths8134a", "ti,ths8134b"

Item 2

Exact value (const): "ti,ths8134"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "corpro,gm7123"

Item 2

Exact value (const): "adi,adv7123"

Rule 3

Allowed values (enum): "adi,adv7123", "algoltek,ag6311", "asl-tek,cs5263", "dumb-vga-dac", "parade,ps185hdm", "radxa,ra620", "realtek,rtd2171", "ti,opa362", "ti,ths8134", "ti,ths8135"

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#/properties/port

The bridge input

port@1 — required here

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

The bridge output

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

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO controlling bridge enable

vdd-supply — not listed as required here #

Power supply for the bridge

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) #

bridge {
    compatible = "ti,ths8134a", "ti,ths8134";

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

        port@0 {
            reg = <0>;

            vga_bridge_in: endpoint {
                remote-endpoint = <&tcon0_out_vga>;
            };
        };

        port@1 {
            reg = <1>;

            vga_bridge_out: endpoint {
                remote-endpoint = <&vga_con_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Synopsys DesignWare MIPI DSI host controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/snps,dw-mipi-dsi.yaml#"

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

Maintainers (maintainers): "Philippe CORNU <philippe.cornu@foss.st.com>"

This document defines device tree properties for the Synopsys DesignWare MIPI DSI host controller. It doesn't constitute a device tree binding specification by itself but is meant to be referenced by platform-specific device tree bindings.

When referenced from platform device tree bindings the properties defined in this document are defined as follows. The platform device tree bindings are responsible for defining whether each property is required or optional.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ../dsi-controller.yaml#

Properties and child nodes (properties) #

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

true — No constraints added by this property rule.

clock-names — required here #

true — No constraints added by this property rule.

resets — not listed as required here #

Maximum number of items (maxItems): 1

reset-names — not listed as required here #

Exact value (const): "apb"

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#/properties/port

Input node to receive pixel data.

port@1 — required here

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

DSI output node to panel.

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

Required in this object (required): "clock-names", "clocks", "ports", "reg"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Solomon SSD2825 RGB to MIPI-DSI bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / 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)

Common Properties for Synopsys DesignWare HDMI TX Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/synopsys,dw-hdmi.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

This document defines device tree properties for the Synopsys DesignWare HDMI TX controller (DWC HDMI TX) IP core. It doesn't constitute a full device tree binding specification by itself but is meant to be referenced by device tree bindings for the platform-specific integrations of the DWC HDMI TX.

When referenced from platform device tree bindings the properties defined in this document are defined as follows. The platform device tree bindings are responsible for defining whether each property is required or optional.

Properties and child nodes (properties) #

reg — not listed as required here #

Maximum number of items (maxItems): 1

reg-io-width — not listed as required here #

Width (in bytes) of the registers specified by the reg property.

Allowed values (enum): 1, 4

Default value (default): 1

clocks — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 5

Array item rules (items) #

Item 1

The bus clock for either AHB and APB

Item 2

The internal register configuration clock

Array items beyond the listed positions (additionalItems) #

true

Allowed by this rule.

clock-names — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 5

Array item rules (items) #

Item 1

Exact value (const): "iahb"

Item 2

Exact value (const): "isfr"

Array items beyond the listed positions (additionalItems) #

true

Allowed by this rule.

ddc-i2c-bus — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Deprecated (deprecated): true

The HDMI DDC bus can be connected to either a system I2C master or the functionally-reduced I2C master contained in the DWC HDMI. When connected to a system I2C master this property contains a phandle to that I2C master controller. This property is deprecated, the system I2C master controller should be referenced through the ddc-i2c-bus property of the HDMI connector node.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Thine Electronics THC63LVD1024 LVDS Decoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Jacopo Mondi <jacopo+renesas@jmondi.org>", "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

The THC63LVD1024 is a dual link LVDS receiver designed to convert LVDS streams to parallel data outputs. The chip supports single/dual input/output modes, handling up to two LVDS input streams and up to two digital CMOS/TTL outputs.

Single or dual operation mode, output data mapping and DDR output modes are configured through input signals and the chip does not expose any control bus.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "thine,thc63lvd1024"

ports — required here #

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

The device can operate in single or dual input and output modes.

When operating in single input mode, all pixels are received on port@0, and port@1 shall not contain any endpoint. In dual input mode, even-numbered pixels are received on port@0 and odd-numbered pixels on port@1, and both port@0 and port@1 shall contain endpoints.

When operating in single output mode all pixels are output from the first CMOS/TTL port and port@3 shall not contain any endpoint. In dual output mode pixels are output from both CMOS/TTL ports and both port@2 and port@3 shall contain endpoints.

Properties and child nodes (properties) #

port@0 — required here

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

First LVDS input port

port@1 — not listed as required here

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

Second LVDS input port

port@2 — required here

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

First digital CMOS/TTL parallel output

port@3 — not listed as required here

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

Second digital CMOS/TTL parallel output

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

oe-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Output enable GPIO signal, pin name "OE", active high.

powerdown-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Power down GPIO signal, pin name "/PDWN", active low.

vcc-supply — required here #

Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and digital circuitry.

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

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>

lvds-decoder {
    compatible = "thine,thc63lvd1024";

    vcc-supply = <&reg_lvds_vcc>;
    powerdown-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;

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

        port@0 {
            reg = <0>;

            lvds_dec_in_0: endpoint {
                remote-endpoint = <&lvds_out>;
            };
        };

        port@2 {
            reg = <2>;

            lvds_dec_out_2: endpoint {
                remote-endpoint = <&adv7511_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

TI DLPC3433 MIPI DSI to DMD bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Jagan Teki <jagan@amarulasolutions.com>", "Christopher Vollo <chris@renewoutreach.org>"

TI DLPC3433 is a MIPI DSI based display controller bridge for processing high resolution DMD based projectors.

It has a flexible configuration of MIPI DSI and DPI signal input that produces a DMD output in RGB565, RGB666, RGB888 formats.

It supports upto 720p resolution with 60 and 120 Hz refresh rates.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,dlpc3433"

reg — required here #

Allowed values (enum): 27, 29

enable-gpios — required here #

PROJ_ON pin, chip powers up PROJ_ON is high.

vcc_intf-supply — not listed as required here #

A 1.8V/3.3V supply that power the Host I/O.

vcc_flsh-supply — not listed as required here #

A 1.8V/3.3V supply that power the Flash I/O.

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 MIPI DSI input.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

array of physical DSI data lane indexes.

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Item 3

Exact value (const): 3

Item 4

Exact value (const): 4

port@1 — required here

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

Video port for DMD output.

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

Required in this object (required): "compatible", "reg", "enable-gpios", "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>

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

    bridge@1b {
        compatible = "ti,dlpc3433";
        reg = <0x1b>;
        enable-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;

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

            port@0 {
                reg = <0>;

                bridge_in_dsi: endpoint {
                    remote-endpoint = <&dsi_out_bridge>;
                    data-lanes = <1 2 3 4>;
                };
            };

            port@1 {
                reg = <1>;

                bridge_out_panel: endpoint {
                    remote-endpoint = <&panel_out_bridge>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

SN65DSI83 and SN65DSI84 DSI to LVDS bridge chip

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

Texas Instruments SN65DSI83 1x Single-link MIPI DSI to 1x Single-link LVDS https://www.ti.com/lit/gpn/sn65dsi83 Texas Instruments SN65DSI84 1x Single-link MIPI DSI to 1x Dual-link or 2x Single-link LVDS https://www.ti.com/lit/gpn/sn65dsi84

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,sn65dsi83", "ti,sn65dsi84"

reg — required here #

Allowed values (enum): 44, 45

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO specifier for bridge_en pin (active high).

vcc-supply — not listed as required here #

A 1.8V power supply (see regulator/regulator.yaml).

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

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 MIPI DSI Channel-A input

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

array of physical DSI data lane indexes.

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Item 3

Exact value (const): 3

Item 4

Exact value (const): 4

port@1 — not listed as 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 MIPI DSI Channel-B input

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

array of physical DSI data lane indexes.

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Item 3

Exact value (const): 3

Item 4

Exact value (const): 4

port@2 — required here

Video port for LVDS Channel-A output (panel or bridge).

Shared schema rule ($ref): #/$defs/lvds-port

port@3 — not listed as required here

Video port for LVDS Channel-B output (panel or bridge).

Shared schema rule ($ref): #/$defs/lvds-port

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

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

Reusable definitions ($defs) #

lvds-port #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

ti,lvds-termination-ohms — not listed as required here

The value of near end differential termination in ohms.

Allowed values (enum): 100, 200

Default value (default): 200

ti,lvds-vod-swing-clock-microvolt — not listed as required here

LVDS diferential output voltage <min max> for clock lanes in microvolts.

Maximum number of items (maxItems): 2

ti,lvds-vod-swing-data-microvolt — not listed as required here

LVDS diferential output voltage <min max> for data lanes in microvolts.

Maximum number of items (maxItems): 2

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "ti,sn65dsi83"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@1 — not listed as required here

false — Not permitted by this property rule.

port@3 — 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 here

Rule for matching array elements (contains)

Exact value (const): "ti,sn65dsi84"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@1 — not listed as required here

false — Not permitted by this property rule.

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>

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

    bridge@2d {
        compatible = "ti,sn65dsi83";
        reg = <0x2d>;

        enable-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
        vcc-supply = <&reg_sn65dsi83_1v8>;

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

            port@0 {
                reg = <0>;

                endpoint {
                    remote-endpoint = <&dsi0_out>;
                    data-lanes = <1 2 3 4>;
                };
            };

            port@2 {
                reg = <2>;

                endpoint {
                    remote-endpoint = <&panel_in_lvds>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

SN65DSI86 DSI to eDP bridge chip

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Douglas Anderson <dianders@chromium.org>"

The Texas Instruments SN65DSI86 bridge takes MIPI DSI in and outputs eDP. https://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=sn65dsi86&fileType=pdf

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,sn65dsi86"

reg — required here #

Allowed values (enum): 44, 45

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO specifier for bridge_en pin (active high).

suspend-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO specifier for GPIO1 pin on bridge (active low).

no-hpd — not listed as required here #

Value type (type): "boolean"

Set if the HPD line on the bridge isn't hooked up to anything or is otherwise unusable.

vccio-supply — required here #

A 1.8V supply that powers the digital IOs.

vpll-supply — required here #

A 1.8V supply that powers the DisplayPort PLL.

vcca-supply — required here #

A 1.2V supply that powers the analog circuits.

vcc-supply — required here #

A 1.2V supply that powers the digital core.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

Clock specifier for input reference clock. The reference clock rate must be 12 MHz, 19.2 MHz, 26 MHz, 27 MHz or 38.4 MHz.

clock-names — not listed as required here #

Exact value (const): "refclk"

gpio-controller — not listed as required here #

true — No constraints added by this property rule.

#gpio-cells — not listed as required here #

Exact value (const): 2

First cell is pin number, second cell is flags. GPIO pin numbers are 1-based to match the datasheet. See ../../gpio/gpio.txt for more information.

#pwm-cells — not listed as required here #

Exact value (const): 1

See ../../pwm/pwm.yaml for description of the cell formats.

aux-bus — not listed as required here #

Shared schema rule ($ref): /schemas/display/dp-aux-bus.yaml#

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#/properties/port

Video port for MIPI DSI input

port@1 — 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 eDP output (panel or connector).

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

Exactly one of these rules must match (oneOf)

Rule 1

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

Items must be unique (uniqueItems): true

Array item rules (items)

Allowed values (enum): 0, 1

If you have 1 logical lane the bridge supports routing to either port 0 or port 1. Port 0 is suggested.

Rule 2

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Items must be unique (uniqueItems): true

Array item rules (items)

Allowed values (enum): 0, 1

If you have 2 logical lanes the bridge supports reordering but only on physical ports 0 and 1.

Rule 3

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

Items must be unique (uniqueItems): true

Array item rules (items)

Allowed values (enum): 0, 1, 2, 3

If you have 4 logical lanes the bridge supports reordering in any way.

lane-polarities — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Array item rules (items)

Allowed values (enum): 0, 1

Property dependencies (dependencies)

lane-polarities — applies when this property is present

Also requires: "data-lanes"

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

Required in this object (required): "compatible", "reg", "vccio-supply", "vpll-supply", "vcca-supply", "vcc-supply", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

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

  bridge@2d {
    compatible = "ti,sn65dsi86";
    reg = <0x2d>;

    interrupt-parent = <&tlmm>;
    interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;

    enable-gpios = <&tlmm 102 GPIO_ACTIVE_HIGH>;

    vpll-supply = <&src_pp1800_s4a>;
    vccio-supply = <&src_pp1800_s4a>;
    vcca-supply = <&src_pp1200_l2a>;
    vcc-supply = <&src_pp1200_l2a>;

    clocks = <&rpmhcc RPMH_LN_BB_CLK2>;
    clock-names = "refclk";

    no-hpd;

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

      port@0 {
        reg = <0>;
        endpoint {
          remote-endpoint = <&dsi0_out>;
        };
      };

      port@1 {
        reg = <1>;
        sn65dsi86_out: endpoint {
          remote-endpoint = <&panel_in_edp>;
        };
      };
    };

    aux-bus {
      panel {
        compatible = "boe,nv133fhm-n62";
        power-supply = <&pp3300_dx_edp>;
        backlight = <&backlight>;
        hpd-gpios = <&sn65dsi86_bridge 2 GPIO_ACTIVE_HIGH>;

        port {
          panel_in_edp: endpoint {
            remote-endpoint = <&sn65dsi86_out>;
          };
        };
      };
    };
  };
};
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

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

  bridge@2d {
    compatible = "ti,sn65dsi86";
    reg = <0x2d>;

    enable-gpios = <&msmgpio 33 GPIO_ACTIVE_HIGH>;
    suspend-gpios = <&msmgpio 34 GPIO_ACTIVE_LOW>;

    interrupts-extended = <&gpio3 4 IRQ_TYPE_EDGE_FALLING>;

    vccio-supply = <&pm8916_l17>;
    vcca-supply = <&pm8916_l6>;
    vpll-supply = <&pm8916_l17>;
    vcc-supply = <&pm8916_l6>;

    clock-names = "refclk";
    clocks = <&input_refclk>;

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

      port@0 {
        reg = <0>;

        edp_bridge_in: endpoint {
          remote-endpoint = <&dsi_out>;
        };
      };

      port@1 {
        reg = <1>;

        edp_bridge_out: endpoint {
          data-lanes = <2 1 3 0>;
          lane-polarities = <0 1 0 1>;
          remote-endpoint = <&edp_panel_in>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

TI TDP158 HDMI to TMDS Redriver

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Arnaud Vrac <avrac@freebox.fr>", "Pierre-Hugues Husson <phhusson@freebox.fr>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,tdp158"

reg — not listed as required here #

Maximum number of items (maxItems): 1

I2C address of the device

enable-gpios — not listed as required here #

GPIO controlling bridge enable

vcc-supply — required here #

Power supply 3.3V

vdd-supply — required here #

Power supply 1.1V

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#/properties/port

Bridge input

port@1 — required here

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

Bridge output

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

Required in this object (required): "compatible", "vcc-supply", "vdd-supply", "ports"

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

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Line 17: The reg property is required if and only if the device is connected

Line 18: to an I2C bus. In pin strap mode, reg must not be specified.

Line 23: Pin 36 = Operation Enable / Reset Pin

Line 24: OE = L: Power Down Mode

Line 25: OE = H: Normal Operation

Line 26: Internal weak pullup - device resets on H to L transitions

TFP410 DPI to DVI encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ti.com>", "Jyri Sarha <jsarha@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,tfp410"

reg — not listed as required here #

I2C address of the device.

Maximum number of items (maxItems): 1

powerdown-gpios — not listed as required here #

Maximum number of items (maxItems): 1

ti,deskew — not listed as required here #

Data de-skew value in 350ps increments, from 0 to 7, as configured through the DK[3:1] pins. The de-skew multiplier is computed as (DK[3:1] - 4), so it ranges from -4 to 3.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 7

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.

DPI input port.

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)

pclk-sample — not listed as required here

Endpoint sampling edge.

Allowed values (enum): 0, 1

Default value (default): 0

bus-width — not listed as required here

Endpoint bus width.

Allowed values (enum): 12, 24

Default value (default): 24

port@1 — required here

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

DVI output port.

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

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

Condition (if) #

Required in this object (required): "reg"

When the condition matches (then) #

Properties and child nodes (properties) #

ti,deskew — not listed as required here #

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "ti,deskew"

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>

tfp410: encoder {
    compatible = "ti,tfp410";
    powerdown-gpios = <&twl_gpio 2 GPIO_ACTIVE_LOW>;
    ti,deskew = <3>;

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

        port@0 {
            reg = <0>;
            tfp410_in: endpoint {
                pclk-sample = <1>;
                bus-width = <24>;
                remote-endpoint = <&dpi_out>;
            };
        };

        port@1 {
            reg = <1>;
            tfp410_out: endpoint {
                remote-endpoint = <&dvi_connector_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 52: Falling edge

Line 53: Rising edge

Line 60: 12 data lines connected and dual-edge mode

Line 61: 24 data lines connected and single-edge mode

Toshiba TC358762 MIPI DSI to MIPI DPI bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

The TC358762 is bridge device which converts MIPI DSI to MIPI DPI.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "toshiba,tc358762"

reg — required here #

Maximum number of items (maxItems): 1

virtual channel number of a DSI peripheral

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

vddc-supply — required here #

Regulator for 1.2V internal core power.

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

Video port for MIPI DSI input

port@1 — required here

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

Video port for MIPI DPI output (panel or connector).

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

Required in this object (required): "compatible", "reg", "vddc-supply", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

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

  bridge@0 {
    reg = <0>;
    compatible = "toshiba,tc358762";
    vddc-supply = <&vcc_1v2_reg>;

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

      port@0 {
        reg = <0>;
        bridge_in: endpoint {
          remote-endpoint = <&dsi_out>;
        };
      };

      port@1 {
        reg = <1>;
        bridge_out: endpoint {
          remote-endpoint = <&panel_in>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Toshiba TC358764 MIPI-DSI to LVDS bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Andrzej Hajda <andrzej.hajda@intel.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "toshiba,tc358764"

reg — required here #

Virtual channel number of a DSI peripheral

Maximum number of items (maxItems): 1

reset-gpios — required here #

Maximum number of items (maxItems): 1

vddc-supply — required here #

Core voltage supply, 1.2V

vddio-supply — required here #

I/O voltage supply, 1.8V or 3.3V

vddlvds-supply — required here #

LVDS1/2 voltage supply, 3.3V

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

Video port for MIPI DSI input, if the bridge DSI controlled

port@1 — required here

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

Video port for LVDS output (panel or connector).

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

Required in this object (required): "compatible", "reg", "reset-gpios", "vddc-supply", "vddio-supply", "vddlvds-supply", "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>

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

    bridge@0 {
        compatible = "toshiba,tc358764";
        reg = <0>;

        reset-gpios = <&gpd1 6 GPIO_ACTIVE_LOW>;
        vddc-supply = <&vcc_1v2_reg>;
        vddio-supply = <&vcc_1v8_reg>;
        vddlvds-supply = <&vcc_3v3_reg>;

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

            port@1 {
                reg = <1>;
                lvds_ep: endpoint {
                  remote-endpoint = <&panel_ep>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Toshiba TC358767/TC358867/TC9595 DSI/DPI/eDP bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Andrey Gusakov <andrey.gusakov@cogentembedded.com>"

The TC358767/TC358867/TC9595 is bridge device which converts DSI/DPI to eDP/DP .

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "toshiba,tc358867", "toshiba,tc9595"

Item 2

Exact value (const): "toshiba,tc358767"

Rule 2

Exact value (const): "toshiba,tc358767"

reg — required here #

Allowed values (enum): 15, 104

i2c address of the bridge, 0x68 or 0x0f, depending on bootstrap pins

clock-names — required here #

Exact value (const): "ref"

clocks — required here #

Maximum number of items (maxItems): 1

OF device-tree clock specification for refclk input. The reference. clock rate must be 13 MHz, 19.2 MHz, 26 MHz, or 38.4 MHz.

shutdown-gpios — not listed as required here #

Maximum number of items (maxItems): 1

OF device-tree gpio specification for SD pin(active high shutdown input)

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

OF device-tree gpio specification for RSTX pin(active low system reset)

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

toshiba,hpd-pin — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

TC358767 GPIO pin number to which HPD is connected to (0 or 1)

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#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

DSI input port. The remote endpoint phandle should be a reference to a valid DSI output endpoint node

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

array of physical DSI data lane indexes.

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Item 3

Exact value (const): 3

Item 4

Exact value (const): 4

port@1 — not listed as required here

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

DPI input/output port. The remote endpoint phandle should be a reference to a valid DPI output or input endpoint node.

port@2 — not listed as 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.

eDP/DP output port. The remote endpoint phandle should be a reference to a valid eDP panel input endpoint node. This port is optional, treated as DP panel if not defined

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

toshiba,pre-emphasis — not listed as required here

Display port output Pre-Emphasis settings for both DP lanes.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Array item rules (items)

Allowed values (enum): 0, 1, 2

At least one of these rules must match (anyOf) #

Rule 1

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

Rule 2

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

Required in this object (required): "compatible", "reg", "clock-names", "clocks", "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>

/* DPI input and eDP output */

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

    edp-bridge@68 {
        compatible = "toshiba,tc358767";
        reg = <0x68>;
        shutdown-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
        clock-names = "ref";
        clocks = <&edp_refclk>;

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

            port@1 {
                reg = <1>;

                bridge_in_0: endpoint {
                    remote-endpoint = <&dpi_out>;
                };
            };

            port@2 {
                reg = <2>;

                bridge_out: endpoint {
                    remote-endpoint = <&panel_in>;
                };
            };
        };
    };
};
/* DPI input and DP output */

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

    edp-bridge@68 {
        compatible = "toshiba,tc358767";
        reg = <0x68>;
        shutdown-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
        clock-names = "ref";
        clocks = <&edp_refclk>;

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

            port@1 {
                reg = <1>;

                bridge_in_1: endpoint {
                    remote-endpoint = <&dpi_out>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 116: No pre-emphasis

Line 117: 3.5dB pre-emphasis

Line 118: 6dB pre-emphasis

Toschiba TC358768/TC358778 Parallel RGB to MIPI DSI bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Peter Ujfalusi <peter.ujfalusi@ti.com>"

The TC358768/TC358778 is bridge device which converts RGB to DSI.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "toshiba,tc358768", "toshiba,tc358778"

reg — required here #

Maximum number of items (maxItems): 1

base I2C address of the device

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO connected to active low RESX pin

vddc-supply — required here #

Regulator for 1.2V internal core power.

vddmipi-supply — required here #

Regulator for 1.2V for the MIPI.

vddio-supply — required here #

Regulator for 1.8V - 3.3V IO power.

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "refclk"

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)

data-lines — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 16, 18, 24

Deprecated (deprecated): true

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", "reg", "vddc-supply", "vddmipi-supply", "vddio-supply", "ports"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ../dsi-controller.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

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

  dsi_bridge: dsi@e {
    compatible = "toshiba,tc358768";
    reg = <0xe>;

    clocks = <&tc358768_refclk>;
    clock-names = "refclk";

    reset-gpios = <&pcf_display_board 0 GPIO_ACTIVE_LOW>;

    vddc-supply = <&v1_2d>;
    vddmipi-supply = <&v1_2d>;
    vddio-supply = <&v3_3d>;

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

      port@0 {
        reg = <0>;
        rgb_in: endpoint {
          remote-endpoint = <&dpi_out>;
          data-lines = <24>;
        };
      };

      port@1 {
        reg = <1>;
        dsi_out: endpoint {
          remote-endpoint = <&lcd_in>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Toshiba TC358775 DSI to LVDS bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Vinay Simha BN <simhavcs@gmail.com>"

This binding supports DSI to LVDS bridges TC358765 and TC358775

MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane. Video frame size: Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel limited by 135 MHz LVDS speed Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display panel, limited by 270 MHz LVDS speed.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "toshiba,tc358765", "toshiba,tc358775"

reg — required here #

Maximum number of items (maxItems): 1

i2c address of the bridge, 0x0f

vdd-supply — required here #

1.2V LVDS Power Supply

vddio-supply — required here #

1.8V IO Power Supply

stby-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Standby pin, Low active

reset-gpios — required here #

Maximum number of items (maxItems): 1

Hardware reset, Low active

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.

DSI Input. The remote endpoint phandle should be a reference to a valid mipi_dsi_host device node.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

array of physical DSI data lane indexes.

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Item 3

Exact value (const): 3

Item 4

Exact value (const): 4

port@1 — required here

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

Video port for LVDS output (panel or connector).

port@2 — not listed as required here

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

Video port for Dual link LVDS output (panel or connector).

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

Required in this object (required): "compatible", "reg", "vdd-supply", "vddio-supply", "reset-gpios", "ports"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "toshiba,tc358765"

When the condition matches (then) #

Properties and child nodes (properties)

stby-gpios — not listed as required here

false — Not permitted by this property rule.

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>

/* For single-link LVDS display panel */

i2c@78b8000 {
    /* On High speed expansion */
    label = "HS-I2C2";
    reg = <0x078b8000 0x500>;
    clock-frequency = <400000>; /* fastmode operation */
    #address-cells = <1>;
    #size-cells = <0>;

    tc_bridge: bridge@f {
        compatible = "toshiba,tc358775";
        reg = <0x0f>;

        vdd-supply = <&pm8916_l2>;
        vddio-supply = <&pm8916_l6>;

        stby-gpios = <&msmgpio 99 GPIO_ACTIVE_LOW>;
        reset-gpios = <&msmgpio 72 GPIO_ACTIVE_LOW>;

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

            port@0 {
                reg = <0>;
                d2l_in_test: endpoint {
                    remote-endpoint = <&dsi0_out>;
                    data-lanes = <1 2 3 4>;
                };
            };

            port@1 {
                reg = <1>;
                lvds_out: endpoint {
                    remote-endpoint = <&panel_in>;
                };
            };
        };
    };
};

dsi@1a98000 {
    reg = <0x1a98000 0x25c>;
    reg-names = "dsi_ctrl";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@1 {
            reg = <1>;
            dsi0_out: endpoint {
                remote-endpoint = <&d2l_in_test>;
            };
         };
     };
 };
/* For dual-link LVDS display panel */

i2c@78b8000 {
    /* On High speed expansion */
    label = "HS-I2C2";
    reg = <0x078b8000 0x500>;
    clock-frequency = <400000>; /* fastmode operation */
    #address-cells = <1>;
    #size-cells = <0>;

    tc_bridge_dual: bridge@f {
        compatible = "toshiba,tc358775";
        reg = <0x0f>;

        vdd-supply = <&pm8916_l2>;
        vddio-supply = <&pm8916_l6>;

        stby-gpios = <&msmgpio 99 GPIO_ACTIVE_LOW>;
        reset-gpios = <&msmgpio 72 GPIO_ACTIVE_LOW>;

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

            port@0 {
                reg = <0>;
                d2l_in_dual: endpoint {
                    remote-endpoint = <&dsi0_out_dual>;
                    data-lanes = <1 2 3 4>;
                };
            };

            port@1 {
                reg = <1>;
                lvds0_out: endpoint {
                    remote-endpoint = <&panel_in0>;
                };
            };

            port@2 {
                reg = <2>;
                lvds1_out: endpoint {
                    remote-endpoint = <&panel_in1>;
                };
            };
        };
    };
};

dsi@1a98000 {
    reg = <0x1a98000 0x25c>;
    reg-names = "dsi_ctrl";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@1 {
            reg = <1>;
            dsi0_out_dual: endpoint {
                remote-endpoint = <&d2l_in_dual>;
            };
         };
     };
 };

Source notes #

Annotations retained from the schema source

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

Waveshare MIPI-DSI to DPI Converter bridge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / bridge

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

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

Maintainers (maintainers): "Joseph Guo <qijian.guo@nxp.com>"

Waveshare bridge board is part of Waveshare panel which converts DSI to DPI.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "waveshare,dsi2dpi"

reg — required here #

Maximum number of items (maxItems): 1

base I2C address of the device

power-supply — 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 — 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 MIPI DSI input

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — required here

array of physical DSI data lane indexes.

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Required in this object (required): "data-lanes"

port@1 — required here

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

Video port for MIPI DPI output panel.

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

Required in this object (required): "compatible", "reg", "ports", "power-supply"

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

false

Not allowed by this rule.

Examples (examples) #


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

  bridge@45 {
    compatible = "waveshare,dsi2dpi";
    reg = <0x45>;
    power-supply = <&reg_3p3v>;

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

      port@0 {
        reg = <0>;

        waveshare_from_dsim: endpoint {
          data-lanes = <1 2>;
          remote-endpoint = <&dsim_to_waveshare>;
        };
      };

      port@1 {
        reg = <1>;

        waveshare_to_panel: endpoint {
          remote-endpoint = <&panel_to_waveshare>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Analog TV Connector

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / connector

Schema identifier ($id): "http://devicetree.org/schemas/display/connector/analog-tv-connector.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <Laurent.pinchart@ideasonboard.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "composite-video-connector", "svideo-connector"

label — not listed as required here #

true — No constraints added by this property rule.

sdtv-standards — not listed as required here #

Limit the supported TV standards on a connector to the given ones. If not specified all TV standards are allowed. Possible TV standards are defined in include/dt-bindings/display/sdtv-standards.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

port — required here #

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

Connection to controller providing analog TV signals

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/display/sdtv-standards.h>

connector {
    compatible = "composite-video-connector";
    label = "tv";
    sdtv-standards = <(SDTV_STD_PAL | SDTV_STD_NTSC)>;

    port {
        tv_connector_in: endpoint {
            remote-endpoint = <&venc_out>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

DisplayPort Connector

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / connector

Schema identifier ($id): "http://devicetree.org/schemas/display/connector/dp-connector.yaml#"

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

Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "dp-connector"

label — not listed as required here #

true — No constraints added by this property rule.

type — required here #

Allowed values (enum): "full-size", "mini"

hpd-gpios — not listed as required here #

A GPIO line connected to HPD

Maximum number of items (maxItems): 1

dp-pwr-supply — not listed as required here #

Power supply for the DP_PWR pin

port — not listed as required here #

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

Connection to controller providing DP signals

ports — not listed as required here #

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

OF graph representation of signales routed to DP connector

Properties and child nodes (properties) #

port@0 — required here

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

Connection to controller providing DP signals

port@1 — required here

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

Connection to controller providing AUX signals

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

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

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "port"

Rule 2 #

Required in this object (required): "ports"

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

false

Not allowed by this rule.

Examples (examples) #

connector {
    compatible = "dp-connector";
    label = "dp0";
    type = "full-size";

    port {
        dp_connector_in: endpoint {
            remote-endpoint = <&dp_out>;
        };
    };
};
/* DP connecttor being driven by the USB+DP combo PHY */
connector {
    compatible = "dp-connector";
    label = "dp0";
    type = "full-size";

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

        port@0 {
            reg = <0>;

            endpoint {
                remote-endpoint = <&phy_ss_out>;
            };
        };

        port@1 {
            reg = <1>;

            endpoint {
                remote-endpoint = <&phy_sbu_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

DVI Connector

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / connector

Schema identifier ($id): "http://devicetree.org/schemas/display/connector/dvi-connector.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <Laurent.pinchart@ideasonboard.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "dvi-connector"

label — not listed as required here #

true — No constraints added by this property rule.

hpd-gpios — not listed as required here #

A GPIO line connected to HPD

Maximum number of items (maxItems): 1

ddc-i2c-bus — not listed as required here #

phandle link to the I2C controller used for DDC EDID probing

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

analog — not listed as required here #

Value type (type): "boolean"

the connector has DVI analog pins

digital — not listed as required here #

Value type (type): "boolean"

the connector has DVI digital pins

dual-link — not listed as required here #

Value type (type): "boolean"

the connector has pins for DVI dual-link

port — required here #

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

Connection to controller providing DVI signals

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

At least one of these rules must match (anyOf) #

Rule 1 #

Required in this object (required): "analog"

Rule 2 #

Required in this object (required): "digital"

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

false

Not allowed by this rule.

Examples (examples) #

connector {
    compatible = "dvi-connector";
    label = "dvi";

    digital;

    ddc-i2c-bus = <&i2c3>;

    port {
        dvi_connector_in: endpoint {
            remote-endpoint = <&tfp410_out>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

HDMI Connector

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / connector

Schema identifier ($id): "http://devicetree.org/schemas/display/connector/hdmi-connector.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <Laurent.pinchart@ideasonboard.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "hdmi-connector"

type — required here #

The HDMI connector type

Allowed values (enum): "a", "b", "c", "d", "e"

label — not listed as required here #

true — No constraints added by this property rule.

hpd-gpios — not listed as required here #

A GPIO line connected to HPD

Maximum number of items (maxItems): 1

ddc-i2c-bus — not listed as required here #

phandle link to the I2C controller used for DDC EDID probing

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

ddc-en-gpios — not listed as required here #

GPIO signal to enable DDC bus

Maximum number of items (maxItems): 1

hdmi-pwr-supply — not listed as required here #

Power supply for the HDMI +5V Power pin

port — required here #

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

Connection to controller providing HDMI signals

Required in this object (required): "compatible", "port", "type"

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

false

Not allowed by this rule.

Examples (examples) #

connector {
    compatible = "hdmi-connector";
    label = "hdmi";

    type = "a";

    port {
        hdmi_connector_in: endpoint {
            remote-endpoint = <&tpd12s015_out>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 19: Standard full size

Line 20: Never deployed?

Line 21: Mini

Line 22: Micro

Line 23: automotive

VGA Connector

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / connector

Schema identifier ($id): "http://devicetree.org/schemas/display/connector/vga-connector.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <Laurent.pinchart@ideasonboard.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "vga-connector"

label — not listed as required here #

true — No constraints added by this property rule.

ddc-i2c-bus — not listed as required here #

phandle link to the I2C controller used for DDC EDID probing

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

port — required here #

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

Connection to controller providing VGA signals

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

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

false

Not allowed by this rule.

Examples (examples) #

connector {
    compatible = "vga-connector";
    label = "vga";

    ddc-i2c-bus = <&i2c3>;

    port {
        vga_connector_in: endpoint {
            remote-endpoint = <&adv7123_out>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Freescale i.MX DRM master device

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx-display-subsystem.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

The freescale i.MX DRM master device is a virtual device needed to list all IPU or other display interface nodes that comprise the graphics subsystem.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx-display-subsystem"

ports — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Should contain a list of phandles pointing to camera sensor interface ports of IPU devices.

Required in this object (required): "compatible"

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

false

Not allowed by this rule.

Examples (examples) #

display-subsystem {
    compatible = "fsl,imx-display-subsystem";
    ports = <&ipu_di0>;
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX LCD Controller, found on i.MX1, i.MX21, i.MX25 and i.MX27

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx-lcdc.yaml#"

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

Maintainers (maintainers): "Sascha Hauer <s.hauer@pengutronix.de>", "Pengutronix Kernel Team <kernel@pengutronix.de>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "fsl,imx1-fb", "fsl,imx21-fb"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx25-fb", "fsl,imx27-fb"

Item 2

Exact value (const): "fsl,imx21-fb"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "fsl,imx25-lcdc"

Item 2

Exact value (const): "fsl,imx21-lcdc"

clocks — required here #

Maximum number of items (maxItems): 3

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ipg"

Item 2

Exact value (const): "ahb"

Item 3

Exact value (const): "per"

port — not listed as required here #

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

display — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

interrupts — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

lcd-supply — not listed as required here #

Regulator for LCD supply voltage.

fsl,dmacr — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Override value for DMA Control Register

fsl,lpccr — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Contrast Control Register value.

fsl,lscr1 — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

LCDC Sharp Configuration Register value.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx1-lcdc", "fsl,imx21-lcdc"

When the condition matches (then) #

Properties and child nodes (properties)

display — not listed as required here

false — Not permitted by this property rule.

fsl,dmacr — not listed as required here

false — Not permitted by this property rule.

fsl,lpccr — not listed as required here

false — Not permitted by this property rule.

fsl,lscr1 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port"

When the condition does not match (else) #

Properties and child nodes (properties)

port — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "display"

Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

lcdc@53fbc000 {
    compatible = "fsl,imx25-lcdc", "fsl,imx21-lcdc";
    reg = <0x53fbc000 0x4000>;
    interrupts = <39>;
    clocks = <&clks 103>, <&clks 66>, <&clks 49>;
    clock-names = "ipg", "ahb", "per";

    port {
        parallel_out: endpoint {
          remote-endpoint = <&panel_in>;
        };
    };
};
imxfb: fb@10021000 {
    compatible = "fsl,imx21-fb";
    interrupts = <61>;
    reg = <0x10021000 0x1000>;
    display = <&display0>;
    clocks = <&clks 103>, <&clks 49>, <&clks 66>;
    clock-names = "ipg", "ahb", "per";
};

display0: display0 {
    model = "Primeview-PD050VL1";
    bits-per-pixel = <16>;
    fsl,pcr = <0xf0c88080>; /* non-standard but required */

    display-timings {
        native-mode = <&timing_disp0>;
        timing_disp0: timing0 {
            hactive = <640>;
            vactive = <480>;
            hback-porch = <112>;
            hfront-porch = <36>;
            hsync-len = <32>;
            vback-porch = <33>;
            vfront-porch = <33>;
            vsync-len = <2>;
            clock-frequency = <25000000>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Parallel display support

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx-parallel-display.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx-parallel-display"

interface-pix-fmt — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Allowed values (enum): "rgb24", "rgb565", "bgr666", "lvds666"

ddc — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle describing the i2c bus handling the display data channel

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

port@0 — not listed as 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.

input port connected to the IPU display interface

port@1 — not listed as 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.

output port connected to a panel

Required in this object (required): "compatible"

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

false

Not allowed by this rule.

Examples (examples) #

display {
    compatible = "fsl,imx-parallel-display";
    #address-cells = <1>;
    #size-cells = <0>;
    interface-pix-fmt = "rgb24";

    port@0 {
        reg = <0>;

        endpoint {
            remote-endpoint = <&ipu_di0_disp0>;
        };
    };

    port@1 {
        reg = <1>;

        endpoint {
            remote-endpoint = <&panel_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX6 DWC HDMI TX Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx6-hdmi.yaml#"

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

Maintainers (maintainers): "Philipp Zabel <p.zabel@pengutronix.de>"

The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP with a companion PHY IP.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ../bridge/synopsys,dw-hdmi.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx6dl-hdmi", "fsl,imx6q-hdmi"

reg-io-width — not listed as required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Maximum number of items (maxItems): 2

gpr — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to the iomuxc-gpr region containing the HDMI multiplexer control register.

ports — required here #

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

This device has four video ports, corresponding to the four inputs of the HDMI multiplexer. Each port shall have a single endpoint.

Properties and child nodes (properties) #

port@0 — not listed as required here

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

First input of the HDMI multiplexer

port@1 — not listed as required here

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

Second input of the HDMI multiplexer

port@2 — not listed as required here

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

Third input of the HDMI multiplexer

port@3 — not listed as required here

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

Fourth input of the HDMI multiplexer

At least one of these rules must match (anyOf) #

Rule 1

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

Rule 2

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

Rule 3

Required in this object (required): "port@2"

Rule 4

Required in this object (required): "port@3"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "gpr", "interrupts", "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx6qdl-clock.h>

hdmi: hdmi@120000 {
    reg = <0x00120000 0x9000>;
    interrupts = <0 115 0x04>;
    gpr = <&gpr>;
    clocks = <&clks IMX6QDL_CLK_HDMI_IAHB>,
             <&clks IMX6QDL_CLK_HDMI_ISFR>;
    clock-names = "iahb", "isfr";

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

        port@0 {
            reg = <0>;

            hdmi_mux_0: endpoint {
                remote-endpoint = <&ipu1_di0_hdmi>;
            };
        };

        port@1 {
            reg = <1>;

            hdmi_mux_1: endpoint {
                remote-endpoint = <&ipu1_di1_hdmi>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX IPUv3

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx6q-ipu.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "fsl,imx51-ipu", "fsl,imx53-ipu", "fsl,imx6q-ipu"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "fsl,imx6qp-ipu"

Item 2

Exact value (const): "fsl,imx6q-ipu"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clocks — not listed as required here #

Maximum number of items (maxItems): 3

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "di0"

Item 3

Exact value (const): "di1"

resets — required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

fsl,prg — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to prg node associated with this IPU instance

port@0 — not listed as 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.

CSI0

port@1 — not listed as 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.

CSI1

port@2 — not listed as 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.

DI0

port@3 — not listed as 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.

DI1

Required in this object (required): "compatible", "reg", "interrupts", "resets"

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

false

Not allowed by this rule.

Examples (examples) #

display-controller@18000000 {
    compatible = "fsl,imx53-ipu";
    reg = <0x18000000 0x080000000>;
    #address-cells = <1>;
    #size-cells = <0>;
    interrupts = <11 10>;
    resets = <&src 2>;

    port@2 {
        reg = <2>;

        endpoint {
            remote-endpoint = <&display_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale LVDS Display Bridge (ldb)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx6q-ldb.yaml#"

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

The LVDS Display Bridge device tree node contains up to two lvds-channel nodes describing each of the two LVDS encoder channels of the bridge.

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "fsl,imx53-ldb"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx6q-ldb"

Item 2

Exact value (const): "fsl,imx53-ldb"

reg — not listed as required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

gpr — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

The phandle points to the iomuxc-gpr region containing the LVDS control register.

clocks — required here #

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 8

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "di0_pll"

Item 2

Exact value (const): "di1_pll"

Item 3

Exact value (const): "di0_sel"

Item 4

Exact value (const): "di1_sel"

Item 5

Exact value (const): "di0"

Item 6

Exact value (const): "di1"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "di0_pll"

Item 2

Exact value (const): "di1_pll"

Item 3

Exact value (const): "di0_sel"

Item 4

Exact value (const): "di1_sel"

Item 5

Exact value (const): "di2_sel"

Item 6

Exact value (const): "di3_sel"

Item 7

Exact value (const): "di0"

Item 8

Exact value (const): "di1"

fsl,dual-channel — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

if it exists, only LVDS channel 0 should be configured - one input will be distributed on both outputs in dual channel mode

Properties matching a name pattern (patternProperties) #

^lvds-channel@[0-1]$ — name matches this regular expression #

Value type (type): "object"

Each LVDS Channel has to contain either an of graph link to a panel device node or a display-timings node that describes the video timings for the connected LVDS display as well as the fsl,data-mapping and fsl,data-width properties.

Properties and child nodes (properties) #

reg — not listed as required here

Maximum number of items (maxItems): 1

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

display-timings — not listed as required here

Shared schema rule ($ref): /schemas/display/panel/display-timings.yaml#

fsl,data-mapping — not listed as required here

Allowed values (enum): "spwg", "jeida"

fsl,data-width — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

should be <18> or <24>

Allowed values (enum): 18, 24

fsl,panel — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to lcd panel

Properties matching a name pattern (patternProperties) #

^port@[0-4]$ — name matches this regular expression

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

On i.MX5, the internal two-input-multiplexer is used. Due to hardware limitations, only one input port (port@[0,1]) can be used for each channel (lvds-channel@[0,1], respectively). On i.MX6, there should be four input ports (port@[0-3]) that correspond to the four LVDS multiplexer inputs. A single output port (port@2 on i.MX5, port@4 on i.MX6) must be connected to a panel input port. Optionally, the output port can be left out if display-timings are used instead.

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "gpr", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx5-clock.h>

ldb@53fa8008 {
    compatible = "fsl,imx53-ldb";
    reg = <0x53fa8008 0x4>;
    #address-cells = <1>;
    #size-cells = <0>;
    gpr = <&gpr>;
    clocks = <&clks IMX5_CLK_LDB_DI0_SEL>,
             <&clks IMX5_CLK_LDB_DI1_SEL>,
             <&clks IMX5_CLK_IPU_DI0_SEL>,
             <&clks IMX5_CLK_IPU_DI1_SEL>,
             <&clks IMX5_CLK_LDB_DI0_GATE>,
             <&clks IMX5_CLK_LDB_DI1_GATE>;
    clock-names = "di0_pll", "di1_pll",
                  "di0_sel", "di1_sel",
                  "di0", "di1";

    /* Using an of-graph endpoint link to connect the panel */
    lvds-channel@0 {
            reg = <0>;
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;

                endpoint {
                    remote-endpoint = <&ipu_di0_lvds0>;
                };
            };

            port@2 {
                reg = <2>;

                endpoint {
                    remote-endpoint = <&panel_in>;
                };
           };
    };

    /* Using display-timings and fsl,data-mapping/width instead */
    lvds-channel@1 {
            reg = <1>;
            #address-cells = <1>;
            #size-cells = <0>;
            fsl,data-mapping = "spwg";
            fsl,data-width = <24>;

            display-timings {/* ... */
            };

            port@1 {
                 reg = <1>;

                 endpoint {
                     remote-endpoint = <&ipu_di1_lvds1>;
                 };
            };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX PRE (Prefetch Resolve Engine)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx6qp-pre.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx6qp-pre"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "axi"

fsl,iram — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle pointing to the mmio-sram device node, that should be used for the PRE SRAM double buffer.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx6qdl-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

pre@21c8000 {
    compatible = "fsl,imx6qp-pre";
    reg = <0x021c8000 0x1000>;
    interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
    clocks = <&clks IMX6QDL_CLK_PRE0>;
    clock-names = "axi";
    fsl,iram = <&ocram2>;
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX PRG (Prefetch Resolve Gasket)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx6qp-prg.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx6qp-prg"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ipg"

Item 2

Exact value (const): "axi"

fsl,pres — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Maximum number of items (maxItems): 1

phandles to the PRE units attached to this PRG, with the fixed PRE as the first entry and the muxable PREs following.

Required in this object (required): "compatible", "reg", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx6qdl-clock.h>

prg@21cc000 {
    compatible = "fsl,imx6qp-prg";
    reg = <0x021cc000 0x1000>;
    clocks = <&clks IMX6QDL_CLK_PRG0_APB>, <&clks IMX6QDL_CLK_PRG0_AXI>;
    clock-names = "ipg", "axi";
    fsl,pres = <&pre1>, <&pre2>, <&pre3>;
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8MP HDMI Parallel Audio Interface

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8mp-hdmi-pai.yaml#"

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

Maintainers (maintainers): "Shengjiu Wang <shengjiu.wang@nxp.com>"

The HDMI TX Parallel Audio Interface (HTX_PAI) is a bridge between the Audio Subsystem to the HDMI TX Controller.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8mp-hdmi-pai"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "apb"

power-domains — required here #

Maximum number of items (maxItems): 1

port — required here #

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

Output to the HDMI TX controller.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains", "port"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mp-clock.h>
#include <dt-bindings/power/imx8mp-power.h>

audio-bridge@32fc4800 {
    compatible = "fsl,imx8mp-hdmi-pai";
    reg = <0x32fc4800 0x800>;
    interrupt-parent = <&irqsteer_hdmi>;
    interrupts = <14>;
    clocks = <&clk IMX8MP_CLK_HDMI_APB>;
    clock-names = "apb";
    power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_PAI>;

    port {
        pai_to_hdmi_tx: endpoint {
            remote-endpoint = <&hdmi_tx_from_pai>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8MP HDMI Parallel Video Interface

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8mp-hdmi-pvi.yaml#"

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

Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>"

The HDMI parallel video interface is a timing and sync generator block in the i.MX8MP SoC, that sits between the video source and the HDMI TX controller.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8mp-hdmi-pvi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

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#/properties/port

Input from the LCDIF controller.

port@1 — required here

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

Output to the HDMI TX controller.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "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/irq.h>
#include <dt-bindings/power/imx8mp-power.h>

display-bridge@32fc4000 {
    compatible = "fsl,imx8mp-hdmi-pvi";
    reg = <0x32fc4000 0x44>;
    interrupt-parent = <&irqsteer_hdmi>;
    interrupts = <12 IRQ_TYPE_LEVEL_HIGH>;
    power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_PVI>;

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

        port@0 {
            reg = <0>;
            pvi_from_lcdif3: endpoint {
                remote-endpoint = <&lcdif3_to_pvi>;
            };
        };

        port@1 {
            reg = <1>;
            pvi_to_hdmi_tx: endpoint {
                remote-endpoint = <&hdmi_tx_from_pvi>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller AXI Performance Counter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-axi-performance-counter.yaml#"

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

Performance counters are provided to allow measurement of average bandwidth and latency during operation. The following features are supported:

* Manual and timer controlled measurement mode.

* Measurement counters:
  - GLOBAL_COUNTER for overall measurement time
  - BUSY_COUNTER for number of data bus busy cycles
  - DATA_COUNTER for number of data transfer cycles
  - TRANSFER_COUNTER for number of transfers
  - ADDRBUSY_COUNTER for number of address bus busy cycles
  - LATENCY_COUNTER for average latency

* Counter overflow detection.

* Outstanding Transfer Counters (OTC) which are used for latency measurement
  have to run immediately after reset, but can be disabled by software when
  there is no need for latency measurement.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-axi-performance-counter"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8-lpcg.h>

pmu@5618f000 {
    compatible = "fsl,imx8qxp-dc-axi-performance-counter";
    reg = <0x5618f000 0x90>;
    clocks = <&dc0_lpcg IMX_LPCG_CLK_5>;
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Blit Engine

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-blit-engine.yaml#"

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

A blit operation (block based image transfer) reads up to 3 source images from memory and computes one destination image from it, which is written back to memory. The following basic operations are supported:

* Buffer Fill
  Fills a buffer with constant color
* Buffer Copy
  Copies one source to a destination buffer.
* Image Blend
  Combines two source images by a blending equation and writes result to
  destination (which can be one of the sources).
* Image Rop2/3
  Combines up to three source images by a logical equation (raster operation)
  and writes result to destination (which can be one of the sources).
* Image Flip
  Mirrors the source image in horizontal and/or vertical direction.
* Format Convert
  Convert between the supported color and buffer formats.
* Color Transform
  Modify colors by linear or non-linear transformations.
* Image Scale
  Changes size of the source image.
* Image Rotate
  Rotates the source image by any angle.
* Image Filter
  Performs an FIR filter operation on the source image.
* Image Warp
  Performs a re-sampling of the source image with any pattern. The sample
  point positions are read from a compressed coordinate buffer.
* Buffer Pack
  Writes an image with color components stored in up to three different
  buffers (planar formats) into a single buffer (packed format).
* Chroma Resample
  Converts between different YUV formats that differ in chroma sampling rate
  (4:4:4, 4:2:2, 4:2:0).

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-blit-engine"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^blitblend@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-blitblend"

^clut@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-clut"

^fetchdecode@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-fetchdecode"

^fetcheco@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-fetcheco"

^fetchwarp@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-fetchwarp"

^filter@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-filter"

^hscaler@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-hscaler"

^matrix@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-matrix"

^rop@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-rop"

^store@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-store"

^vscaler@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-vscaler"

Required in this object (required): "compatible", "reg", "reg-names", "#address-cells", "#size-cells", "ranges"

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

false

Not allowed by this rule.

Examples (examples) #

blit-engine@56180820 {
    compatible = "fsl,imx8qxp-dc-blit-engine";
    reg = <0x56180820 0x13c>, <0x56181000 0x3400>;
    reg-names = "pec", "cfg";
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    fetchdecode@56180820 {
        compatible = "fsl,imx8qxp-dc-fetchdecode";
        reg = <0x56180820 0x10>, <0x56181000 0x404>;
        reg-names = "pec", "cfg";
    };

    store@56180940 {
        compatible = "fsl,imx8qxp-dc-store";
        reg = <0x56180940 0x1c>, <0x56184000 0x5c>;
        reg-names = "pec", "cfg";
        interrupt-parent = <&dc0_intc>;
        interrupts = <0>, <1>, <2>;
        interrupt-names = "shdload", "framecomplete", "seqcomplete";
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Blit Blend Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-blitblend.yaml#"

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

Combines two input frames to a single output frame, all frames having the same dimension.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-blitblend"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

Required in this object (required): "compatible", "reg", "reg-names"

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

false

Not allowed by this rule.

Examples (examples) #

blitblend@56180920 {
    compatible = "fsl,imx8qxp-dc-blitblend";
    reg = <0x56180920 0x10>, <0x56183c00 0x3c>;
    reg-names = "pec", "cfg";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Color Lookup Table

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-clut.yaml#"

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

The unit implements 3 look-up tables with 256 x 10 bit entries each. These can be used for different kinds of applications. From 10-bit input values only upper 8 bits are used.

The unit supports color lookup, index lookup, dithering and alpha masking.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-clut"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

Required in this object (required): "compatible", "reg", "reg-names"

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

false

Not allowed by this rule.

Examples (examples) #

clut@56180880 {
    compatible = "fsl,imx8qxp-dc-clut";
    reg = <0x56180880 0x10>, <0x56182400 0x404>;
    reg-names = "pec", "cfg";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Command Sequencer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-command-sequencer.yaml#"

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

The Command Sequencer is designed to autonomously process command lists. By that it can load setups into the DC configuration and synchronize to hardware events. This releases a system's CPU from workload, because it does not need to wait for certain events. Also it simplifies SW architecture, because no interrupt handlers are required. Setups are read via AXI bus, while write access to configuration registers occurs directly via an internal bus. This saves bandwidth for the AXI interconnect and improves the system architecture in terms of safety aspects.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-command-sequencer"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 5

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "error"

Item 2

Exact value (const): "sw0"

Item 3

Exact value (const): "sw1"

Item 4

Exact value (const): "sw2"

Item 5

Exact value (const): "sw3"

sram — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle pointing to the mmio-sram device node

Required in this object (required): "compatible", "reg", "clocks", "interrupts", "interrupt-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8-lpcg.h>

command-sequencer@56180400 {
    compatible = "fsl,imx8qxp-dc-command-sequencer";
    reg = <0x56180400 0x1a4>;
    clocks = <&dc0_lpcg IMX_LPCG_CLK_5>;
    interrupt-parent = <&dc0_intc>;
    interrupts = <36>, <37>, <38>, <39>, <40>;
    interrupt-names = "error", "sw0", "sw1", "sw2", "sw3";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Constant Frame

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-constframe.yaml#"

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

The Constant Frame unit is used instead of a Fetch unit where generation of constant color frames only is sufficient. This is the case for the background planes of content and safety streams in a Display Controller.

The color can be setup to any RGBA value.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-constframe"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

Required in this object (required): "compatible", "reg", "reg-names"

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

false

Not allowed by this rule.

Examples (examples) #

constframe@56180960 {
    compatible = "fsl,imx8qxp-dc-constframe";
    reg = <0x56180960 0xc>, <0x56184400 0x20>;
    reg-names = "pec", "cfg";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Display Engine

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-display-engine.yaml#"

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

All Processing Units that operate in a display clock domain. Pixel pipeline is driven by a video timing and cannot be stalled. Implements all display specific processing.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-display-engine"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "top"

Item 2

Exact value (const): "cfg"

resets — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 3

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "shdload"

Item 2

Exact value (const): "framecomplete"

Item 3

Exact value (const): "seqcomplete"

power-domains — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^dither@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-dither"

^framegen@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-framegen"

^gammacor@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-gammacor"

^matrix@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-matrix"

^signature@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-signature"

^tcon@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-tcon"

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "power-domains", "#address-cells", "#size-cells", "ranges"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>

display-engine@5618b400 {
    compatible = "fsl,imx8qxp-dc-display-engine";
    reg = <0x5618b400 0x14>, <0x5618b800 0x1c00>;
    reg-names = "top", "cfg";
    interrupt-parent = <&dc0_intc>;
    interrupts = <15>, <16>, <17>;
    interrupt-names = "shdload", "framecomplete", "seqcomplete";
    power-domains = <&pd IMX_SC_R_DC_0_PLL_0>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    framegen@5618b800 {
        compatible = "fsl,imx8qxp-dc-framegen";
        reg = <0x5618b800 0x98>;
        clocks = <&dc0_disp_lpcg IMX_LPCG_CLK_0>;
        interrupt-parent = <&dc0_intc>;
        interrupts = <18>, <19>, <20>, <21>, <41>, <42>, <43>, <44>;
        interrupt-names = "int0", "int1", "int2", "int3",
                          "primsync_on", "primsync_off",
                          "secsync_on", "secsync_off";
    };

    tcon@5618c800 {
        compatible = "fsl,imx8qxp-dc-tcon";
        reg = <0x5618c800 0x588>;

        port {
            dc0_disp0_dc0_pixel_combiner_ch0: endpoint {
                remote-endpoint = <&dc0_pixel_combiner_ch0_dc0_disp0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Dither Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-dither.yaml#"

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

The unit can increase the physical color resolution of a display from 5, 6, 7 or 8 bits per RGB channel to a virtual resolution of 10 bits. The physical resolution can be set individually for each channel.

The resolution is increased by mixing the two physical colors that are nearest to the virtual color code in a variable ratio either by time (temporal dithering) or by position (spatial dithering).

An optimized algorithm for temporal dithering minimizes noise artifacts on the output image.

The dither operation can be individually enabled or disabled for each pixel using the alpha input bit.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-dither"

reg — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

dither@5618c400 {
    compatible = "fsl,imx8qxp-dc-dither";
    reg = <0x5618c400 0x14>;
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller External Destination Interface

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-extdst.yaml#"

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

The External Destination unit is the interface between the internal pixel processing pipeline of the Pixel Engine, which is 30-bit RGB plus 8-bit Alpha, and a Display Engine.

It comprises the following built-in Gamma apply function.

+------X-----------------------+ | | ExtDst Unit | | V | | +-------+ | | | Gamma | | | +-------+ | | | | | V + +------X-----------------------+

The output format is 24-bit RGB plus 1-bit Alpha. Conversion from 10 to 8 bits is done by LSBit truncation. Alpha output bit is 1 for input 255, 0 otherwise.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-extdst"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

interrupts — required here #

Maximum number of items (maxItems): 3

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "shdload"

Item 2

Exact value (const): "framecomplete"

Item 3

Exact value (const): "seqcomplete"

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names"

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

false

Not allowed by this rule.

Examples (examples) #

extdst@56180980 {
    compatible = "fsl,imx8qxp-dc-extdst";
    reg = <0x56180980 0x1c>, <0x56184800 0x28>;
    reg-names = "pec", "cfg";
    interrupt-parent = <&dc0_intc>;
    interrupts = <3>, <4>, <5>;
    interrupt-names = "shdload", "framecomplete", "seqcomplete";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Fetch Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-fetchunit.yaml#"

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

The Fetch Unit is the interface between the AXI bus for source buffer access and the internal pixel processing pipeline, which is 30-bit RGB plus 8-bit Alpha.

It is used to generate foreground planes in Display Controllers and source planes in Blit Engines, and comprises the following built-in functions to convert a wide range of frame buffer types.

+---------X-----------------------------------------+ | | Fetch Unit | | V | | +---------+ | | | | | | | Decode | Decompression [Decode] | | | | | | +---------+ | | | | | V | | +---------+ | | | Clip & | Clip Window [All] | | | Overlay | Plane composition [Layer, Warp] | | | | | | +---------+ | | | | | V | | +---------+ | | | Re- | Flip/Rotate/Repl./Drop [All] | X--> | sample | Perspective/Affine warping [Persp] | | | | | Arbitrary warping [Warp, Persp] | | | +---------+ | | | | | | | V | | | +---------+ | | | | | | | | | Palette | Color Palette [Layer, Decode] | | | | | | | | +---------+ | | | | | | | V | | | +---------+ | | | | Extract | Raw to RGBA/YUV [All] | | | | & | Bit width expansion [All] | | | | Expand | | | | +---------+ | | | | | | | V | | | +---------+ | | | | | Planar to packed | | |->| Combine | [Decode, Warp, Persp] | | | | | | | | +---------+ | | | | | | | V | | | +---------+ | | | | | YUV422 to YUV444 | | | | Chroma | [Decode, Persp] | | | | | | | | +---------+ | | | | | | | V | | | +---------+ | | | | | YUV to RGB | | | | Color | [Warp, Persp, Decode, Layer] | | | | | | | | +---------+ | | | | | | | V | | | +---------+ | | | | | Gamma removal | | | | Gamma | [Warp, Persp, Decode, Layer] | | | | | | | | +---------+ | | | | | | | V | | | +---------+ | | | | | Alpla multiply, RGB pre-multiply | | ->| Multiply| [Warp, Persp, Decode, Layer] | | | | | | --------- | | | | | V | | +---------+ | | | | Bilinear filter | | | Filter | [Warp, Persp] | | | | | | +---------+ | | | | | V | +---------X-----------------------------------------+

Note that different derivatives of the Fetch Unit exist. Each implements a specific subset only of the pipeline stages shown above. Restrictions for the units are specified in [square brackets].

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8qxp-dc-fetchdecode", "fsl,imx8qxp-dc-fetcheco", "fsl,imx8qxp-dc-fetchlayer", "fsl,imx8qxp-dc-fetchwarp"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

fsl,prg — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Optional Prefetch Resolve Gasket associated with the Fetch Unit.

Required in this object (required): "compatible", "reg", "reg-names"

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

false

Not allowed by this rule.

Examples (examples) #

fetchlayer@56180ac0 {
    compatible = "fsl,imx8qxp-dc-fetchlayer";
    reg = <0x56180ac0 0xc>, <0x56188400 0x404>;
    reg-names = "pec", "cfg";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Filter Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-filter.yaml#"

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

5x5 FIR filter with 25 programmable coefficients.

Typical applications are image blurring, sharpening or support for edge detection algorithms.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-filter"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

Required in this object (required): "compatible", "reg", "reg-names"

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

false

Not allowed by this rule.

Examples (examples) #

filter@56180900 {
    compatible = "fsl,imx8qxp-dc-filter";
    reg = <0x56180900 0x10>, <0x56183800 0x30>;
    reg-names = "pec", "cfg";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Frame Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-framegen.yaml#"

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

The Frame Generator (FrameGen) module generates a programmable video timing and optionally allows to synchronize the generated video timing to external synchronization signals.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-framegen"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 8

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "int0"

Item 2

Exact value (const): "int1"

Item 3

Exact value (const): "int2"

Item 4

Exact value (const): "int3"

Item 5

Exact value (const): "primsync_on"

Item 6

Exact value (const): "primsync_off"

Item 7

Exact value (const): "secsync_on"

Item 8

Exact value (const): "secsync_off"

Required in this object (required): "compatible", "reg", "clocks", "interrupts", "interrupt-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>

framegen@5618b800 {
    compatible = "fsl,imx8qxp-dc-framegen";
    reg = <0x5618b800 0x98>;
    clocks = <&dc0_disp_lpcg IMX_LPCG_CLK_0>;
    interrupt-parent = <&dc0_intc>;
    interrupts = <18>, <19>, <20>, <21>, <41>, <42>, <43>, <44>;
    interrupt-names = "int0", "int1", "int2", "int3",
                      "primsync_on", "primsync_off",
                      "secsync_on", "secsync_off";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Gamma Correction Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-gammacor.yaml#"

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

The unit supports non-linear color transformation.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-gammacor"

reg — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

gammacor@5618c000 {
    compatible = "fsl,imx8qxp-dc-gammacor";
    reg = <0x5618c000 0x20>;
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Layer Blend Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-layerblend.yaml#"

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

Combines two input frames to a single output frame.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-layerblend"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

Required in this object (required): "compatible", "reg", "reg-names"

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

false

Not allowed by this rule.

Examples (examples) #

layerblend@56180ba0 {
    compatible = "fsl,imx8qxp-dc-layerblend";
    reg = <0x56180ba0 0x10>, <0x5618a400 0x20>;
    reg-names = "pec", "cfg";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Color Matrix

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-matrix.yaml#"

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

The unit supports linear color transformation, alpha pre-multiply and alpha masking.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-matrix"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reg-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "cfg"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

Required in this object (required): "compatible", "reg", "reg-names"

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

false

Not allowed by this rule.

Examples (examples) #

matrix@5618bc00 {
    compatible = "fsl,imx8qxp-dc-matrix";
    reg = <0x5618bc00 0x3c>;
    reg-names = "cfg";
};

Source notes #

Annotations retained from the schema source

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

Line 26: matrix in display engine

Line 27: matrix in pixel engine

Freescale i.MX8qxp Display Controller Pixel Engine

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-pixel-engine.yaml#"

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

All Processing Units that operate in the AXI bus clock domain. Pixel pipelines have the ability to stall when a destination is busy. Implements all communication to memory resources and most of the image processing functions. Interconnection of Processing Units is re-configurable.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-pixel-engine"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^blit-engine@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-blit-engine"

^constframe@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-constframe"

^extdst@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-extdst"

^fetchdecode@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-fetchdecode"

^fetcheco@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-fetcheco"

^fetchlayer@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-fetchlayer"

^fetchwarp@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-fetchwarp"

^hscaler@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-hscaler"

^layerblend@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-layerblend"

^matrix@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-matrix"

^safety@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-safety"

^vscaler@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-vscaler"

Required in this object (required): "compatible", "reg", "clocks", "#address-cells", "#size-cells", "ranges"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8-lpcg.h>

pixel-engine@56180800 {
    compatible = "fsl,imx8qxp-dc-pixel-engine";
    reg = <0x56180800 0xac00>;
    clocks = <&dc0_lpcg IMX_LPCG_CLK_5>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    constframe@56180960 {
        compatible = "fsl,imx8qxp-dc-constframe";
        reg = <0x56180960 0xc>, <0x56184400 0x20>;
        reg-names = "pec", "cfg";
    };

    extdst@56180980 {
        compatible = "fsl,imx8qxp-dc-extdst";
        reg = <0x56180980 0x1c>, <0x56184800 0x28>;
        reg-names = "pec", "cfg";
        interrupt-parent = <&dc0_intc>;
        interrupts = <3>, <4>, <5>;
        interrupt-names = "shdload", "framecomplete", "seqcomplete";
    };

    constframe@561809a0 {
        compatible = "fsl,imx8qxp-dc-constframe";
        reg = <0x561809a0 0xc>, <0x56184c00 0x20>;
        reg-names = "pec", "cfg";
    };

    extdst@561809c0 {
        compatible = "fsl,imx8qxp-dc-extdst";
        reg = <0x561809c0 0x1c>, <0x56185000 0x28>;
        reg-names = "pec", "cfg";
        interrupt-parent = <&dc0_intc>;
        interrupts = <6>, <7>, <8>;
        interrupt-names = "shdload", "framecomplete", "seqcomplete";
    };

    constframe@561809e0 {
        compatible = "fsl,imx8qxp-dc-constframe";
        reg = <0x561809e0 0xc>, <0x56185400 0x20>;
        reg-names = "pec", "cfg";
    };

    extdst@56180a00 {
        compatible = "fsl,imx8qxp-dc-extdst";
        reg = <0x56180a00 0x1c>, <0x56185800 0x28>;
        reg-names = "pec", "cfg";
        interrupt-parent = <&dc0_intc>;
        interrupts = <9>, <10>, <11>;
        interrupt-names = "shdload", "framecomplete", "seqcomplete";
    };

    constframe@56180a20 {
        compatible = "fsl,imx8qxp-dc-constframe";
        reg = <0x56180a20 0xc>, <0x56185c00 0x20>;
        reg-names = "pec", "cfg";
    };

    extdst@56180a40 {
        compatible = "fsl,imx8qxp-dc-extdst";
        reg = <0x56180a40 0x1c>, <0x56186000 0x28>;
        reg-names = "pec", "cfg";
        interrupt-parent = <&dc0_intc>;
        interrupts = <12>, <13>, <14>;
        interrupt-names = "shdload", "framecomplete", "seqcomplete";
    };

    fetchwarp@56180a60 {
        compatible = "fsl,imx8qxp-dc-fetchwarp";
        reg = <0x56180a60 0x10>, <0x56186400 0x190>;
        reg-names = "pec", "cfg";
    };

    fetchlayer@56180ac0 {
        compatible = "fsl,imx8qxp-dc-fetchlayer";
        reg = <0x56180ac0 0xc>, <0x56188400 0x404>;
        reg-names = "pec", "cfg";
    };

    layerblend@56180ba0 {
        compatible = "fsl,imx8qxp-dc-layerblend";
        reg = <0x56180ba0 0x10>, <0x5618a400 0x20>;
        reg-names = "pec", "cfg";
    };

    layerblend@56180bc0 {
        compatible = "fsl,imx8qxp-dc-layerblend";
        reg = <0x56180bc0 0x10>, <0x5618a800 0x20>;
        reg-names = "pec", "cfg";
    };

    layerblend@56180be0 {
        compatible = "fsl,imx8qxp-dc-layerblend";
        reg = <0x56180be0 0x10>, <0x5618ac00 0x20>;
        reg-names = "pec", "cfg";
    };

    layerblend@56180c00 {
        compatible = "fsl,imx8qxp-dc-layerblend";
        reg = <0x56180c00 0x10>, <0x5618b000 0x20>;
        reg-names = "pec", "cfg";
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Raster Operation Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-rop.yaml#"

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

The unit can combine up to three input frames to a single output frame, all having the same dimension.

The unit supports logic operations, arithmetic operations and packing.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-rop"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

Required in this object (required): "compatible", "reg", "reg-names"

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

false

Not allowed by this rule.

Examples (examples) #

rop@56180860 {
    compatible = "fsl,imx8qxp-dc-rop";
    reg = <0x56180860 0x10>, <0x56182000 0x20>;
    reg-names = "pec", "cfg";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Safety Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-safety.yaml#"

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

The unit allows corresponding processing units to be configured in a path leading to multiple endpoints.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-safety"

reg — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

safety@56180800 {
    compatible = "fsl,imx8qxp-dc-safety";
    reg = <0x56180800 0x1c>;
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Scaling Engine

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-scaling-engine.yaml#"

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

The unit can change the dimension of the input frame by nearest or linear re-sampling with 1/32 sub pixel precision.

Internally it consist of two independent blocks for horizontal and vertical scaling. The sequence of both operations is arbitrary.

Any frame dimensions between 1 and 16384 pixels in width and height are supported, except that the vertical scaler has a frame width maximum depending of the system's functional limitations.

In general all scale factors are supported inside the supported frame dimensions. In range of scale factors 1/16..16 the filtered output colors are LSBit precise (e.g. DC ripple free).

                     +-----------+
                     |   Line    |
                     |  Buffer   |
                     +-----------+
                           ^
                           |
                           V
               |\    +-----------+
         ------+ |   |           |
        |      | +-->| Vertical  |----
        |  ----+ |   |  Scaler   |    |
        | |    |/    +-----------+    |
        | |                           |
        | |                           |
        | |                           |     |\
        |  ------------- -------------+-----+ |
Input --+               X                   | +--> Output
        |  ------------- -------------+-----+ |
        | |                           |     |/
        | |                           |
        | |    |\    +-----------+    |
        |  ----+ |   |           |    |
        |      | +-->| Horizontal|----
         ------+ |   |  Scaler   |
               |/    +-----------+

The unit supports downscaling, upscaling, sub pixel translation and bob de-interlacing.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8qxp-dc-hscaler", "fsl,imx8qxp-dc-vscaler"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

Required in this object (required): "compatible", "reg", "reg-names"

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

false

Not allowed by this rule.

Examples (examples) #

hscaler@561808c0 {
    compatible = "fsl,imx8qxp-dc-hscaler";
    reg = <0x561808c0 0x10>, <0x56183000 0x18>;
    reg-names = "pec", "cfg";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Signature Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-signature.yaml#"

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

In order to control the correctness of display output, signature values can be computed for each frame and compared against reference values. In case of a mismatch (signature violation) a HW event can be triggered, for example a SW interrupt.

This unit supports signature computation, reference check, evaluation windows, alpha masking and panic modes.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-signature"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 3

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "shdload"

Item 2

Exact value (const): "valid"

Item 3

Exact value (const): "error"

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names"

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

false

Not allowed by this rule.

Examples (examples) #

signature@5618d000 {
    compatible = "fsl,imx8qxp-dc-signature";
    reg = <0x5618d000 0x140>;
    interrupt-parent = <&dc0_intc>;
    interrupts = <22>, <23>, <24>;
    interrupt-names = "shdload", "valid", "error";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Store Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-store.yaml#"

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

The Store unit is the interface between the internal pixel processing pipeline, which is 30-bit RGB plus 8-bit Alpha, and the AXI bus for destination buffer access. It is used for the destination of Blit Engines. It comprises a set of built-in functions to generate a wide range of buffer formats. Note, that these are exactly inverse to corresponding functions in the Fetch Unit.

+------X-------------------------+ | | Store Unit | | V | | +-------+ | | | Gamma | Gamma apply | | +-------+ | | | | | V | | +-------+ | | | Color | RGB to YUV | | +-------+ | | | | | V | | +-------+ | | | Chroma| YUV444 to 422 | | +-------+ | | | | | V | | +-------+ | | | Reduce| Bit width reduction | | | | dithering | | +-------+ | | | | | V | | +-------+ | | | Pack | RGBA/YUV to RAW | | | Encode| or Compression | | +-------+ | | | | | V | +------X-------------------------+

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-store"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pec"

Item 2

Exact value (const): "cfg"

interrupts — required here #

Maximum number of items (maxItems): 3

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "shdload"

Item 2

Exact value (const): "framecomplete"

Item 3

Exact value (const): "seqcomplete"

fsl,lts — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Optional Linear Tile Store associated with the Store Unit.

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names"

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

false

Not allowed by this rule.

Examples (examples) #

store@56180940 {
    compatible = "fsl,imx8qxp-dc-store";
    reg = <0x56180940 0x1c>, <0x56184000 0x5c>;
    reg-names = "pec", "cfg";
    interrupt-parent = <&dc0_intc>;
    interrupts = <0>, <1>, <2>;
    interrupt-names = "shdload", "framecomplete", "seqcomplete";
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller Timing Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-tcon.yaml#"

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

The TCon can generate a wide range of customized synchronization signals and does the mapping of the color bits to the output.

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc-tcon"

reg — required here #

Maximum number of items (maxItems): 1

port — required here #

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

video output

Required in this object (required): "compatible", "reg", "port"

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

false

Not allowed by this rule.

Examples (examples) #

tcon@5618c800 {
    compatible = "fsl,imx8qxp-dc-tcon";
    reg = <0x5618c800 0x588>;

    port {
        dc0_disp0_dc0_pixel_combiner_ch0: endpoint {
            remote-endpoint = <&dc0_pixel_combiner_ch0_dc0_disp0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX8qxp Display Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc.yaml#"

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

The Freescale i.MX8qxp Display Controller(DC) is comprised of three main components that include a blit engine for 2D graphics accelerations, display controller for display output processing, as well as a command sequencer.

                                Display buffers              Source buffers
                               (AXI read master)            (AXI read master)
                                | .......... |                  | | |
    +---------------------------+------------+------------------+-+-+------+
    | Display Controller (DC)   | .......... |                  | | |      |
    |                           |            |                  | | |      |
    |   @@@@@@@@@@@  +----------+------------+------------+     | | |      |
A   |  | Command   | |          V            V            |     | | |      |
X <-+->| Sequencer | |    @@@@@@@@@@@@@@@@@@@@@@@@@@@@    |     V V V      |
I   |  | (AXI CLK) | |   |                            |   |   @@@@@@@@@@   |
    |   @@@@@@@@@@@  |   |       Pixel Engine         |   |  |          |  |
    |       |        |   |         (AXI CLK)          |   |  |          |  |
    |       V        |    @@@@@@@@@@@@@@@@@@@@@@@@@@@@    |  |          |  |
A   |   ***********  |       |   |            |   |       |  |   Blit   |  |
H <-+->| Configure | |       V   V            V   V       |  |  Engine  |  |
B   |  | (CFG CLK) | |    00000000000      11111111111    |  | (AXI CLK)|  |
    |   ***********  |   |  Display  |    |  Display  |   |  |          |  |
    |                |   |  Engine   |    |  Engine   |   |  |          |  |
    |                |   | (Disp CLK)|    | (Disp CLK)|   |  |          |  |
    |   @@@@@@@@@@@  |    00000000000      11111111111    |   @@@@@@@@@@   |
I   |  |  Common   | |         |                |         |       |        |
R <-+--|  Control  | |         |    Display     |         |       |        |
Q   |  | (AXI CLK) | |         |   Controller   |         |       |        |
    |   @@@@@@@@@@@  +------------------------------------+       |        |
    |                          |                |       ^         |        |
    +--------------------------+----------------+-------+---------+--------+
            ^                  |                |       |         |
            |                  V                V       |         V
     Clocks & Resets        Display          Display  Panic   Destination
                            Output0          Output1 Control    buffer
                                                            (AXI write master)

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-dc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 2

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "axi"

Item 2

Exact value (const): "cfg"

power-domains — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^command-sequencer@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-command-sequencer"

^display-engine@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-display-engine"

^interrupt-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-intc"

^pixel-engine@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-pixel-engine"

^pmu@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "fsl,imx8qxp-dc-axi-performance-counter"

Required in this object (required): "compatible", "reg", "clocks", "power-domains", "#address-cells", "#size-cells", "ranges"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>

display-controller@56180000 {
    compatible = "fsl,imx8qxp-dc";
    reg = <0x56180000 0x40000>;
    clocks = <&dc0_lpcg IMX_LPCG_CLK_4>;
    power-domains = <&pd IMX_SC_R_DC_0>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    interrupt-controller@56180040 {
        compatible = "fsl,imx8qxp-dc-intc";
        reg = <0x56180040 0x60>;
        clocks = <&dc0_lpcg IMX_LPCG_CLK_5>;
        interrupt-controller;
        interrupt-parent = <&dc0_irqsteer>;
        #interrupt-cells = <1>;
        interrupts = <448>, <449>, <450>,  <64>,
                      <65>,  <66>,  <67>,  <68>,
                      <69>,  <70>, <193>, <194>,
                     <195>, <196>, <197>,  <72>,
                      <73>,  <74>,  <75>,  <76>,
                      <77>,  <78>,  <79>,  <80>,
                      <81>, <199>, <200>, <201>,
                     <202>, <203>, <204>, <205>,
                     <206>, <207>, <208>,   <5>,
                       <0>,   <1>,   <2>,   <3>,
                       <4>,  <82>,  <83>,  <84>,
                      <85>, <209>, <210>, <211>,
                     <212>;
        interrupt-names = "store9_shdload",
                          "store9_framecomplete",
                          "store9_seqcomplete",
                          "extdst0_shdload",
                          "extdst0_framecomplete",
                          "extdst0_seqcomplete",
                          "extdst4_shdload",
                          "extdst4_framecomplete",
                          "extdst4_seqcomplete",
                          "extdst1_shdload",
                          "extdst1_framecomplete",
                          "extdst1_seqcomplete",
                          "extdst5_shdload",
                          "extdst5_framecomplete",
                          "extdst5_seqcomplete",
                          "disengcfg_shdload0",
                          "disengcfg_framecomplete0",
                          "disengcfg_seqcomplete0",
                          "framegen0_int0",
                          "framegen0_int1",
                          "framegen0_int2",
                          "framegen0_int3",
                          "sig0_shdload",
                          "sig0_valid",
                          "sig0_error",
                          "disengcfg_shdload1",
                          "disengcfg_framecomplete1",
                          "disengcfg_seqcomplete1",
                          "framegen1_int0",
                          "framegen1_int1",
                          "framegen1_int2",
                          "framegen1_int3",
                          "sig1_shdload",
                          "sig1_valid",
                          "sig1_error",
                          "reserved",
                          "cmdseq_error",
                          "comctrl_sw0",
                          "comctrl_sw1",
                          "comctrl_sw2",
                          "comctrl_sw3",
                          "framegen0_primsync_on",
                          "framegen0_primsync_off",
                          "framegen0_secsync_on",
                          "framegen0_secsync_off",
                          "framegen1_primsync_on",
                          "framegen1_primsync_off",
                          "framegen1_secsync_on",
                          "framegen1_secsync_off";
    };

    pixel-engine@56180800 {
        compatible = "fsl,imx8qxp-dc-pixel-engine";
        reg = <0x56180800 0xac00>;
        clocks = <&dc0_lpcg IMX_LPCG_CLK_5>;
        #address-cells = <1>;
        #size-cells = <1>;
        ranges;
    };

    display-engine@5618b400 {
        compatible = "fsl,imx8qxp-dc-display-engine";
        reg = <0x5618b400 0x14>, <0x5618b800 0x1c00>;
        reg-names = "top", "cfg";
        interrupt-parent = <&dc0_intc>;
        interrupts = <15>, <16>, <17>;
        interrupt-names = "shdload", "framecomplete", "seqcomplete";
        power-domains = <&pd IMX_SC_R_DC_0_PLL_0>;
        #address-cells = <1>;
        #size-cells = <1>;
        ranges;
    };
};

Source notes #

Annotations retained from the schema source

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

iMX8MQ Display Controller Subsystem (DCSS)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / imx

Schema identifier ($id): "http://devicetree.org/schemas/display/imx/nxp,imx8mq-dcss.yaml#"

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

Maintainers (maintainers): "Laurentiu Palcu <laurentiu.palcu@nxp.com>"

The DCSS (display controller sub system) is used to source up to three display buffers, compose them, and drive a display using HDMI 2.0a(with HDCP 2.2) or MIPI-DSI. The DCSS is intended to support up to 4kp60 displays. HDR10 image processing capabilities are included to provide a solution capable of driving next generation high dynamic range displays.

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "nxp,imx8mq-dcss"

reg — not listed as required here #

Array item rules (items) #

Item 1

DCSS base address and size, up to IRQ steer start

Item 2

DCSS BLKCTL base address and size

interrupts — not listed as required here #

Array item rules (items) #

Item 1

Context loader completion and error interrupt

Item 2

DTG interrupt used to signal context loader trigger time

Item 3

DTG interrupt for Vblank

interrupt-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "ctxld"

Item 2

Exact value (const): "ctxld_kick"

Item 3

Exact value (const): "vblank"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display APB clock for all peripheral PIO access interfaces

Item 2

Display AXI clock needed by DPR, Scaler, RTRAM_CTRL

Item 3

RTRAM clock

Item 4

Pixel clock, can be driven either by HDMI phy clock or MIPI

Item 5

DTRC clock, needed by video decompressor

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "apb"

Item 2

Exact value (const): "axi"

Item 3

Exact value (const): "rtrm"

Item 4

Exact value (const): "pix"

Item 5

Exact value (const): "dtrc"

assigned-clocks — not listed as required here #

Array item rules (items) #

Item 1

Phandle and clock specifier of IMX8MQ_CLK_DISP_AXI_ROOT

Item 2

Phandle and clock specifier of IMX8MQ_CLK_DISP_RTRM

Item 3

Phandle and clock specifier of either IMX8MQ_VIDEO2_PLL1_REF_SEL or IMX8MQ_VIDEO_PLL1_REF_SEL

assigned-clock-parents — not listed as required here #

Array item rules (items) #

Item 1

Phandle and clock specifier of IMX8MQ_SYS1_PLL_800M

Item 2

Phandle and clock specifier of IMX8MQ_SYS1_PLL_800M

Item 3

Phandle and clock specifier of IMX8MQ_CLK_27M

assigned-clock-rates — not listed as required here #

Array item rules (items) #

Item 1

Must be 800 MHz

Item 2

Must be 400 MHz

port — not listed as required here #

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

A port node pointing to the input port of a HDMI/DP or MIPI display bridge.

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mq-clock.h>
dcss: display-controller@32e00000 {
    compatible = "nxp,imx8mq-dcss";
    reg = <0x32e00000 0x2d000>, <0x32e2f000 0x1000>;
    interrupts = <6>, <8>, <9>;
    interrupt-names = "ctxld", "ctxld_kick", "vblank";
    interrupt-parent = <&irqsteer>;
    clocks = <&clk IMX8MQ_CLK_DISP_APB_ROOT>, <&clk IMX8MQ_CLK_DISP_AXI_ROOT>,
             <&clk IMX8MQ_CLK_DISP_RTRM_ROOT>, <&clk IMX8MQ_VIDEO2_PLL_OUT>,
             <&clk IMX8MQ_CLK_DISP_DTRC>;
    clock-names = "apb", "axi", "rtrm", "pix", "dtrc";
    assigned-clocks = <&clk IMX8MQ_CLK_DISP_AXI>, <&clk IMX8MQ_CLK_DISP_RTRM>,
                      <&clk IMX8MQ_VIDEO2_PLL1_REF_SEL>;
    assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_800M>, <&clk IMX8MQ_SYS1_PLL_800M>,
                             <&clk IMX8MQ_CLK_27M>;
    assigned-clock-rates = <800000000>,
                           <400000000>;
    port {
        dcss_out: endpoint {
            remote-endpoint = <&hdmi_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2019 NXP

Mediatek display adaptive ambient light processor

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,aal.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display adaptive ambient light processor, namely AAL, is responsible for backlight power saving and sunlight visibility improving. AAL device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8173-disp-aal", "mediatek,mt8183-disp-aal", "mediatek,mt8195-mdp3-aal"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8188-mdp3-aal"

Item 2

Exact value (const): "mediatek,mt8195-mdp3-aal"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt2712-disp-aal", "mediatek,mt6795-disp-aal"

Item 2

Exact value (const): "mediatek,mt8173-disp-aal"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8186-disp-aal", "mediatek,mt8188-disp-aal", "mediatek,mt8192-disp-aal", "mediatek,mt8195-disp-aal", "mediatek,mt8365-disp-aal"

Item 2

Exact value (const): "mediatek,mt8183-disp-aal"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

AAL Clock

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

AAL input port

port@1 — required here

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

AAL output to the next component's input, for example could be one of many gamma, overdrive or other blocks.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks"

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/clock/mt8173-clk.h>
#include <dt-bindings/power/mt8173-power.h>
#include <dt-bindings/gce/mt8173-gce.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    aal@14015000 {
        compatible = "mediatek,mt8173-disp-aal";
        reg = <0 0x14015000 0 0x1000>;
        interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
        clocks = <&mmsys CLK_MM_DISP_AAL>;
        mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x5000 0x1000>;

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

            port@0 {
                reg = <0>;
                endpoint {
                    remote-endpoint = <&ccorr0_out>;
                };
            };

            port@1 {
                reg = <1>;
                endpoint {
                    remote-endpoint = <&gamma0_in>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek display color correction

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,ccorr.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display color correction, namely CCORR, reproduces correct color on panels with different color gamut. CCORR device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8183-disp-ccorr", "mediatek,mt8192-disp-ccorr"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt8365-disp-ccorr"

Item 2

Exact value (const): "mediatek,mt8183-disp-ccorr"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8186-disp-ccorr", "mediatek,mt8188-disp-ccorr", "mediatek,mt8195-disp-ccorr"

Item 2

Exact value (const): "mediatek,mt8192-disp-ccorr"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

CCORR Clock

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

CCORR input port

port@1 — required here

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

CCORR output to the input of the next desired component in the display pipeline, usually only one of the available AAL blocks.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks"

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/clock/mt8183-clk.h>
#include <dt-bindings/power/mt8183-power.h>
#include <dt-bindings/gce/mt8183-gce.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    ccorr0: ccorr@1400f000 {
        compatible = "mediatek,mt8183-disp-ccorr";
        reg = <0 0x1400f000 0 0x1000>;
        interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
        clocks = <&mmsys CLK_MM_DISP_CCORR0>;
        mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xf000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek HDMI CEC Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,cec.yaml#"

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

Maintainers (maintainers): "CK Hu <ck.hu@mediatek.com>", "Jitao shi <jitao.shi@mediatek.com>"

The HDMI CEC controller handles hotplug detection and CEC communication.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt7623-cec", "mediatek,mt8167-cec", "mediatek,mt8173-cec"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8173-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
cec: cec@10013000 {
    compatible = "mediatek,mt8173-cec";
    reg = <0x10013000 0xbc>;
    interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_LOW>;
    clocks = <&infracfg CLK_INFRA_CEC>;
};

Source notes #

Annotations retained from the schema source

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

Mediatek display color processor

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,color.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display color processor, namely COLOR, provides hue, luma and saturation adjustments to get better picture quality and to have one panel resemble the other in their output characteristics. COLOR device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt2701-disp-color", "mediatek,mt8167-disp-color", "mediatek,mt8173-disp-color", "mediatek,mt8195-mdp3-color"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8188-mdp3-color"

Item 2

Exact value (const): "mediatek,mt8195-mdp3-color"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt7623-disp-color", "mediatek,mt2712-disp-color"

Item 2

Exact value (const): "mediatek,mt2701-disp-color"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt6795-disp-color", "mediatek,mt8183-disp-color", "mediatek,mt8186-disp-color", "mediatek,mt8188-disp-color", "mediatek,mt8192-disp-color", "mediatek,mt8195-disp-color", "mediatek,mt8365-disp-color"

Item 2

Exact value (const): "mediatek,mt8173-disp-color"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

COLOR Clock

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

COLOR input port

port@1 — required here

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

COLOR output to the input of the next desired component in the display pipeline, for example one of the available CCORR or AAL blocks.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks"

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/clock/mt8173-clk.h>
#include <dt-bindings/power/mt8173-power.h>
#include <dt-bindings/gce/mt8173-gce.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    color0: color@14013000 {
        compatible = "mediatek,mt8173-disp-color";
        reg = <0 0x14013000 0 0x1000>;
        interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
        clocks = <&mmsys CLK_MM_DISP_COLOR0>;
        mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x3000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek display dither processor

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,dither.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display dither processor, namely DITHER, works by approximating unavailable colors with available colors and by mixing and matching available colors to mimic unavailable ones. DITHER device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8183-disp-dither"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8186-disp-dither", "mediatek,mt8188-disp-dither", "mediatek,mt8192-disp-dither", "mediatek,mt8195-disp-dither", "mediatek,mt8365-disp-dither"

Item 2

Exact value (const): "mediatek,mt8183-disp-dither"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

DITHER Clock

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

DITHER input, usually from a POSTMASK or GAMMA block.

port@1 — required here

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

DITHER output to the input of the next desired component in the display pipeline, for example one of the available DSC compressors, DP_INTF, DSI, LVDS or others.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks"

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/clock/mt8183-clk.h>
#include <dt-bindings/power/mt8183-power.h>
#include <dt-bindings/gce/mt8183-gce.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    dither0: dither@14012000 {
        compatible = "mediatek,mt8183-disp-dither";
        reg = <0 0x14012000 0 0x1000>;
        interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
        clocks = <&mmsys CLK_MM_DISP_DITHER0>;
        mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x2000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek Display Port Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,dp.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Jitao shi <jitao.shi@mediatek.com>"

MediaTek DP and eDP are different hardware and there are some features which are not supported for eDP. For example, audio is not supported for eDP. Therefore, we need to use two different compatibles to describe them. In addition, We just need to enable the power domain of DP, so the clock of DP is generated by itself and we are not using other PLL to generate clocks.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt8188-dp-tx", "mediatek,mt8188-edp-tx", "mediatek,mt8195-dp-tx", "mediatek,mt8195-edp-tx"

reg — required here #

Maximum number of items (maxItems): 1

nvmem-cells — not listed as required here #

Maximum number of items (maxItems): 1

efuse data for display port calibration

nvmem-cell-names — not listed as required here #

Exact value (const): "dp_calibration_data"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — not listed as required here #

Exact value (const): 0

aux-bus — not listed as required here #

Shared schema rule ($ref): /schemas/display/dp-aux-bus.yaml#

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#/properties/port

Input endpoint of the controller, usually dp_intf

port@1 — 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.

Output endpoint of the controller

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — required here

number of lanes supported by the hardware. The possible values: 0 - For 1 lane enabled in IP. 0 1 - For 2 lanes enabled in IP. 0 1 2 3 - For 4 lanes enabled in IP.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Required in this object (required): "data-lanes"

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

max-linkrate-mhz — required here #

Allowed values (enum): 1620, 2700, 5400, 8100

maximum link rate supported by the hardware.

Required in this object (required): "compatible", "reg", "interrupts", "ports", "max-linkrate-mhz"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "mediatek,mt8188-dp-tx", "mediatek,mt8195-dp-tx"

When the condition matches (then) #

Properties and child nodes (properties)

#sound-dai-cells — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/mt8195-power.h>
dptx@1c600000 {
    compatible = "mediatek,mt8195-dp-tx";
    reg = <0x1c600000 0x8000>;
    power-domains = <&spm MT8195_POWER_DOMAIN_DP_TX>;
    interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH 0>;
    max-linkrate-mhz = <8100>;

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

        port@0 {
            reg = <0>;
            dptx_in: endpoint {
                remote-endpoint = <&dp_intf0_out>;
            };
        };
        port@1 {
            reg = <1>;
            dptx_out: endpoint {
                data-lanes = <0 1 2 3>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek DPI and DP_INTF Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,dpi.yaml#"

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

Maintainers (maintainers): "CK Hu <ck.hu@mediatek.com>", "Jitao shi <jitao.shi@mediatek.com>"

The MediaTek DPI and DP_INTF function blocks are a sink of the display subsystem and provides 8-bit RGB/YUV444 or 8/10/10-bit YUV422 pixel data on a parallel output bus.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt2701-dpi", "mediatek,mt7623-dpi", "mediatek,mt8173-dpi", "mediatek,mt8183-dpi", "mediatek,mt8186-dpi", "mediatek,mt8188-dp-intf", "mediatek,mt8192-dpi", "mediatek,mt8195-dp-intf", "mediatek,mt8195-dpi"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt6795-dpi"

Item 2

Exact value (const): "mediatek,mt8183-dpi"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8365-dpi"

Item 2

Exact value (const): "mediatek,mt8192-dpi"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8188-dpi"

Item 2

Exact value (const): "mediatek,mt8195-dpi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Pixel Clock

Item 2

Engine Clock

Item 3

DPI PLL

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pixel"

Item 2

Exact value (const): "engine"

Item 3

Exact value (const): "pll"

pinctrl-0 — not listed as required here #

true — No constraints added by this property rule.

pinctrl-1 — not listed as required here #

true — No constraints added by this property rule.

pinctrl-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "default"

Item 2

Exact value (const): "sleep"

power-domains — not listed as required here #

The MediaTek DPI module is typically associated with one of the
following multimedia power domains:
  POWER_DOMAIN_DISPLAY
  POWER_DOMAIN_VDOSYS
  POWER_DOMAIN_MM
The specific power domain used varies depending on the SoC design.

It is recommended to explicitly add the appropriate power domain property to the DPI node in the device tree.

Maximum number of items (maxItems): 1

port — not listed as required here #

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

Output port node. This port should be connected to the input port of an attached HDMI, LVDS or DisplayPort encoder chip.

ports — not listed as 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#/properties/port

DPI input port

port@1 — required here

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

DPI output to an HDMI, LVDS or DisplayPort encoder input

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

resets — not listed as required here #

Maximum number of items (maxItems): 1

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "dpi"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "port"

Rule 2 #

Required in this object (required): "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/clock/mt8173-clk.h>
#include <dt-bindings/power/mt8173-power.h>

dpi: dpi@1401d000 {
    compatible = "mediatek,mt8173-dpi";
    reg = <0x1401d000 0x1000>;
    interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_LOW>;
    power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
    clocks = <&mmsys CLK_MM_DPI_PIXEL>,
         <&mmsys CLK_MM_DPI_ENGINE>,
         <&apmixedsys CLK_APMIXED_TVDPLL>;
    clock-names = "pixel", "engine", "pll";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&dpi_pin_func>;
    pinctrl-1 = <&dpi_pin_idle>;

    port {
        dpi0_out: endpoint {
            remote-endpoint = <&hdmi0_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

mediatek display DSC controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,dsc.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

The DSC standard is a specification of the algorithms used for compressing and decompressing image display streams, including the specification of the syntax and semantics of the compressed video bit stream. DSC is designed for real-time systems with real-time compression, transmission, decompression and Display.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8195-disp-dsc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt8188-disp-dsc"

Item 2

Exact value (const): "mediatek,mt8195-disp-dsc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

DSC Wrapper Clock

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each subsys id is mapping to a base address of display function blocks register which is defined in the gce header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

Display Stream Compression input, usually from one of the DITHER or MERGE blocks.

port@1 — required here

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

Display Stream Compression output to the input of the next desired component in the display pipeline, for example to MERGE, DP_INTF, DPI or DSI.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks"

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/clock/mt8195-clk.h>
#include <dt-bindings/power/mt8195-power.h>
#include <dt-bindings/gce/mt8195-gce.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    dsc0: disp_dsc_wrap@1c009000 {
        compatible = "mediatek,mt8195-disp-dsc";
        reg = <0 0x1c009000 0 0x1000>;
        interrupts = <GIC_SPI 645 IRQ_TYPE_LEVEL_HIGH 0>;
        power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
        clocks = <&vdosys0 CLK_VDO0_DSC_WRAP0>;
        mediatek,gce-client-reg = <&gce1 SUBSYS_1c00XXXX 0x9000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek DSI Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,dsi.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>", "Jitao Shi <jitao.shi@mediatek.com>"

The MediaTek DSI function block is a sink of the display subsystem and can drive up to 4-lane MIPI DSI output. Two DSIs can be synchronized for dual- channel output.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/display/dsi-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt2701-dsi", "mediatek,mt7623-dsi", "mediatek,mt8167-dsi", "mediatek,mt8173-dsi", "mediatek,mt8183-dsi", "mediatek,mt8186-dsi", "mediatek,mt8188-dsi"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt6795-dsi"

Item 2

Exact value (const): "mediatek,mt8173-dsi"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8195-dsi", "mediatek,mt8365-dsi"

Item 2

Exact value (const): "mediatek,mt8183-dsi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Engine Clock

Item 2

Digital Clock

Item 3

HS Clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "engine"

Item 2

Exact value (const): "digital"

Item 3

Exact value (const): "hs"

resets — not listed as required here #

Maximum number of items (maxItems): 1

phys — required here #

Maximum number of items (maxItems): 1

phy-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dphy"

port — not listed as required here #

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

Output port node. This port should be connected to the input port of an attached DSI panel or DSI-to-eDP encoder chip.

ports — not listed as required here #

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

Input ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

DSI input port, usually from DITHER, DSC or MERGE

port@1 — required here

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

DSI output to an attached DSI panel, or a DSI-to-X encoder chip

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks", "clock-names", "phys", "phy-names"

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "port"

Rule 2 #

Required in this object (required): "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8183-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/mt8183-power.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset/mt8183-resets.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    dsi0: dsi@14014000 {
        compatible = "mediatek,mt8183-dsi";
        reg = <0 0x14014000 0 0x1000>;
        interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
        clocks = <&mmsys CLK_MM_DSI0_MM>,
            <&mmsys CLK_MM_DSI0_IF>,
            <&mipi_tx0>;
        clock-names = "engine", "digital", "hs";
        resets = <&mmsys MT8183_MMSYS_SW0_RST_B_DISP_DSI0>;
        phys = <&mipi_tx0>;
        phy-names = "dphy";
        port {
            dsi0_out: endpoint {
                remote-endpoint = <&panel_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek Ethdr Device

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,ethdr.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

ETHDR (ET High Dynamic Range) is a MediaTek internal HDR engine and is designed for HDR video and graphics conversion in the external display path. It handles multiple HDR input types and performs tone mapping, color space/color format conversion, and then combine different layers, output the required HDR or SDR signal to the subsequent display path. This engine is composed of two video frontends, two graphic frontends, one video backend and a mixer. ETHDR has two DMA function blocks, DS and ADL. These two function blocks read the pre-programmed registers from DRAM and set them to HW in the v-blanking period.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "mediatek,mt8195-disp-ethdr"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt8188-disp-ethdr"

Item 2

Exact value (const): "mediatek,mt8195-disp-ethdr"

reg — required here #

Maximum number of items (maxItems): 7

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mixer"

Item 2

Exact value (const): "vdo_fe0"

Item 3

Exact value (const): "vdo_fe1"

Item 4

Exact value (const): "gfx_fe0"

Item 5

Exact value (const): "gfx_fe1"

Item 6

Exact value (const): "vdo_be"

Item 7

Exact value (const): "adl_ds"

interrupts — required here #

Maximum number of items (maxItems): 1

iommus — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clocks — required here #

Array item rules (items) #

Item 1

mixer clock

Item 2

video frontend 0 clock

Item 3

video frontend 1 clock

Item 4

graphic frontend 0 clock

Item 5

graphic frontend 1 clock

Item 6

video backend clock

Item 7

autodownload and menuload clock

Item 8

video frontend 0 async clock

Item 9

video frontend 1 async clock

Item 10

graphic frontend 0 async clock

Item 11

graphic frontend 1 async clock

Item 12

video backend async clock

Item 13

ethdr top clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mixer"

Item 2

Exact value (const): "vdo_fe0"

Item 3

Exact value (const): "vdo_fe1"

Item 4

Exact value (const): "gfx_fe0"

Item 5

Exact value (const): "gfx_fe1"

Item 6

Exact value (const): "vdo_be"

Item 7

Exact value (const): "adl_ds"

Item 8

Exact value (const): "vdo_fe0_async"

Item 9

Exact value (const): "vdo_fe1_async"

Item 10

Exact value (const): "gfx_fe0_async"

Item 11

Exact value (const): "gfx_fe1_async"

Item 12

Exact value (const): "vdo_be_async"

Item 13

Exact value (const): "ethdr_top"

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Array item rules (items) #

Item 1

video frontend 0 async reset

Item 2

video frontend 1 async reset

Item 3

graphic frontend 0 async reset

Item 4

graphic frontend 1 async reset

Item 5

video backend async reset

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "vdo_fe0_async"

Item 2

Exact value (const): "vdo_fe1_async"

Item 3

Exact value (const): "gfx_fe0_async"

Item 4

Exact value (const): "gfx_fe1_async"

Item 5

Exact value (const): "vdo_be_async"

mediatek,gce-client-reg — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 7

The register of display function block to be set by gce. There are 4 arguments in this property, gce node, subsys id, offset and register size. The subsys id is defined in the gce header of each chips include/dt-bindings/gce/<chip>-gce.h, mapping to the register of display function block.

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

ETHDR input, usually from one of the MERGE blocks.

port@1 — required here

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

ETHDR output to the input of the next desired component in the display pipeline, for example one of the available MERGE blocks, or others.

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

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "power-domains", "resets", "mediatek,gce-client-reg"

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/clock/mt8195-clk.h>
#include <dt-bindings/gce/mt8195-gce.h>
#include <dt-bindings/memory/mt8195-memory-port.h>
#include <dt-bindings/power/mt8195-power.h>
#include <dt-bindings/reset/mt8195-resets.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    hdr-engine@1c114000 {
            compatible = "mediatek,mt8195-disp-ethdr";
            reg = <0 0x1c114000 0 0x1000>,
                  <0 0x1c115000 0 0x1000>,
                  <0 0x1c117000 0 0x1000>,
                  <0 0x1c119000 0 0x1000>,
                  <0 0x1c11a000 0 0x1000>,
                  <0 0x1c11b000 0 0x1000>,
                  <0 0x1c11c000 0 0x1000>;
            reg-names = "mixer", "vdo_fe0", "vdo_fe1", "gfx_fe0", "gfx_fe1",
                        "vdo_be", "adl_ds";
            mediatek,gce-client-reg = <&gce0 SUBSYS_1c11XXXX 0x4000 0x1000>,
                                      <&gce0 SUBSYS_1c11XXXX 0x5000 0x1000>,
                                      <&gce0 SUBSYS_1c11XXXX 0x7000 0x1000>,
                                      <&gce0 SUBSYS_1c11XXXX 0x9000 0x1000>,
                                      <&gce0 SUBSYS_1c11XXXX 0xa000 0x1000>,
                                      <&gce0 SUBSYS_1c11XXXX 0xb000 0x1000>,
                                      <&gce0 SUBSYS_1c11XXXX 0xc000 0x1000>;
            clocks = <&vdosys1 CLK_VDO1_DISP_MIXER>,
                     <&vdosys1 CLK_VDO1_HDR_VDO_FE0>,
                     <&vdosys1 CLK_VDO1_HDR_VDO_FE1>,
                     <&vdosys1 CLK_VDO1_HDR_GFX_FE0>,
                     <&vdosys1 CLK_VDO1_HDR_GFX_FE1>,
                     <&vdosys1 CLK_VDO1_HDR_VDO_BE>,
                     <&vdosys1 CLK_VDO1_26M_SLOW>,
                     <&vdosys1 CLK_VDO1_HDR_VDO_FE0_DL_ASYNC>,
                     <&vdosys1 CLK_VDO1_HDR_VDO_FE1_DL_ASYNC>,
                     <&vdosys1 CLK_VDO1_HDR_GFX_FE0_DL_ASYNC>,
                     <&vdosys1 CLK_VDO1_HDR_GFX_FE1_DL_ASYNC>,
                     <&vdosys1 CLK_VDO1_HDR_VDO_BE_DL_ASYNC>,
                     <&topckgen CLK_TOP_ETHDR>;
            clock-names = "mixer", "vdo_fe0", "vdo_fe1", "gfx_fe0", "gfx_fe1",
                          "vdo_be", "adl_ds", "vdo_fe0_async", "vdo_fe1_async",
                          "gfx_fe0_async", "gfx_fe1_async","vdo_be_async",
                          "ethdr_top";
            power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
            iommus = <&iommu_vpp M4U_PORT_L3_HDR_DS>,
                     <&iommu_vpp M4U_PORT_L3_HDR_ADL>;
            interrupts = <GIC_SPI 517 IRQ_TYPE_LEVEL_HIGH 0>; /* disp mixer */
            resets = <&vdosys1 MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_FE0_DL_ASYNC>,
                     <&vdosys1 MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_FE1_DL_ASYNC>,
                     <&vdosys1 MT8195_VDOSYS1_SW1_RST_B_HDR_GFX_FE0_DL_ASYNC>,
                     <&vdosys1 MT8195_VDOSYS1_SW1_RST_B_HDR_GFX_FE1_DL_ASYNC>,
                     <&vdosys1 MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_BE_DL_ASYNC>;
            reset-names = "vdo_fe0_async", "vdo_fe1_async", "gfx_fe0_async",
                          "gfx_fe1_async", "vdo_be_async";
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek display gamma correction

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,gamma.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display gamma correction, namely GAMMA, provides a nonlinear operation used to adjust luminance in display system. GAMMA device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8173-disp-gamma", "mediatek,mt8183-disp-gamma", "mediatek,mt8195-disp-gamma"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt6795-disp-gamma"

Item 2

Exact value (const): "mediatek,mt8173-disp-gamma"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8186-disp-gamma", "mediatek,mt8188-disp-gamma", "mediatek,mt8192-disp-gamma", "mediatek,mt8195-disp-gamma", "mediatek,mt8365-disp-gamma"

Item 2

Exact value (const): "mediatek,mt8183-disp-gamma"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8188-disp-gamma"

Item 2

Exact value (const): "mediatek,mt8195-disp-gamma"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

GAMMA Clock

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as 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#/properties/port

GAMMA input, usually from one of the AAL blocks.

port@1 — required here

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

GAMMA output to the input of the next desired component in the display pipeline, for example one of the available DITHER or POSTMASK blocks.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks"

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/clock/mt8173-clk.h>
#include <dt-bindings/power/mt8173-power.h>
#include <dt-bindings/gce/mt8173-gce.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    gamma@14016000 {
        compatible = "mediatek,mt8173-disp-gamma";
        reg = <0 0x14016000 0 0x1000>;
        interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
        clocks = <&mmsys CLK_MM_DISP_GAMMA>;
        mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x6000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek HDMI DDC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,hdmi-ddc.yaml#"

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

Maintainers (maintainers): "CK Hu <ck.hu@mediatek.com>", "Jitao shi <jitao.shi@mediatek.com>"

The HDMI DDC i2c controller is used to interface with the HDMI DDC pins.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt7623-hdmi-ddc", "mediatek,mt8167-hdmi-ddc", "mediatek,mt8173-hdmi-ddc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ddc-i2c"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8173-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
hdmi_ddc0: i2c@11012000 {
    compatible = "mediatek,mt8173-hdmi-ddc";
    reg = <0x11012000 0x1c>;
    interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_LOW>;
    clocks = <&pericfg CLK_PERI_I2C5>;
    clock-names = "ddc-i2c";
};

Source notes #

Annotations retained from the schema source

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

Mediatek HDMI Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,hdmi.yaml#"

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

Maintainers (maintainers): "CK Hu <ck.hu@mediatek.com>", "Jitao shi <jitao.shi@mediatek.com>"

The Mediatek HDMI encoder can generate HDMI 1.4a or MHL 2.0 signals from its parallel input.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt2701-hdmi", "mediatek,mt7623-hdmi", "mediatek,mt8167-hdmi", "mediatek,mt8173-hdmi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Pixel Clock

Item 2

HDMI PLL

Item 3

Bit Clock

Item 4

S/PDIF Clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pixel"

Item 2

Exact value (const): "pll"

Item 3

Exact value (const): "bclk"

Item 4

Exact value (const): "spdif"

phys — required here #

Maximum number of items (maxItems): 1

phy-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "hdmi"

mediatek,syscon-hdmi — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to system configuration registers

Item 2

register offset in the system configuration registers

phandle link and register offset to the system configuration registers.

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#/properties/port

Input port node. This port should be connected to a DPI output port.

port@1 — required here

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

Output port node. This port should be connected to the input port of a connector node that contains a ddc-i2c-bus property, or to the input port of an attached bridge chip, such as a SlimPort transmitter.

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

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "phys", "phy-names", "mediatek,syscon-hdmi", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8173-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
hdmi0: hdmi@14025000 {
    compatible = "mediatek,mt8173-hdmi";
    reg = <0x14025000 0x400>;
    interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_LOW>;
    clocks = <&mmsys CLK_MM_HDMI_PIXEL>,
         <&mmsys CLK_MM_HDMI_PLLCK>,
         <&mmsys CLK_MM_HDMI_AUDIO>,
         <&mmsys CLK_MM_HDMI_SPDIF>;
    clock-names = "pixel", "pll", "bclk", "spdif";
    pinctrl-names = "default";
    pinctrl-0 = <&hdmi_pin>;
    phys = <&hdmi_phy>;
    phy-names = "hdmi";
    mediatek,syscon-hdmi = <&mmsys 0x900>;

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

      port@0 {
        reg = <0>;

        hdmi0_in: endpoint {
          remote-endpoint = <&dpi0_out>;
        };
      };

      port@1 {
        reg = <1>;

        hdmi0_out: endpoint {
          remote-endpoint = <&hdmi_con_in>;
        };
      };
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek display merge

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,merge.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display merge, namely MERGE, is used to merge two slice-per-line inputs into one side-by-side output. MERGE device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8173-disp-merge", "mediatek,mt8195-disp-merge", "mediatek,mt8195-mdp3-merge"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8188-mdp3-merge"

Item 2

Exact value (const): "mediatek,mt8195-mdp3-merge"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt6795-disp-merge"

Item 2

Exact value (const): "mediatek,mt8173-disp-merge"

Rule 4

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt8188-disp-merge"

Item 2

Exact value (const): "mediatek,mt8195-disp-merge"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "merge"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "merge"

Item 2

Exact value (const): "merge_async"

mediatek,merge-fifo-en — not listed as required here #

The setting of merge fifo is mainly provided for the display latency buffer to ensure that the back-end panel display data will not be underrun, a little more data is needed in the fifo. According to the merge fifo settings, when the water level is detected to be insufficient, it will trigger RDMA sending ultra and preulra command to SMI to speed up the data rate.

Value type (type): "boolean"

mediatek,merge-mute — not listed as required here #

Support mute function. Mute the content of merge output.

Value type (type): "boolean"

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

MERGE input port, usually from DITHER, DPI, DSC, DSI, MDP_RDMA, ETHDR or even from a different MERGE block

port@1 — required here

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

MERGE output to a DSC, DPI, DP_INTF, DSI, ETHDR, Write DMA, or a different MERGE block, or others.

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

resets — not listed as required here #

reset controller See Documentation/devicetree/bindings/reset/reset.txt for details.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "power-domains", "clocks"

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/clock/mt8173-clk.h>
#include <dt-bindings/power/mt8173-power.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    merge@14017000 {
        compatible = "mediatek,mt8173-disp-merge";
        reg = <0 0x14017000 0 0x1000>;
        power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
        clocks = <&mmsys CLK_MM_DISP_MERGE>;
        clock-names = "merge";
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek HDMI MT8195 series HDMI Display Data Channel (DDC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,mt8195-hdmi-ddc.yaml#"

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

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>", "CK Hu <ck.hu@mediatek.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "mediatek,mt8195-hdmi-ddc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt8188-hdmi-ddc"

Item 2

Exact value (const): "mediatek,mt8195-hdmi-ddc"

clocks — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

hdmi {
    hdmi_ddc: i2c {
        compatible = "mediatek,mt8195-hdmi-ddc";
        clocks = <&clk26m>;
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek MT8195 series HDMI-TX Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,mt8195-hdmi.yaml#"

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

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>", "CK Hu <ck.hu@mediatek.com>"

The MediaTek HDMI-TX v2 encoder can generate HDMI format data based on the HDMI Specification 2.0b.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt8188-hdmi-tx", "mediatek,mt8195-hdmi-tx"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

HDMI Peripheral Bus (APB) clock

Item 2

HDCP and HDMI_TOP clock

Item 3

HDCP, HDMI_TOP and HDMI Audio reference clock

Item 4

VPP HDMI Split clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "hdcp"

Item 3

Exact value (const): "hdcp24m"

Item 4

Exact value (const): "hdmi-split"

i2c — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/display/mediatek/mediatek,mt8195-hdmi-ddc.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

HDMI DDC I2C controller

phys — required here #

Maximum number of items (maxItems): 1

PHY providing clocking TMDS and pixel to controller

phy-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "hdmi"

power-domains — required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — not listed as required here #

Exact value (const): 1

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#/properties/port

Input port, usually connected to the output port of a DPI

port@1 — required here

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

Output port that must be connected either to the input port of a HDMI connector node containing a ddc-i2c-bus, or to the input port of an attached bridge chip, such as a SlimPort transmitter.

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

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains", "phys", "phy-names", "ports"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8195-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/mt8195-power.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    hdmi@1c300000 {
        compatible = "mediatek,mt8195-hdmi-tx";
        reg = <0 0x1c300000 0 0x1000>;
        clocks = <&topckgen CLK_TOP_HDMI_APB>,
                 <&topckgen CLK_TOP_HDCP>,
                 <&topckgen CLK_TOP_HDCP_24M>,
                 <&vppsys1 CLK_VPP1_VPP_SPLIT_HDMI>;
        clock-names = "bus", "hdcp", "hdcp24m", "hdmi-split";
        interrupts = <GIC_SPI 677 IRQ_TYPE_LEVEL_HIGH 0>;
        phys = <&hdmi_phy>;
        phy-names = "hdmi";
        power-domains = <&spm MT8195_POWER_DOMAIN_HDMI_TX>;
        pinctrl-names = "default";
        pinctrl-0 = <&hdmi_pins>;
        #sound-dai-cells = <1>;

        hdmitx_ddc: i2c {
            compatible = "mediatek,mt8195-hdmi-ddc";
            clocks = <&clk26m>;
        };

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

            port@0 {
                reg = <0>;

                hdmi_in: endpoint {
                    remote-endpoint = <&dpi1_out>;
                };
            };

            port@1 {
                reg = <1>;

                hdmi_out: endpoint {
                    remote-endpoint = <&hdmi_connector_in>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek display overdirve

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,od.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display overdrive, namely OD, increases the transition values of pixels between consecutive frames to make LCD rotate faster. OD device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt2712-disp-od", "mediatek,mt8173-disp-od"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt6795-disp-od"

Item 2

Exact value (const): "mediatek,mt8173-disp-od"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

OD Clock

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

OD input port, usually from an AAL block

port@1 — required here

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

OD output to the input of the next desired component in the display pipeline, for example one of the available RDMA or other blocks.

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

mediatek,gce-client-reg — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

describes how to locate the GCE client register

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

Phandle reference to a Mediatek GCE Mailbox

Item 2

GCE subsys id mapping to a client defined in header include/dt-bindings/gce/<chip>-gce.h.

Item 3

offset for the GCE register offset

Item 4

size of the GCE register offset

Required in this object (required): "compatible", "reg", "clocks"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8173-clk.h>
#include <dt-bindings/gce/mt8173-gce.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    od@14023000 {
        compatible = "mediatek,mt8173-disp-od";
        reg = <0 0x14023000 0 0x1000>;
        clocks = <&mmsys CLK_MM_DISP_OD>;
        mediatek,gce-client-reg = <&gce SUBSYS_1402XXXX 0x3000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek display overlay 2 layer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,ovl-2l.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display overlay 2 layer, namely OVL-2L, provides 2 more layer for OVL. OVL-2L device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8183-disp-ovl-2l", "mediatek,mt8192-disp-ovl-2l"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8186-disp-ovl-2l"

Item 2

Exact value (const): "mediatek,mt8192-disp-ovl-2l"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

OVL-2L Clock

iommus — required here #

This property should point to the respective IOMMU block with master port as argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

OVL input port from MMSYS, VDOSYS or other OVLs

port@1 — required here

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

OVL output to the input of the next desired component in the display pipeline, for example one of the available COLOR, RDMA or WDMA blocks.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks", "iommus"

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/clock/mt8183-clk.h>
#include <dt-bindings/power/mt8183-power.h>
#include <dt-bindings/gce/mt8183-gce.h>
#include <dt-bindings/memory/mt8183-larb-port.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    ovl_2l0: ovl@14009000 {
        compatible = "mediatek,mt8183-disp-ovl-2l";
        reg = <0 0x14009000 0 0x1000>;
        interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
        clocks = <&mmsys CLK_MM_DISP_OVL0_2L>;
        iommus = <&iommu M4U_PORT_DISP_2L_OVL0_LARB0>;
        mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x9000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek display overlay

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,ovl.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display overlay, namely OVL, can do alpha blending from the memory. OVL device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt2701-disp-ovl", "mediatek,mt8173-disp-ovl", "mediatek,mt8183-disp-ovl", "mediatek,mt8192-disp-ovl", "mediatek,mt8195-disp-ovl", "mediatek,mt8195-mdp3-ovl"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt7623-disp-ovl", "mediatek,mt2712-disp-ovl"

Item 2

Exact value (const): "mediatek,mt2701-disp-ovl"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt6795-disp-ovl"

Item 2

Exact value (const): "mediatek,mt8173-disp-ovl"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8186-disp-ovl", "mediatek,mt8365-disp-ovl"

Item 2

Exact value (const): "mediatek,mt8192-disp-ovl"

Rule 5

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt8188-disp-ovl"

Item 2

Exact value (const): "mediatek,mt8195-disp-ovl"

Rule 6

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt8188-mdp3-ovl"

Item 2

Exact value (const): "mediatek,mt8195-mdp3-ovl"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

OVL Clock

iommus — required here #

This property should point to the respective IOMMU block with master port as argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

OVL input port from MMSYS or one of multiple VDOSYS

port@1 — required here

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

OVL output to the input of the next desired component in the display pipeline, for example one of the available COLOR, RDMA or WDMA blocks.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks", "iommus"

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/clock/mt8173-clk.h>
#include <dt-bindings/power/mt8173-power.h>
#include <dt-bindings/gce/mt8173-gce.h>
#include <dt-bindings/memory/mt8173-larb-port.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    ovl0: ovl@1400c000 {
        compatible = "mediatek,mt8173-disp-ovl";
        reg = <0 0x1400c000 0 0x1000>;
        interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
        clocks = <&mmsys CLK_MM_DISP_OVL0>;
        iommus = <&iommu M4U_PORT_DISP_OVL0>;
        mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xc000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek Display Padding

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,padding.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Padding provides ability to add pixels to width and height of a layer with specified colors. Due to hardware design, Mixer in VDOSYS1 requires width of a layer to be 2-pixel-align, or 4-pixel-align when ETHDR is enabled, we need Padding to deal with odd width. Please notice that even if the Padding is in bypass mode, settings in register must be cleared to 0, or undefined behaviors could happen.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8188-disp-padding", "mediatek,mt8195-mdp3-padding"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt8188-mdp3-padding"

Item 2

Exact value (const): "mediatek,mt8195-mdp3-padding"

reg — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Padding's clocks

mediatek,gce-client-reg — required here #

GCE (Global Command Engine) is a multi-core micro processor that helps its clients to execute commands without interrupting CPU. This property describes GCE client's information that is composed by 4 fields. 1. Phandle of the GCE (there may be several GCE processors) 2. Sub-system ID defined in the dt-binding like a user ID (Please refer to include/dt-bindings/gce/<chip>-gce.h) 3. Offset from base address of the subsys you are at 4. Size of the register the client needs

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Array item rules (items)

Item 1

Phandle of the GCE

Item 2

Subsys ID defined in the dt-binding

Item 3

Offset from base address of the subsys

Item 4

Size of register

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "power-domains", "clocks", "mediatek,gce-client-reg"

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/clock/mediatek,mt8188-clk.h>
#include <dt-bindings/power/mediatek,mt8188-power.h>
#include <dt-bindings/gce/mt8195-gce.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    padding0: padding@1c11d000 {
        compatible = "mediatek,mt8188-disp-padding";
        reg = <0 0x1c11d000 0 0x1000>;
        clocks = <&vdosys1 CLK_VDO1_PADDING0>;
        power-domains = <&spm MT8188_POWER_DOMAIN_VDOSYS1>;
        mediatek,gce-client-reg = <&gce0 SUBSYS_1c11XXXX 0xd000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek display postmask

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,postmask.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display postmask, namely POSTMASK, provides round corner pattern generation. POSTMASK device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8192-disp-postmask"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8186-disp-postmask", "mediatek,mt8188-disp-postmask"

Item 2

Exact value (const): "mediatek,mt8192-disp-postmask"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

POSTMASK Clock

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

POSTMASK input port, usually from GAMMA

port@1 — required here

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

POSTMASK output to the input of the next desired component in the display pipeline, for example one of the available DITHER blocks.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks"

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/clock/mt8192-clk.h>
#include <dt-bindings/power/mt8192-power.h>
#include <dt-bindings/gce/mt8192-gce.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    postmask0: postmask@1400d000 {
        compatible = "mediatek,mt8192-disp-postmask";
        reg = <0 0x1400d000 0 0x1000>;
        interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH 0>;
        power-domains = <&scpsys MT8192_POWER_DOMAIN_DISP>;
        clocks = <&mmsys CLK_MM_DISP_POSTMASK0>;
        mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xd000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek Read Direct Memory Access

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,rdma.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek Read Direct Memory Access(RDMA) component used to read the data into DMA. It provides real time data to the back-end panel driver, such as DSI, DPI and DP_INTF. It contains one line buffer to store the sufficient pixel data. RDMA device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt2701-disp-rdma", "mediatek,mt8173-disp-rdma", "mediatek,mt8183-disp-rdma", "mediatek,mt8195-disp-rdma"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8188-disp-rdma"

Item 2

Exact value (const): "mediatek,mt8195-disp-rdma"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt7623-disp-rdma", "mediatek,mt2712-disp-rdma"

Item 2

Exact value (const): "mediatek,mt2701-disp-rdma"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt6795-disp-rdma"

Item 2

Exact value (const): "mediatek,mt8173-disp-rdma"

Rule 5

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8186-disp-rdma", "mediatek,mt8192-disp-rdma", "mediatek,mt8365-disp-rdma"

Item 2

Exact value (const): "mediatek,mt8183-disp-rdma"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

RDMA Clock

iommus — required here #

This property should point to the respective IOMMU block with master port as argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.

mediatek,rdma-fifo-size — not listed as required here #

rdma fifo size may be different even in same SOC, add this property to the corresponding rdma. The value below is the Max value which defined in hardware data sheet mediatek,rdma-fifo-size of mt8173-rdma0 is 8K mediatek,rdma-fifo-size of mt8183-rdma0 is 5K mediatek,rdma-fifo-size of mt8183-rdma1 is 2K

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 8192, 5120, 2048

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

RDMA input port, usually from MMSYS, OD or OVL

port@1 — required here

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

RDMA output to the input of the next desired component in the display pipeline, for example one of the available COLOR, DPI, DSI, MERGE or UFOE blocks.

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

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks", "iommus"

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/clock/mt8173-clk.h>
#include <dt-bindings/power/mt8173-power.h>
#include <dt-bindings/gce/mt8173-gce.h>
#include <dt-bindings/memory/mt8173-larb-port.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    rdma0: rdma@1400e000 {
        compatible = "mediatek,mt8173-disp-rdma";
        reg = <0 0x1400e000 0 0x1000>;
        interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
        clocks = <&mmsys CLK_MM_DISP_RDMA0>;
        iommus = <&iommu M4U_PORT_DISP_RDMA0>;
        mediatek,rdma-fifo-size = <8192>;
        mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xe000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek display split

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,split.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display split, namely SPLIT, is used to split stream to two encoders. SPLIT device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8173-disp-split", "mediatek,mt8195-mdp3-split"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt6795-disp-split"

Item 2

Exact value (const): "mediatek,mt8173-disp-split"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

Maximum number of items (maxItems): 1

mediatek,gce-client-reg — not listed as required here #

The register of display function block to be set by gce. There are 4 arguments, such as gce node, subsys id, offset and register size. The subsys id that is mapping to the register of display function blocks is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Array item rules (items)

Item 1

phandle of GCE

Item 2

GCE subsys id

Item 3

register offset

Item 4

register size

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

SPLIT Clock

Item 2

Used for interfacing with the HDMI RX signal source.

Item 3

Paired with receiving HDMI RX metadata.

Minimum number of items (minItems): 1

Required in this object (required): "compatible", "reg", "power-domains", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "mediatek,mt8195-mdp3-split"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Required in this object (required): "mediatek,gce-client-reg"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "mediatek,mt8173-disp-split"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8173-clk.h>
#include <dt-bindings/power/mt8173-power.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    split0: split@14018000 {
        compatible = "mediatek,mt8173-disp-split";
        reg = <0 0x14018000 0 0x1000>;
        power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
        clocks = <&mmsys CLK_MM_DISP_SPLIT0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek display UFOe

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,ufoe.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek display UFOe stands for Unified Frame Optimization engine. UFOe can cut the data rate for DSI port which may lead to reduce power consumption. UFOe device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8173-disp-ufoe"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt6795-disp-ufoe"

Item 2

Exact value (const): "mediatek,mt8173-disp-ufoe"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

UFOe Clock

ports — not listed as required here #

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

Input and output ports can have multiple endpoints, each of those connects to either the primary, secondary, etc, display pipeline.

Properties and child nodes (properties) #

port@0 — required here

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

UFOE input, usually from one of the RDMA blocks.

port@1 — required here

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

UFOE output to the input of the next desired component in the display pipeline, usually one of the available DSI blocks.

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

mediatek,gce-client-reg — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

describes how to locate the GCE client register

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

Phandle reference to a Mediatek GCE Mailbox

Item 2

GCE subsys id mapping to a client defined in header include/dt-bindings/gce/<chip>-gce.h.

Item 3

offset for the GCE register offset

Item 4

size of the GCE register offset

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks"

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/clock/mt8173-clk.h>
#include <dt-bindings/gce/mt8173-gce.h>
#include <dt-bindings/power/mt8173-power.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    ufoe@1401a000 {
        compatible = "mediatek,mt8173-disp-ufoe";
        reg = <0 0x1401a000 0 0x1000>;
        interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
        clocks = <&mmsys CLK_MM_DISP_UFOE>;
        mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0xa000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek Write Direct Memory Access

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / mediatek

Schema identifier ($id): "http://devicetree.org/schemas/display/mediatek/mediatek,wdma.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek Write Direct Memory Access(WDMA) component used to write the data into DMA. WDMA device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8173-disp-wdma"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt6795-disp-wdma"

Item 2

Exact value (const): "mediatek,mt8173-disp-wdma"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — required here #

Array item rules (items) #

Item 1

WDMA Clock

iommus — required here #

This property should point to the respective IOMMU block with master port as argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.

mediatek,gce-client-reg — not listed as required here #

The register of client driver can be configured by gce with 4 arguments defined in this property, such as phandle of gce, subsys id, register offset and size. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "clocks", "iommus"

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/clock/mt8173-clk.h>
#include <dt-bindings/power/mt8173-power.h>
#include <dt-bindings/gce/mt8173-gce.h>
#include <dt-bindings/memory/mt8173-larb-port.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    wdma0: wdma@14011000 {
        compatible = "mediatek,mt8173-disp-wdma";
        reg = <0 0x14011000 0 0x1000>;
        interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
        clocks = <&mmsys CLK_MM_DISP_WDMA0>;
        iommus = <&iommu M4U_PORT_DISP_WDMA0>;
        mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x1000 0x1000>;
    };
};

Source notes #

Annotations retained from the schema source

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

MSM Display Port Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dp-controller.yaml#"

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

Maintainers (maintainers): "Kuogee Hsieh <quic_khsieh@quicinc.com>", "Abhinav Kumar <quic_abhinavk@quicinc.com>"

Device tree bindings for DisplayPort host controller for MSM targets that are compatible with VESA DisplayPort interface specification.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,glymur-dp", "qcom,sa8775p-dp", "qcom,sc7180-dp", "qcom,sc7280-dp", "qcom,sc7280-edp", "qcom,sc8180x-dp", "qcom,sc8180x-edp", "qcom,sc8280xp-dp", "qcom,sc8280xp-edp", "qcom,sdm845-dp", "qcom,sm8350-dp", "qcom,sm8650-dp", "qcom,x1e80100-dp"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,qcs8300-dp"

Item 2

Exact value (const): "qcom,sa8775p-dp"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "qcom,sm6350-dp"

Item 2

Exact value (const): "qcom,sc7180-dp"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "qcom,sm6350-dp"

Item 2

Exact value (const): "qcom,sm8350-dp"

Deprecated (deprecated): true

Rule 5

Array item rules (items)

Item 1

Allowed values (enum): "qcom,sar2130p-dp", "qcom,sm7150-dp", "qcom,sm8150-dp", "qcom,sm8250-dp", "qcom,sm8450-dp", "qcom,sm8550-dp"

Item 2

Exact value (const): "qcom,sm8350-dp"

Rule 6

Array item rules (items)

Item 1

Allowed values (enum): "qcom,sm6150-dp"

Item 2

Exact value (const): "qcom,sm8150-dp"

Item 3

Exact value (const): "qcom,sm8350-dp"

Rule 7

Array item rules (items)

Item 1

Allowed values (enum): "qcom,sm8750-dp"

Item 2

Exact value (const): "qcom,sm8650-dp"

reg — required here #

Minimum number of items (minItems): 4

Array item rules (items) #

Item 1

ahb register block

Item 2

aux register block

Item 3

link register block

Item 4

p0 register block

Item 5

p1 register block

Item 6

p2 register block

Item 7

p3 register block

Item 8

mst2link register block

Item 9

mst3link register block

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 5

Array item rules (items) #

Item 1

AHB clock to enable register access

Item 2

Display Port AUX clock

Item 3

Display Port Link clock

Item 4

Link interface clock between DP and PHY

Item 5

Display Port stream 0 Pixel clock

Item 6

Display Port stream 1 Pixel clock

Item 7

Display Port stream 2 Pixel clock

Item 8

Display Port stream 3 Pixel clock

clock-names — required here #

Minimum number of items (minItems): 5

Array item rules (items) #

Item 1

Exact value (const): "core_iface"

Item 2

Exact value (const): "core_aux"

Item 3

Exact value (const): "ctrl_link"

Item 4

Exact value (const): "ctrl_link_iface"

Item 5

Exact value (const): "stream_pixel"

Item 6

Exact value (const): "stream_1_pixel"

Item 7

Exact value (const): "stream_2_pixel"

Item 8

Exact value (const): "stream_3_pixel"

phys — required here #

Maximum number of items (maxItems): 1

phy-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dp"

operating-points-v2 — not listed as required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

power-domains — required here #

Maximum number of items (maxItems): 1

aux-bus — not listed as required here #

Shared schema rule ($ref): /schemas/display/dp-aux-bus.yaml#

data-lanes — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Deprecated (deprecated): true

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Array item rules (items) #

Maximum value (maximum): 3

#sound-dai-cells — not listed as required here #

Exact value (const): 0

vdda-0p9-supply — not listed as required here #

Deprecated (deprecated): true

vdda-1p2-supply — not listed as required here #

Deprecated (deprecated): true

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#/properties/port

Input endpoint of the controller

port@1 — 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.

Output endpoint of the controller

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Array item rules (items)

Allowed values (enum): 0, 1, 2, 3

link-frequencies — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Array item rules (items)

Allowed values (enum): 1620000000, 2700000000, 5400000000, 8100000000

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

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "phys", "phy-names", "power-domains", "ports"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc7280-edp", "qcom,sc8180x-edp", "qcom,sc8280xp-edp"

When the condition matches (then) #

Properties and child nodes (properties)

#sound-dai-cells — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,glymur-dp", "qcom,sa8775p-dp", "qcom,x1e80100-dp"

When the condition matches (then)

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Exactly one of these rules must match (oneOf)

Rule 1

Required in this object (required): "aux-bus"

Rule 2

Required in this object (required): "#sound-dai-cells"

When the condition does not match (else)

Properties and child nodes (properties)

aux-bus — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "#sound-dai-cells"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc7180-dp", "qcom,sc7280-dp", "qcom,sc7280-edp", "qcom,sc8180x-edp", "qcom,sc8280xp-edp"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

clocks — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

clocks-names — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc8280xp-dp", "qcom,x1e80100-dp"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

clocks — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 6

clocks-names — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 6

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc8180x-dp", "qcom,sdm845-dp", "qcom,sm8350-dp", "qcom,sm8650-dp"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

clocks — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

clocks-names — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sa8775p-dp"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 9

Maximum number of items (maxItems): 9

clocks — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 8

clocks-names — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 8

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,glymur-dp"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 9

Maximum number of items (maxItems): 9

clocks — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 6

clocks-names — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 6

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,dispcc-sc7180.h>
#include <dt-bindings/power/qcom-rpmpd.h>

displayport-controller@ae90000 {
    compatible = "qcom,sc7180-dp";
    reg = <0xae90000 0x200>,
          <0xae90200 0x200>,
          <0xae90400 0xc00>,
          <0xae91000 0x400>,
          <0xae91400 0x400>;
    interrupt-parent = <&mdss>;
    interrupts = <12>;
    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_DP_AUX_CLK>,
             <&dispcc DISP_CC_MDSS_DP_LINK_CLK>,
             <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>,
             <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>;
    clock-names = "core_iface", "core_aux",
                  "ctrl_link",
                  "ctrl_link_iface", "stream_pixel";

    assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
                      <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>;

    assigned-clock-parents = <&dp_phy 0>, <&dp_phy 1>;

    phys = <&dp_phy>;
    phy-names = "dp";

    #sound-dai-cells = <0>;

    power-domains = <&rpmhpd SC7180_CX>;

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

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dpu_intf0_out>;
            };
        };

        port@1 {
            reg = <1>;
            endpoint {
                remote-endpoint = <&typec>;
                data-lanes = <0 1>;
                link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 45: deprecated entry for compatibility with old DT

Line 191: AUX BUS does not exist on DP controllers

Line 192: Audio output also is present only on DP output

Line 231: these platforms support SST only

Line 254: these platforms support 2 streams MST on some interfaces,

Line 255: others are SST only

Line 274: 2 streams MST

Line 297: these platforms support 4 stream MST on first DP,

Line 298: 2 streams MST on the second one.

Line 317: these platforms support 2 streams MST on some interfaces,

Line 318: others are SST only, but all controllers have 4 ports

Qualcomm Display DPU common properties

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dpu-common.yaml#"

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

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>", "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>", "Rob Clark <robdclark@gmail.com>"

Common properties for QCom DPU display controller.

Automatic schema selection (select) #

false

Not selected automatically by this rule.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^display-controller@[0-9a-f]+$"

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

operating-points-v2 — required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

ports — required here #

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

Contains the list of output ports from DPU device. These ports connect to interfaces that are external to the DPU hardware, such as DSI, DP etc.

Properties matching a name pattern (patternProperties) #

^port@[0-9a-f]+$ — name matches this regular expression

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

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

Required in this object (required): "interrupts", "power-domains", "operating-points-v2", "ports"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 16: Do not select this by default, otherwise it is also selected for all

Line 17: display-controller@ nodes

Line 46: at least one port is required

Qualcomm Display DSI controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dsi-controller-main.yaml#"

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

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "qcom,apq8064-dsi-ctrl", "qcom,kaanapali-dsi-ctrl", "qcom,msm8226-dsi-ctrl", "qcom,msm8916-dsi-ctrl", "qcom,msm8953-dsi-ctrl", "qcom,msm8974-dsi-ctrl", "qcom,msm8976-dsi-ctrl", "qcom,msm8996-dsi-ctrl", "qcom,msm8998-dsi-ctrl", "qcom,qcm2290-dsi-ctrl", "qcom,sa8775p-dsi-ctrl", "qcom,sar2130p-dsi-ctrl", "qcom,sc7180-dsi-ctrl", "qcom,sc7280-dsi-ctrl", "qcom,sc8180x-dsi-ctrl", "qcom,sdm660-dsi-ctrl", "qcom,sdm670-dsi-ctrl", "qcom,sdm845-dsi-ctrl", "qcom,sm6115-dsi-ctrl", "qcom,sm6125-dsi-ctrl", "qcom,sm6150-dsi-ctrl", "qcom,sm6350-dsi-ctrl", "qcom,sm6375-dsi-ctrl", "qcom,sm7150-dsi-ctrl", "qcom,sm8150-dsi-ctrl", "qcom,sm8250-dsi-ctrl", "qcom,sm8350-dsi-ctrl", "qcom,sm8450-dsi-ctrl", "qcom,sm8550-dsi-ctrl", "qcom,sm8650-dsi-ctrl", "qcom,sm8750-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,qcs8300-dsi-ctrl"

Item 2

Exact value (const): "qcom,sa8775p-dsi-ctrl"

Item 3

Exact value (const): "qcom,mdss-dsi-ctrl"

Rule 3

Allowed values (enum): "qcom,dsi-ctrl-6g-qcm2290", "qcom,mdss-dsi-ctrl"

Deprecated (deprecated): true

reg — required here #

Maximum number of items (maxItems): 1

reg-names — required here #

Exact value (const): "dsi_ctrl"

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Several clocks are used, depending on the variant. Typical ones are:: - bus:: Display AHB clock. - byte:: Display byte clock. - byte_intf:: Display byte interface clock. - core:: Display core clock. - core_mss:: Core MultiMedia SubSystem clock. - iface:: Display AXI clock. - mdp_core:: MDP Core clock. - mnoc:: MNOC clock - pixel:: Display pixel clock.

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 12

clock-names — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 12

phys — required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Deprecated (deprecated): true

Exact value (const): "dsi"

syscon-sfpb — not listed as required here #

A phandle to mmss_sfpb syscon node (only for DSIv2).

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

qcom,dual-dsi-mode — not listed as required here #

Value type (type): "boolean"

Indicates if the DSI controller is driving a panel which needs 2 DSI links.

qcom,master-dsi — not listed as required here #

Value type (type): "boolean"

Indicates if the DSI controller is the master DSI controller when qcom,dual-dsi-mode enabled.

qcom,sync-dual-dsi — not listed as required here #

Value type (type): "boolean"

Indicates if the DSI controller needs to sync the other DSI controller with MIPI DCS commands when qcom,dual-dsi-mode enabled.

assigned-clocks — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

For DSI on SM8650 and older: parents of "byte" and "pixel" for the given platform. For DSIv2 platforms this should contain "byte", "esc", "src" and "pixel_src" clocks.

assigned-clock-parents — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block.

power-domains — 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.

opp-table — not listed as required here #

Value type (type): "object"

ports — required here #

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

Contains DSI controller input and output ports as children, each containing one endpoint subnode.

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.

Input endpoints of the controller.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

Maximum number of items (maxItems): 4

Minimum number of items (minItems): 1

Array item rules (items)

Allowed values (enum): 0, 1, 2, 3

port@1 — 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.

Output endpoints of the controller.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

Maximum number of items (maxItems): 4

Minimum number of items (minItems): 1

Array item rules (items)

Allowed values (enum): 0, 1, 2, 3

qcom,te-source — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Specifies the source of vsync signal from the panel used for tearing elimination.

Default value (default): "mdp_vsync_p"

Allowed values (enum): "mdp_vsync_p", "mdp_vsync_s", "mdp_vsync_e", "timer0", "timer1", "timer2", "timer3", "timer4"

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

avdd-supply — not listed as required here #

Phandle to vdd regulator device node

refgen-supply — not listed as required here #

Phandle to REFGEN regulator device node

vcca-supply — not listed as required here #

Phandle to vdd regulator device node

vdd-supply — not listed as required here #

VDD regulator

vddio-supply — not listed as required here #

VDD-IO regulator

vdda-supply — not listed as required here #

VDDA regulator

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names", "phys", "ports"

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 here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,apq8064-dsi-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 7

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "core_mmss"

Item 4

Exact value (const): "src"

Item 5

Exact value (const): "byte"

Item 6

Exact value (const): "pixel"

Item 7

Exact value (const): "core"

Required in this object (required): "assigned-clocks", "assigned-clock-parents"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,msm8916-dsi-ctrl", "qcom,msm8953-dsi-ctrl", "qcom,msm8976-dsi-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "mdp_core"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "bus"

Item 4

Exact value (const): "byte"

Item 5

Exact value (const): "pixel"

Item 6

Exact value (const): "core"

Required in this object (required): "assigned-clocks", "assigned-clock-parents"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,msm8226-dsi-ctrl", "qcom,msm8974-dsi-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 7

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "mdp_core"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "bus"

Item 4

Exact value (const): "byte"

Item 5

Exact value (const): "pixel"

Item 6

Exact value (const): "core"

Item 7

Exact value (const): "core_mmss"

Required in this object (required): "assigned-clocks", "assigned-clock-parents"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,msm8996-dsi-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 7

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "mdp_core"

Item 2

Exact value (const): "byte"

Item 3

Exact value (const): "iface"

Item 4

Exact value (const): "bus"

Item 5

Exact value (const): "core_mmss"

Item 6

Exact value (const): "pixel"

Item 7

Exact value (const): "core"

Required in this object (required): "assigned-clocks", "assigned-clock-parents"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,msm8998-dsi-ctrl", "qcom,sa8775p-dsi-ctrl", "qcom,sar2130p-dsi-ctrl", "qcom,sc7180-dsi-ctrl", "qcom,sc7280-dsi-ctrl", "qcom,sc8180x-dsi-ctrl", "qcom,sdm845-dsi-ctrl", "qcom,sm6115-dsi-ctrl", "qcom,sm6125-dsi-ctrl", "qcom,sm6350-dsi-ctrl", "qcom,sm6375-dsi-ctrl", "qcom,sm6150-dsi-ctrl", "qcom,sm7150-dsi-ctrl", "qcom,sm8150-dsi-ctrl", "qcom,sm8250-dsi-ctrl", "qcom,sm8350-dsi-ctrl", "qcom,sm8450-dsi-ctrl", "qcom,sm8550-dsi-ctrl", "qcom,sm8650-dsi-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "byte"

Item 2

Exact value (const): "byte_intf"

Item 3

Exact value (const): "pixel"

Item 4

Exact value (const): "core"

Item 5

Exact value (const): "iface"

Item 6

Exact value (const): "bus"

Required in this object (required): "assigned-clocks", "assigned-clock-parents"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,kaanapali-dsi-ctrl", "qcom,sm8750-dsi-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 12

Maximum number of items (maxItems): 12

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "byte"

Item 2

Exact value (const): "byte_intf"

Item 3

Exact value (const): "pixel"

Item 4

Exact value (const): "core"

Item 5

Exact value (const): "iface"

Item 6

Exact value (const): "bus"

Item 7

Exact value (const): "dsi_pll_pixel"

Item 8

Exact value (const): "dsi_pll_byte"

Item 9

Exact value (const): "esync"

Item 10

Exact value (const): "osc"

Item 11

Exact value (const): "byte_src"

Item 12

Exact value (const): "pixel_src"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sdm660-dsi-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 9

Maximum number of items (maxItems): 9

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "mdp_core"

Item 2

Exact value (const): "byte"

Item 3

Exact value (const): "byte_intf"

Item 4

Exact value (const): "mnoc"

Item 5

Exact value (const): "iface"

Item 6

Exact value (const): "bus"

Item 7

Exact value (const): "core_mmss"

Item 8

Exact value (const): "pixel"

Item 9

Exact value (const): "core"

Required in this object (required): "assigned-clocks", "assigned-clock-parents"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/power/qcom-rpmpd.h>

dsi@ae94000 {
    compatible = "qcom,sc7180-dsi-ctrl", "qcom,mdss-dsi-ctrl";
    reg = <0x0ae94000 0x400>;
    reg-names = "dsi_ctrl";

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

    interrupt-parent = <&mdss>;
    interrupts = <4>;

    clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
             <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
             <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
             <&dispcc DISP_CC_MDSS_ESC0_CLK>,
             <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_AXI_CLK>;
    clock-names = "byte",
                  "byte_intf",
                  "pixel",
                  "core",
                  "iface",
                  "bus";

    phys = <&dsi0_phy>;
    phy-names = "dsi";

    assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
    assigned-clock-parents = <&dsi_phy 0>, <&dsi_phy 1>;

    power-domains = <&rpmhpd SC7180_CX>;
    operating-points-v2 = <&dsi_opp_table>;

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

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dpu_intf1_out>;
            };
        };

        port@1 {
            reg = <1>;
            endpoint {
                remote-endpoint = <&sn65dsi86_in>;
                data-lanes = <0 1 2 3>;
                qcom,te-source = "mdp_vsync_e";
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 56: This should always come with an SoC-specific compatible

Qualcomm Display DSI 10nm PHY

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dsi-phy-10nm.yaml#"

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

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dsi-phy-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,dsi-phy-10nm", "qcom,dsi-phy-10nm-8998"

reg — required here #

Array item rules (items) #

Item 1

dsi phy register set

Item 2

dsi phy lane register set

Item 3

dsi pll register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dsi_phy"

Item 2

Exact value (const): "dsi_phy_lane"

Item 3

Exact value (const): "dsi_pll"

vdds-supply — not listed as required here #

Connected to DSI0_MIPI_DSI_PLL_VDDA0P9 pin for sc7180 target and connected to VDDA_MIPI_DSI_0_PLL_0P9 pin for sdm845 target

qcom,phy-rescode-offset-top — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/int8-array

Maximum number of items (maxItems): 5

Integer array of offset for pull-up legs rescode for all five lanes. To offset the drive strength from the calibrated value in an increasing manner, -32 is the weakest and +31 is the strongest.

Array item rules (items) #

Minimum value (minimum): -32

Maximum value (maximum): 31

qcom,phy-rescode-offset-bot — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/int8-array

Maximum number of items (maxItems): 5

Integer array of offset for pull-down legs rescode for all five lanes. To offset the drive strength from the calibrated value in a decreasing manner, -32 is the weakest and +31 is the strongest.

Array item rules (items) #

Minimum value (minimum): -32

Maximum value (maximum): 31

qcom,phy-drive-ldo-level — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

The PHY LDO has an amplitude tuning feature to adjust the LDO output for the HSTX drive. Use supported levels (mV) to offset the drive level from the default value.

Allowed values (enum): 375, 400, 425, 450, 475, 500

Required in this object (required): "compatible", "reg", "reg-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>

dsi-phy@ae94400 {
    compatible = "qcom,dsi-phy-10nm";
    reg = <0x0ae94400 0x200>,
          <0x0ae94600 0x280>,
          <0x0ae94a00 0x1e0>;
    reg-names = "dsi_phy",
                "dsi_phy_lane",
                "dsi_pll";

    #clock-cells = <1>;
    #phy-cells = <0>;

    vdds-supply = <&vdda_mipi_dsi0_pll>;
    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&rpmhcc RPMH_CXO_CLK>;
    clock-names = "iface", "ref";

    qcom,phy-rescode-offset-top = /bits/ 8 <0 0 0 0 0>;
    qcom,phy-rescode-offset-bot = /bits/ 8 <0 0 0 0 0>;
    qcom,phy-drive-ldo-level = <400>;
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Display DSI 14nm PHY

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dsi-phy-14nm.yaml#"

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

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dsi-phy-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,dsi-phy-14nm", "qcom,dsi-phy-14nm-2290", "qcom,dsi-phy-14nm-660", "qcom,dsi-phy-14nm-8953", "qcom,sm6125-dsi-phy-14nm", "qcom,sm6150-dsi-phy-14nm"

reg — required here #

Array item rules (items) #

Item 1

dsi phy register set

Item 2

dsi phy lane register set

Item 3

dsi pll register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dsi_phy"

Item 2

Exact value (const): "dsi_phy_lane"

Item 3

Exact value (const): "dsi_pll"

vcca-supply — not listed as required here #

Phandle to vcca regulator device node.

power-domains — not listed as required here #

A phandle and PM domain specifier for an optional power domain.

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

A phandle to an OPP node describing the power domain's performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "reg-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>

dsi-phy@ae94400 {
    compatible = "qcom,dsi-phy-14nm";
    reg = <0x0ae94400 0x200>,
          <0x0ae94600 0x280>,
          <0x0ae94a00 0x1e0>;
    reg-names = "dsi_phy",
                "dsi_phy_lane",
                "dsi_pll";

    #clock-cells = <1>;
    #phy-cells = <0>;

    vcca-supply = <&vcca_reg>;
    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&rpmhcc RPMH_CXO_CLK>;
    clock-names = "iface", "ref";
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Display DSI 20nm PHY

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dsi-phy-20nm.yaml#"

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

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dsi-phy-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,dsi-phy-20nm"

reg — required here #

Array item rules (items) #

Item 1

dsi pll register set

Item 2

dsi phy register set

Item 3

dsi phy regulator register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dsi_pll"

Item 2

Exact value (const): "dsi_phy"

Item 3

Exact value (const): "dsi_phy_regulator"

vcca-supply — required here #

Phandle to vcca regulator device node.

vddio-supply — required here #

Phandle to vdd-io regulator device node.

Required in this object (required): "compatible", "reg", "reg-names", "vddio-supply", "vcca-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>

dsi-phy@fd922a00 {
    compatible = "qcom,dsi-phy-20nm";
    reg = <0xfd922a00 0xd4>,
          <0xfd922b00 0x2b0>,
          <0xfd922d80 0x7b>;
    reg-names = "dsi_pll",
                "dsi_phy",
                "dsi_phy_regulator";

    #clock-cells = <1>;
    #phy-cells = <0>;

    vcca-supply = <&vcca_reg>;
    vddio-supply = <&vddio_reg>;

    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&rpmhcc RPMH_CXO_CLK>;
    clock-names = "iface", "ref";
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Display DSI 28nm PHY

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dsi-phy-28nm.yaml#"

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

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dsi-phy-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,dsi-phy-28nm-8226", "qcom,dsi-phy-28nm-8937", "qcom,dsi-phy-28nm-8960", "qcom,dsi-phy-28nm-hpm", "qcom,dsi-phy-28nm-hpm-fam-b", "qcom,dsi-phy-28nm-lp"

reg — required here #

Array item rules (items) #

Item 1

dsi pll register set

Item 2

dsi phy register set

Item 3

dsi phy regulator register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dsi_pll"

Item 2

Exact value (const): "dsi_phy"

Item 3

Exact value (const): "dsi_phy_regulator"

vddio-supply — required here #

Phandle to vdd-io regulator device node.

qcom,dsi-phy-regulator-ldo-mode — not listed as required here #

Value type (type): "boolean"

Indicates if the LDO mode PHY regulator is wanted.

Required in this object (required): "compatible", "reg", "reg-names", "vddio-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>

dsi-phy@fd922a00 {
    compatible = "qcom,dsi-phy-28nm-lp";
    reg = <0xfd922a00 0xd4>,
          <0xfd922b00 0x2b0>,
          <0xfd922d80 0x7b>;
    reg-names = "dsi_pll",
                "dsi_phy",
                "dsi_phy_regulator";

    #clock-cells = <1>;
    #phy-cells = <0>;

    vddio-supply = <&vddio_reg>;

    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&rpmhcc RPMH_CXO_CLK>;
    clock-names = "iface", "ref";
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Display DSI 7nm PHY

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dsi-phy-7nm.yaml#"

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

Maintainers (maintainers): "Jonathan Marek <jonathan@marek.ca>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dsi-phy-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "qcom,dsi-phy-7nm", "qcom,dsi-phy-7nm-8150", "qcom,kaanapali-dsi-phy-3nm", "qcom,sa8775p-dsi-phy-5nm", "qcom,sar2130p-dsi-phy-5nm", "qcom,sc7280-dsi-phy-7nm", "qcom,sm6375-dsi-phy-7nm", "qcom,sm8350-dsi-phy-5nm", "qcom,sm8450-dsi-phy-5nm", "qcom,sm8550-dsi-phy-4nm", "qcom,sm8650-dsi-phy-4nm", "qcom,sm8750-dsi-phy-3nm"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,qcs8300-dsi-phy-5nm"

Item 2

Exact value (const): "qcom,sa8775p-dsi-phy-5nm"

reg — required here #

Array item rules (items) #

Item 1

dsi phy register set

Item 2

dsi phy lane register set

Item 3

dsi pll register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dsi_phy"

Item 2

Exact value (const): "dsi_phy_lane"

Item 3

Exact value (const): "dsi_pll"

vdds-supply — not listed as required here #

Connected to VDD_A_DSI_PLL_0P9 pin (or VDDA_DSI{0,1}_PLL_0P9 for sm8150)

phy-type — not listed as required here #

D-PHY (default) or C-PHY mode

Allowed values (enum): 10, 11

Default value (default): 10

Required in this object (required): "compatible", "reg", "reg-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sm8250.h>
#include <dt-bindings/clock/qcom,rpmh.h>

dsi-phy@ae94400 {
    compatible = "qcom,dsi-phy-7nm";
    reg = <0x0ae94400 0x200>,
          <0x0ae94600 0x280>,
          <0x0ae94900 0x260>;
    reg-names = "dsi_phy",
                "dsi_phy_lane",
                "dsi_pll";

    #clock-cells = <1>;
    #phy-cells = <0>;

    vdds-supply = <&vreg_l5a_0p88>;
    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&rpmhcc RPMH_CXO_CLK>;
    clock-names = "iface", "ref";
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Display DSI PHY Common Properties

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dsi-phy-common.yaml#"

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

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

Common properties for Qualcomm Display DSI PHY.

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

See include/dt-bindings/clock/qcom,dsi-phy-28nm.h for clock IDs.

#phy-cells — required here #

Exact value (const): 0

clocks — required here #

Array item rules (items) #

Item 1

Display AHB clock

Item 2

Board XO source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "ref"

Required in this object (required): "clocks", "clock-names", "#clock-cells", "#phy-cells"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

GMU attached to certain Adreno GPUs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/gmu.yaml#"

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

Maintainers (maintainers): "Rob Clark <robdclark@gmail.com>"

These bindings describe the Graphics Management Unit (GMU) that is attached to members of the Adreno A6xx GPU family. The GMU provides on-device power management and support to improve power efficiency and reduce the load on the CPU.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

String pattern (pattern): "^qcom,adreno-gmu-[6-8][0-9][0-9]\\.[0-9]$"

Item 2

Exact value (const): "qcom,adreno-gmu"

Rule 2

Array item rules (items)

Item 1

String pattern (pattern): "^qcom,adreno-gmu-x[1-9][0-9][0-9]\\.[0-9]$"

Item 2

Exact value (const): "qcom,adreno-gmu"

Rule 3

Exact value (const): "qcom,adreno-gmu-wrapper"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

reg-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clocks — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 7

clock-names — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 7

interrupts — not listed as required here #

Array item rules (items) #

Item 1

GMU HFI interrupt

Item 2

GMU interrupt

interrupt-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "hfi"

Item 2

Exact value (const): "gmu"

power-domains — required here #

Array item rules (items) #

Item 1

CX power domain

Item 2

GX power domain

power-domain-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cx"

Item 2

Exact value (const): "gx"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

qcom,qmp — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Reference to the AOSS side-channel message RAM

operating-points-v2 — not listed as required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

Required in this object (required): "compatible", "reg", "reg-names", "power-domains", "power-domain-names"

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,adreno-gmu-618.0", "qcom,adreno-gmu-630.2"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

Core GMU registers

Item 2

GMU PDC registers

Item 3

GMU PDC sequence registers

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

Item 2

Exact value (const): "gmu_pdc"

Item 3

Exact value (const): "gmu_pdc_seq"

clocks — not listed as required here

Array item rules (items)

Item 1

GMU clock

Item 2

GPU CX clock

Item 3

GPU AXI clock

Item 4

GPU MEMNOC clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

Item 2

Exact value (const): "cxo"

Item 3

Exact value (const): "axi"

Item 4

Exact value (const): "memnoc"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,adreno-gmu-623.0"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

Core GMU registers

Item 2

Resource controller registers

Item 3

GMU PDC registers

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

Item 2

Exact value (const): "rscc"

Item 3

Exact value (const): "gmu_pdc"

clocks — not listed as required here

Array item rules (items)

Item 1

GMU clock

Item 2

GPU CX clock

Item 3

GPU AXI clock

Item 4

GPU MEMNOC clock

Item 5

GPU AHB clock

Item 6

GPU HUB CX clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

Item 2

Exact value (const): "cxo"

Item 3

Exact value (const): "axi"

Item 4

Exact value (const): "memnoc"

Item 5

Exact value (const): "ahb"

Item 6

Exact value (const): "hub"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,adreno-gmu-635.0", "qcom,adreno-gmu-660.1", "qcom,adreno-gmu-663.0"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

Core GMU registers

Item 2

Resource controller registers

Item 3

GMU PDC registers

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

Item 2

Exact value (const): "rscc"

Item 3

Exact value (const): "gmu_pdc"

clocks — not listed as required here

Array item rules (items)

Item 1

GMU clock

Item 2

GPU CX clock

Item 3

GPU AXI clock

Item 4

GPU MEMNOC clock

Item 5

GPU AHB clock

Item 6

GPU HUB CX clock

Item 7

GPU SMMU vote clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

Item 2

Exact value (const): "cxo"

Item 3

Exact value (const): "axi"

Item 4

Exact value (const): "memnoc"

Item 5

Exact value (const): "ahb"

Item 6

Exact value (const): "hub"

Item 7

Exact value (const): "smmu_vote"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,adreno-gmu-640.1"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

Core GMU registers

Item 2

GMU PDC registers

Item 3

GMU PDC sequence registers

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

Item 2

Exact value (const): "gmu_pdc"

Item 3

Exact value (const): "gmu_pdc_seq"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,adreno-gmu-650.2"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

Core GMU registers

Item 2

Resource controller registers

Item 3

GMU PDC registers

Item 4

GMU PDC sequence registers

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

Item 2

Exact value (const): "rscc"

Item 3

Exact value (const): "gmu_pdc"

Item 4

Exact value (const): "gmu_pdc_seq"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,adreno-gmu-640.1", "qcom,adreno-gmu-650.2"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

GPU AHB clock

Item 2

GMU clock

Item 3

GPU CX clock

Item 4

GPU AXI clock

Item 5

GPU MEMNOC clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "gmu"

Item 3

Exact value (const): "cxo"

Item 4

Exact value (const): "axi"

Item 5

Exact value (const): "memnoc"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,adreno-gmu-730.1", "qcom,adreno-gmu-740.1", "qcom,adreno-gmu-750.1", "qcom,adreno-gmu-x185.1"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

Core GMU registers

Item 2

Resource controller registers

Item 3

GMU PDC registers

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

Item 2

Exact value (const): "rscc"

Item 3

Exact value (const): "gmu_pdc"

clocks — not listed as required here

Array item rules (items)

Item 1

GPU AHB clock

Item 2

GMU clock

Item 3

GPU CX clock

Item 4

GPU AXI clock

Item 5

GPU MEMNOC clock

Item 6

GMU HUB clock

Item 7

GPUSS DEMET clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "gmu"

Item 3

Exact value (const): "cxo"

Item 4

Exact value (const): "axi"

Item 5

Exact value (const): "memnoc"

Item 6

Exact value (const): "hub"

Item 7

Exact value (const): "demet"

Required in this object (required): "qcom,qmp"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,adreno-gmu-840.1"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

Core GMU registers

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

clocks — not listed as required here

Array item rules (items)

Item 1

GPU AHB clock

Item 2

GMU clock

Item 3

GPU CX clock

Item 4

GPU MEMNOC clock

Item 5

GMU HUB clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "gmu"

Item 3

Exact value (const): "cxo"

Item 4

Exact value (const): "memnoc"

Item 5

Exact value (const): "hub"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,adreno-gmu-x285.1"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

Core GMU registers

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

clocks — not listed as required here

Array item rules (items)

Item 1

GPU AHB clock

Item 2

GMU clock

Item 3

GPU CX clock

Item 4

GPU MEMNOC clock

Item 5

GMU HUB clock

Item 6

GMU RSCC HUB clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "gmu"

Item 3

Exact value (const): "cxo"

Item 4

Exact value (const): "memnoc"

Item 5

Exact value (const): "hub"

Item 6

Exact value (const): "rscc"

Rule 10 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,adreno-gmu-wrapper"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

GMU wrapper register space

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gmu"

When the condition does not match (else) #

Required in this object (required): "clocks", "clock-names", "interrupts", "interrupt-names", "iommus", "operating-points-v2"

Examples (examples) #

#include <dt-bindings/clock/qcom,gpucc-sdm845.h>
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

gmu: gmu@506a000 {
    compatible = "qcom,adreno-gmu-630.2", "qcom,adreno-gmu";

    reg = <0x506a000 0x30000>,
          <0xb280000 0x10000>,
          <0xb480000 0x10000>;
    reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";

    clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
             <&gpucc GPU_CC_CXO_CLK>,
             <&gcc GCC_DDRSS_GPU_AXI_CLK>,
             <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
    clock-names = "gmu", "cxo", "axi", "memnoc";

    interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "hfi", "gmu";

    power-domains = <&gpucc GPU_CX_GDSC>,
                    <&gpucc GPU_GX_GDSC>;
    power-domain-names = "cx", "gx";

    iommus = <&adreno_smmu 5>;
    operating-points-v2 = <&gmu_opp_table>;
};

gmu_wrapper: gmu@596a000 {
    compatible = "qcom,adreno-gmu-wrapper";
    reg = <0x0596a000 0x30000>;
    reg-names = "gmu";
    power-domains = <&gpucc GPU_CX_GDSC>,
                    <&gpucc GPU_GX_GDSC>;
    power-domain-names = "cx", "gx";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 2: Copyright 2019-2020, The Linux Foundation, All Rights Reserved

Adreno or Snapdragon GPUs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/gpu.yaml#"

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

Maintainers (maintainers): "Rob Clark <robdclark@gmail.com>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "qcom,adreno", "amd,imageon"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

The driver is parsing the compat string for Adreno to figure out the chip-id.

Array item rules (items)

Item 1

String pattern (pattern): "^qcom,adreno-[0-9a-f]{8}$"

Item 2

Exact value (const): "qcom,adreno"

Rule 2

The driver is parsing the compat string for Adreno to figure out the gpu-id and patch level.

Array item rules (items)

Item 1

String pattern (pattern): "^qcom,adreno-[3-7][0-9][0-9]\\.[0-9]+$"

Item 2

Exact value (const): "qcom,adreno"

Rule 3

The driver is parsing the compat string for Imageon to figure out the gpu-id and patch level.

Array item rules (items)

Item 1

String pattern (pattern): "^amd,imageon-200\\.[0-1]$"

Item 2

Exact value (const): "amd,imageon"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 7

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 7

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

reg-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "kgsl_3d0_reg_memory"

Item 2

Exact value (const): "cx_mem"

Item 3

Exact value (const): "cx_dbgc"

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-names — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interconnect-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "gfx-mem"

Item 2

Exact value (const): "ocmem"

iommus — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

sram — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Array item rules (items) #

Maximum number of items (maxItems): 1

phandles to one or more reserved on-chip SRAM regions. phandle to the On Chip Memory (OCMEM) that's present on some a3xx and a4xx Snapdragon SoCs. See Documentation/devicetree/bindings/sram/qcom,ocmem.yaml

operating-points-v2 — not listed as required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

zap-shader — not listed as required here #

Value type (type): "object"

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

false

Not allowed by this rule.

For a5xx and a6xx devices this node contains a memory-region that points to reserved memory to store the zap shader that can be used to help bring the GPU out of secure mode.

Properties and child nodes (properties) #

memory-region — not listed as required here

Maximum number of items (maxItems): 1

firmware-name — not listed as required here

Default name of the firmware to load to the remote processor.

#cooling-cells — not listed as required here #

Exact value (const): 2

nvmem-cell-names — not listed as required here #

Maximum number of items (maxItems): 1

nvmem-cells — not listed as required here #

efuse registers

Maximum number of items (maxItems): 1

qcom,gmu — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

For GMU attached devices a phandle to the GMU device that will control the power for the GPU.

Required in this object (required): "compatible", "reg", "interrupts"

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exactly one of these rules must match (oneOf)

Rule 1

String pattern (pattern): "^qcom,adreno-305\\.[0-9]+$"

Rule 2

String pattern (pattern): "^qcom,adreno-330\\.[0-9]+$"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "core"

GPU Core clock

Item 2

Exact value (const): "iface"

GPU Interface clock

Item 3

Exact value (const): "mem_iface"

GPU Memory Interface clock

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

String pattern (pattern): "^qcom,adreno-306\\.[0-9]+$"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 6

clock-names — not listed as required here

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): "core"

GPU Core clock

Item 2

Exact value (const): "iface"

GPU Interface clock

Item 3

Exact value (const): "mem_iface"

GPU Memory Interface clock

Item 4

Exact value (const): "alt_mem_iface"

GPU Alternative Memory Interface clock

Item 5

Exact value (const): "gfx3d"

GPU 3D engine clock

Rule 2

Array item rules (items)

Item 1

Exact value (const): "core"

GPU Core clock

Item 2

Exact value (const): "iface"

GPU Interface clock

Item 3

Exact value (const): "mem"

GPU Memory clock

Item 4

Exact value (const): "mem_iface"

GPU Memory Interface clock

Item 5

Exact value (const): "alt_mem_iface"

GPU Alternative Memory Interface clock

Item 6

Exact value (const): "gfx3d"

GPU 3D engine clock

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

String pattern (pattern): "^qcom,adreno-320\\.[0-9]+$"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "core"

GPU Core clock

Item 2

Exact value (const): "iface"

GPU Interface clock

Item 3

Exact value (const): "mem"

GPU Memory clock

Item 4

Exact value (const): "mem_iface"

GPU Memory Interface clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

String pattern (pattern): "^qcom,adreno-405\\.[0-9]+$"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 7

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "core"

GPU Core clock

Item 2

Exact value (const): "iface"

GPU Interface clock

Item 3

Exact value (const): "mem"

GPU Memory clock

Item 4

Exact value (const): "mem_iface"

GPU Memory Interface clock

Item 5

Exact value (const): "alt_mem_iface"

GPU Alternative Memory Interface clock

Item 6

Exact value (const): "gfx3d"

GPU 3D engine clock

Item 7

Exact value (const): "rbbmtimer"

GPU RBBM Timer for Adreno 5xx series

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

String pattern (pattern): "^qcom,adreno-50[56]\\.[0-9]+$"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "core"

GPU Core clock

Item 2

Exact value (const): "iface"

GPU Interface clock

Item 3

Exact value (const): "mem_iface"

GPU Memory Interface clock

Item 4

Exact value (const): "alt_mem_iface"

GPU Alternative Memory Interface clock

Item 5

Exact value (const): "rbbmtimer"

GPU RBBM Timer for Adreno 5xx series

Item 6

Exact value (const): "alwayson"

GPU AON clock

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exactly one of these rules must match (oneOf)

Rule 1

String pattern (pattern): "^qcom,adreno-508\\.[0-9]+$"

Rule 2

String pattern (pattern): "^qcom,adreno-509\\.[0-9]+$"

Rule 3

String pattern (pattern): "^qcom,adreno-512\\.[0-9]+$"

Rule 4

String pattern (pattern): "^qcom,adreno-540\\.[0-9]+$"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "iface"

GPU Interface clock

Item 2

Exact value (const): "rbbmtimer"

GPU RBBM Timer for Adreno 5xx series

Item 3

Exact value (const): "mem"

GPU Memory clock

Item 4

Exact value (const): "mem_iface"

GPU Memory Interface clock

Item 5

Exact value (const): "rbcpr"

GPU RB Core Power Reduction clock

Item 6

Exact value (const): "core"

GPU Core clock

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

String pattern (pattern): "^qcom,adreno-510\\.[0-9]+$"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "core"

GPU Core clock

Item 2

Exact value (const): "iface"

GPU Interface clock

Item 3

Exact value (const): "mem"

GPU Memory clock

Item 4

Exact value (const): "mem_iface"

GPU Memory Interface clock

Item 5

Exact value (const): "rbbmtimer"

GPU RBBM Timer for Adreno 5xx series

Item 6

Exact value (const): "alwayson"

GPU AON clock

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

String pattern (pattern): "^qcom,adreno-530\\.[0-9]+$"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "core"

GPU Core clock

Item 2

Exact value (const): "iface"

GPU Interface clock

Item 3

Exact value (const): "rbbmtimer"

GPU RBBM Timer for Adreno 5xx series

Item 4

Exact value (const): "mem"

GPU Memory clock

Item 5

Exact value (const): "mem_iface"

GPU Memory Interface clock

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,adreno-610.0", "qcom,adreno-619.1", "qcom,adreno-07000200"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "core"

GPU Core clock

Item 2

Exact value (const): "iface"

GPU Interface clock

Item 3

Exact value (const): "mem_iface"

GPU Memory Interface clock

Item 4

Exact value (const): "alt_mem_iface"

GPU Alternative Memory Interface clock

Item 5

Exact value (const): "gmu"

CX GMU clock

Item 6

Exact value (const): "xo"

GPUCC clocksource clock

Required in this object (required): "clocks", "clock-names"

Rule 10 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,adreno-612.0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Array item rules (items)

Item 1

GPU Core clock

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "core"

reg — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "kgsl_3d0_reg_memory"

Item 2

Exact value (const): "cx_mem"

Item 3

Exact value (const): "cx_dbgc"

Required in this object (required): "clocks", "clock-names"

Rule 11 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,adreno-615.0", "qcom,adreno-618.0", "qcom,adreno-619.0", "qcom,adreno-621.0", "qcom,adreno-623.0", "qcom,adreno-630.2", "qcom,adreno-635.0", "qcom,adreno-640.1", "qcom,adreno-650.2", "qcom,adreno-660.1", "qcom,adreno-663.0", "qcom,adreno-680.1", "qcom,adreno-690.0", "qcom,adreno-730.1", "qcom,adreno-43030c00", "qcom,adreno-43050a01", "qcom,adreno-43050c01", "qcom,adreno-43051401"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

clock-names — not listed as required here

false — Not permitted by this property rule.

reg-names — not listed as required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): "kgsl_3d0_reg_memory"

Item 2

Exact value (const): "cx_mem"

Item 3

Exact value (const): "cx_dbgc"

Examples (examples) #


// Example a3xx/4xx:

#include <dt-bindings/clock/qcom,mmcc-msm8974.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

gpu: gpu@fdb00000 {
    compatible = "qcom,adreno-330.2", "qcom,adreno";

    reg = <0xfdb00000 0x10000>;
    reg-names = "kgsl_3d0_reg_memory";

    clock-names = "core", "iface", "mem_iface";
    clocks = <&mmcc OXILI_GFX3D_CLK>,
             <&mmcc OXILICX_AHB_CLK>,
             <&mmcc OXILICX_AXI_CLK>;

    interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "kgsl_3d0_irq";

    sram = <&gpu_sram>;
    power-domains = <&mmcc OXILICX_GDSC>;
    operating-points-v2 = <&gpu_opp_table>;
    iommus = <&gpu_iommu 0>;
    #cooling-cells = <2>;
};

ocmem@fdd00000 {
    compatible = "qcom,msm8974-ocmem";

    reg = <0xfdd00000 0x2000>,
          <0xfec00000 0x180000>;
    reg-names = "ctrl", "mem";

    clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>,
             <&mmcc OCMEMCX_OCMEMNOC_CLK>;
    clock-names = "core", "iface";

    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0 0xfec00000 0x100000>;

    gpu_sram: gpu-sram@0 {
        reg = <0x0 0x100000>;
    };
};

// Example a6xx (with GMU):

#include <dt-bindings/clock/qcom,gpucc-sdm845.h>
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sdm845.h>

reserved-memory {
    #address-cells = <2>;
    #size-cells = <2>;

    zap_shader_region: gpu@8f200000 {
        compatible = "shared-dma-pool";
        reg = <0x0 0x90b00000 0x0 0xa00000>;
        no-map;
    };
};

gpu@5000000 {
    compatible = "qcom,adreno-630.2", "qcom,adreno";

    reg = <0x5000000 0x40000>, <0x509e000 0x10>;
    reg-names = "kgsl_3d0_reg_memory", "cx_mem";

    #cooling-cells = <2>;

    interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;

    iommus = <&adreno_smmu 0>;

    operating-points-v2 = <&gpu_opp_table>;

    interconnects = <&rsc_hlos MASTER_GFX3D &rsc_hlos SLAVE_EBI1>;
    interconnect-names = "gfx-mem";

    qcom,gmu = <&gmu>;

    gpu_opp_table: opp-table {
        compatible = "operating-points-v2";

        opp-430000000 {
            opp-hz = /bits/ 64 <430000000>;
            opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
            opp-peak-kBps = <5412000>;
        };

        opp-355000000 {
            opp-hz = /bits/ 64 <355000000>;
            opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
            opp-peak-kBps = <3072000>;
        };

        opp-267000000 {
            opp-hz = /bits/ 64 <267000000>;
            opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
            opp-peak-kBps = <3072000>;
        };

        opp-180000000 {
            opp-hz = /bits/ 64 <180000000>;
            opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
            opp-peak-kBps = <1804000>;
        };
    };

    zap-shader {
        memory-region = <&zap_shader_region>;
        firmware-name = "qcom/LENOVO/81JL/qcdxkmsuc850.mbn";
    };
};

Source notes #

Annotations retained from the schema source

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

Line 13: dtschema does not select nodes based on pattern+const, so add custom select

Line 14: as a work-around:

Line 438: Starting with A6xx, the clocks are usually defined in the GMU node

Qualcomm Adreno/Snapdragon HDMI output

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/hdmi.yaml#"

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

Maintainers (maintainers): "Rob Clark <robdclark@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,hdmi-tx-8084", "qcom,hdmi-tx-8660", "qcom,hdmi-tx-8960", "qcom,hdmi-tx-8974", "qcom,hdmi-tx-8994", "qcom,hdmi-tx-8996", "qcom,hdmi-tx-8998"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

reg-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "core_physical"

Item 2

Exact value (const): "qfprom_physical"

Item 3

Exact value (const): "hdcp_physical"

interrupts — required here #

Maximum number of items (maxItems): 1

phys — required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Allowed values (enum): "hdmi_phy", "hdmi-phy"

Deprecated (deprecated): true

core-vdda-supply — not listed as required here #

phandle to VDDA supply regulator

hdmi-mux-supply — not listed as required here #

phandle to mux regulator

Deprecated (deprecated): true

core-vcc-supply — not listed as required here #

phandle to VCC supply regulator

hpd-gpios — not listed as required here #

Maximum number of items (maxItems): 1

hpd pin

#sound-dai-cells — not listed as required here #

Exact value (const): 1

ports — not listed as required here #

Value type (type): "object"

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#/properties/port

Input endpoints of the controller.

port@1 — not listed as required here

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

Output endpoints of the controller.

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

Required in this object (required): "compatible", "clocks", "clock-names", "reg", "reg-names", "interrupts", "phys"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,hdmi-tx-8960", "qcom,hdmi-tx-8660"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "master_iface"

Item 3

Exact value (const): "slave_iface"

core-vcc-supplies — 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 here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,hdmi-tx-8974", "qcom,hdmi-tx-8084", "qcom,hdmi-tx-8994", "qcom,hdmi-tx-8996"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "mdp_core"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "alt_iface"

Item 5

Exact value (const): "extp"

hdmi-mux-supplies — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,hdmi-tx-8998"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 8

Maximum number of items (maxItems): 8

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "mdp_core"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "alt_iface"

Item 5

Exact value (const): "extp"

Item 6

Exact value (const): "bus"

Item 7

Exact value (const): "mnoc"

Item 8

Exact value (const): "iface_mmss"

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>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
hdmi: hdmi@4a00000 {
  compatible = "qcom,hdmi-tx-8960";
  reg-names = "core_physical";
  reg = <0x04a00000 0x2f0>;
  interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
  clock-names = "core",
                "master_iface",
                "slave_iface";
  clocks = <&clk 61>,
           <&clk 72>,
           <&clk 98>;
  hpd-gpios = <&msmgpio 72 GPIO_ACTIVE_HIGH>;
  core-vdda-supply = <&pm8921_hdmi_mvs>;
  hdmi-mux-supply = <&ext_3p3v>;
  pinctrl-names = "default", "sleep";
  pinctrl-0 = <&hpd_active  &ddc_active  &cec_active>;
  pinctrl-1 = <&hpd_suspend &ddc_suspend &cec_suspend>;

  phys = <&hdmi_phy>;
};
#include <dt-bindings/clock/qcom,gcc-msm8996.h>
#include <dt-bindings/clock/qcom,mmcc-msm8996.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
hdmi@9a0000 {
  compatible = "qcom,hdmi-tx-8996";
  reg = <0x009a0000 0x50c>,
        <0x00070000 0x6158>,
        <0x009e0000 0xfff>;
  reg-names = "core_physical",
              "qfprom_physical",
              "hdcp_physical";

  interrupt-parent = <&mdss>;
  interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;

  clocks = <&mmcc MDSS_MDP_CLK>,
           <&mmcc MDSS_AHB_CLK>,
           <&mmcc MDSS_HDMI_CLK>,
           <&mmcc MDSS_HDMI_AHB_CLK>,
           <&mmcc MDSS_EXTPCLK_CLK>;
  clock-names = "mdp_core",
                "iface",
                "core",
                "alt_iface",
                "extp";

  phys = <&hdmi_phy>;
  #sound-dai-cells = <1>;

  pinctrl-names = "default", "sleep";
  pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>;
  pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>;

  core-vdda-supply = <&vreg_l12a_1p8>;
  core-vcc-supply = <&vreg_s4a_1p8>;

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

    port@0 {
      reg = <0>;
      endpoint {
        remote-endpoint = <&mdp5_intf3_out>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Adreno/Snapdragon MDP4 display controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/mdp4.yaml#"

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

MDP4 display controller found in SoCs like MSM8960, APQ8064 and MSM8660.

Maintainers (maintainers): "Rob Clark <robdclark@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,mdp4"

clocks — required here #

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 8

clock-names — not listed as required here #

Minimum number of items (minItems): 6

Array item rules (items) #

Item 1

Exact value (const): "core_clk"

Item 2

Exact value (const): "iface_clk"

Item 3

Exact value (const): "bus_clk"

Item 4

Exact value (const): "lut_clk"

Item 5

Exact value (const): "hdmi_clk"

Item 6

Exact value (const): "tv_clk"

Item 7

Exact value (const): "lcdc_clk"

Item 8

Exact value (const): "pxo"

XO used to drive the internal LVDS PLL

#clock-cells — not listed as required here #

Exact value (const): 0

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

iommus — not listed as required here #

Maximum number of items (maxItems): 4

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

LCDC/LVDS

port@1 — not listed as required here

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

DSI1 Cmd / Video

port@2 — not listed as required here

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

DSI2 Cmd / Video

port@3 — not listed as required here

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

Digital TV

qcom,lcdc-align-lsb — not listed as required here #

Value type (type): "boolean"

Indication that LSB alignment should be used for LCDC. This is only valid for 18bpp panels.

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

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

false

Not allowed by this rule.

Examples (examples) #

mdp: mdp@5100000 {
    compatible = "qcom,mdp4";
    reg = <0x05100000 0xf0000>;
    interrupts = <0 75 0>;
    clock-names =
        "core_clk",
        "iface_clk",
        "bus_clk",
        "lut_clk",
        "hdmi_clk",
        "tv_clk";
    clocks =
        <&mmcc 77>,
        <&mmcc 86>,
        <&mmcc 102>,
        <&mmcc 75>,
        <&mmcc 97>,
        <&mmcc 12>;

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

        port@0 {
            reg = <0>;
            mdp_lvds_out: endpoint {
            };
        };

        port@1 {
            reg = <1>;
            mdp_dsi1_out: endpoint {
            };
        };

        port@2 {
            reg = <2>;
            mdp_dsi2_out: endpoint {
            };
        };

        port@3 {
            reg = <3>;
            mdp_dtv_out: endpoint {
                remote-endpoint = <&hdmi_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Display MDSS common properties

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/mdss-common.yaml#"

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

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>", "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>", "Rob Clark <robdclark@gmail.com>"

Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Automatic schema selection (select) #

false

Not selected automatically by this rule.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^display-subsystem@[0-9a-f]+$"

reg — required here #

Maximum number of items (maxItems): 1

reg-names — required here #

Exact value (const): "mdss"

power-domains — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

clock-names — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

true — No constraints added by this property rule.

#size-cells — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Exact value (const): 1

iommus — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Phandle to apps_smmu node with SID mask for Hard-Fail port0

Item 2

Phandle to apps_smmu node with SID mask for Hard-Fail port1

ranges — required here #

true — No constraints added by this property rule.

interconnects — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Interconnect path from mdp0 (or a single mdp) port to the data bus

Item 2

Interconnect path from mdp1 port to the data bus

Item 3

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Rule 2

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "mdp1-mem"

Item 3

Exact value (const): "cpu-cfg"

resets — not listed as required here #

Array item rules (items) #

Item 1

MDSS_CORE reset

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

Phandle to a node describing a reserved framebuffer memory region. For example, the splash memory region set up by the bootloader.

Required in this object (required): "reg", "reg-names", "power-domains", "clocks", "interrupts", "interrupt-controller", "iommus", "ranges"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Line 18: Do not select this by default, otherwise it is also selected for qcom,mdss

Line 19: devices.

Line 64: This is not a perfect description, but it's impossible to discern and match

Line 65: the entries like we do with interconnect-names

RGMU attached to certain Adreno GPUs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,adreno-rgmu.yaml#"

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

Maintainers (maintainers): "Rob Clark <robin.clark@oss.qualcomm.com>"

RGMU (Reduced Graphics Management Unit) IP is present in some GPUs that belong to Adreno A6xx family. It is a small state machine that helps to toggle the GX GDSC (connected to CX rail) to implement IFPC feature and save power.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "qcom,adreno-rgmu-612.0"

Item 2

Exact value (const): "qcom,adreno-rgmu"

reg — required here #

Array item rules (items) #

Item 1

Core RGMU registers

clocks — required here #

Array item rules (items) #

Item 1

GMU clock

Item 2

GPU CX clock

Item 3

GPU AXI clock

Item 4

GPU MEMNOC clock

Item 5

GPU SMMU vote clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "gmu"

Item 2

Exact value (const): "cxo"

Item 3

Exact value (const): "axi"

Item 4

Exact value (const): "memnoc"

Item 5

Exact value (const): "smmu_vote"

power-domains — required here #

Array item rules (items) #

Item 1

CX GDSC power domain

Item 2

GX GDSC power domain

power-domain-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cx"

Item 2

Exact value (const): "gx"

interrupts — required here #

Array item rules (items) #

Item 1

GMU OOB interrupt

Item 2

GMU interrupt

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "oob"

Item 2

Exact value (const): "gmu"

operating-points-v2 — required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "power-domains", "power-domain-names", "interrupts", "interrupt-names", "operating-points-v2"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,qcs615-gpucc.h>
#include <dt-bindings/clock/qcom,qcs615-gcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

gmu@506a000 {
    compatible = "qcom,adreno-rgmu-612.0", "qcom,adreno-rgmu";

    reg = <0x05000000 0x90000>;

    clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
             <&gpucc GPU_CC_CXO_CLK>,
             <&gcc GCC_DDRSS_GPU_AXI_CLK>,
             <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
             <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>;
    clock-names = "gmu",
                  "cxo",
                  "axi",
                  "memnoc",
                  "smmu_vote";

    power-domains = <&gpucc CX_GDSC>,
                    <&gpucc GX_GDSC>;
    power-domain-names = "cx",
                         "gx";

    interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "oob",
                      "gmu";

    operating-points-v2 = <&gmu_opp_table>;

    gmu_opp_table: opp-table {
        compatible = "operating-points-v2";

        opp-200000000 {
            opp-hz = /bits/ 64 <200000000>;
            required-opps = <&rpmhpd_opp_low_svs>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.

Qualcomm Glymur Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,glymur-mdss.yaml#"

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

Maintainers (maintainers): "Abel Vesa <abel.vesa@linaro.org>"

Glymur MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DP interfaces, etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,glymur-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB

Item 2

Display hf AXI

Item 3

Display core

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,glymur-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,glymur-dp"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,glymur-dp-phy"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,glymur-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/phy/phy-qcom-qmp.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-subsystem@ae00000 {
        compatible = "qcom,glymur-mdss";
        reg = <0x0ae00000 0x1000>;
        reg-names = "mdss";

        interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;

        clocks = <&dispcc_ahb_clk>,
                 <&gcc_disp_hf_axi_clk>,
                 <&dispcc_mdp_clk>;
        clock-names = "bus", "nrt_bus", "core";

        interconnects = <&mmss_noc MASTER_MDP QCOM_ICC_TAG_ALWAYS
                         &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
                        <&hsc_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
                         &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
        interconnect-names = "mdp0-mem",
                             "cpu-cfg";

        resets = <&disp_cc_mdss_core_bcr>;

        power-domains = <&mdss_gdsc>;

        iommus = <&apps_smmu 0x1c00 0x2>;

        interrupt-controller;
        #interrupt-cells = <1>;

        #address-cells = <1>;
        #size-cells = <1>;
        ranges;

        display-controller@ae01000 {
            compatible = "qcom,glymur-dpu";
            reg = <0x0ae01000 0x8f000>,
                  <0x0aeb0000 0x2008>;
            reg-names = "mdp", "vbif";

            clocks = <&gcc_axi_clk>,
                     <&dispcc_ahb_clk>,
                     <&dispcc_mdp_lut_clk>,
                     <&dispcc_mdp_clk>,
                     <&dispcc_mdp_vsync_clk>;
            clock-names = "nrt_bus",
                          "iface",
                          "lut",
                          "core",
                          "vsync";

            assigned-clocks = <&dispcc_mdp_vsync_clk>;
            assigned-clock-rates = <19200000>;

            operating-points-v2 = <&mdp_opp_table>;
            power-domains = <&rpmhpd RPMHPD_MMCX>;

            interrupt-parent = <&mdss>;
            interrupts = <0>;

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

                port@0 {
                    reg = <0>;
                    dpu_intf1_out: endpoint {
                        remote-endpoint = <&dsi0_in>;
                    };
                };

                port@1 {
                    reg = <1>;
                    dpu_intf2_out: endpoint {
                        remote-endpoint = <&dsi1_in>;
                    };
                };
            };

            mdp_opp_table: opp-table {
                compatible = "operating-points-v2";

                opp-200000000 {
                    opp-hz = /bits/ 64 <200000000>;
                    required-opps = <&rpmhpd_opp_low_svs>;
                };

                opp-325000000 {
                    opp-hz = /bits/ 64 <325000000>;
                    required-opps = <&rpmhpd_opp_svs>;
                };

                opp-375000000 {
                    opp-hz = /bits/ 64 <375000000>;
                    required-opps = <&rpmhpd_opp_svs_l1>;
                };

                opp-514000000 {
                    opp-hz = /bits/ 64 <514000000>;
                    required-opps = <&rpmhpd_opp_nom>;
                };
            };
        };

        displayport-controller@af54000 {
            compatible = "qcom,glymur-dp";
            reg = <0xaf54000 0x200>,
                  <0xaf54200 0x200>,
                  <0xaf55000 0xc00>,
                  <0xaf56000 0x400>,
                  <0xaf57000 0x400>,
                  <0xaf58000 0x400>,
                  <0xaf59000 0x400>,
                  <0xaf5a000 0x600>,
                  <0xaf5b000 0x600>;

            interrupt-parent = <&mdss>;
            interrupts = <12>;

            clocks = <&dispcc_mdss_ahb_clk>,
                     <&dispcc_dptx0_aux_clk>,
                     <&dispcc_dptx0_link_clk>,
                     <&dispcc_dptx0_link_intf_clk>,
                     <&dispcc_dptx0_pixel0_clk>,
                     <&dispcc_dptx0_pixel1_clk>;
            clock-names = "core_iface",
                          "core_aux",
                          "ctrl_link",
                          "ctrl_link_iface",
                          "stream_pixel",
                          "stream_1_pixel";

            assigned-clocks = <&dispcc_mdss_dptx0_link_clk_src>,
                              <&dispcc_mdss_dptx0_pixel0_clk_src>,
                              <&dispcc_mdss_dptx0_pixel1_clk_src>;
            assigned-clock-parents = <&usb_1_ss0_qmpphy QMP_USB43DP_DP_LINK_CLK>,
                                     <&usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>,
                                     <&usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;

            operating-points-v2 = <&mdss_dp0_opp_table>;

            power-domains = <&rpmhpd RPMHPD_MMCX>;

            phys = <&usb_1_ss0_qmpphy QMP_USB43DP_DP_PHY>;
            phy-names = "dp";

            #sound-dai-cells = <0>;

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

                port@0 {
                    reg = <0>;

                    mdss_dp0_in: endpoint {
                      remote-endpoint = <&mdss_intf0_out>;
                    };
                };

                port@1 {
                    reg = <1>;

                    mdss_dp0_out: endpoint {
                    };
                };
            };

            mdss_dp0_opp_table: opp-table {
                compatible = "operating-points-v2";

                opp-160000000 {
                    opp-hz = /bits/ 64 <160000000>;
                    required-opps = <&rpmhpd_opp_low_svs>;
                };

                opp-270000000 {
                    opp-hz = /bits/ 64 <270000000>;
                    required-opps = <&rpmhpd_opp_svs>;
                };

                opp-540000000 {
                    opp-hz = /bits/ 64 <540000000>;
                    required-opps = <&rpmhpd_opp_svs_l1>;
                };

                opp-810000000 {
                    opp-hz = /bits/ 64 <810000000>;
                    required-opps = <&rpmhpd_opp_nom>;
                };
            };
        };
    };

Source notes #

Annotations retained from the schema source

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

Qualcomm Kaanapali Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,kaanapali-mdss.yaml#"

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

Maintainers (maintainers): "Yongxing Mou <yongxing.mou@oss.qualcomm.com>", "Yuanjie Yang <yuanjie.yang@oss.qualcomm.com>"

Kaanapali MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,kaanapali-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB

Item 2

Display hf AXI

Item 3

Display core

Item 4

Display AHB SWI

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,kaanapali-dpu"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,kaanapali-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,kaanapali-dsi-phy-3nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/phy/phy-qcom-qmp.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-subsystem@9800000 {
    compatible = "qcom,kaanapali-mdss";
    reg = <0x09800000 0x1000>;
    reg-names = "mdss";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;

    clocks = <&disp_cc_mdss_ahb_clk>,
             <&gcc_disp_hf_axi_clk>,
             <&disp_cc_mdss_mdp_clk>,
             <&disp_cc_mdss_ahb_swi_clk>;
    resets = <&disp_cc_mdss_core_bcr>;

    power-domains = <&mdss_gdsc>;

    iommus = <&apps_smmu 0x800 0x2>;

    interrupt-controller;
    #interrupt-cells = <1>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@9801000 {
        compatible = "qcom,kaanapali-dpu";
        reg = <0x09801000 0x1c8000>,
              <0x09b16000 0x3000>;
        reg-names = "mdp",
                    "vbif";

        interrupts-extended = <&mdss 0>;

        clocks = <&gcc_disp_hf_axi_clk>,
                 <&disp_cc_mdss_ahb_clk>,
                 <&disp_cc_mdss_mdp_lut_clk>,
                 <&disp_cc_mdss_mdp_clk>,
                 <&disp_cc_mdss_vsync_clk>;
        clock-names = "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&disp_cc_mdss_vsync_clk>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;

        power-domains = <&rpmhpd RPMHPD_MMCX>;

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

            port@0 {
                reg = <0>;

                dpu_intf1_out: endpoint {
                    remote-endpoint = <&mdss_dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;

                dpu_intf2_out: endpoint {
                    remote-endpoint = <&mdss_dsi1_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-156000000 {
                opp-hz = /bits/ 64 <156000000>;
                required-opps = <&rpmhpd_opp_low_svs_d1>;
            };

            opp-207000000 {
                opp-hz = /bits/ 64 <207000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-337000000 {
                opp-hz = /bits/ 64 <337000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-417000000 {
                opp-hz = /bits/ 64 <417000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-532000000 {
                opp-hz = /bits/ 64 <532000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };

            opp-600000000 {
                opp-hz = /bits/ 64 <600000000>;
                required-opps = <&rpmhpd_opp_nom_l1>;
            };

            opp-650000000 {
                opp-hz = /bits/ 64 <650000000>;
                required-opps = <&rpmhpd_opp_turbo>;
            };
        };
    };

    dsi@9ac0000 {
        compatible = "qcom,kaanapali-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x09ac0000 0x1000>;
        reg-names = "dsi_ctrl";

        interrupts-extended = <&mdss 4>;

        clocks = <&disp_cc_mdss_byte0_clk>,
                 <&disp_cc_mdss_byte0_intf_clk>,
                 <&disp_cc_mdss_pclk0_clk>,
                 <&disp_cc_mdss_esc0_clk>,
                 <&disp_cc_mdss_ahb_clk>,
                 <&gcc_disp_hf_axi_clk>,
                 <&mdss_dsi0_phy 1>,
                 <&mdss_dsi0_phy 0>,
                 <&disp_cc_esync0_clk>,
                 <&disp_cc_osc_clk>,
                 <&disp_cc_mdss_byte0_clk_src>,
                 <&disp_cc_mdss_pclk0_clk_src>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus",
                      "dsi_pll_pixel",
                      "dsi_pll_byte",
                      "esync",
                      "osc",
                      "byte_src",
                      "pixel_src";

        operating-points-v2 = <&mdss_dsi_opp_table>;

        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&mdss_dsi0_phy>;
        phy-names = "dsi";

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

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

            port@0 {
                reg = <0>;

                mdss_dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;

                mdss_dsi0_out: endpoint {
                    remote-endpoint = <&panel0_in>;
                    data-lanes = <0 1 2 3>;
                };
            };
        };

        mdss_dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-187500000 {
                opp-hz = /bits/ 64 <187500000>;
                required-opps = <&rpmhpd_opp_low_svs_d1>;
            };

            opp-250000000 {
                opp-hz = /bits/ 64 <250000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-312500000 {
                opp-hz = /bits/ 64 <312500000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    mdss_dsi0_phy: phy@9ac1000 {
        compatible = "qcom,kaanapali-dsi-phy-3nm";
        reg = <0x09ac1000 0x1cc>,
              <0x09ac1200 0x80>,
              <0x09ac1500 0x400>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        clocks = <&disp_cc_mdss_ahb_clk>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface",
                      "ref";

        #clock-cells = <1>;
        #phy-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Adreno/Snapdragon Mobile Display controller (MDP5)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,mdp5.yaml#"

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

MDP5 display controller found in SoCs like MSM8974, APQ8084, MSM8916, MSM8994 and MSM8996.

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>", "Rob Clark <robdclark@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "qcom,mdp5"

Deprecated (deprecated): true

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,apq8084-mdp5", "qcom,msm8226-mdp5", "qcom,msm8916-mdp5", "qcom,msm8917-mdp5", "qcom,msm8937-mdp5", "qcom,msm8953-mdp5", "qcom,msm8974-mdp5", "qcom,msm8976-mdp5", "qcom,msm8994-mdp5", "qcom,msm8996-mdp5", "qcom,sdm630-mdp5", "qcom,sdm660-mdp5"

Item 2

Exact value (const): "qcom,mdp5"

$nodename — not listed as required here #

String pattern (pattern): "^display-controller@[0-9a-f]+$"

reg — required here #

Maximum number of items (maxItems): 1

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp_phys"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 7

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Minimum number of items (minItems): 4

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "vsync"

Item 5

Exact value (const): "tbu"

Item 6

Exact value (const): "tbu_rt"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "iommu"

Item 5

Exact value (const): "vsync"

interconnects — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Interconnect path from mdp0 (or a single mdp) port to the data bus

Item 2

Interconnect path from mdp1 port to the data bus

Item 3

Interconnect path from rotator port to the data bus

interconnect-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "mdp1-mem"

Item 3

Exact value (const): "rotator-mem"

iommus — not listed as required here #

Array item rules (items) #

Item 1

apps SMMU with the Stream-ID mask for Hard-Fail port0

power-domains — 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.

opp-table — not listed as required here #

Value type (type): "object"

ports — required here #

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

Contains the list of output ports from DPU device. These ports connect to interfaces that are external to the DPU hardware, such as DSI, DP etc. MDP5 devices support up to 4 ports: one or two DSI ports, HDMI and eDP.

Properties matching a name pattern (patternProperties) #

^port@[0-3]+$ — name matches this regular expression

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

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

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-msm8916.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
display-controller@1a01000 {
    compatible = "qcom,mdp5";
    reg = <0x1a01000 0x90000>;
    reg-names = "mdp_phys";

    interrupt-parent = <&mdss>;
    interrupts = <0>;

    clocks = <&gcc GCC_MDSS_AHB_CLK>,
             <&gcc GCC_MDSS_AXI_CLK>,
             <&gcc GCC_MDSS_MDP_CLK>,
             <&gcc GCC_MDSS_VSYNC_CLK>;
    clock-names = "iface",
                  "bus",
                  "core",
                  "vsync";

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

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 65: MSM8996 has additional iommu clock

Line 110: at least one port is required

Qualcomm Mobile Display SubSystem (MDSS)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,mdss.yaml#"

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

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>", "Rob Clark <robdclark@gmail.com>"

This is the bindings documentation for the Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like MDP5, DSI, HDMI, eDP, etc.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^display-subsystem@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "qcom,mdss"

reg — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

reg-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "mdss_phys"

Item 2

Exact value (const): "vbif_phys"

Item 3

Exact value (const): "vbif_nrt_phys"

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

power-domains — required here #

Maximum number of items (maxItems): 1

The MDSS power domain provided by GCC

clocks — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Display abh clock

Item 2

Display axi clock

Item 3

Display vsync clock

Item 4

Display core clock

Rule 2

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Display abh clock

Item 2

Display core clock

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "vsync"

Item 4

Exact value (const): "core"

Rule 2

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "core"

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

resets — not listed as required here #

Array item rules (items) #

Item 1

MDSS_CORE reset

interconnects — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Interconnect path from mdp0 (or a single mdp) port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-controller", "#interrupt-cells", "power-domains", "clocks", "clock-names", "#address-cells", "#size-cells", "ranges"

Properties matching a name pattern (patternProperties) #

^display-controller@[1-9a-f][0-9a-f]*$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,mdp5"

^dsi@[1-9a-f][0-9a-f]*$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[1-9a-f][0-9a-f]*$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "qcom,dsi-phy-14nm", "qcom,dsi-phy-14nm-660", "qcom,dsi-phy-14nm-8953", "qcom,dsi-phy-20nm", "qcom,dsi-phy-28nm-8226", "qcom,dsi-phy-28nm-8937", "qcom,dsi-phy-28nm-hpm", "qcom,dsi-phy-28nm-hpm-fam-b", "qcom,dsi-phy-28nm-lp", "qcom,hdmi-phy-8084", "qcom,hdmi-phy-8660", "qcom,hdmi-phy-8960", "qcom,hdmi-phy-8974", "qcom,hdmi-phy-8996"

^hdmi-tx@[1-9a-f][0-9a-f]*$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "qcom,hdmi-tx-8084", "qcom,hdmi-tx-8660", "qcom,hdmi-tx-8960", "qcom,hdmi-tx-8974", "qcom,hdmi-tx-8994", "qcom,hdmi-tx-8996"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-msm8916.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
display-subsystem@1a00000 {
    compatible = "qcom,mdss";
    reg = <0x1a00000 0x1000>,
          <0x1ac8000 0x3000>;
    reg-names = "mdss_phys", "vbif_phys";

    power-domains = <&gcc MDSS_GDSC>;

    clocks = <&gcc GCC_MDSS_AHB_CLK>,
             <&gcc GCC_MDSS_AXI_CLK>,
             <&gcc GCC_MDSS_VSYNC_CLK>;
    clock-names = "iface",
                  "bus",
                  "vsync";

    interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;

    interrupt-controller;
    #interrupt-cells = <1>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@1a01000 {
        compatible = "qcom,msm8916-mdp5", "qcom,mdp5";
        reg = <0x01a01000 0x89000>;
        reg-names = "mdp_phys";

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        clocks = <&gcc GCC_MDSS_AHB_CLK>,
                 <&gcc GCC_MDSS_AXI_CLK>,
                 <&gcc GCC_MDSS_MDP_CLK>,
                 <&gcc GCC_MDSS_VSYNC_CLK>;
        clock-names = "iface",
                  "bus",
                  "core",
                  "vsync";

        iommus = <&apps_iommu 4>;

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

            port@0 {
                reg = <0>;
                mdp5_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Display DPU on MSM8998

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,msm8998-dpu.yaml#"

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

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,msm8998-dpu"

reg — required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for regdma register set

Item 3

Address offset and size for vbif register set

Item 4

Address offset and size for non-realtime vbif register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "regdma"

Item 3

Exact value (const): "vbif"

Item 4

Exact value (const): "vbif_nrt"

clocks — required here #

Array item rules (items) #

Item 1

Display ahb clock

Item 2

Display axi clock

Item 3

Display mem-noc clock

Item 4

Display core clock

Item 5

Display vsync clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "mnoc"

Item 4

Exact value (const): "core"

Item 5

Exact value (const): "vsync"

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,mmcc-msm8998.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-controller@c901000 {
    compatible = "qcom,msm8998-dpu";
    reg = <0x0c901000 0x8f000>,
          <0x0c9a8e00 0xf0>,
          <0x0c9b0000 0x2008>,
          <0x0c9b8000 0x1040>;
    reg-names = "mdp", "regdma", "vbif", "vbif_nrt";

    clocks = <&mmcc MDSS_AHB_CLK>,
             <&mmcc MDSS_AXI_CLK>,
             <&mmcc MNOC_AHB_CLK>,
             <&mmcc MDSS_MDP_CLK>,
             <&mmcc MDSS_VSYNC_CLK>;
    clock-names = "iface", "bus", "mnoc", "core", "vsync";

    interrupt-parent = <&mdss>;
    interrupts = <0>;
    operating-points-v2 = <&mdp_opp_table>;
    power-domains = <&rpmpd MSM8998_VDDMX>;

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

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };

        port@1 {
            reg = <1>;
            endpoint {
                remote-endpoint = <&dsi1_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm MSM8998 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,msm8998-mdss.yaml#"

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

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>"

Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree bindings of MDSS are mentioned for MSM8998 target.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,msm8998-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock

Item 2

Display AXI clock

Item 3

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,msm8998-dpu"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,msm8998-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-10nm-8998"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,mmcc-msm8998.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@c900000 {
    compatible = "qcom,msm8998-mdss";
    reg = <0x0c900000 0x1000>;
    reg-names = "mdss";

    clocks = <&mmcc MDSS_AHB_CLK>,
             <&mmcc MDSS_AXI_CLK>,
             <&mmcc MDSS_MDP_CLK>;
    clock-names = "iface", "bus", "core";

    #address-cells = <1>;
    #interrupt-cells = <1>;
    #size-cells = <1>;

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    iommus = <&mmss_smmu 0>;

    power-domains = <&mmcc MDSS_GDSC>;
    ranges;

    display-controller@c901000 {
        compatible = "qcom,msm8998-dpu";
        reg = <0x0c901000 0x8f000>,
              <0x0c9a8e00 0xf0>,
              <0x0c9b0000 0x2008>,
              <0x0c9b8000 0x1040>;
        reg-names = "mdp", "regdma", "vbif", "vbif_nrt";

        clocks = <&mmcc MDSS_AHB_CLK>,
                 <&mmcc MDSS_AXI_CLK>,
                 <&mmcc MNOC_AHB_CLK>,
                 <&mmcc MDSS_MDP_CLK>,
                 <&mmcc MDSS_VSYNC_CLK>;
        clock-names = "iface", "bus", "mnoc", "core", "vsync";

        interrupt-parent = <&mdss>;
        interrupts = <0>;
        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmpd MSM8998_VDDMX>;

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

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&dsi1_in>;
                };
            };
        };
    };

    dsi@c994000 {
        compatible = "qcom,msm8998-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0c994000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&mmcc MDSS_BYTE0_CLK>,
                 <&mmcc MDSS_BYTE0_INTF_CLK>,
                 <&mmcc MDSS_PCLK0_CLK>,
                 <&mmcc MDSS_ESC0_CLK>,
                 <&mmcc MDSS_AHB_CLK>,
                 <&mmcc MDSS_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&mmcc BYTE0_CLK_SRC>, <&mmcc PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmpd MSM8998_VDDCX>;

        phys = <&dsi0_phy>;
        phy-names = "dsi";

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

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

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };
    };

    dsi0_phy: phy@c994400 {
        compatible = "qcom,dsi-phy-10nm-8998";
        reg = <0x0c994400 0x200>,
              <0x0c994600 0x280>,
              <0x0c994a00 0x1e0>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&mmcc MDSS_AHB_CLK>,
                 <&rpmcc RPM_SMD_XO_CLK_SRC>;
        clock-names = "iface", "ref";

        vdds-supply = <&pm8998_l1>;
    };

    dsi@c996000 {
        compatible = "qcom,msm8998-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0c996000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&mmcc MDSS_BYTE1_CLK>,
                 <&mmcc MDSS_BYTE1_INTF_CLK>,
                 <&mmcc MDSS_PCLK1_CLK>,
                 <&mmcc MDSS_ESC1_CLK>,
                 <&mmcc MDSS_AHB_CLK>,
                 <&mmcc MDSS_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&mmcc BYTE1_CLK_SRC>, <&mmcc PCLK1_CLK_SRC>;
        assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmpd MSM8998_VDDCX>;

        phys = <&dsi1_phy>;
        phy-names = "dsi";

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

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

            port@0 {
                reg = <0>;
                dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi1_out: endpoint {
                };
            };
        };
    };

    dsi1_phy: phy@c996400 {
        compatible = "qcom,dsi-phy-10nm-8998";
        reg = <0x0c996400 0x200>,
              <0x0c996600 0x280>,
              <0x0c996a00 0x10e>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&mmcc MDSS_AHB_CLK>,
                 <&rpmcc RPM_SMD_XO_CLK_SRC>;
        clock-names = "iface", "ref";

        vdds-supply = <&pm8998_l1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Display DPU on QCM2290

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,qcm2290-dpu.yaml#"

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

Maintainers (maintainers): "Loic Poulain <loic.poulain@linaro.org>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,qcm2290-dpu"

reg — required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for vbif register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — required here #

Array item rules (items) #

Item 1

Display AXI clock from gcc

Item 2

Display AHB clock from dispcc

Item 3

Display core clock from dispcc

Item 4

Display lut clock from dispcc

Item 5

Display vsync clock from dispcc

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "lut"

Item 5

Exact value (const): "vsync"

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-qcm2290.h>
#include <dt-bindings/clock/qcom,gcc-qcm2290.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-controller@5e01000 {
    compatible = "qcom,qcm2290-dpu";
    reg = <0x05e01000 0x8f000>,
          <0x05eb0000 0x2008>;
    reg-names = "mdp", "vbif";

    clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
             <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
    clock-names = "bus", "iface", "core", "lut", "vsync";

    operating-points-v2 = <&mdp_opp_table>;
    power-domains = <&rpmpd QCM2290_VDDCX>;

    interrupt-parent = <&mdss>;
    interrupts = <0>;

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

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm QCM220 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,qcm2290-mdss.yaml#"

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

Maintainers (maintainers): "Loic Poulain <loic.poulain@linaro.org>"

Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller and DSI. Device tree bindings of MDSS are mentioned for QCM2290 target.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,qcm2290-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display AXI clock

Item 3

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,qcm2290-dpu"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,qcm2290-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-14nm-2290"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-qcm2290.h>
#include <dt-bindings/clock/qcom,gcc-qcm2290.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,qcm2290.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@5e00000 {
    #address-cells = <1>;
    #size-cells = <1>;
    compatible = "qcom,qcm2290-mdss";
    reg = <0x05e00000 0x1000>;
    reg-names = "mdss";
    power-domains = <&dispcc MDSS_GDSC>;
    clocks = <&gcc GCC_DISP_AHB_CLK>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "bus", "core";

    interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    interconnects = <&mmrt_virt MASTER_MDP0 &bimc SLAVE_EBI1>,
                    <&bimc MASTER_APPSS_PROC &config_noc SLAVE_DISPLAY_CFG>;
    interconnect-names = "mdp0-mem",
                         "cpu-cfg";

    iommus = <&apps_smmu 0x420 0x2>;
    ranges;

    display-controller@5e01000 {
        compatible = "qcom,qcm2290-dpu";
        reg = <0x05e01000 0x8f000>,
              <0x05eb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "bus", "iface", "core", "lut", "vsync";

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmpd QCM2290_VDDCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };
        };
    };

    dsi@5e94000 {
        compatible = "qcom,qcm2290-dsi-ctrl",
                     "qcom,mdss-dsi-ctrl";
        reg = <0x05e94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmpd QCM2290_VDDCX>;

        phys = <&dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };
    };

    dsi0_phy: phy@5e94400 {
        compatible = "qcom,dsi-phy-14nm-2290";
        reg = <0x05e94400 0x100>,
              <0x05e94500 0x300>,
              <0x05e94800 0x188>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, <&rpmcc RPM_SMD_XO_CLK_SRC>;
        clock-names = "iface", "ref";
        vcca-supply = <&vreg_dsi_phy>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Technologies, Inc. QCS8300 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,qcs8300-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Yongxing Mou <yongxing.mou@oss.qualcomm.com>"

QCS8300 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DP interfaces and EDP etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,qcs8300-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB

Item 2

Display hf AXI

Item 3

Display core

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 3

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 3

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,qcs8300-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,qcs8300-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,qcs8300-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,qcs8300-dsi-phy-5nm", "qcom,qcs8300-edp-phy"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,qcs8300-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,sa8775p-dispcc.h>
#include <dt-bindings/interconnect/qcom,qcs8300-rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
#include <dt-bindings/power/qcom-rpmpd.h>

mdss: display-subsystem@ae00000 {
    compatible = "qcom,qcs8300-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ACTIVE_ONLY
                     &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>,
                    <&mmss_noc MASTER_MDP1 QCOM_ICC_TAG_ACTIVE_ONLY
                     &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>,
                    <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
                     &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
    interconnect-names = "mdp0-mem",
                         "mdp1-mem",
                         "cpu-cfg";

    resets = <&dispcc_core_bcr>;
    power-domains = <&dispcc_gdsc>;

    clocks = <&dispcc_ahb_clk>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&dispcc_mdp_clk>;

    interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x1000 0x402>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,qcs8300-dpu", "qcom,sa8775p-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_MDP_LUT_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>;
        assigned-clock-rates = <19200000>;
        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;
        ports {
            #address-cells = <1>;
            #size-cells = <0>;
            port@0 {
                reg = <0>;

                dpu_intf0_out: endpoint {
                     remote-endpoint = <&mdss_dp0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&mdss_dsi0_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-375000000 {
                opp-hz = /bits/ 64 <375000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-500000000 {
                opp-hz = /bits/ 64 <500000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };

            opp-575000000 {
                opp-hz = /bits/ 64 <575000000>;
                required-opps = <&rpmhpd_opp_turbo>;
            };

            opp-650000000 {
                opp-hz = /bits/ 64 <650000000>;
                required-opps = <&rpmhpd_opp_turbo_l1>;
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,qcs8300-dsi-ctrl",
                     "qcom,sa8775p-dsi-ctrl",
                     "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc MDSS_DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc MDSS_DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc MDSS_DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc MDSS_DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc MDSS_DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&dispcc MDSS_DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc MDSS_DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;
        phys = <&mdss_dsi0_phy>;

        operating-points-v2 = <&dsi0_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        vdda-supply = <&vreg_l5a>;

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss0_dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss0_dsi0_out: endpoint { };
            };
        };

        dsi0_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    mdss_dsi0_phy: phy@ae94400 {
        compatible = "qcom,qcs8300-dsi-phy-5nm",
                     "qcom,sa8775p-dsi-phy-5nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94900 0x27c>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc MDSS_DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";

        vdds-supply = <&vreg_l4a>;
    };

    mdss_dp0_phy: phy@aec2a00 {
        compatible = "qcom,qcs8300-edp-phy", "qcom,sa8775p-edp-phy";

        reg = <0x0aec2a00 0x200>,
              <0x0aec2200 0xd0>,
              <0x0aec2600 0xd0>,
              <0x0aec2000 0x1c8>;

        clocks = <&dispcc MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
                 <&dispcc MDSS_DISP_CC_MDSS_AHB_CLK>;
        clock-names = "aux",
                      "cfg_ahb";

        #clock-cells = <1>;
        #phy-cells = <0>;

        vdda-phy-supply = <&vreg_l1c>;
        vdda-pll-supply = <&vreg_l4a>;
    };

    displayport-controller@af54000 {
        compatible = "qcom,qcs8300-dp", "qcom,sa8775p-dp";

        pinctrl-0 = <&dp_hot_plug_det>;
        pinctrl-names = "default";

        reg = <0xaf54000 0x104>,
              <0xaf54200 0x0c0>,
              <0xaf55000 0x770>,
              <0xaf56000 0x09c>,
              <0xaf57000 0x09c>,
              <0xaf58000 0x09c>,
              <0xaf59000 0x09c>,
              <0xaf5a000 0x23c>,
              <0xaf5b000 0x23c>;

        interrupt-parent = <&mdss>;
        interrupts = <12>;
        clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK>;
        clock-names = "core_iface",
                      "core_aux",
                      "ctrl_link",
                      "ctrl_link_iface",
                      "stream_pixel",
                      "stream_1_pixel",
                      "stream_2_pixel",
                      "stream_3_pixel";
        assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>,
                          <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>,
                          <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK_SRC>,
                          <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK_SRC>,
                          <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK_SRC>;
        assigned-clock-parents = <&mdss_dp0_phy 0>,
                                 <&mdss_dp0_phy 1>,
                                 <&mdss_dp0_phy 1>,
                                 <&mdss_dp0_phy 1>;
        phys = <&mdss_dp0_phy>;
        phy-names = "dp";
        operating-points-v2 = <&dp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        #sound-dai-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;

                mdss_dp0_in: endpoint {
                    remote-endpoint = <&dpu_intf0_out>;
                };
            };

            port@1 {
               reg = <1>;

               mdss_dp_out: endpoint { };
            };
        };

        dp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-160000000 {
                opp-hz = /bits/ 64 <160000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-270000000 {
                opp-hz = /bits/ 64 <270000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-540000000 {
                opp-hz = /bits/ 64 <540000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-810000000 {
                opp-hz = /bits/ 64 <810000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Technologies, Inc. SA87755P Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sa8775p-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Mahadevan <quic_mahap@quicinc.com>"

SA8775P MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DP interfaces and EDP etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sa8775p-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB

Item 2

Display hf AXI

Item 3

Display core

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 3

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 3

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sa8775p-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sa8775p-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sa8775p-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sa8775p-dsi-phy-5nm", "qcom,sa8775p-edp-phy"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,sa8775p-dispcc.h>
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
#include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sa8775p-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP0 &mc_virt SLAVE_EBI1>,
                    <&mmss_noc MASTER_MDP1 &mc_virt SLAVE_EBI1>,
                    <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_DISPLAY_CFG>;
    interconnect-names = "mdp0-mem",
                         "mdp1-mem",
                         "cpu-cfg";

    resets = <&dispcc_core_bcr>;
    power-domains = <&dispcc_gdsc>;

    clocks = <&dispcc_ahb_clk>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&dispcc_mdp_clk>;

    interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x1000 0x402>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sa8775p-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&dispcc_ahb_clk>,
                 <&dispcc_mdp_lut_clk>,
                 <&dispcc_mdp_clk>,
                 <&dispcc_mdp_vsync_clk>;
        clock-names = "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&dispcc_mdp_vsync_clk>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdss0_mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        interrupt-parent = <&mdss0>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf0_out: endpoint {
                    remote-endpoint = <&mdss0_dp0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&mdss0_dsi0_in>;
                };
            };

            port@2 {
                reg = <2>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&mdss0_dsi1_in>;
                };
            };
        };

        mdss0_mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-375000000 {
                opp-hz = /bits/ 64 <375000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-500000000 {
                opp-hz = /bits/ 64 <500000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };

            opp-575000000 {
                opp-hz = /bits/ 64 <575000000>;
                required-opps = <&rpmhpd_opp_turbo>;
            };

            opp-650000000 {
                opp-hz = /bits/ 64 <650000000>;
                required-opps = <&rpmhpd_opp_turbo_l1>;
            };
        };
    };

    mdss0_dp0_phy: phy@aec2a00 {
        compatible = "qcom,sa8775p-edp-phy";

        reg = <0x0aec2a00 0x200>,
              <0x0aec2200 0xd0>,
              <0x0aec2600 0xd0>,
              <0x0aec2000 0x1c8>;

        clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
                 <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
        clock-names = "aux",
                      "cfg_ahb";

        #clock-cells = <1>;
        #phy-cells = <0>;

        vdda-phy-supply = <&vreg_l1c>;
        vdda-pll-supply = <&vreg_l4a>;
    };

    dsi@ae94000 {
        compatible = "qcom,sa8775p-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispc_byte_clk>,
                 <&dispcc_intf_clk>,
                 <&dispcc_pclk>,
                 <&dispcc_esc_clk>,
                 <&dispcc_ahb_clk>,
                 <&gcc_bus_clk>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&dispcc_byte_clk>,
                          <&dispcc_pclk>;
        assigned-clock-parents = <&mdss0_dsi0_phy 0>, <&mdss0_dsi0_phy 1>;
        phys = <&mdss0_dsi0_phy>;

        operating-points-v2 = <&dsi0_opp_table>;
        power-domains = <&rpmhpd SA8775P_MMCX>;

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss0_dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss0_dsi0_out: endpoint { };
            };
        };

        dsi0_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    mdss0_dsi0_phy: phy@ae94400 {
        compatible = "qcom,sa8775p-dsi-phy-5nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94900 0x27c>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc_iface_clk>,
                 <&rpmhcc_ref_clk>;
        clock-names = "iface", "ref";

        vdds-supply = <&vreg_dsi_supply>;
    };

    dsi@ae96000 {
        compatible = "qcom,sa8775p-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispc_byte_clk>,
                 <&dispcc_intf_clk>,
                 <&dispcc_pclk>,
                 <&dispcc_esc_clk>,
                 <&dispcc_ahb_clk>,
                 <&gcc_bus_clk>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&dispcc_byte_clk>,
                          <&dispcc_pclk>;
        assigned-clock-parents = <&mdss0_dsi1_phy 0>, <&mdss0_dsi1_phy 1>;
        phys = <&mdss0_dsi1_phy>;

        operating-points-v2 = <&dsi1_opp_table>;
        power-domains = <&rpmhpd SA8775P_MMCX>;

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss0_dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss0_dsi1_out: endpoint { };
            };
        };

        dsi1_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    mdss0_dsi1_phy: phy@ae96400 {
        compatible = "qcom,sa8775p-dsi-phy-5nm";
        reg = <0x0ae96400 0x200>,
              <0x0ae96600 0x280>,
              <0x0ae96900 0x27c>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc_iface_clk>,
                 <&rpmhcc_ref_clk>;
        clock-names = "iface", "ref";

        vdds-supply = <&vreg_dsi_supply>;
    };

    displayport-controller@af54000 {
        compatible = "qcom,sa8775p-dp";

        pinctrl-0 = <&dp_hot_plug_det>;
        pinctrl-names = "default";

        reg = <0xaf54000 0x104>,
              <0xaf54200 0x0c0>,
              <0xaf55000 0x770>,
              <0xaf56000 0x09c>,
              <0xaf57000 0x09c>,
              <0xaf58000 0x09c>,
              <0xaf59000 0x09c>,
              <0xaf5a000 0x23c>,
              <0xaf5b000 0x23c>;

        interrupt-parent = <&mdss0>;
        interrupts = <12>;

        clocks = <&dispcc_mdss_ahb_clk>,
                 <&dispcc_dptx0_aux_clk>,
                 <&dispcc_dptx0_link_clk>,
                 <&dispcc_dptx0_link_intf_clk>,
                 <&dispcc_dptx0_pixel0_clk>,
                 <&dispcc_dptx0_pixel1_clk>,
                 <&dispcc_dptx0_pixel2_clk>,
                 <&dispcc_dptx0_pixel3_clk>;
        clock-names = "core_iface",
                      "core_aux",
                      "ctrl_link",
                      "ctrl_link_iface",
                      "stream_pixel",
                      "stream_1_pixel",
                      "stream_2_pixel",
                      "stream_3_pixel";

        assigned-clocks = <&dispcc_mdss_dptx0_link_clk_src>,
                          <&dispcc_mdss_dptx0_pixel0_clk_src>,
                          <&dispcc_mdss_dptx0_pixel1_clk_src>,
                          <&dispcc_mdss_dptx0_pixel2_clk_src>,
                          <&dispcc_mdss_dptx0_pixel3_clk_src>;
        assigned-clock-parents = <&mdss0_dp0_phy 0>,
                                 <&mdss0_dp0_phy 1>,
                                 <&mdss0_dp0_phy 1>,
                                 <&mdss0_dp0_phy 1>;

        phys = <&mdss0_dp0_phy>;
        phy-names = "dp";

        operating-points-v2 = <&dp_opp_table>;
        power-domains = <&rpmhpd SA8775P_MMCX>;

        #sound-dai-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss0_dp0_in: endpoint {
                    remote-endpoint = <&dpu_intf0_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss0_dp_out: endpoint { };
            };
        };

        dp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-160000000 {
                opp-hz = /bits/ 64 <160000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-270000000 {
                opp-hz = /bits/ 64 <270000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-540000000 {
                opp-hz = /bits/ 64 <540000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-810000000 {
                opp-hz = /bits/ 64 <810000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SAR2130P Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sar2130p-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <lumag@kernel.org>"

SAR2310P MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sar2130p-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display MDSS AHB

Item 2

Display AHB

Item 3

Display hf AXI

Item 4

Display core

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sar2130p-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sar2130p-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sar2130p-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sar2130p-dsi-phy-5nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
#include <dt-bindings/phy/phy-qcom-qmp.h>

display-subsystem@ae00000 {
    compatible = "qcom,sar2130p-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc_master_mdp &mc_virt_slave_ebi1>,
                    <&gem_noc_master_appss_proc &config_noc_slave_display_cfg>;
    interconnect-names = "mdp0-mem", "cpu-cfg";

    resets = <&dispcc_disp_cc_mdss_core_bcr>;

    power-domains = <&dispcc_mdss_gdsc>;

    clocks = <&dispcc_disp_cc_mdss_ahb_clk>,
             <&gcc_gcc_disp_ahb_clk>,
             <&gcc_gcc_disp_hf_axi_clk>,
             <&dispcc_disp_cc_mdss_mdp_clk>;
    clock-names = "iface", "bus", "nrt_bus", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x1c00 0x2>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sar2130p-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc_gcc_disp_ahb_clk>,
                 <&gcc_gcc_disp_hf_axi_clk>,
                 <&dispcc_disp_cc_mdss_ahb_clk>,
                 <&dispcc_disp_cc_mdss_mdp_lut_clk>,
                 <&dispcc_disp_cc_mdss_mdp_clk>,
                 <&dispcc_disp_cc_mdss_vsync_clk>;
        clock-names = "bus",
                      "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&dispcc_disp_cc_mdss_vsync_clk>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;

                dpu_intf0_out: endpoint {
                    remote-endpoint = <&mdss_dp0_in>;
                };
            };

            port@1 {
                reg = <1>;

                dpu_intf1_out: endpoint {
                    remote-endpoint = <&mdss_dsi0_in>;
                };
            };

            port@2 {
                reg = <2>;

                dpu_intf2_out: endpoint {
                    remote-endpoint = <&mdss_dsi1_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-200000000 {
                opp-hz = /bits/ 64 <200000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-325000000 {
                opp-hz = /bits/ 64 <325000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-375000000 {
                opp-hz = /bits/ 64 <375000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-514000000 {
                opp-hz = /bits/ 64 <514000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    displayport-controller@ae90000 {
        compatible = "qcom,sar2130p-dp",
                     "qcom,sm8350-dp";
        reg = <0xae90000 0x200>,
              <0xae90200 0x200>,
              <0xae90400 0xc00>,
              <0xae91000 0x400>,
              <0xae91400 0x400>;

        interrupt-parent = <&mdss>;
        interrupts = <12>;
        clocks = <&dispcc_disp_cc_mdss_ahb_clk>,
                 <&dispcc_disp_cc_mdss_dptx0_aux_clk>,
                 <&dispcc_disp_cc_mdss_dptx0_link_clk>,
                 <&dispcc_disp_cc_mdss_dptx0_link_intf_clk>,
                 <&dispcc_disp_cc_mdss_dptx0_pixel0_clk>,
                 <&dispcc_disp_cc_mdss_dptx0_pixel1_clk>;
        clock-names = "core_iface",
                      "core_aux",
                      "ctrl_link",
                      "ctrl_link_iface",
                      "stream_pixel",
                      "stream_1_pixel";

        assigned-clocks = <&dispcc_disp_cc_mdss_dptx0_link_clk_src>,
                          <&dispcc_disp_cc_mdss_dptx0_pixel0_clk_src>,
                          <&dispcc_disp_cc_mdss_dptx0_pixel1_clk_src>;
        assigned-clock-parents = <&usb_dp_qmpphy_QMP_USB43DP_DP_LINK_CLK>,
                                 <&usb_dp_qmpphy_QMP_USB43DP_DP_VCO_DIV_CLK>,
                                 <&usb_dp_qmpphy_QMP_USB43DP_DP_VCO_DIV_CLK>;

        phys = <&usb_dp_qmpphy QMP_USB43DP_DP_PHY>;
        phy-names = "dp";

        #sound-dai-cells = <0>;

        operating-points-v2 = <&dp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss_dp0_in: endpoint {
                    remote-endpoint = <&dpu_intf0_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss_dp0_out: endpoint {
                    remote-endpoint = <&usb_dp_qmpphy_dp_in>;
                };
            };
    };

    dp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-162000000 {
                opp-hz = /bits/ 64 <162000000>;
                required-opps = <&rpmhpd_opp_low_svs_d1>;
            };

            opp-270000000 {
                opp-hz = /bits/ 64 <270000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-540000000 {
                opp-hz = /bits/ 64 <540000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-810000000 {
                opp-hz = /bits/ 64 <810000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sar2130p-dsi-ctrl",
                     "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc_disp_cc_mdss_byte0_clk>,
                 <&dispcc_disp_cc_mdss_byte0_intf_clk>,
                 <&dispcc_disp_cc_mdss_pclk0_clk>,
                 <&dispcc_disp_cc_mdss_esc0_clk>,
                 <&dispcc_disp_cc_mdss_ahb_clk>,
                 <&gcc_gcc_disp_hf_axi_clk>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc_disp_cc_mdss_byte0_clk_src>,
                          <&dispcc_disp_cc_mdss_pclk0_clk_src>;
        assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&mdss_dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;

                mdss_dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;

                mdss_dsi0_out: endpoint {
                };
            };
        };

        dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-187500000 {
                opp-hz = /bits/ 64 <187500000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    mdss_dsi0_phy: phy@ae94400 {
        compatible = "qcom,sar2130p-dsi-phy-5nm";
        reg = <0x0ae95000 0x200>,
              <0x0ae95200 0x280>,
              <0x0ae95500 0x400>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc_disp_cc_mdss_ahb_clk>,
                 <&rpmhcc_rpmh_cxo_clk>;
        clock-names = "iface", "ref";
    };

    dsi@ae96000 {
        compatible = "qcom,sar2130p-dsi-ctrl",
                     "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&dispcc_disp_cc_mdss_byte1_clk>,
                 <&dispcc_disp_cc_mdss_byte1_intf_clk>,
                 <&dispcc_disp_cc_mdss_pclk1_clk>,
                 <&dispcc_disp_cc_mdss_esc1_clk>,
                 <&dispcc_disp_cc_mdss_ahb_clk>,
                 <&gcc_gcc_disp_hf_axi_clk>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc_disp_cc_mdss_byte1_clk_src>,
                          <&dispcc_disp_cc_mdss_pclk1_clk_src>;
        assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&mdss_dsi1_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;

                mdss_dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;

                mdss_dsi1_out: endpoint {
                };
            };
        };
    };

    mdss_dsi1_phy: phy@ae97000 {
        compatible = "qcom,sar2130p-dsi-phy-5nm";
        reg = <0x0ae97000 0x200>,
              <0x0ae97200 0x280>,
              <0x0ae97500 0x400>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc_disp_cc_mdss_ahb_clk>,
                 <&rpmhcc_rpmh_cxo_clk>;
        clock-names = "iface", "ref";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Display DPU on SC7180

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sc7180-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sc7180-dpu", "qcom,sm6125-dpu", "qcom,sm6350-dpu", "qcom,sm6375-dpu"

reg — required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for vbif register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — required here #

Minimum number of items (minItems): 6

Array item rules (items) #

Item 1

Display hf axi clock

Item 2

Display ahb clock

Item 3

Display rotator clock

Item 4

Display lut clock

Item 5

Display core clock

Item 6

Display vsync clock

Item 7

Display core throttle clock

clock-names — required here #

Minimum number of items (minItems): 6

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "rot"

Item 4

Exact value (const): "lut"

Item 5

Exact value (const): "core"

Item 6

Exact value (const): "vsync"

Item 7

Exact value (const): "throttle"

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sm6375-dpu", "qcom,sm6125-dpu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 7

clock-names — not listed as required here

Minimum number of items (minItems): 7

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sc7180.h>
#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-controller@ae01000 {
    compatible = "qcom,sc7180-dpu";
    reg = <0x0ae01000 0x8f000>,
          <0x0aeb0000 0x2008>;

    reg-names = "mdp", "vbif";

    clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_ROT_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>,
             <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
    clock-names = "bus", "iface", "rot", "lut", "core",
                  "vsync";

    interrupt-parent = <&mdss>;
    interrupts = <0>;
    power-domains = <&rpmhpd SC7180_CX>;
    operating-points-v2 = <&mdp_opp_table>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };

        port@2 {
            reg = <2>;
            endpoint {
                remote-endpoint = <&dp_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SC7180 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sc7180-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree bindings of MDSS are mentioned for SC7180 target.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sc7180-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display AHB clock from dispcc

Item 3

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "ahb"

Item 3

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sc7180-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sc7180-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sc7180-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-10nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sc7180.h>
#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sdm845.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@ae00000 {
    #address-cells = <1>;
    #size-cells = <1>;
    compatible = "qcom,sc7180-mdss";
    reg = <0xae00000 0x1000>;
    reg-names = "mdss";
    power-domains = <&dispcc MDSS_GDSC>;
    clocks = <&gcc GCC_DISP_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "ahb", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    interconnects = <&mmss_noc MASTER_MDP0 &mc_virt SLAVE_EBI1>,
                    <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_DISPLAY_CFG>;
    interconnect-names = "mdp0-mem",
                         "cpu-cfg";

    iommus = <&apps_smmu 0x800 0x2>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sc7180-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;

        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_ROT_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "bus", "iface", "rot", "lut", "core",
                      "vsync";

        interrupt-parent = <&mdss>;
        interrupts = <0>;
        power-domains = <&rpmhpd SC7180_CX>;
        operating-points-v2 = <&mdp_opp_table>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@2 {
                reg = <2>;
                dpu_intf0_out: endpoint {
                    remote-endpoint = <&dp_in>;
                };
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sc7180-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi_phy 0>, <&dsi_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SC7180_CX>;

        phys = <&dsi_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };

        dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-187500000 {
                opp-hz = /bits/ 64 <187500000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    dsi_phy: phy@ae94400 {
        compatible = "qcom,dsi-phy-10nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94a00 0x1e0>;
        reg-names = "dsi_phy",
                "dsi_phy_lane",
                "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };

    displayport-controller@ae90000 {
        compatible = "qcom,sc7180-dp";

        reg = <0xae90000 0x200>,
              <0xae90200 0x200>,
              <0xae90400 0xc00>,
              <0xae91000 0x400>,
              <0xae91400 0x400>;

        interrupt-parent = <&mdss>;
        interrupts = <12>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_DP_AUX_CLK>,
                 <&dispcc DISP_CC_MDSS_DP_LINK_CLK>,
                 <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>;
        clock-names = "core_iface", "core_aux", "ctrl_link",
                      "ctrl_link_iface", "stream_pixel";
        assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>;
        assigned-clock-parents = <&dp_phy 0>, <&dp_phy 1>;
        phys = <&dp_phy>;
        phy-names = "dp";

        operating-points-v2 = <&dp_opp_table>;
        power-domains = <&rpmhpd SC7180_CX>;

        #sound-dai-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;
            port@0 {
                reg = <0>;
                dp_in: endpoint {
                    remote-endpoint = <&dpu_intf0_out>;
                };
            };

            port@1 {
                reg = <1>;
                dp_out: endpoint { };
            };
        };

        dp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-160000000 {
                opp-hz = /bits/ 64 <160000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-270000000 {
                opp-hz = /bits/ 64 <270000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-540000000 {
                opp-hz = /bits/ 64 <540000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-810000000 {
                opp-hz = /bits/ 64 <810000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Display DPU on SC7280

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sc7280-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Neil Armstrong <neil.armstrong@linaro.org>", "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>", "Krishna Manikandan <quic_mkrishn@quicinc.com>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sar2130p-dpu", "qcom,sc7280-dpu", "qcom,sc8280xp-dpu", "qcom,sm8350-dpu", "qcom,sm8450-dpu", "qcom,sm8550-dpu"

reg — required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for vbif register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — required here #

Array item rules (items) #

Item 1

Display hf axi clock

Item 2

Display sf axi clock

Item 3

Display ahb clock

Item 4

Display lut clock

Item 5

Display core clock

Item 6

Display vsync clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "nrt_bus"

Item 3

Exact value (const): "iface"

Item 4

Exact value (const): "lut"

Item 5

Exact value (const): "core"

Item 6

Exact value (const): "vsync"

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sc7280.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-controller@ae01000 {
    compatible = "qcom,sc7280-dpu";
    reg = <0x0ae01000 0x8f000>,
          <0x0aeb0000 0x2008>;

    reg-names = "mdp", "vbif";

    clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
             <&gcc GCC_DISP_SF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>,
             <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
    clock-names = "bus",
                  "nrt_bus",
                  "iface",
                  "lut",
                  "core",
                  "vsync";

    interrupt-parent = <&mdss>;
    interrupts = <0>;
    power-domains = <&rpmhpd SC7280_CX>;
    operating-points-v2 = <&mdp_opp_table>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };

        port@1 {
            reg = <1>;
            endpoint {
                remote-endpoint = <&edp_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SC7280 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sc7280-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

Device tree bindings for MSM Mobile Display Subsystem (MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree bindings of MDSS are mentioned for SC7280.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sc7280-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display AHB clock from dispcc

Item 3

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "ahb"

Item 3

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sc7280-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sc7280-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sc7280-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^edp@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sc7280-edp"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "qcom,sc7280-dsi-phy-7nm", "qcom,sc7280-edp-phy"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sc7280.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sc7280.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@ae00000 {
    #address-cells = <1>;
    #size-cells = <1>;
    compatible = "qcom,sc7280-mdss";
    reg = <0xae00000 0x1000>;
    reg-names = "mdss";
    power-domains = <&dispcc DISP_CC_MDSS_CORE_GDSC>;
    clocks = <&gcc GCC_DISP_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface",
                  "ahb",
                  "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    interconnects = <&mmss_noc MASTER_MDP0 &mc_virt SLAVE_EBI1>,
                    <&gem_noc MASTER_APPSS_PROC &cnoc2 SLAVE_DISPLAY_CFG>;
    interconnect-names = "mdp0-mem",
                         "cpu-cfg";

    iommus = <&apps_smmu 0x900 0x402>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sc7280-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;

        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&gcc GCC_DISP_SF_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "bus",
                      "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        interrupt-parent = <&mdss>;
        interrupts = <0>;
        power-domains = <&rpmhpd SC7280_CX>;
        operating-points-v2 = <&mdp_opp_table>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf5_out: endpoint {
                    remote-endpoint = <&edp_in>;
                };
            };

            port@2 {
                reg = <2>;
                dpu_intf0_out: endpoint {
                    remote-endpoint = <&dp_in>;
                };
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sc7280-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&mdss_dsi_phy 0>, <&mdss_dsi_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SC7280_CX>;

        phys = <&mdss_dsi_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };

        dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-187500000 {
                opp-hz = /bits/ 64 <187500000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    mdss_dsi_phy: phy@ae94400 {
        compatible = "qcom,sc7280-dsi-phy-7nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94900 0x280>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";

        vdds-supply = <&vreg_dsi_supply>;
    };

    edp@aea0000 {
        compatible = "qcom,sc7280-edp";
        pinctrl-names = "default";
        pinctrl-0 = <&edp_hot_plug_det>;

        reg = <0xaea0000 0x200>,
              <0xaea0200 0x200>,
              <0xaea0400 0xc00>,
              <0xaea1000 0x400>,
              <0xaea1400 0x400>;

        interrupt-parent = <&mdss>;
        interrupts = <14>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_EDP_AUX_CLK>,
                 <&dispcc DISP_CC_MDSS_EDP_LINK_CLK>,
                 <&dispcc DISP_CC_MDSS_EDP_LINK_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_EDP_PIXEL_CLK>;
        clock-names = "core_iface",
                      "core_aux",
                      "ctrl_link",
                      "ctrl_link_iface",
                      "stream_pixel";
        assigned-clocks = <&dispcc DISP_CC_MDSS_EDP_LINK_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_EDP_PIXEL_CLK_SRC>;
        assigned-clock-parents = <&mdss_edp_phy 0>, <&mdss_edp_phy 1>;

        phys = <&mdss_edp_phy>;
        phy-names = "dp";

        operating-points-v2 = <&edp_opp_table>;
        power-domains = <&rpmhpd SC7280_CX>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                edp_in: endpoint {
                    remote-endpoint = <&dpu_intf5_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss_edp_out: endpoint { };
            };
        };

        edp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-160000000 {
                opp-hz = /bits/ 64 <160000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-270000000 {
                opp-hz = /bits/ 64 <270000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-540000000 {
                opp-hz = /bits/ 64 <540000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };

            opp-810000000 {
                opp-hz = /bits/ 64 <810000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    mdss_edp_phy: phy@aec2a00 {
        compatible = "qcom,sc7280-edp-phy";

        reg = <0xaec2a00 0x19c>,
              <0xaec2200 0xa0>,
              <0xaec2600 0xa0>,
              <0xaec2000 0x1c0>;

        clocks = <&rpmhcc RPMH_CXO_CLK>,
                 <&gcc GCC_EDP_CLKREF_EN>;
        clock-names = "aux",
                      "cfg_ahb";

        #clock-cells = <1>;
        #phy-cells = <0>;
    };

    displayport-controller@ae90000 {
        compatible = "qcom,sc7280-dp";

        reg = <0xae90000 0x200>,
              <0xae90200 0x200>,
              <0xae90400 0xc00>,
              <0xae91000 0x400>,
              <0xae91400 0x400>;

        interrupt-parent = <&mdss>;
        interrupts = <12>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_DP_AUX_CLK>,
                 <&dispcc DISP_CC_MDSS_DP_LINK_CLK>,
                 <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>;
        clock-names = "core_iface",
                      "core_aux",
                      "ctrl_link",
                      "ctrl_link_iface",
                      "stream_pixel";
        assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>;
        assigned-clock-parents = <&dp_phy 0>, <&dp_phy 1>;
        phys = <&dp_phy>;
        phy-names = "dp";

        operating-points-v2 = <&dp_opp_table>;
        power-domains = <&rpmhpd SC7280_CX>;

        #sound-dai-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dp_in: endpoint {
                    remote-endpoint = <&dpu_intf0_out>;
                };
            };

            port@1 {
                reg = <1>;
                dp_out: endpoint { };
            };
        };

        dp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-160000000 {
                opp-hz = /bits/ 64 <160000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-270000000 {
                opp-hz = /bits/ 64 <270000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-540000000 {
                opp-hz = /bits/ 64 <540000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-810000000 {
                opp-hz = /bits/ 64 <810000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SC8180X Display DPU

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sc8180x-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "qcom,sc8180x-dpu"

reg — not listed as required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for vbif register set

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock

Item 2

Display HF AXI clock

Item 3

Display core clock

Item 4

Display vsync clock

Item 5

Display rotator clock

Item 6

Display LUT clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "vsync"

Item 5

Exact value (const): "rot"

Item 6

Exact value (const): "lut"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sm8250.h>
#include <dt-bindings/clock/qcom,gcc-sc8180x.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sc8180x.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-controller@ae01000 {
    compatible = "qcom,sc8180x-dpu";
    reg = <0x0ae01000 0x8f000>,
          <0x0aeb0000 0x2008>;
    reg-names = "mdp", "vbif";

    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>,
             <&dispcc DISP_CC_MDSS_VSYNC_CLK>,
             <&dispcc DISP_CC_MDSS_ROT_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>;
    clock-names = "iface",
                  "bus",
                  "core",
                  "vsync",
                  "rot",
                  "lut";

    assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
    assigned-clock-rates = <19200000>;

    operating-points-v2 = <&mdp_opp_table>;
    power-domains = <&rpmhpd SC8180X_MMCX>;

    interrupt-parent = <&mdss>;
    interrupts = <0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };

        port@1 {
            reg = <1>;
            endpoint {
                remote-endpoint = <&dsi1_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SC8180X Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sc8180x-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree bindings of MDSS are mentioned for SC8180X target.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "qcom,sc8180x-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display hf axi clock

Item 3

Display sf axi clock

Item 4

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "nrt_bus"

Item 4

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 3

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 3

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sc8180x-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "qcom,sc8180x-dp", "qcom,sc8180x-edp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sc8180x-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-7nm"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sm8250.h>
#include <dt-bindings/clock/qcom,gcc-sc8180x.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sc8180x.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sc8180x-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>,
                    <&mmss_noc MASTER_MDP_PORT1 &mc_virt SLAVE_EBI_CH0>,
                    <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_DISPLAY_CFG>;
    interconnect-names = "mdp0-mem",
                         "mdp1-mem",
                         "cpu-cfg";

    power-domains = <&dispcc MDSS_GDSC>;

    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&gcc GCC_DISP_SF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "bus", "nrt_bus", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x800 0x420>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sc8180x-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>,
                 <&dispcc DISP_CC_MDSS_ROT_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>;
        clock-names = "iface",
                      "bus",
                      "core",
                      "vsync",
                      "rot",
                      "lut";

        assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd SC8180X_MMCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&dsi1_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-171428571 {
                opp-hz = /bits/ 64 <171428571>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-345000000 {
                opp-hz = /bits/ 64 <345000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-460000000 {
                opp-hz = /bits/ 64 <460000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sc8180x-dsi-ctrl",
                     "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SC8180X_MMCX>;

        phys = <&dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };

        dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-187500000 {
                opp-hz = /bits/ 64 <187500000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    dsi0_phy: phy@ae94400 {
        compatible = "qcom,dsi-phy-7nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94900 0x260>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };

    dsi@ae96000 {
        compatible = "qcom,sc8180x-dsi-ctrl",
                     "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
        assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SC8180X_MMCX>;

        phys = <&dsi1_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi1_out: endpoint {
                };
            };
        };
    };

    dsi1_phy: phy@ae96400 {
        compatible = "qcom,dsi-phy-7nm";
        reg = <0x0ae96400 0x200>,
              <0x0ae96600 0x280>,
              <0x0ae96900 0x260>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SC8280XP Mobile Display Subsystem

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sc8280xp-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Device tree bindings for MSM Mobile Display Subsystem (MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "qcom,sc8280xp-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display AHB clock from dispcc

Item 3

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "ahb"

Item 3

Exact value (const): "core"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sc8280xp-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "qcom,sc8280xp-dp", "qcom,sc8280xp-edp"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sc8280xp.h>
#include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sc8280xp.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sc8280xp-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    power-domains = <&dispcc0 MDSS_GDSC>;

    clocks = <&gcc GCC_DISP_AHB_CLK>,
             <&dispcc0 DISP_CC_MDSS_AHB_CLK>,
             <&dispcc0 DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface",
                  "ahb",
                  "core";

    resets = <&dispcc0 DISP_CC_MDSS_CORE_BCR>;

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    interconnects = <&mmss_noc MASTER_MDP0 0 &mc_virt SLAVE_EBI1 0>,
                    <&mmss_noc MASTER_MDP1 0 &mc_virt SLAVE_EBI1 0>;
    interconnect-names = "mdp0-mem", "mdp1-mem";

    iommus = <&apps_smmu 0x1000 0x402>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sc8280xp-dpu";
        reg = <0x0ae01000 0x8f000>,
        <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&gcc GCC_DISP_SF_AXI_CLK>,
                 <&dispcc0 DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc0 DISP_CC_MDSS_MDP_LUT_CLK>,
                 <&dispcc0 DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc0 DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "bus",
                      "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&dispcc0 DISP_CC_MDSS_VSYNC_CLK>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdss0_mdp_opp_table>;
        power-domains = <&rpmhpd SC8280XP_MMCX>;

        interrupt-parent = <&mdss0>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                endpoint {
                    remote-endpoint = <&mdss0_dp0_in>;
                };
            };

            port@4 {
                reg = <4>;
                endpoint {
                    remote-endpoint = <&mdss0_dp1_in>;
                };
            };

            port@5 {
                reg = <5>;
                endpoint {
                    remote-endpoint = <&mdss0_dp3_in>;
                };
            };

            port@6 {
                reg = <6>;
                endpoint {
                    remote-endpoint = <&mdss0_dp2_in>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SDM670 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sdm670-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Richard Acayan <mailingradian@gmail.com>"

SDM670 MSM Mobile Display Subsystem (MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sdm670-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 2

interconnects — not listed as required here #

Maximum number of items (maxItems): 2

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 2

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sdm670-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sdm670-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sdm670-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-10nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,sdm670-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sdm670-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";
    power-domains = <&dispcc MDSS_GDSC>;

    clocks = <&gcc GCC_DISP_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    interconnects = <&mmss_noc MASTER_MDP_PORT0 0 &mem_noc SLAVE_EBI_CH0 0>,
                    <&mmss_noc MASTER_MDP_PORT1 0 &mem_noc SLAVE_EBI_CH0 0>;
    interconnect-names = "mdp0-mem", "mdp1-mem";

    iommus = <&apps_smmu 0x880 0x8>,
             <&apps_smmu 0xc80 0x8>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sdm670-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "gcc-bus", "iface", "bus", "core", "vsync";

        interrupt-parent = <&mdss>;
        interrupts = <0>;
        power-domains = <&rpmhpd SDM670_CX>;
        operating-points-v2 = <&mdp_opp_table>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&mdss_dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&mdss_dsi1_in>;
                };
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sdm670-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SDM670_CX>;

        phys = <&mdss_dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss_dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss_dsi0_out: endpoint {
                };
            };
        };
    };

    mdss_dsi0_phy: phy@ae94400 {
        compatible = "qcom,dsi-phy-10nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94a00 0x1e0>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };

    dsi@ae96000 {
        compatible = "qcom,sdm670-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
        assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SDM670_CX>;

        phys = <&dsi1_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss_dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss_dsi1_out: endpoint {
                };
            };
        };
    };

    mdss_dsi1_phy: phy@ae96400 {
        compatible = "qcom,dsi-phy-10nm";
        reg = <0x0ae96400 0x200>,
              <0x0ae96600 0x280>,
              <0x0ae96a00 0x10e>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Display DPU on SDM845

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sdm845-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sdm670-dpu", "qcom,sdm845-dpu"

reg — required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for vbif register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — required here #

Array item rules (items) #

Item 1

Display GCC bus clock

Item 2

Display ahb clock

Item 3

Display axi clock

Item 4

Display core clock

Item 5

Display vsync clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "gcc-bus"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "bus"

Item 4

Exact value (const): "core"

Item 5

Exact value (const): "vsync"

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-controller@ae01000 {
    compatible = "qcom,sdm845-dpu";
    reg = <0x0ae01000 0x8f000>,
          <0x0aeb0000 0x2008>;
    reg-names = "mdp", "vbif";

    clocks = <&gcc GCC_DISP_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>,
             <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
    clock-names = "gcc-bus", "iface", "bus", "core", "vsync";

    interrupt-parent = <&mdss>;
    interrupts = <0>;
    power-domains = <&rpmhpd SDM845_CX>;
    operating-points-v2 = <&mdp_opp_table>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };

        port@1 {
            reg = <1>;
            endpoint {
                remote-endpoint = <&dsi1_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SDM845 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sdm845-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree bindings of MDSS are mentioned for SDM845 target.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sdm845-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 2

interconnects — not listed as required here #

Maximum number of items (maxItems): 2

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 2

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sdm845-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sdm845-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sdm845-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-10nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@ae00000 {
    #address-cells = <1>;
    #size-cells = <1>;
    compatible = "qcom,sdm845-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";
    power-domains = <&dispcc MDSS_GDSC>;

    clocks = <&gcc GCC_DISP_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x880 0x8>,
             <&apps_smmu 0xc80 0x8>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sdm845-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "gcc-bus", "iface", "bus", "core", "vsync";

        interrupt-parent = <&mdss>;
        interrupts = <0>;
        power-domains = <&rpmhpd SDM845_CX>;
        operating-points-v2 = <&mdp_opp_table>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&dsi1_in>;
                };
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sdm845-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SDM845_CX>;

        phys = <&dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };
    };

    dsi0_phy: phy@ae94400 {
        compatible = "qcom,dsi-phy-10nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94a00 0x1e0>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };

    dsi@ae96000 {
        compatible = "qcom,sdm845-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
        assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SDM845_CX>;

        phys = <&dsi1_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi1_out: endpoint {
                };
            };
        };
    };

    dsi1_phy: phy@ae96400 {
        compatible = "qcom,dsi-phy-10nm";
        reg = <0x0ae96400 0x200>,
              <0x0ae96600 0x280>,
              <0x0ae96a00 0x10e>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Display DPU on SM6115

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm6115-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm6115-dpu"

reg — required here #

Array item rules (items) #

Item 1

MDP register set

Item 2

VBIF register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — required here #

Array item rules (items) #

Item 1

Display AXI

Item 2

Display AHB

Item 3

Display core

Item 4

Display lut

Item 5

Display rotator

Item 6

Display vsync

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "lut"

Item 5

Exact value (const): "rot"

Item 6

Exact value (const): "vsync"

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm6115-dispcc.h>
#include <dt-bindings/clock/qcom,gcc-sm6115.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-controller@5e01000 {
    compatible = "qcom,sm6115-dpu";
    reg = <0x05e01000 0x8f000>,
          <0x05eb0000 0x2008>;
    reg-names = "mdp", "vbif";

    clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
             <&dispcc DISP_CC_MDSS_ROT_CLK>,
             <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
    clock-names = "bus", "iface", "core", "lut", "rot", "vsync";

    operating-points-v2 = <&mdp_opp_table>;
    power-domains = <&rpmpd SM6115_VDDCX>;

    interrupt-parent = <&mdss>;
    interrupts = <0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM6115 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm6115-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller and DSI. Device tree bindings of MDSS are mentioned for SM6115 target.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm6115-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display AXI clock

Item 3

Display core clock

iommus — not listed as required here #

Maximum number of items (maxItems): 2

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm6115-dpu"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): "qcom,sm6115-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

Rule 2

Old binding, please don't use

Deprecated (deprecated): true

Exact value (const): "qcom,dsi-ctrl-6g-qcm2290"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-14nm-2290"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm6115-dispcc.h>
#include <dt-bindings/clock/qcom,gcc-sm6115.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@5e00000 {
    #address-cells = <1>;
    #size-cells = <1>;
    compatible = "qcom,sm6115-mdss";
    reg = <0x05e00000 0x1000>;
    reg-names = "mdss";
    power-domains = <&dispcc MDSS_GDSC>;
    clocks = <&gcc GCC_DISP_AHB_CLK>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;

    interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x420 0x2>,
             <&apps_smmu 0x421 0x0>;
    ranges;

    display-controller@5e01000 {
        compatible = "qcom,sm6115-dpu";
        reg = <0x05e01000 0x8f000>,
              <0x05eb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
                 <&dispcc DISP_CC_MDSS_ROT_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "bus", "iface", "core", "lut", "rot", "vsync";

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmpd SM6115_VDDCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };
        };
    };

    dsi@5e94000 {
        compatible = "qcom,sm6115-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x05e94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmpd SM6115_VDDCX>;
        phys = <&dsi0_phy>;

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };
    };

    dsi0_phy: phy@5e94400 {
        compatible = "qcom,dsi-phy-14nm-2290";
        reg = <0x05e94400 0x100>,
              <0x05e94500 0x300>,
              <0x05e94800 0x188>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, <&rpmcc RPM_SMD_XO_CLK_SRC>;
        clock-names = "iface", "ref";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM6125 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm6125-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Marijn Suijten <marijn.suijten@somainline.org>"

SM6125 MSM Mobile Display Subsystem (MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "qcom,sm6125-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display AHB clock

Item 3

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "ahb"

Item 3

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm6125-dpu"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm6125-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm6125-dsi-phy-14nm"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sm6125.h>
#include <dt-bindings/clock/qcom,gcc-sm6125.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@5e00000 {
    compatible = "qcom,sm6125-mdss";
    reg = <0x05e00000 0x1000>;
    reg-names = "mdss";

    interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    clocks = <&gcc GCC_DISP_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface",
                  "ahb",
                  "core";

    power-domains = <&dispcc MDSS_GDSC>;

    iommus = <&apps_smmu 0x400 0x0>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@5e01000 {
        compatible = "qcom,sm6125-dpu";
        reg = <0x05e01000 0x83208>,
              <0x05eb0000 0x2008>;
        reg-names = "mdp", "vbif";

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_ROT_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>,
                 <&gcc GCC_DISP_THROTTLE_CORE_CLK>;
        clock-names = "bus",
                      "iface",
                      "rot",
                      "lut",
                      "core",
                      "vsync",
                      "throttle";
        assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmpd SM6125_VDDCX>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&mdss_dsi0_in>;
                };
            };
        };
    };

    dsi@5e94000 {
        compatible = "qcom,sm6125-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x05e94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";
        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                  <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmpd SM6125_VDDCX>;

        phys = <&mdss_dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss_dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss_dsi0_out: endpoint {
                };
            };
        };
    };

    phy@5e94400 {
        compatible = "qcom,sm6125-dsi-phy-14nm";
        reg = <0x05e94400 0x100>,
              <0x05e94500 0x300>,
              <0x05e94800 0x188>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmcc RPM_SMD_XO_CLK_SRC>;
        clock-names = "iface",
                      "ref";

        required-opps = <&rpmpd_opp_nom>;
        power-domains = <&rpmpd SM6125_VDDMX>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM6150 Display DPU

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm6150-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abhinav Kumar <quic_abhinavk@quicinc.com>", "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "qcom,sm6150-dpu"

reg — not listed as required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for vbif register set

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display ahb clock

Item 2

Display hf axi clock

Item 3

Display core clock

Item 4

Display vsync clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "vsync"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-controller@ae01000 {
    compatible = "qcom,sm6150-dpu";
    reg = <0x0ae01000 0x8f000>,
          <0x0aeb0000 0x2008>;
    reg-names = "mdp", "vbif";

    clocks = <&dispcc_mdss_ahb_clk>,
             <&gcc_disp_hf_axi_clk>,
             <&dispcc_mdss_mdp_clk>,
             <&dispcc_mdss_vsync_clk>;
    clock-names = "iface", "bus", "core", "vsync";

    assigned-clocks = <&dispcc_mdss_vsync_clk>;
    assigned-clock-rates = <19200000>;

    operating-points-v2 = <&mdp_opp_table>;
    power-domains = <&rpmhpd RPMHPD_CX>;

    interrupt-parent = <&mdss>;
    interrupts = <0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            dpu_intf0_out: endpoint {
            };
        };

        port@1 {
            reg = <1>;
            dpu_intf1_out: endpoint {
              remote-endpoint = <&mdss_dsi0_in>;
            };
        };
    };

    mdp_opp_table: opp-table {
        compatible = "operating-points-v2";

        opp-19200000 {
          opp-hz = /bits/ 64 <19200000>;
          required-opps = <&rpmhpd_opp_low_svs>;
        };

        opp-25600000 {
          opp-hz = /bits/ 64 <25600000>;
          required-opps = <&rpmhpd_opp_svs>;
        };

        opp-307200000 {
          opp-hz = /bits/ 64 <307200000>;
          required-opps = <&rpmhpd_opp_nom>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM6150 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm6150-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abhinav Kumar <quic_abhinavk@quicinc.com>", "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree bindings of MDSS are mentioned for SM6150 target.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "qcom,sm6150-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display hf axi clock

Item 3

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 2

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 2

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm6150-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sm6150-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm6150-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm6150-dsi-phy-14nm"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,qcs615-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-subsystem@ae00000 {
    #address-cells = <1>;
    #size-cells = <1>;
    compatible = "qcom,sm6150-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ALWAYS
                     &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
                    <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
                     &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
    interconnect-names = "mdp0-mem", "cpu-cfg";

    power-domains = <&dispcc_mdss_gdsc>;

    clocks = <&dispcc_mdss_ahb_clk>,
             <&gcc_disp_hf_axi_clk>,
             <&dispcc_mdss_mdp_clk>;

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x800 0x0>;

    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sm6150-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&dispcc_mdss_ahb_clk>,
                 <&gcc_disp_hf_axi_clk>,
                 <&dispcc_mdss_mdp_clk>,
                 <&dispcc_mdss_vsync_clk>;
        clock-names = "iface", "bus", "core", "vsync";

        assigned-clocks = <&dispcc_mdss_vsync_clk>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_CX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;

                dpu_intf0_out: endpoint {
                };
            };

            port@1 {
                reg = <1>;

                dpu_intf1_out: endpoint {
                    remote-endpoint = <&mdss_dsi0_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-192000000 {
                opp-hz = /bits/ 64 <192000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-256000000 {
                opp-hz = /bits/ 64 <256000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-307200000 {
                opp-hz = /bits/ 64 <307200000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sm6150-dsi-ctrl",
                     "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc_mdss_byte0_clk>,
                 <&dispcc_mdss_byte0_intf_clk>,
                 <&dispcc_mdss_pclk0_clk>,
                 <&dispcc_mdss_esc0_clk>,
                 <&dispcc_mdss_ahb_clk>,
                 <&gcc_disp_hf_axi_clk>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc_mdss_byte0_clk_src>,
                          <&dispcc_mdss_pclk0_clk_src>;
        assigned-clock-parents = <&mdss_dsi0_phy 0>,
                                 <&mdss_dsi0_phy 1>;

        operating-points-v2 = <&dsi0_opp_table>;

        phys = <&mdss_dsi0_phy>;

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss_dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss_dsi0_out: endpoint {
                };
            };
        };

        dsi0_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-164000000 {
                opp-hz = /bits/ 64 <164000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };
        };
    };

    mdss_dsi0_phy: phy@ae94400 {
        compatible = "qcom,sm6150-dsi-phy-14nm";
        reg = <0x0ae94400 0x100>,
              <0x0ae94500 0x300>,
              <0x0ae94800 0x188>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc_mdss_ahb_clk>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM6350 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm6350-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"

SM6350 MSM Mobile Display Subsystem (MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "qcom,sm6350-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display AXI clock from gcc

Item 3

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm6350-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sm6350-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm6350-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-10nm"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sm6350.h>
#include <dt-bindings/clock/qcom,gcc-sm6350.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sm6350-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    power-domains = <&dispcc MDSS_GDSC>;

    clocks = <&gcc GCC_DISP_AHB_CLK>,
             <&gcc GCC_DISP_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "bus", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x800 0x2>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sm6350-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_AXI_CLK>,
          <&dispcc DISP_CC_MDSS_AHB_CLK>,
          <&dispcc DISP_CC_MDSS_ROT_CLK>,
          <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
          <&dispcc DISP_CC_MDSS_MDP_CLK>,
          <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "bus", "iface", "rot", "lut", "core",
                "vsync";

        assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
                          <&dispcc DISP_CC_MDSS_VSYNC_CLK>,
                          <&dispcc DISP_CC_MDSS_ROT_CLK>,
                          <&dispcc DISP_CC_MDSS_AHB_CLK>;
        assigned-clock-rates = <300000000>,
                               <19200000>,
                               <19200000>,
                               <19200000>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;
        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd SM6350_CX>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sm6350-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SM6350_MX>;

        phys = <&dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };
    };

    dsi0_phy: phy@ae94400 {
        compatible = "qcom,dsi-phy-10nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94a00 0x1e0>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM6375 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm6375-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

SM6375 MSM Mobile Display Subsystem (MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "qcom,sm6375-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display AHB clock

Item 3

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "ahb"

Item 3

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm6375-dpu"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm6375-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm6375-dsi-phy-7nm"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/clock/qcom,sm6375-gcc.h>
#include <dt-bindings/clock/qcom,sm6375-dispcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@5e00000 {
    compatible = "qcom,sm6375-mdss";
    reg = <0x05e00000 0x1000>;
    reg-names = "mdss";

    power-domains = <&dispcc MDSS_GDSC>;

    clocks = <&gcc GCC_DISP_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "ahb", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x820 0x2>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@5e01000 {
        compatible = "qcom,sm6375-dpu";
        reg = <0x05e01000 0x8e030>,
              <0x05eb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_ROT_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>,
                 <&gcc GCC_DISP_THROTTLE_CORE_CLK>;
        clock-names = "bus",
                      "iface",
                      "rot",
                      "lut",
                      "core",
                      "vsync",
                      "throttle";

        assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmpd SM6375_VDDCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };
        };
    };

    dsi@5e94000 {
        compatible = "qcom,sm6375-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x05e94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmpd SM6375_VDDMX>;

        phys = <&mdss_dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };
    };

    mdss_dsi0_phy: phy@5e94400 {
        compatible = "qcom,sm6375-dsi-phy-7nm";
        reg = <0x05e94400 0x200>,
              <0x05e94600 0x280>,
              <0x05e94900 0x264>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmcc RPM_SMD_XO_CLK_SRC>;
        clock-names = "iface", "ref";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM7150 Display Processing Unit (DPU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm7150-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Danila Tikhonov <danila@jiaxyga.com>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm7150-dpu"

reg — required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for vbif register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — required here #

Array item rules (items) #

Item 1

Display hf axi clock

Item 2

Display ahb clock

Item 3

Display rotator clock

Item 4

Display lut clock

Item 5

Display core clock

Item 6

Display vsync clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "rot"

Item 4

Exact value (const): "lut"

Item 5

Exact value (const): "core"

Item 6

Exact value (const): "vsync"

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-controller@ae01000 {
    compatible = "qcom,sm7150-dpu";
    reg = <0x0ae01000 0x8f000>,
          <0x0aeb0000 0x2008>;
    reg-names = "mdp", "vbif";

    clocks = <&gcc_disp_hf_axi_clk>,
             <&dispcc_mdss_ahb_clk>,
             <&dispcc_mdss_rot_clk>,
             <&dispcc_mdss_mdp_lut_clk>,
             <&dispcc_mdss_mdp_clk>,
             <&dispcc_mdss_vsync_clk>;
    clock-names = "bus",
                  "iface",
                  "rot",
                  "lut",
                  "core",
                  "vsync";

    assigned-clocks = <&dispcc_mdss_vsync_clk>;
    assigned-clock-rates = <19200000>;

    operating-points-v2 = <&mdp_opp_table>;
    power-domains = <&rpmhpd RPMHPD_CX>;

    interrupt-parent = <&mdss>;
    interrupts = <0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            dpu_intf1_out: endpoint {
                remote-endpoint = <&mdss_dsi0_in>;
            };
        };

        port@1 {
            reg = <1>;
            dpu_intf2_out: endpoint {
                remote-endpoint = <&mdss_dsi1_in>;
            };
        };

        port@2 {
            reg = <2>;
            dpu_intf0_out: endpoint {
                remote-endpoint = <&dp_in>;
            };
        };
    };

    mdp_opp_table: opp-table {
        compatible = "operating-points-v2";

        opp-19200000 {
            opp-hz = /bits/ 64 <19200000>;
            required-opps = <&rpmhpd_opp_min_svs>;
        };

        opp-200000000 {
            opp-hz = /bits/ 64 <200000000>;
            required-opps = <&rpmhpd_opp_low_svs>;
        };

        opp-300000000 {
            opp-hz = /bits/ 64 <300000000>;
            required-opps = <&rpmhpd_opp_svs>;
        };

        opp-344000000 {
            opp-hz = /bits/ 64 <344000000>;
            required-opps = <&rpmhpd_opp_svs_l1>;
        };

        opp-430000000 {
            opp-hz = /bits/ 64 <430000000>;
            required-opps = <&rpmhpd_opp_nom>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM7150 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm7150-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Danila Tikhonov <danila@jiaxyga.com>"

SM7150 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm7150-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display ahb clock from gcc

Item 2

Display hf axi clock

Item 3

Display sf axi clock

Item 4

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "nrt_bus"

Item 4

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from mdp1 port to the data bus

Item 3

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "mdp1-mem"

Item 3

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm7150-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sm7150-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm7150-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-10nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,sm7150-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sm7150-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    power-domains = <&dispcc_mdss_gdsc>;

    clocks = <&dispcc_mdss_ahb_clk>,
             <&gcc_disp_hf_axi_clk>,
             <&gcc_disp_sf_axi_clk>,
             <&dispcc_mdss_mdp_clk>;
    clock-names = "iface",
                  "bus",
                  "nrt_bus",
                  "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    interconnects = <&mmss_noc MASTER_MDP_PORT0 QCOM_ICC_TAG_ALWAYS
                     &mc_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ALWAYS>,
                    <&mmss_noc MASTER_MDP_PORT1 QCOM_ICC_TAG_ALWAYS
                     &mc_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ALWAYS>,
                    <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY
                     &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
    interconnect-names = "mdp0-mem",
                         "mdp1-mem",
                         "cpu-cfg";

    iommus = <&apps_smmu 0x800 0x440>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sm7150-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc_disp_hf_axi_clk>,
                 <&dispcc_mdss_ahb_clk>,
                 <&dispcc_mdss_rot_clk>,
                 <&dispcc_mdss_mdp_lut_clk>,
                 <&dispcc_mdss_mdp_clk>,
                 <&dispcc_mdss_vsync_clk>;
        clock-names = "bus",
                      "iface",
                      "rot",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&dispcc_mdss_vsync_clk>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_CX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&mdss_dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&mdss_dsi1_in>;
                };
            };

            port@2 {
                reg = <2>;
                dpu_intf0_out: endpoint {
                    remote-endpoint = <&dp_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-19200000 {
                opp-hz = /bits/ 64 <19200000>;
                required-opps = <&rpmhpd_opp_min_svs>;
            };

            opp-200000000 {
                opp-hz = /bits/ 64 <200000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-344000000 {
                opp-hz = /bits/ 64 <344000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-430000000 {
                opp-hz = /bits/ 64 <430000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sm7150-dsi-ctrl",
                     "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc_mdss_byte0_clk>,
                 <&dispcc_mdss_byte0_intf_clk>,
                 <&dispcc_mdss_pclk0_clk>,
                 <&dispcc_mdss_esc0_clk>,
                 <&dispcc_mdss_ahb_clk>,
                 <&gcc_disp_hf_axi_clk>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc_mdss_byte0_clk_src>,
                          <&dispcc_mdss_pclk0_clk_src>;
        assigned-clock-parents = <&mdss_dsi0_phy 0>,
                                 <&mdss_dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_CX>;

        phys = <&mdss_dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss_dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss_dsi0_out: endpoint {
                };
            };
        };

        dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-180000000 {
                opp-hz = /bits/ 64 <180000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-275000000 {
                opp-hz = /bits/ 64 <275000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    mdss_dsi0_phy: phy@ae94400 {
        compatible = "qcom,dsi-phy-10nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94a00 0x1e0>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc_mdss_ahb_clk>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vdda_mipi_dsi0_pll>;
    };

    dsi@ae96000 {
        compatible = "qcom,sm7150-dsi-ctrl",
                     "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&dispcc_mdss_byte1_clk>,
                 <&dispcc_mdss_byte1_intf_clk>,
                 <&dispcc_mdss_pclk1_clk>,
                 <&dispcc_mdss_esc1_clk>,
                 <&dispcc_mdss_ahb_clk>,
                 <&gcc_disp_hf_axi_clk>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc_mdss_byte1_clk_src>,
                          <&dispcc_mdss_pclk1_clk_src>;
        assigned-clock-parents = <&mdss_dsi1_phy 0>,
                                 <&mdss_dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_CX>;

        phys = <&mdss_dsi1_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                mdss_dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                mdss_dsi1_out: endpoint {
                };
            };
        };
    };

    mdss_dsi1_phy: phy@ae96400 {
        compatible = "qcom,dsi-phy-10nm";
        reg = <0x0ae96400 0x200>,
              <0x0ae96600 0x280>,
              <0x0ae96a00 0x1e0>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc_mdss_ahb_clk>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vdda_mipi_dsi1_pll>;
    };

    displayport-controller@ae90000 {
        compatible = "qcom,sm7150-dp",
                     "qcom,sm8350-dp";
        reg = <0xae90000 0x200>,
              <0xae90200 0x200>,
              <0xae90400 0xc00>,
              <0xae91000 0x400>,
              <0xae91400 0x400>;

        interrupt-parent = <&mdss>;
        interrupts = <12>;

        clocks = <&dispcc_mdss_ahb_clk>,
                 <&dispcc_mdss_dp_aux_clk>,
                 <&dispcc_mdss_dp_link_clk>,
                 <&dispcc_mdss_dp_link_intf_clk>,
                 <&dispcc_mdss_dp_pixel_clk>,
                 <&dispcc_mdss_dp_pixel1_clk>;
        clock-names = "core_iface",
                      "core_aux",
                      "ctrl_link",
                      "ctrl_link_iface",
                      "stream_pixel",
                      "stream_1_pixel";

        assigned-clocks = <&dispcc_mdss_dp_link_clk_src>,
                          <&dispcc_mdss_dp_pixel_clk_src>,
                          <&dispcc_mdss_dp_pixel1_clk_src>;
        assigned-clock-parents = <&dp_phy 0>,
                                 <&dp_phy 1>,
                                 <&dp_phy 1>;

        operating-points-v2 = <&dp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_CX>;

        phys = <&dp_phy>;
        phy-names = "dp";

        #sound-dai-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dp_in: endpoint {
                    remote-endpoint = <&dpu_intf0_out>;
                };
            };

            port@1 {
                reg = <1>;
                dp_out: endpoint {
                };
            };
        };

        dp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-160000000 {
                opp-hz = /bits/ 64 <160000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-270000000 {
                opp-hz = /bits/ 64 <270000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-540000000 {
                opp-hz = /bits/ 64 <540000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-810000000 {
                opp-hz = /bits/ 64 <810000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM8150 Display DPU

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm8150-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "qcom,sm8150-dpu", "qcom,sm8250-dpu"

reg — not listed as required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for vbif register set

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display ahb clock

Item 2

Display hf axi clock

Item 3

Display core clock

Item 4

Display vsync clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "vsync"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sm8150.h>
#include <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sm8150.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-controller@ae01000 {
    compatible = "qcom,sm8150-dpu";
    reg = <0x0ae01000 0x8f000>,
          <0x0aeb0000 0x2008>;
    reg-names = "mdp", "vbif";

    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>,
             <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
    clock-names = "iface", "bus", "core", "vsync";

    assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
    assigned-clock-rates = <19200000>;

    operating-points-v2 = <&mdp_opp_table>;
    power-domains = <&rpmhpd SM8150_MMCX>;

    interrupt-parent = <&mdss>;
    interrupts = <0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };

        port@1 {
            reg = <1>;
            endpoint {
                remote-endpoint = <&dsi1_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM8150 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm8150-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree bindings of MDSS are mentioned for SM8150 target.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "qcom,sm8150-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display hf axi clock

Item 3

Display sf axi clock

Item 4

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "nrt_bus"

Item 4

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 2

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 2

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8150-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sm8150-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm8150-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-7nm-8150"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sm8150.h>
#include <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sm8150.h>
#include <dt-bindings/power/qcom-rpmpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sm8150-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>,
                    <&mmss_noc MASTER_MDP_PORT1 &mc_virt SLAVE_EBI_CH0>;
    interconnect-names = "mdp0-mem", "mdp1-mem";

    power-domains = <&dispcc MDSS_GDSC>;

    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&gcc GCC_DISP_SF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "bus", "nrt_bus", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x800 0x420>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sm8150-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "iface", "bus", "core", "vsync";

        assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd SM8150_MMCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&dsi1_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-171428571 {
                opp-hz = /bits/ 64 <171428571>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-345000000 {
                opp-hz = /bits/ 64 <345000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-460000000 {
                opp-hz = /bits/ 64 <460000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sm8150-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SM8150_MMCX>;

        phys = <&dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };

        dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-187500000 {
                opp-hz = /bits/ 64 <187500000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    dsi0_phy: phy@ae94400 {
        compatible = "qcom,dsi-phy-7nm-8150";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94900 0x260>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };

    dsi@ae96000 {
        compatible = "qcom,sm8150-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
        assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd SM8150_MMCX>;

        phys = <&dsi1_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi1_out: endpoint {
                };
            };
        };
    };

    dsi1_phy: phy@ae96400 {
        compatible = "qcom,dsi-phy-7nm-8150";
        reg = <0x0ae96400 0x200>,
              <0x0ae96600 0x280>,
              <0x0ae96900 0x260>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM8250 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm8250-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree bindings of MDSS are mentioned for SM8250 target.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8250-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display hf axi clock

Item 3

Display sf axi clock

Item 4

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "nrt_bus"

Item 4

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 2

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 2

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8250-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm8250-dp"

Item 2

Exact value (const): "qcom,sm8350-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm8250-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,dsi-phy-7nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sm8250.h>
#include <dt-bindings/clock/qcom,gcc-sm8250.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sm8250.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sm8250-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>,
                    <&mmss_noc MASTER_MDP_PORT1 &mc_virt SLAVE_EBI_CH0>;
    interconnect-names = "mdp0-mem", "mdp1-mem";

    power-domains = <&dispcc MDSS_GDSC>;

    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&gcc GCC_DISP_SF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "bus", "nrt_bus", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x820 0x402>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sm8250-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "iface", "bus", "core", "vsync";

        assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&dsi1_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-200000000 {
                opp-hz = /bits/ 64 <200000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-345000000 {
                opp-hz = /bits/ 64 <345000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-460000000 {
                opp-hz = /bits/ 64 <460000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sm8250-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };

        dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-187500000 {
                opp-hz = /bits/ 64 <187500000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    dsi0_phy: phy@ae94400 {
        compatible = "qcom,dsi-phy-7nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94900 0x260>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };

    dsi@ae96000 {
        compatible = "qcom,sm8250-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
        assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&dsi1_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi1_out: endpoint {
                };
            };
        };
    };

    dsi1_phy: phy@ae96400 {
        compatible = "qcom,dsi-phy-7nm";
        reg = <0x0ae96400 0x200>,
              <0x0ae96600 0x280>,
              <0x0ae96900 0x260>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM8350 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm8350-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Robert Foss <robert.foss@linaro.org>"

MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "qcom,sm8350-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB clock from gcc

Item 2

Display hf axi clock

Item 3

Display sf axi clock

Item 4

Display core clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "nrt_bus"

Item 4

Exact value (const): "core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from the MDP0 port to the data bus

Item 2

Interconnect path from the MDP1 port to the data bus

Item 3

Interconnect path from the CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "mdp1-mem"

Item 3

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8350-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8350-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm8350-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8350-dsi-phy-5nm"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-sm8350.h>
#include <dt-bindings/clock/qcom,gcc-sm8350.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,sm8350.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sm8350-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP0 0 &mc_virt SLAVE_EBI1 0>,
                    <&mmss_noc MASTER_MDP1 0 &mc_virt SLAVE_EBI1 0>,
                    <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
                     &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
    interconnect-names = "mdp0-mem", "mdp1-mem", "cpu-cfg";

    power-domains = <&dispcc MDSS_GDSC>;
    resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;

    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&gcc GCC_DISP_SF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "bus", "nrt_bus", "core";

    iommus = <&apps_smmu 0x820 0x402>;

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sm8350-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                 <&gcc GCC_DISP_SF_AXI_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "bus",
                      "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-200000000 {
                opp-hz = /bits/ 64 <200000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-345000000 {
                opp-hz = /bits/ 64 <345000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-460000000 {
                opp-hz = /bits/ 64 <460000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    dsi0: dsi@ae94000 {
        compatible = "qcom,sm8350-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                  "byte_intf",
                  "pixel",
                  "core",
                  "iface",
                  "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                      <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&mdss_dsi0_phy 0>,
                             <&mdss_dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&mdss_dsi0_phy>;

        ports {
         #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM8450 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm8450-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

SM8450 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8450-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB

Item 2

Display hf AXI

Item 3

Display sf AXI

Item 4

Display core

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 3

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 3

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8450-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm8450-dp"

Item 2

Exact value (const): "qcom,sm8350-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm8450-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8450-dsi-phy-5nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm8450-dispcc.h>
#include <dt-bindings/clock/qcom,gcc-sm8450.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sm8450.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sm8450-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP_DISP &mc_virt SLAVE_EBI1_DISP>,
                    <&mmss_noc MASTER_MDP_DISP &mc_virt SLAVE_EBI1_DISP>,
                    <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_DISPLAY_CFG>;
    interconnect-names = "mdp0-mem",
                         "mdp1-mem",
                         "cpu-cfg";

    resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;

    power-domains = <&dispcc MDSS_GDSC>;

    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&gcc GCC_DISP_SF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "bus", "nrt_bus", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x2800 0x402>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sm8450-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
                <&gcc GCC_DISP_SF_AXI_CLK>,
                <&dispcc DISP_CC_MDSS_AHB_CLK>,
                <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
                <&dispcc DISP_CC_MDSS_MDP_CLK>,
                <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "bus",
                      "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&dsi1_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-172000000{
                opp-hz = /bits/ 64 <172000000>;
                required-opps = <&rpmhpd_opp_low_svs_d1>;
            };

            opp-200000000 {
                opp-hz = /bits/ 64 <200000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-325000000 {
                opp-hz = /bits/ 64 <325000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-375000000 {
                opp-hz = /bits/ 64 <375000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-500000000 {
                opp-hz = /bits/ 64 <500000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sm8450-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };

        dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-160310000{
                opp-hz = /bits/ 64 <160310000>;
                required-opps = <&rpmhpd_opp_low_svs_d1>;
            };

            opp-187500000 {
                opp-hz = /bits/ 64 <187500000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    dsi0_phy: phy@ae94400 {
        compatible = "qcom,sm8450-dsi-phy-5nm";
        reg = <0x0ae94400 0x200>,
              <0x0ae94600 0x280>,
              <0x0ae94900 0x260>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };

    dsi@ae96000 {
        compatible = "qcom,sm8450-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
        assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&dsi1_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi1_out: endpoint {
                };
            };
        };
    };

    dsi1_phy: phy@ae96400 {
        compatible = "qcom,sm8450-dsi-phy-5nm";
        reg = <0x0ae96400 0x200>,
              <0x0ae96600 0x280>,
              <0x0ae96900 0x260>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
        vdds-supply = <&vreg_dsi_phy>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM8550 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm8550-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

SM8550 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8550-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display MDSS AHB

Item 2

Display AHB

Item 3

Display hf AXI

Item 4

Display core

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8550-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm8550-dp"

Item 2

Exact value (const): "qcom,sm8350-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm8550-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8550-dsi-phy-4nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm8550-dispcc.h>
#include <dt-bindings/clock/qcom,sm8550-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,sm8550-rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,sm8550-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP 0 &mc_virt SLAVE_EBI1 0>,
                    <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_DISPLAY_CFG 0>;
    interconnect-names = "mdp0-mem", "cpu-cfg";

    resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;

    power-domains = <&dispcc MDSS_GDSC>;

    clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
             <&gcc GCC_DISP_AHB_CLK>,
             <&gcc GCC_DISP_HF_AXI_CLK>,
             <&dispcc DISP_CC_MDSS_MDP_CLK>;
    clock-names = "iface", "bus", "nrt_bus", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x1c00 0x2>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sm8550-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc GCC_DISP_AHB_CLK>,
                <&gcc GCC_DISP_HF_AXI_CLK>,
                <&dispcc DISP_CC_MDSS_AHB_CLK>,
                <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
                <&dispcc DISP_CC_MDSS_MDP_CLK>,
                <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        clock-names = "bus",
                      "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&dsi1_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-200000000 {
                opp-hz = /bits/ 64 <200000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-325000000 {
                opp-hz = /bits/ 64 <325000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-375000000 {
                opp-hz = /bits/ 64 <375000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-514000000 {
                opp-hz = /bits/ 64 <514000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sm8550-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };

        dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-187500000 {
                opp-hz = /bits/ 64 <187500000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    dsi0_phy: phy@ae94400 {
        compatible = "qcom,sm8550-dsi-phy-4nm";
        reg = <0x0ae95000 0x200>,
              <0x0ae95200 0x280>,
              <0x0ae95500 0x400>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
    };

    dsi@ae96000 {
        compatible = "qcom,sm8550-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
                 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
                 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
                 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&gcc GCC_DISP_HF_AXI_CLK>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
                          <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
        assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&dsi1_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi1_out: endpoint {
                };
            };
        };
    };

    dsi1_phy: phy@ae96400 {
        compatible = "qcom,sm8550-dsi-phy-4nm";
        reg = <0x0ae97000 0x200>,
              <0x0ae97200 0x280>,
              <0x0ae97500 0x400>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>;
        clock-names = "iface", "ref";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM8650 Display DPU

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm8650-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,glymur-dpu", "qcom,kaanapali-dpu", "qcom,sa8775p-dpu", "qcom,sm8650-dpu", "qcom,sm8750-dpu", "qcom,x1e80100-dpu"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,qcs8300-dpu"

Item 2

Exact value (const): "qcom,sa8775p-dpu"

reg — required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for vbif register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — required here #

Array item rules (items) #

Item 1

Display hf axi

Item 2

Display MDSS ahb

Item 3

Display lut

Item 4

Display core

Item 5

Display vsync

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "nrt_bus"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "lut"

Item 4

Exact value (const): "core"

Item 5

Exact value (const): "vsync"

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-controller@ae01000 {
    compatible = "qcom,sm8650-dpu";
    reg = <0x0ae01000 0x8f000>,
          <0x0aeb0000 0x2008>;
    reg-names = "mdp", "vbif";

    clocks = <&gcc_axi_clk>,
             <&dispcc_ahb_clk>,
             <&dispcc_mdp_lut_clk>,
             <&dispcc_mdp_clk>,
             <&dispcc_vsync_clk>;
    clock-names = "nrt_bus",
                  "iface",
                  "lut",
                  "core",
                  "vsync";

    assigned-clocks = <&dispcc_vsync_clk>;
    assigned-clock-rates = <19200000>;

    operating-points-v2 = <&mdp_opp_table>;
    power-domains = <&rpmhpd RPMHPD_MMCX>;

    interrupt-parent = <&mdss>;
    interrupts = <0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            dpu_intf1_out: endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };

        port@1 {
            reg = <1>;
            dpu_intf2_out: endpoint {
                remote-endpoint = <&dsi1_in>;
            };
        };
    };

    mdp_opp_table: opp-table {
        compatible = "operating-points-v2";

        opp-200000000 {
            opp-hz = /bits/ 64 <200000000>;
            required-opps = <&rpmhpd_opp_low_svs>;
        };

        opp-325000000 {
            opp-hz = /bits/ 64 <325000000>;
            required-opps = <&rpmhpd_opp_svs>;
        };

        opp-375000000 {
            opp-hz = /bits/ 64 <375000000>;
            required-opps = <&rpmhpd_opp_svs_l1>;
        };

        opp-514000000 {
            opp-hz = /bits/ 64 <514000000>;
            required-opps = <&rpmhpd_opp_nom>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM8650 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm8650-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

SM8650 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8650-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB

Item 2

Display hf AXI

Item 3

Display core

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8650-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8650-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "qcom,sm8650-dsi-ctrl"

Item 2

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8650-dsi-phy-4nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
#include <dt-bindings/interconnect/qcom,sm8650-rpmh.h>

display-subsystem@ae00000 {
    compatible = "qcom,sm8650-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP 0 &mc_virt SLAVE_EBI1 0>,
                    <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_DISPLAY_CFG 0>;
    interconnect-names = "mdp0-mem", "cpu-cfg";

    resets = <&dispcc_core_bcr>;

    power-domains = <&dispcc_gdsc>;

    clocks = <&gcc_ahb_clk>,
             <&gcc_axi_clk>,
             <&dispcc_mdp_clk>;
    clock-names = "bus", "nrt_bus", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x1c00 0x2>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,sm8650-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc_axi_clk>,
                 <&dispcc_ahb_clk>,
                 <&dispcc_mdp_lut_clk>,
                 <&dispcc_mdp_clk>,
                 <&dispcc_mdp_vsync_clk>;
        clock-names = "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&dispcc_mdp_vsync_clk>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&dsi1_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-200000000 {
                opp-hz = /bits/ 64 <200000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-325000000 {
                opp-hz = /bits/ 64 <325000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-375000000 {
                opp-hz = /bits/ 64 <375000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-514000000 {
                opp-hz = /bits/ 64 <514000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    dsi@ae94000 {
        compatible = "qcom,sm8650-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae94000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <4>;

        clocks = <&dispc_byte_clk>,
                 <&dispcc_intf_clk>,
                 <&dispcc_pclk>,
                 <&dispcc_esc_clk>,
                 <&dispcc_ahb_clk>,
                 <&gcc_bus_clk>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc_byte_clk>,
                          <&dispcc_pclk>;
        assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&dsi0_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi0_in: endpoint {
                    remote-endpoint = <&dpu_intf1_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi0_out: endpoint {
                };
            };
        };

        dsi_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-187500000 {
                opp-hz = /bits/ 64 <187500000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-300000000 {
                opp-hz = /bits/ 64 <300000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-358000000 {
                opp-hz = /bits/ 64 <358000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };
        };
    };

    dsi0_phy: phy@ae94400 {
        compatible = "qcom,sm8650-dsi-phy-4nm";
        reg = <0x0ae95000 0x200>,
              <0x0ae95200 0x280>,
              <0x0ae95500 0x400>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc_iface_clk>,
                 <&rpmhcc_ref_clk>;
        clock-names = "iface", "ref";
    };

    dsi@ae96000 {
        compatible = "qcom,sm8650-dsi-ctrl", "qcom,mdss-dsi-ctrl";
        reg = <0x0ae96000 0x400>;
        reg-names = "dsi_ctrl";

        interrupt-parent = <&mdss>;
        interrupts = <5>;

        clocks = <&dispc_byte_clk>,
                 <&dispcc_intf_clk>,
                 <&dispcc_pclk>,
                 <&dispcc_esc_clk>,
                 <&dispcc_ahb_clk>,
                 <&gcc_bus_clk>;
        clock-names = "byte",
                      "byte_intf",
                      "pixel",
                      "core",
                      "iface",
                      "bus";

        assigned-clocks = <&dispcc_byte_clk>,
                          <&dispcc_pclk>;
        assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;

        operating-points-v2 = <&dsi_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&dsi1_phy>;
        phy-names = "dsi";

        #address-cells = <1>;
        #size-cells = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dsi1_in: endpoint {
                    remote-endpoint = <&dpu_intf2_out>;
                };
            };

            port@1 {
                reg = <1>;
                dsi1_out: endpoint {
                };
            };
        };
    };

    dsi1_phy: phy@ae96400 {
        compatible = "qcom,sm8650-dsi-phy-4nm";
        reg = <0x0ae97000 0x200>,
              <0x0ae97200 0x280>,
              <0x0ae97500 0x400>;
        reg-names = "dsi_phy",
                    "dsi_phy_lane",
                    "dsi_pll";

        #clock-cells = <1>;
        #phy-cells = <0>;

        clocks = <&dispcc_iface_clk>,
                 <&rpmhcc_ref_clk>;
        clock-names = "iface", "ref";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SM8750 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm8750-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

SM8750 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8750-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB

Item 2

Display hf AXI

Item 3

Display core

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

Interconnect path from mdp0 port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8750-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sm8750-dp"

^dsi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sm8750-dsi-ctrl"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sm8750-dsi-phy-3nm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,sm8750-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/phy/phy-qcom-qmp.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-subsystem@ae00000 {
        compatible = "qcom,sm8750-mdss";
        reg = <0x0ae00000 0x1000>;
        reg-names = "mdss";

        interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;

        clocks = <&disp_cc_mdss_ahb_clk>,
                 <&gcc_disp_hf_axi_clk>,
                 <&disp_cc_mdss_mdp_clk>;

        interconnects = <&mmss_noc MASTER_MDP QCOM_ICC_TAG_ALWAYS
                         &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
                        <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
                         &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
        interconnect-names = "mdp0-mem",
                             "cpu-cfg";

        resets = <&disp_cc_mdss_core_bcr>;

        power-domains = <&mdss_gdsc>;

        iommus = <&apps_smmu 0x800 0x2>;

        interrupt-controller;
        #interrupt-cells = <1>;

        #address-cells = <1>;
        #size-cells = <1>;
        ranges;

        display-controller@ae01000 {
            compatible = "qcom,sm8750-dpu";
            reg = <0x0ae01000 0x93000>,
                  <0x0aeb0000 0x2008>;
            reg-names = "mdp",
                        "vbif";

            interrupts-extended = <&mdss 0>;

            clocks = <&gcc_disp_hf_axi_clk>,
                     <&disp_cc_mdss_ahb_clk>,
                     <&disp_cc_mdss_mdp_lut_clk>,
                     <&disp_cc_mdss_mdp_clk>,
                     <&disp_cc_mdss_vsync_clk>;
            clock-names = "nrt_bus",
                          "iface",
                          "lut",
                          "core",
                          "vsync";

            assigned-clocks = <&disp_cc_mdss_vsync_clk>;
            assigned-clock-rates = <19200000>;

            operating-points-v2 = <&mdp_opp_table>;

            power-domains = <&rpmhpd RPMHPD_MMCX>;

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                port@0 {
                    reg = <0>;

                    dpu_intf1_out: endpoint {
                        remote-endpoint = <&mdss_dsi0_in>;
                    };
                };

                port@1 {
                    reg = <1>;

                    dpu_intf2_out: endpoint {
                        remote-endpoint = <&mdss_dsi1_in>;
                    };
                };

                port@2 {
                    reg = <2>;

                    dpu_intf0_out: endpoint {
                        remote-endpoint = <&mdss_dp0_in>;
                    };
                };
            };

            mdp_opp_table: opp-table {
                compatible = "operating-points-v2";

                opp-207000000 {
                    opp-hz = /bits/ 64 <207000000>;
                    required-opps = <&rpmhpd_opp_low_svs>;
                };

                opp-337000000 {
                    opp-hz = /bits/ 64 <337000000>;
                    required-opps = <&rpmhpd_opp_svs>;
                };

                opp-417000000 {
                    opp-hz = /bits/ 64 <417000000>;
                    required-opps = <&rpmhpd_opp_svs_l1>;
                };

                opp-532000000 {
                    opp-hz = /bits/ 64 <532000000>;
                    required-opps = <&rpmhpd_opp_nom>;
                };

                opp-575000000 {
                    opp-hz = /bits/ 64 <575000000>;
                    required-opps = <&rpmhpd_opp_nom_l1>;
                };
            };
        };

        dsi@ae94000 {
            compatible = "qcom,sm8750-dsi-ctrl", "qcom,mdss-dsi-ctrl";
            reg = <0x0ae94000 0x400>;
            reg-names = "dsi_ctrl";

            interrupts-extended = <&mdss 4>;

            clocks = <&disp_cc_mdss_byte0_clk>,
                     <&disp_cc_mdss_byte0_intf_clk>,
                     <&disp_cc_mdss_pclk0_clk>,
                     <&disp_cc_mdss_esc0_clk>,
                     <&disp_cc_mdss_ahb_clk>,
                     <&gcc_disp_hf_axi_clk>,
                     <&mdss_dsi0_phy 1>,
                     <&mdss_dsi0_phy 0>,
                     <&disp_cc_esync0_clk>,
                     <&disp_cc_osc_clk>,
                     <&disp_cc_mdss_byte0_clk_src>,
                     <&disp_cc_mdss_pclk0_clk_src>;
            clock-names = "byte",
                          "byte_intf",
                          "pixel",
                          "core",
                          "iface",
                          "bus",
                          "dsi_pll_pixel",
                          "dsi_pll_byte",
                          "esync",
                          "osc",
                          "byte_src",
                          "pixel_src";

            operating-points-v2 = <&mdss_dsi_opp_table>;

            power-domains = <&rpmhpd RPMHPD_MMCX>;

            phys = <&mdss_dsi0_phy>;
            phy-names = "dsi";

            vdda-supply = <&vreg_l3g_1p2>;

            #address-cells = <1>;
            #size-cells = <0>;

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                port@0 {
                    reg = <0>;

                    mdss_dsi0_in: endpoint {
                        remote-endpoint = <&dpu_intf1_out>;
                    };
                };

                port@1 {
                    reg = <1>;

                    mdss_dsi0_out: endpoint {
                        remote-endpoint = <&panel0_in>;
                        data-lanes = <0 1 2 3>;
                    };
                };
            };

            mdss_dsi_opp_table: opp-table {
                compatible = "operating-points-v2";

                opp-187500000 {
                    opp-hz = /bits/ 64 <187500000>;
                    required-opps = <&rpmhpd_opp_low_svs>;
                };

                opp-300000000 {
                    opp-hz = /bits/ 64 <300000000>;
                    required-opps = <&rpmhpd_opp_svs>;
                };

                opp-358000000 {
                    opp-hz = /bits/ 64 <358000000>;
                    required-opps = <&rpmhpd_opp_svs_l1>;
                };
            };
        };

        mdss_dsi0_phy: phy@ae95000 {
            compatible = "qcom,sm8750-dsi-phy-3nm";
            reg = <0x0ae95000 0x200>,
                  <0x0ae95200 0x280>,
                  <0x0ae95500 0x400>;
            reg-names = "dsi_phy",
                        "dsi_phy_lane",
                        "dsi_pll";

            clocks = <&disp_cc_mdss_ahb_clk>,
                     <&rpmhcc RPMH_CXO_CLK>;
            clock-names = "iface",
                          "ref";

            vdds-supply = <&vreg_l3i_0p88>;

            #clock-cells = <1>;
            #phy-cells = <0>;
        };

        dsi@ae96000 {
            compatible = "qcom,sm8750-dsi-ctrl", "qcom,mdss-dsi-ctrl";
            reg = <0x0ae96000 0x400>;
            reg-names = "dsi_ctrl";

            interrupts-extended = <&mdss 5>;

            clocks = <&disp_cc_mdss_byte1_clk>,
                     <&disp_cc_mdss_byte1_intf_clk>,
                     <&disp_cc_mdss_pclk1_clk>,
                     <&disp_cc_mdss_esc1_clk>,
                     <&disp_cc_mdss_ahb_clk>,
                     <&gcc_disp_hf_axi_clk>,
                     <&mdss_dsi1_phy 1>,
                     <&mdss_dsi1_phy 0>,
                     <&disp_cc_esync1_clk>,
                     <&disp_cc_osc_clk>,
                     <&disp_cc_mdss_byte1_clk_src>,
                     <&disp_cc_mdss_pclk1_clk_src>;
            clock-names = "byte",
                          "byte_intf",
                          "pixel",
                          "core",
                          "iface",
                          "bus",
                          "dsi_pll_pixel",
                          "dsi_pll_byte",
                          "esync",
                          "osc",
                          "byte_src",
                          "pixel_src";

            operating-points-v2 = <&mdss_dsi_opp_table>;

            power-domains = <&rpmhpd RPMHPD_MMCX>;

            phys = <&mdss_dsi1_phy>;
            phy-names = "dsi";

            #address-cells = <1>;
            #size-cells = <0>;

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                port@0 {
                    reg = <0>;

                    mdss_dsi1_in: endpoint {
                        remote-endpoint = <&dpu_intf2_out>;
                    };
                };

                port@1 {
                    reg = <1>;

                    mdss_dsi1_out: endpoint {
                    };
                };
            };
        };

        mdss_dsi1_phy: phy@ae97000 {
            compatible = "qcom,sm8750-dsi-phy-3nm";
            reg = <0x0ae97000 0x200>,
                  <0x0ae97200 0x280>,
                  <0x0ae97500 0x400>;
            reg-names = "dsi_phy",
                        "dsi_phy_lane",
                        "dsi_pll";

            clocks = <&disp_cc_mdss_ahb_clk>,
                     <&rpmhcc RPMH_CXO_CLK>;
            clock-names = "iface",
                          "ref";

            #clock-cells = <1>;
            #phy-cells = <0>;
        };

        displayport-controller@af54000 {
            compatible = "qcom,sm8750-dp", "qcom,sm8650-dp";
            reg = <0xaf54000 0x104>,
                  <0xaf54200 0xc0>,
                  <0xaf55000 0x770>,
                  <0xaf56000 0x9c>,
                  <0xaf57000 0x9c>;

            interrupts-extended = <&mdss 12>;

            clocks = <&disp_cc_mdss_ahb_clk>,
                     <&disp_cc_mdss_dptx0_aux_clk>,
                     <&disp_cc_mdss_dptx0_link_clk>,
                     <&disp_cc_mdss_dptx0_link_intf_clk>,
                     <&disp_cc_mdss_dptx0_pixel0_clk>,
                     <&disp_cc_mdss_dptx0_pixel1_clk>;
            clock-names = "core_iface",
                          "core_aux",
                          "ctrl_link",
                          "ctrl_link_iface",
                          "stream_pixel",
                          "stream_1_pixel";

            assigned-clocks = <&disp_cc_mdss_dptx0_link_clk_src>,
                              <&disp_cc_mdss_dptx0_pixel0_clk_src>,
                              <&disp_cc_mdss_dptx0_pixel1_clk_src>;
            assigned-clock-parents = <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>,
                                     <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>,
                                     <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;

            operating-points-v2 = <&dp_opp_table>;

            power-domains = <&rpmhpd RPMHPD_MMCX>;

            phys = <&usb_dp_qmpphy QMP_USB43DP_DP_PHY>;
            phy-names = "dp";

            #sound-dai-cells = <0>;

            dp_opp_table: opp-table {
                compatible = "operating-points-v2";

                opp-192000000 {
                    opp-hz = /bits/ 64 <192000000>;
                    required-opps = <&rpmhpd_opp_low_svs_d1>;
                };

                opp-270000000 {
                    opp-hz = /bits/ 64 <270000000>;
                    required-opps = <&rpmhpd_opp_low_svs>;
                };

                opp-540000000 {
                    opp-hz = /bits/ 64 <540000000>;
                    required-opps = <&rpmhpd_opp_svs_l1>;
                };

                opp-810000000 {
                    opp-hz = /bits/ 64 <810000000>;
                    required-opps = <&rpmhpd_opp_nom>;
                };
            };

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                port@0 {
                    reg = <0>;

                    mdss_dp0_in: endpoint {
                        remote-endpoint = <&dpu_intf0_out>;
                    };
                };

                port@1 {
                    reg = <1>;

                    mdss_dp0_out: endpoint {
                        remote-endpoint = <&usb_dp_qmpphy_dp_in>;
                    };
                };
            };
        };
    };

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm X1E80100 Display MDSS

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,x1e80100-mdss.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abel.vesa@linaro.org>"

X1E80100 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DP interfaces, etc.

Shared schema rule ($ref): /schemas/display/msm/mdss-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,x1e80100-mdss"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Display AHB

Item 2

Display hf AXI

Item 3

Display core

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 3

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 3

Properties matching a name pattern (patternProperties) #

^display-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,x1e80100-dpu"

^displayport-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,x1e80100-dp"

^phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,x1e80100-dp-phy"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h>
#include <dt-bindings/phy/phy-qcom-qmp.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-subsystem@ae00000 {
    compatible = "qcom,x1e80100-mdss";
    reg = <0x0ae00000 0x1000>;
    reg-names = "mdss";

    interconnects = <&mmss_noc MASTER_MDP 0 &gem_noc SLAVE_LLCC 0>,
                    <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>,
                    <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_DISPLAY_CFG 0>;
    interconnect-names = "mdp0-mem", "mdp1-mem", "cpu-cfg";

    resets = <&dispcc_core_bcr>;

    power-domains = <&dispcc_gdsc>;

    clocks = <&dispcc_ahb_clk>,
             <&gcc_disp_hf_axi_clk>,
             <&dispcc_mdp_clk>;
    clock-names = "bus", "nrt_bus", "core";

    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <1>;

    iommus = <&apps_smmu 0x1c00 0x2>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@ae01000 {
        compatible = "qcom,x1e80100-dpu";
        reg = <0x0ae01000 0x8f000>,
              <0x0aeb0000 0x2008>;
        reg-names = "mdp", "vbif";

        clocks = <&gcc_axi_clk>,
                 <&dispcc_ahb_clk>,
                 <&dispcc_mdp_lut_clk>,
                 <&dispcc_mdp_clk>,
                 <&dispcc_mdp_vsync_clk>;
        clock-names = "nrt_bus",
                      "iface",
                      "lut",
                      "core",
                      "vsync";

        assigned-clocks = <&dispcc_mdp_vsync_clk>;
        assigned-clock-rates = <19200000>;

        operating-points-v2 = <&mdp_opp_table>;
        power-domains = <&rpmhpd RPMHPD_MMCX>;

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                dpu_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_in>;
                };
            };

            port@1 {
                reg = <1>;
                dpu_intf2_out: endpoint {
                    remote-endpoint = <&dsi1_in>;
                };
            };
        };

        mdp_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-200000000 {
                opp-hz = /bits/ 64 <200000000>;
                required-opps = <&rpmhpd_opp_low_svs>;
            };

            opp-325000000 {
                opp-hz = /bits/ 64 <325000000>;
                required-opps = <&rpmhpd_opp_svs>;
            };

            opp-375000000 {
                opp-hz = /bits/ 64 <375000000>;
                required-opps = <&rpmhpd_opp_svs_l1>;
            };

            opp-514000000 {
                opp-hz = /bits/ 64 <514000000>;
                required-opps = <&rpmhpd_opp_nom>;
            };
        };
    };

    displayport-controller@ae90000 {
        compatible = "qcom,x1e80100-dp";
        reg = <0xae90000 0x200>,
              <0xae90200 0x200>,
              <0xae90400 0x600>,
              <0xae91000 0x400>,
              <0xae91400 0x400>;

        interrupt-parent = <&mdss>;
        interrupts = <12>;

        clocks = <&dispcc_mdss_ahb_clk>,
           <&dispcc_dptx0_aux_clk>,
           <&dispcc_dptx0_link_clk>,
           <&dispcc_dptx0_link_intf_clk>,
           <&dispcc_dptx0_pixel0_clk>,
           <&dispcc_dptx0_pixel1_clk>;
        clock-names = "core_iface", "core_aux",
                "ctrl_link",
                "ctrl_link_iface",
                "stream_pixel",
                "stream_1_pixel";

        assigned-clocks = <&dispcc_mdss_dptx0_link_clk_src>,
              <&dispcc_mdss_dptx0_pixel0_clk_src>,
              <&dispcc_mdss_dptx0_pixel1_clk_src>;
        assigned-clock-parents = <&usb_1_ss0_qmpphy QMP_USB43DP_DP_LINK_CLK>,
              <&usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>,
              <&usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;

        operating-points-v2 = <&mdss_dp0_opp_table>;

        power-domains = <&rpmhpd RPMHPD_MMCX>;

        phys = <&usb_1_ss0_qmpphy QMP_USB43DP_DP_PHY>;
        phy-names = "dp";

        #sound-dai-cells = <0>;

        ports {
          #address-cells = <1>;
          #size-cells = <0>;

          port@0 {
              reg = <0>;

              mdss_dp0_in: endpoint {
                remote-endpoint = <&mdss_intf0_out>;
              };
          };

          port@1 {
              reg = <1>;

              mdss_dp0_out: endpoint {
              };
          };
        };

        mdss_dp0_opp_table: opp-table {
          compatible = "operating-points-v2";

          opp-160000000 {
             opp-hz = /bits/ 64 <160000000>;
             required-opps = <&rpmhpd_opp_low_svs>;
          };

          opp-270000000 {
             opp-hz = /bits/ 64 <270000000>;
             required-opps = <&rpmhpd_opp_svs>;
          };

          opp-540000000 {
             opp-hz = /bits/ 64 <540000000>;
             required-opps = <&rpmhpd_opp_svs_l1>;
          };

          opp-810000000 {
             opp-hz = /bits/ 64 <810000000>;
             required-opps = <&rpmhpd_opp_nom>;
          };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Asia Better Technology 3.0" (320x480 pixels) 24-bit IPS LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/abt,y030xx067a.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "abt,y030xx067a"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "power-supply", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "abt,y030xx067a";
        reg = <0>;

        spi-max-frequency = <3125000>;

        reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;

        backlight = <&backlight>;
        power-supply = <&vcc>;

        port {
            panel_input: endpoint {
                remote-endpoint = <&panel_output>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Advantech IDK-1110WR 10.1" WSVGA LVDS Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/advantech,idk-1110wr.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>", "Thierry Reding <thierry.reding@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/display/lvds.yaml#

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "advantech,idk-1110wr"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "advantech,idk-1110wr"

Item 2

Exact value (const): "panel-lvds"

data-mapping — required here #

Exact value (const): "jeida-24"

width-mm — required here #

Exact value (const): 223

height-mm — required here #

Exact value (const): 125

panel-timing — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "data-mapping", "width-mm", "height-mm", "panel-timing", "port"

Examples (examples) #

panel {
  compatible = "advantech,idk-1110wr", "panel-lvds";

  width-mm = <223>;
  height-mm = <125>;

  data-mapping = "jeida-24";

  panel-timing {
    /* 1024x600 @60Hz */
    clock-frequency = <51200000>;
    hactive = <1024>;
    vactive = <600>;
    hsync-len = <240>;
    hfront-porch = <40>;
    hback-porch = <40>;
    vsync-len = <10>;
    vfront-porch = <15>;
    vback-porch = <10>;
  };

  port {
    panel_in: endpoint {
      remote-endpoint = <&lvds_encoder>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Advantech IDK-2121WR 21.5" Full-HD dual-LVDS panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/advantech,idk-2121wr.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>", "Thierry Reding <thierry.reding@gmail.com>"

The IDK-2121WR from Advantech is a Full-HD dual-LVDS panel. A dual-LVDS interface is a dual-link connection with even pixels traveling on one link, and with odd pixels traveling on the other link.

The panel expects odd pixels on the first port, and even pixels on the second port, therefore the ports must be marked accordingly (with either dual-lvds-odd-pixels or dual-lvds-even-pixels).

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/display/lvds-dual-ports.yaml#

Rule 2 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "advantech,idk-2121wr"

Item 2

This rule adds no constraints.

width-mm — required here #

Exact value (const): 476

height-mm — required here #

Exact value (const): 268

data-mapping — required here #

Exact value (const): "vesa-24"

panel-timing — required here #

true — No constraints added by this property rule.

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties and child nodes (properties) #

port@0 — required here

Required in this object (required): "dual-lvds-odd-pixels"

port@1 — required here

Required in this object (required): "dual-lvds-even-pixels"

Required in this object (required): "port@0", "port@1"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "width-mm", "height-mm", "data-mapping", "panel-timing"

Examples (examples) #

panel-lvds {
  compatible = "advantech,idk-2121wr", "panel-lvds";

  width-mm = <476>;
  height-mm = <268>;

  data-mapping = "vesa-24";

  panel-timing {
    clock-frequency = <148500000>;
    hactive = <1920>;
    vactive = <1080>;
    hsync-len = <44>;
    hfront-porch = <88>;
    hback-porch = <148>;
    vfront-porch = <4>;
    vback-porch = <36>;
    vsync-len = <5>;
  };

  ports {
    #address-cells = <1>;
    #size-cells = <0>;

    port@0 {
      reg = <0>;
      dual-lvds-odd-pixels;
      panel_in0: endpoint {
        remote-endpoint = <&lvds0_out>;
      };
    };

    port@1 {
      reg = <1>;
      dual-lvds-even-pixels;
      panel_in1: endpoint {
        remote-endpoint = <&lvds1_out>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 30: panel-lvds, but not listed here to avoid false select

Anbernic RG35XX series (WL-355608-A8) 3.5" 640x480 24-bit IPS LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/anbernic,rg35xx-plus-panel.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ryan Walklin <ryan@testtoast.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "anbernic,rg35xx-plus-panel"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "anbernic,rg35xx-2024-panel", "anbernic,rg35xx-h-panel", "anbernic,rg35xx-sp-panel"

Item 2

Exact value (const): "anbernic,rg35xx-plus-panel"

reg — required here #

Maximum number of items (maxItems): 1

spi-3wire — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "port", "power-supply", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "anbernic,rg35xx-plus-panel";
        reg = <0>;

        spi-3wire;
        spi-max-frequency = <3125000>;

        reset-gpios = <&pio 8 14 GPIO_ACTIVE_LOW>; // PI14

        backlight = <&backlight>;
        power-supply = <&reg_lcd>;

        port {
            endpoint {
                remote-endpoint = <&tcon_lcd0_out_lcd>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Apple "Summit" display panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/apple,summit.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sasha Finkelstein <fnkl.kernel@gmail.com>"

An OLED panel used as a touchbar on certain Apple laptops. Contains a backlight device, which controls brightness of the panel itself. The backlight common properties are included for this reason

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/leds/backlight/common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "apple,j293-summit", "apple,j493-summit"

Item 2

Exact value (const): "apple,summit"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "max-brightness", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "apple,j293-summit", "apple,summit";
        reg = <0>;
        max-brightness = <255>;

        port {
            endpoint {
                remote-endpoint = <&dfr_bridge_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Arm RTSM Virtual Platforms Display

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/arm,rtsm-display.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "arm,rtsm-display"

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

ARM Versatile TFT Panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/arm,versatile-tft-panel.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

These panels are connected to the daughterboards found on the ARM Versatile reference designs.

This device node must appear as a child to a "syscon"-compatible node.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "arm,versatile-tft-panel"

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

sysreg@0 {
    compatible = "arm,versatile-sysreg", "syscon", "simple-mfd";
    reg = <0x00000 0x1000>;

    panel {
        compatible = "arm,versatile-tft-panel";

        port {
            panel_in: endpoint {
                remote-endpoint = <&foo>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Armadeus ST0700 Adapter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/armadeus,st0700-adapt.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

A Santek ST0700I5Y-RBSLW 7.0" WVGA (800x480) TFT with an adapter board.

Maintainers (maintainers): "\"Sébastien Szymanski\" <sebastien.szymanski@armadeus.com>", "Thierry Reding <thierry.reding@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "armadeus,st0700-adapt"

power-supply — required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

ASUS Z00T TM5P5 NT35596 5.5" 1080×1920 LCD Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/asus,z00t-tm5p5-nt35596.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

This panel seems to only be found in the Asus Z00T smartphone and we have no straightforward way of actually getting the correct model number, as no schematics are released publicly.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "asus,z00t-tm5p5-n35596"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

true — No constraints added by this property rule.

vdd-supply — required here #

core voltage supply

vddio-supply — required here #

vddio supply

Required in this object (required): "compatible", "reg", "vdd-supply", "vddio-supply", "reset-gpios"

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>

dsi {
        #address-cells = <1>;
        #size-cells = <0>;
        panel@0 {
                reg = <0>;

                compatible = "asus,z00t-tm5p5-n35596";

                vdd-supply = <&pm8916_l8>;
                vddio-supply = <&pm8916_l6>;
                reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

AUO A030JTN01 3.0" (320x480 pixels) 24-bit TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/auo,a030jtn01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Delta RGB 8-bit panel found in some Retrogame handhelds

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>", "Christophe Branchereau <cbranchereau@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "auo,a030jtn01"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "power-supply", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "auo,a030jtn01";
        reg = <0>;

        spi-max-frequency = <10000000>;

        reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
        power-supply = <&lcd_power>;

        backlight = <&backlight>;

        port {
            panel_input: endpoint {
                remote-endpoint = <&panel_output>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Banana Pi 7" (S070WV20-CT16) TFT LCD Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/bananapi,s070wv20-ct16.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Thierry Reding <thierry.reding@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "bananapi,s070wv20-ct16"

power-supply — required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

BOE BF060Y8M-AJ0 5.99" 1080x2160 AMOLED Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/boe,bf060y8m-aj0.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>"

This is a 5.99" 1080x2160 16.7M Color active matrix AMOLED video mode panel module on MIPI-DSI 4-Lane interface, GGRB pixel arrangement, 63 micrometers pitch, with an active area of 68.04 x 136.08 millimeters. Each pixel is divided into red and green dots, or blue and green dots, and two pixels share red or blue dots which are arranged in vertical stripe. The DriverIC for this panel module is SW43404.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "boe,bf060y8m-aj0"

reg — required here #

Maximum number of items (maxItems): 1

elvdd-supply — required here #

EL Driving positive (VDD) supply (4.40-4.80V)

elvss-supply — required here #

EL Driving negative (VSS) supply (-5.00V to -1.40V)

vcc-supply — required here #

Core (TSP) voltage supply (2.70-3.60V)

vci-supply — required here #

DriverIC Operation supply (2.60-3.60V)

vddio-supply — required here #

I/O voltage supply (1.62-1.98V)

port — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "elvdd-supply", "elvss-supply", "vcc-supply", "vci-supply", "vddio-supply", "reg", "reset-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "boe,bf060y8m-aj0";
        reg = <0>;

        reset-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>;

        vcc-supply = <&disp_vcc_vreg>;
        vddio-supply = <&disp_vddio_vreg>;
        vci-supply = <&disp_vci_vreg>;
        elvdd-supply = <&disp_elvdd_vreg>;
        elvss-supply = <&disp_elvss_vreg>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Boe Himax8279d 1200x1920 TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/boe,himax8279d.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jerry Han <jerry.han.hq@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "boe,himax8279d8p"

Item 2

Exact value (const): "boe,himax8279d10p"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — required here #

true — No constraints added by this property rule.

pp33-gpios — required here #

Maximum number of items (maxItems): 1

GPIO for the 3.3v pin that provides the supply voltage

pp18-gpios — required here #

Maximum number of items (maxItems): 1

GPIO for the 1.8v pin that provides the supply voltage

Required in this object (required): "compatible", "reg", "enable-gpios", "pp33-gpios", "pp18-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "boe,himax8279d8p", "boe,himax8279d10p";
        reg = <0>;
        backlight = <&backlight>;
        enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
        pp33-gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
        pp18-gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

BOE TD4320 MIPI-DSI panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/boe,td4320.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Barnabas Czeman <barnabas.czeman@mainlining.org>"

BOE TD4320 6.3" 1080x2340 panel found in Xiaomi Redmi Note 7 smartphone.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "boe,td4320"

reg — required here #

Maximum number of items (maxItems): 1

iovcc-supply — not listed as required here #

I/O voltage rail

vsn-supply — not listed as required here #

Negative source voltage rail

vsp-supply — not listed as required here #

Positive source voltage rail

Required in this object (required): "compatible", "reg", "reset-gpios", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "boe,td4320";
        reg = <0>;
        backlight = <&backlight>;
        reset-gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

BOE TH101MB31IG002-28A WXGA DSI Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/boe,th101mb31ig002-28a.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Manuel Traut <manut@mecka.net>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "boe,th101mb31ig002-28a", "starry,er88577"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "enable-gpios", "power-supply"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "starry,er88577"

When the condition matches (then) #

Properties and child nodes (properties)

reset-gpios — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reset-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "boe,th101mb31ig002-28a";
        reg = <0>;
        backlight = <&backlight_lcd0>;
        enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio 55 GPIO_ACTIVE_LOW>;
        rotation = <90>;
        power-supply = <&vcc_3v3>;
        port {
            panel_in_dsi: endpoint {
                remote-endpoint = <&dsi_out_con>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 15: BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel

Line 17: The Starry-er88577 is a 10.1" WXGA TFT-LCD panel

Line 41: The Starry-er88577 is a 10.1" WXGA TFT-LCD panel

BOE TV101WUM-LL2 DSI Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/boe,tv101wum-ll2.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "boe,tv101wum-ll2"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

backlight — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

vsp-supply — required here #

true — No constraints added by this property rule.

vsn-supply — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "reset-gpios", "vsp-supply", "vsn-supply", "port"

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>
dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "boe,tv101wum-ll2";
        reg = <0>;

        vsn-supply = <&vsn_lcd>;
        vsp-supply = <&vsp_lcd>;

        reset-gpios = <&pio 45 GPIO_ACTIVE_LOW>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

BOE TV101WUM-NL6 DSI Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/boe,tv101wum-nl6.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Sam Ravnborg <sam@ravnborg.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "boe,tv101wum-nl6", "auo,kd101n80-45na", "boe,tv101wum-n53", "auo,b101uan08.3", "boe,tv105wum-nw0", "boe,tv110c9m-ll3", "innolux,hj110iz-01a", "starry,2081101qfh032011-53g", "starry,ili9882t"

reg — required here #

Maximum number of items (maxItems): 1

enable-gpios — required here #

a GPIO spec for the enable pin

pp1800-supply — required here #

core voltage supply

pp3300-supply — not listed as required here #

core voltage supply

avdd-supply — required here #

phandle of the regulator that provides positive voltage

avee-supply — required here #

phandle of the regulator that provides negative voltage

backlight — not listed as required here #

phandle of the backlight device attached to the panel

port — not listed as required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "enable-gpios", "pp1800-supply", "avdd-supply", "avee-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "boe,tv101wum-nl6";
        reg = <0>;
        enable-gpios = <&pio 45 0>;
        avdd-supply = <&ppvarn_lcd>;
        avee-supply = <&ppvarp_lcd>;
        pp1800-supply = <&pp1800_lcd>;
        backlight = <&backlight_lcd0>;
        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 19: BOE TV101WUM-NL6 10.1" WUXGA TFT LCD panel

Line 21: AUO KD101N80-45NA 10.1" WUXGA TFT LCD panel

Line 23: BOE TV101WUM-N53 10.1" WUXGA TFT LCD panel

Line 25: AUO B101UAN08.3 10.1" WUXGA TFT LCD panel

Line 27: BOE TV105WUM-NW0 10.5" WUXGA TFT LCD panel

Line 29: BOE TV110C9M-LL3 10.95" WUXGA TFT LCD panel

Line 31: INX HJ110IZ-01A 10.95" WUXGA TFT LCD panel

Line 33: STARRY 2081101QFH032011-53G 10.1" WUXGA TFT LCD panel

Line 35: STARRY ili9882t 10.51" WUXGA TFT LCD panel

display timings

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/display-timings.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>", "Sam Ravnborg <sam@ravnborg.org>"

A display panel may be able to handle several display timings, with different resolutions. The display-timings node makes it possible to specify the timings and to specify the timing that is native for the display.

Properties and child nodes (properties) #

$nodename — not listed as required here #

Exact value (const): "display-timings"

native-mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

The default display timing is the one specified as native-mode. If no native-mode is specified then the first node is assumed to be the native mode.

Properties matching a name pattern (patternProperties) #

^timing — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): panel-timing.yaml#

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #


/*
 * Example that specifies panel timing using minimum, typical,
 * maximum values as commonly used in datasheet description.
 * timing1 is the native-mode.
 */
display-timings {
    native-mode = <&timing1>;
    timing0 {
        /* 1920x1080p24 */
        clock-frequency = <148500000>;
        hactive = <1920>;
        vactive = <1080>;
        hsync-len = <0 44 60>;
        hfront-porch = <80 88 95>;
        hback-porch = <100 148 160>;
        vfront-porch = <0 4 6>;
        vback-porch = <0 36 50>;
        vsync-len = <0 5 6>;
    };
    timing1 {
        /* 1920x1080p24 */
        clock-frequency = <52000000>;
        hactive = <1920>;
        vactive = <1080>;
        hfront-porch = <25>;
        hback-porch = <25>;
        hsync-len = <0 25 25>;
        vback-porch = <2>;
        vfront-porch = <2>;
        vsync-len = <2>;
        hsync-active = <1>;
        pixelclk-active = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Philipp Zabel <p.zabel@pengutronix.de>", "Thierry Reding <thierry.reding@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "dlc,dlc0700yzg-1"

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

EBBG FT8719 MIPI-DSI LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/ebbg,ft8719.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Joel Selvaraj <jo@jsfamily.in>"

The FT8719 panel from EBBG is a FHD+ LCD display panel with a resolution of 1080x2246. It is a video mode DSI panel. The backlight is managed through the QCOM WLED driver.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ebbg,ft8719"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel of the peripheral

vddio-supply — required here #

power IC supply regulator

vddpos-supply — required here #

positive boost supply regulator

vddneg-supply — required here #

negative boost supply regulator

Required in this object (required): "compatible", "reg", "vddio-supply", "vddpos-supply", "vddneg-supply", "reset-gpios", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
  #address-cells = <1>;
  #size-cells = <0>;

  panel@0 {
    compatible = "ebbg,ft8719";
    reg = <0>;

    vddio-supply = <&vreg_l14a_1p88>;
    vddpos-supply = <&lab>;
    vddneg-supply = <&ibb>;

    reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;

    backlight = <&pmi8998_wled>;

    port {
      ebbg_ft8719_in_0: endpoint {
        remote-endpoint = <&dsi0_out>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Elida KD35T133 3.5in 320x480 DSI panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/elida,kd35t133.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Heiko Stuebner <heiko.stuebner@theobroma-systems.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "elida,kd35t133"

reg — required here #

Maximum number of items (maxItems): 1

backlight — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

iovcc-supply — required here #

regulator that supplies the iovcc voltage

vdd-supply — required here #

regulator that supplies the vdd voltage

Required in this object (required): "compatible", "reg", "backlight", "port", "iovcc-supply", "vdd-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "elida,kd35t133";
        reg = <0>;
        backlight = <&backlight>;
        iovcc-supply = <&vcc_1v8>;
        vdd-supply = <&vcc3v3_lcd>;

        port {
            mipi_in_panel: endpoint {
                remote-endpoint = <&mipi_out_panel>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Fascontek FS035VG158 3.5" (640x480 pixels) 24-bit IPS LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/fascontek,fs035vg158.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "John Watts <contact@jookia.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fascontek,fs035vg158"

reg — required here #

Maximum number of items (maxItems): 1

spi-3wire — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "port", "power-supply", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "fascontek,fs035vg158";
        reg = <0>;

        spi-3wire;
        spi-max-frequency = <3125000>;

        reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;

        backlight = <&backlight>;
        power-supply = <&vcc>;

        port {
            panel_input: endpoint {
                remote-endpoint = <&panel_output>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Feixin K101 IM2BA02 10.1" MIPI-DSI LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/feixin,k101-im2ba02.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Icenowy Zheng <icenowy@aosc.io>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "feixin,k101-im2ba02"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

avdd-supply — required here #

regulator that supplies the AVDD voltage

dvdd-supply — required here #

regulator that supplies the DVDD voltage

cvdd-supply — required here #

regulator that supplies the CVDD voltage

Required in this object (required): "compatible", "reg", "avdd-supply", "dvdd-supply", "cvdd-supply"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "feixin,k101-im2ba02";
        reg = <0>;
        avdd-supply = <&reg_dc1sw>;
        dvdd-supply = <&reg_dc1sw>;
        cvdd-supply = <&reg_ldo_io1>;
        reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>;
        backlight = <&backlight>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Feiyang FY07024DI26A30-D 7" MIPI-DSI LCD Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/feiyang,fy07024di26a30d.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jagan Teki <jagan@amarulasolutions.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "feiyang,fy07024di26a30d"

reg — required here #

DSI virtual channel used by that screen

Maximum number of items (maxItems): 1

avdd-supply — required here #

analog regulator dc1 switch

dvdd-supply — required here #

3v3 digital regulator

port — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "avdd-supply", "dvdd-supply", "port"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "feiyang,fy07024di26a30d";
        reg = <0>;
        avdd-supply = <&reg_dc1sw>;
        dvdd-supply = <&reg_dldo2>;
        reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
        backlight = <&backlight>;

        port {
            mipi_in_panel: endpoint {
                remote-endpoint = <&mipi_out_panel>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Focaltech GPT3 3.0" (640x480 pixels) IPS LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/focaltech,gpt3.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Christophe Branchereau <cbranchereau@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "focaltech,gpt3"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "power-supply", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "focaltech,gpt3";
        reg = <0>;

        spi-max-frequency = <3125000>;

        reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;

        backlight = <&backlight>;
        power-supply = <&vcc>;

        port {
            panel_input: endpoint {
                remote-endpoint = <&panel_output>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Himax HX8279/HX8279-D based MIPI-DSI panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/himax,hx8279.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"

The Himax HX8279 is a 1803 channel outputs source driver with MIPI TCON, which generates the horizontal and vertical control timing to the source and gate drivers. This DriverIC is most suitable for 1200x1920, 1080x1920, 1200x1600, and 600x1024 panels and outputs full RGB888 over two or four lanes, single or dual, MIPI-DSI video interface.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common-dual.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "aoly,sl101pm1794fog-v15", "startek,kd070fhfid078"

Item 2

Exact value (const): "himax,hx8279"

reg — required here #

Maximum number of items (maxItems): 1

iovcc-supply — required here #

I/O voltage supply

vdd-supply — required here #

Panel power supply

Required in this object (required): "compatible", "reg", "backlight", "reset-gpios", "iovcc-supply", "vdd-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "startek,kd070fhfid078", "himax,hx8279";
        reg = <0>;
        backlight = <&backlight>;
        enable-gpios = <&pio 25 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
        iovcc-supply = <&vreg_lcm_vio>;
        vdd-supply = <&vreg_lcm_vdd>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Himax HX83102 MIPI-DSI LCD panel controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/himax,hx83102.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Cong Yang <yangcong5@huaqin.corp-partner.google.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "boe,nv110wum-l60", "csot,pna957qt1-1", "ivo,t109nw41", "kingdisplay,kd110n11-51ie", "starry,2082109qfh040022-50e", "starry,himax83102-j02"

Item 2

Exact value (const): "himax,hx83102"

reg — required here #

the virtual channel number of a DSI peripheral

enable-gpios — required here #

a GPIO spec for the enable pin

pp1800-supply — required here #

core voltage supply

avdd-supply — required here #

phandle of the regulator that provides positive voltage

avee-supply — required here #

phandle of the regulator that provides negative voltage

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "enable-gpios", "pp1800-supply", "avdd-supply", "avee-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "starry,himax83102-j02", "himax,hx83102";
        reg = <0>;
        enable-gpios = <&pio 45 0>;
        avdd-supply = <&ppvarn_lcd>;
        avee-supply = <&ppvarp_lcd>;
        pp1800-supply = <&pp1800_lcd>;
        backlight = <&backlight_lcd0>;
        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 19: Boe nv110wum-l60 11.0" WUXGA TFT LCD panel

Line 21: CSOT pna957qt1-1 10.95" WUXGA TFT LCD panel

Line 23: IVO t109nw41 11.0" WUXGA TFT LCD panel

Line 25: KINGDISPLAY KD110N11-51IE 10.95" WUXGA TFT LCD panel

Line 27: STARRY 2082109QFH040022-50E 10.95" WUXGA TFT LCD panel

Line 29: STARRY himax83102-j02 10.51" WUXGA TFT LCD panel

Himax HX83112A-based DSI display panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/himax,hx83112a.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Luca Weiss <luca.weiss@fairphone.com>"

The Himax HX83112A is a generic DSI Panel IC used to control LCD panels.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains) #

Exact value (const): "djn,9a-3r063-1102b"

reg — required here #

Maximum number of items (maxItems): 1

vdd1-supply — required here #

Digital voltage rail

vsn-supply — required here #

Positive source voltage rail

vsp-supply — required here #

Negative source voltage rail

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "reset-gpios", "vdd1-supply", "vsn-supply", "vsp-supply", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "djn,9a-3r063-1102b";
        reg = <0>;

        backlight = <&pm6150l_wled>;
        reset-gpios = <&pm6150l_gpios 9 GPIO_ACTIVE_LOW>;

        vdd1-supply = <&vreg_l1e>;
        vsn-supply = <&pm6150l_lcdb_ncp>;
        vsp-supply = <&pm6150l_lcdb_ldo>;

        port {
            panel_in_0: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Himax HX83112B-based DSI display panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/himax,hx83112b.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Luca Weiss <luca@lucaweiss.eu>"

The Himax HX83112B is a generic DSI Panel IC used to control LCD panels.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains) #

Exact value (const): "djn,98-03057-6598b-i"

reg — required here #

Maximum number of items (maxItems): 1

iovcc-supply — required here #

I/O voltage rail

vsn-supply — required here #

Positive source voltage rail

vsp-supply — required here #

Negative source voltage rail

Required in this object (required): "compatible", "reg", "reset-gpios", "iovcc-supply", "vsn-supply", "vsp-supply", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "djn,98-03057-6598b-i";
        reg = <0>;

        reset-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;

        iovcc-supply = <&pm8953_l6>;
        vsn-supply = <&pmi632_lcdb_ncp>;
        vsp-supply = <&pmi632_lcdb_ldo>;

        port {
            panel_in_0: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Himax HX8394 MIPI-DSI LCD panel controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/himax,hx8394.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ondrej Jirman <megi@xff.cz>", "Javier Martinez Canillas <javierm@redhat.com>"

Device tree bindings for panels based on the Himax HX8394 controller, such as the HannStar HSD060BHW4 720x1440 TFT LCD panel connected with a MIPI-DSI video interface.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "hannstar,hsd060bhw4", "microchip,ac40t08a-mipi-panel", "powkiddy,x55-panel"

Item 2

Exact value (const): "himax,hx8394"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "huiling,hl055fhav028c"

Item 2

Exact value (const): "himax,hx8399c"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

backlight — required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

vcc-supply — required here #

Panel power supply

iovcc-supply — required here #

I/O voltage supply

Required in this object (required): "compatible", "reg", "backlight", "port", "vcc-supply", "iovcc-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "microchip,ac40t08a-mipi-panel"

When the condition matches (then) #

Required in this object (required): "reset-gpios"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "hannstar,hsd060bhw4", "himax,hx8394";
        reg = <0>;
        vcc-supply = <&reg_2v8_p>;
        iovcc-supply = <&reg_1v8_p>;
        reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
        backlight = <&backlight>;

        port {
            mipi_in_panel: endpoint {
                remote-endpoint = <&mipi_out_panel>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Hydis HV101HD1 DSI Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/hydis,hv101hd1.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): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "hydis,hv101hd1"

reg — not listed as required here #

Maximum number of items (maxItems): 1

vdd-supply — required here #

true — No constraints added by this property rule.

vio-supply — required here #

true — No constraints added by this property rule.

backlight — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "vdd-supply", "vio-supply", "backlight"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "hydis,hv101hd1";
        reg = <0>;

        vdd-supply = <&vdd_lcd>;
        vio-supply = <&vddio_lcd>;

        backlight = <&backlight>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Ilitek IL79900a based MIPI-DSI panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/ilitek,il79900a.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Langyan Ye <yelangyan@huaqin.corp-partner.google.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "tianma,tl121bvms07-00"

Item 2

Exact value (const): "ilitek,il79900a"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel used by the panel

enable-gpios — required here #

Maximum number of items (maxItems): 1

GPIO specifier for the enable pin

avdd-supply — required here #

Positive analog voltage supply (AVDD)

avee-supply — required here #

Negative analog voltage supply (AVEE)

pp1800-supply — required here #

1.8V logic voltage supply

backlight — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "enable-gpios", "avdd-supply", "avee-supply", "pp1800-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "tianma,tl121bvms07-00", "ilitek,il79900a";
        reg = <0>;
        enable-gpios = <&pio 25 0>;
        avdd-supply = <&reg_avdd>;
        avee-supply = <&reg_avee>;
        pp1800-supply = <&reg_pp1800>;
        backlight = <&backlight>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Ilitek ILI9163 display panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/ilitek,ili9163.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Daniel Mack <daniel@zonque.org>"

This binding is for display panels using an Ilitek ILI9163 controller in SPI mode.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "newhaven,1.8-128160EF"

Item 2

Exact value (const): "ilitek,ili9163"

reg — required here #

Maximum number of items (maxItems): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 32000000

dc-gpios — required here #

Maximum number of items (maxItems): 1

Display data/command selection (D/CX)

backlight — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "dc-gpios", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
        #address-cells = <1>;
        #size-cells = <0>;

        display@0 {
                compatible = "newhaven,1.8-128160EF", "ilitek,ili9163";
                reg = <0>;
                spi-max-frequency = <32000000>;
                dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
                rotation = <180>;
                backlight = <&backlight>;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Ilitek ILI9322 TFT panel driver with SPI control bus

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/ilitek,ili9322.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

This is a driver for 320x240 TFT panels, accepting a variety of input streams that get adapted and scaled to the panel. The panel output has 960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and VCOMH outputs.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "dlink,dir-685-panel"

Item 2

Exact value (const): "ilitek,ili9322"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

vcc-supply — not listed as required here #

Core voltage supply

iovcc-supply — not listed as required here #

Voltage supply for the interface input/output signals

vci-supply — not listed as required here #

Voltage supply for analog parts

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel: display@0 {
        compatible = "dlink,dir-685-panel", "ilitek,ili9322";
        reg = <0>;
        vcc-supply = <&vdisp>;
        iovcc-supply = <&vdisp>;
        vci-supply = <&vdisp>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&display_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Ilitek-9341 Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/ilitek,ili9341.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dillon Min <dillon.minfei@gmail.com>"

Ilitek ILI9341 TFT panel driver with SPI control bus This is a driver for 320x240 TFT panels, accepting a rgb input streams with 16 bits or 18 bits.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "adafruit,yx240qv29", "st,sf-tc240t-9370-t", "canaan,kd233-tft"

Item 2

Exact value (const): "ilitek,ili9341"

reg — required here #

Maximum number of items (maxItems): 1

dc-gpios — required here #

Maximum number of items (maxItems): 1

Display data/command selection (D/CX) of this DBI panel

spi-3wire — not listed as required here #

true — No constraints added by this property rule.

spi-max-frequency — not listed as required here #

Exact value (const): 10000000

port — not listed as required here #

true — No constraints added by this property rule.

vci-supply — not listed as required here #

Analog voltage supply (2.5 .. 3.3V)

vddi-supply — not listed as required here #

Voltage supply for interface logic (1.65 .. 3.3 V)

vddi-led-supply — not listed as required here #

Voltage supply for the LED driver (1.65 .. 3.3 V)

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "dc-gpios"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "st,sf-tc240t-9370-t"

When the condition matches (then) #

Required in this object (required): "port"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
spi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel: display@0 {
        compatible = "st,sf-tc240t-9370-t",
                     "ilitek,ili9341";
        reg = <0>;
        spi-3wire;
        spi-max-frequency = <10000000>;
        dc-gpios = <&gpiod 13 0>;
        port {
            panel_in: endpoint {
                remote-endpoint = <&display_out>;
            };
        };
    };
    display@1{
        compatible = "adafruit,yx240qv29", "ilitek,ili9341";
        reg = <1>;
        spi-max-frequency = <10000000>;
        dc-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
        rotation = <270>;
        backlight = <&backlight>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 26: ili9341 240*320 Color on stm32f429-disco board

Ilitek ILI9805 based MIPI-DSI panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/ilitek,ili9805.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Trimarchi <michael@amarulasolutions.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "giantplus,gpm1790a0", "tianma,tm041xdhg01"

Item 2

Exact value (const): "ilitek,ili9805"

reg — required here #

Maximum number of items (maxItems): 1

avdd-supply — required here #

true — No constraints added by this property rule.

dvdd-supply — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "avdd-supply", "dvdd-supply", "reg", "reset-gpios", "port", "backlight"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "giantplus,gpm1790a0", "ilitek,ili9805";
        reg = <0>;
        avdd-supply = <&avdd_display>;
        dvdd-supply = <&dvdd_display>;
        reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
        backlight = <&backlight>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&mipi_dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Ilitek ILI9806E based MIPI-DSI panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/ilitek,ili9806e.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Walle <mwalle@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "densitron,dmt028vghmcmi-1d", "ortustech,com35h3p70ulc"

Item 2

Exact value (const): "ilitek,ili9806e"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — required here #

true — No constraints added by this property rule.

vccio-supply — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vdd-supply", "vccio-supply", "reset-gpios", "backlight", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "ortustech,com35h3p70ulc", "ilitek,ili9806e";
        reg = <0>;
        vdd-supply = <&reg_vdd_panel>;
        vccio-supply = <&reg_vccio_panel>;
        reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
        backlight = <&backlight>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Ilitek ILI9881c based MIPI-DSI panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/ilitek,ili9881c.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Maxime Ripard <mripard@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "ampire,am8001280g", "bananapi,lhr050h41", "bestar,bsd1218-a101kl68", "feixin,k101-im2byl02", "raspberrypi,dsi-5inch", "raspberrypi,dsi-7inch", "startek,kd050hdfia020", "tdo,tl050hdv35", "wanchanglong,w552946aaa", "wanchanglong,w552946aba"

Item 2

Exact value (const): "ilitek,ili9881c"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "power-supply", "reg"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
        reg = <0>;
        power-supply = <&reg_display>;
        reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
        backlight = <&pwm_bl>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Innolux Corporation 10.1" EE101IA-01D WXGA (1280x800) LVDS panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/innolux,ee101ia-01d.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Heiko Stuebner <heiko.stuebner@bq.com>", "Thierry Reding <thierry.reding@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/display/lvds.yaml#

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "innolux,ee101ia-01d"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "innolux,ee101ia-01d"

Item 2

Exact value (const): "panel-lvds"

backlight — not listed as required here #

true — No constraints added by this property rule.

data-mapping — required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

power-supply — not listed as required here #

true — No constraints added by this property rule.

width-mm — required here #

true — No constraints added by this property rule.

height-mm — required here #

true — No constraints added by this property rule.

panel-timing — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "data-mapping", "width-mm", "height-mm", "panel-timing", "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Innolux EJ030NA 3.0" (320x480 pixels) 24-bit TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/innolux,ej030na.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "innolux,ej030na"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "power-supply", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "innolux,ej030na";
        reg = <0>;

        spi-max-frequency = <10000000>;

        reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
        power-supply = <&lcd_power>;

        backlight = <&backlight>;

        port {
            panel_input: endpoint {
                remote-endpoint = <&panel_output>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Innolux P097PFG 9.7" 1536x2048 TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/innolux,p097pfg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lin Huang <hl@rock-chips.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "innolux,p097pfg"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — required here #

true — No constraints added by this property rule.

avdd-supply — required here #

The regulator that provides positive voltage

avee-supply — required here #

The regulator that provides negative voltage

Required in this object (required): "compatible", "reg", "avdd-supply", "avee-supply", "enable-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "innolux,p097pfg";
        reg = <0>;
        avdd-supply = <&avdd>;
        avee-supply = <&avee>;
        backlight = <&backlight>;
        enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Jadard JD9365DA-HE WXGA DSI panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/jadard,jd9365da-h3.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jagan Teki <jagan@edgeble.ai>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "anbernic,rg-ds-display-bottom", "anbernic,rg-ds-display-top", "chongzhou,cz101b4001", "kingdisplay,kd101ne3-40ti", "melfas,lmfbx101117480", "radxa,display-10hd-ad001", "radxa,display-8hd-ad002"

Item 2

Exact value (const): "jadard,jd9365da-h3"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — required here #

supply regulator for VDD, usually 3.3V

vccio-supply — required here #

supply regulator for VCCIO, usually 1.8V

reset-gpios — required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vdd-supply", "vccio-supply", "reset-gpios"

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>
#include <dt-bindings/pinctrl/rockchip.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "chongzhou,cz101b4001", "jadard,jd9365da-h3";
        reg = <0>;
        vdd-supply = <&lcd_3v3>;
        vccio-supply = <&vcca_1v8>;
        reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>;
        backlight = <&backlight>;

        port {
            mipi_in_panel: endpoint {
                remote-endpoint = <&mipi_out_panel>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

JDI LPM102A188A 2560x1800 10.2" DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/jdi,lpm102a188a.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>"

This panel requires a dual-channel DSI host to operate. It supports two modes: - left-right: each channel drives the left or right half of the screen - even-odd: each channel drives the even or odd lines of the screen

Each of the DSI channels controls a separate DSI peripheral. The peripheral driven by the first link (DSI-LINK1) is considered the primary peripheral and controls the device. The 'link2' property contains a phandle to the peripheral driven by the second link (DSI-LINK2).

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "jdi,lpm102a188a"

reg — required here #

Maximum number of items (maxItems): 1

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

power-supply — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

ddi-supply — not listed as required here #

The regulator that provides IOVCC (1.8V).

link2 — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to the DSI peripheral on the secondary link. Note that the presence of this property marks the containing node as DSI-LINK1.

Required in this object (required): "compatible", "reg"

Condition (if) #

Required in this object (required): "link2"

When the condition matches (then) #

Required in this object (required): "power-supply", "ddi-supply", "enable-gpios", "reset-gpios"

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>
#include <dt-bindings/gpio/tegra-gpio.h>

dsia: dsi@54300000 {
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0x0 0x54300000 0x0 0x00040000>;

    link2: panel@0 {
        compatible = "jdi,lpm102a188a";
        reg = <0>;
    };
};

dsib: dsi@54400000{
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0x0 0x54400000 0x0 0x00040000>;
    nvidia,ganged-mode = <&dsia>;

    link1: panel@0 {
        compatible = "jdi,lpm102a188a";
        reg = <0>;
        power-supply = <&pplcd_vdd>;
        ddi-supply = <&pp1800_lcdio>;
        enable-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
        link2 = <&link2>;
        backlight = <&backlight>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

JDI model LT070ME05000 1200x1920 7" DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/jdi,lt070me05000.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Vinay Simha BN <simhavcs@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "jdi,lt070me05000"

reg — required here #

Maximum number of items (maxItems): 1

enable-gpios — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

vddp-supply — required here #

The regulator that provides the supply voltage Power IC supply (3-5V)

iovcc-supply — required here #

The regulator that provides the supply voltage IOVCC, power supply for LCM (1.8V)

dcdc-en-gpios — required here #

Maximum number of items (maxItems): 1

phandle of the gpio for power ic line Power IC supply enable, High active

port — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vddp-supply", "iovcc-supply", "enable-gpios", "reset-gpios", "dcdc-en-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "jdi,lt070me05000";
        reg = <0>;

        vddp-supply = <&pm8921_l17>;
        iovcc-supply = <&pm8921_lvs7>;

        enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
        dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

King Display KD035G6-54NT 3.5" (320x240 pixels) 24-bit TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/kingdisplay,kd035g6-54nt.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "kingdisplay,kd035g6-54nt"

reg — not listed as required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

spi-3wire — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "power-supply", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "kingdisplay,kd035g6-54nt";
        reg = <0>;

        spi-max-frequency = <3125000>;
        spi-3wire;

        reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;

        backlight = <&backlight>;
        power-supply = <&ldo6>;

        port {
            panel_input: endpoint {
                remote-endpoint = <&panel_output>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Leadtek ltk035c5444t 3.5" (640x480 pixels) 24-bit IPS LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/leadtek,ltk035c5444t.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>", "Christophe Branchereau <cbranchereau@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "leadtek,ltk035c5444t"

reg — required here #

Maximum number of items (maxItems): 1

spi-3wire — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "port", "power-supply", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "leadtek,ltk035c5444t";
        reg = <0>;

        spi-3wire;
        spi-max-frequency = <3125000>;

        reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;

        backlight = <&backlight>;
        power-supply = <&vcc>;

        port {
            panel_input: endpoint {
                remote-endpoint = <&panel_output>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Leadtek LTK050H3146W 5.0in 720x1280 DSI panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/leadtek,ltk050h3146w.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Quentin Schulz <quentin.schulz@theobroma-systems.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "leadtek,ltk050h3146w", "leadtek,ltk050h3146w-a2", "leadtek,ltk050h3148w"

reg — required here #

Maximum number of items (maxItems): 1

backlight — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

iovcc-supply — required here #

regulator that supplies the iovcc voltage

vci-supply — required here #

regulator that supplies the vci voltage

Required in this object (required): "compatible", "reg", "backlight", "iovcc-supply", "vci-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "leadtek,ltk050h3146w";
        reg = <0>;
        backlight = <&backlight>;
        iovcc-supply = <&vcc_1v8>;
        vci-supply = <&vcc3v3_lcd>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Leadtek LTK500HD1829 5.0in 720x1280 DSI panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/leadtek,ltk500hd1829.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Heiko Stuebner <heiko.stuebner@theobroma-systems.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "leadtek,ltk101b4029w", "leadtek,ltk500hd1829"

reg — required here #

Maximum number of items (maxItems): 1

backlight — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

iovcc-supply — required here #

regulator that supplies the iovcc voltage

vcc-supply — required here #

regulator that supplies the vcc voltage

Required in this object (required): "compatible", "reg", "backlight", "iovcc-supply", "vcc-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "leadtek,ltk500hd1829";
        reg = <0>;
        backlight = <&backlight>;
        iovcc-supply = <&vcc_1v8>;
        vcc-supply = <&vcc_2v8>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

LG Corporation 7" WXGA TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/lg,ld070wx3-sl01.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): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "lg,ld070wx3-sl01"

reg — not listed as required here #

Maximum number of items (maxItems): 1

vdd-supply — required here #

true — No constraints added by this property rule.

vcc-supply — required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "vdd-supply", "vcc-supply"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "lg,ld070wx3-sl01";
        reg = <0>;

        vdd-supply = <&vdd_3v3_lcd>;
        vcc-supply = <&vcc_1v8_lcd>;

        backlight = <&backlight>;

        port {
            endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

LG LG4573 TFT Liquid Crystal Display with SPI control bus

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/lg,lg4573.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The panel must obey the rules for a SPI slave device as specified in spi/spi-controller.yaml

Maintainers (maintainers): "Heiko Schocher <hs@denx.de>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "lg,lg4573"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    lcd_panel: display@0 {
        compatible = "lg,lg4573";
        spi-max-frequency = <10000000>;
        reg = <0>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

LG SW43408 AMOLED DDIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/lg,sw43408.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Casey Connolly <casey.connolly@linaro.org>"

The SW43408 is display driver IC with connected panel. LG LH546WF1-ED01 panel is used on the Pixel 3, it is a 60hz OLED panel which required DSC (Display Stream Compression) and has rounded corners.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "lg,sw43408-lh546wf1-ed01"

Item 2

Exact value (const): "lg,sw43408"

reg — not listed as required here #

Maximum number of items (maxItems): 1

port — not listed as required here #

true — No constraints added by this property rule.

vddi-supply — required here #

true — No constraints added by this property rule.

vpnl-supply — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "vddi-supply", "vpnl-supply", "reset-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "lg,sw43408-lh546wf1-ed01", "lg,sw43408";
        reg = <0>;

        vddi-supply = <&vreg_l14a_1p88>;
        vpnl-supply = <&vreg_l28a_3p0>;

        reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;

        port {
            endpoint {
                remote-endpoint = <&mdss_dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 25: LG 5.46 inch, 1080x2160 pixels, 18:9 ratio

LG.Philips LB035Q02 Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/lgphilips,lb035q02.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ti.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "lgphilips,lb035q02"

reg — not listed as required here #

Maximum number of items (maxItems): 1

label — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

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.

Required in this object (required): "compatible", "enable-gpios", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel: panel@0 {
        compatible = "lgphilips,lb035q02";
        reg = <0>;
        spi-max-frequency = <100000>;
        spi-cpol;
        spi-cpha;

        label = "lcd";

        enable-gpios = <&gpio7 7 0>;

        port {
            lcd_in: endpoint {
                remote-endpoint = <&dpi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Logic PD Type 28 4.3" WQVGA TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/logicpd,type28.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Adam Ford <aford173@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "logicpd,type28"

power-supply — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

lcd0: display {
  compatible = "logicpd,type28";
  enable-gpios = <&gpio5 27 0>;
  backlight = <&backlight>;
  port {
    lcd_in: endpoint {
      remote-endpoint = <&dpi_out>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Mantix MLAF057WE51-X 5.7" 720x1440 TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/mantix,mlaf057we51-x.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Guido Günther <agx@sigxcpu.org>"

Mantix MLAF057WE51 X is a 720x1440 TFT LCD panel connected using a MIPI-DSI video interface.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mantix,mlaf057we51-x", "ys,ys57pss36bh5gq"

port — not listed as required here #

true — No constraints added by this property rule.

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

avdd-supply — required here #

Positive analog power supply

avee-supply — required here #

Negative analog power supply

vddi-supply — required here #

1.8V I/O voltage supply

reset-gpios — required here #

true — No constraints added by this property rule.

mantix,tp-rstn-gpios — not listed as required here #

Maximum number of items (maxItems): 1

second reset line that triggers DSI config load

backlight — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "avdd-supply", "avee-supply", "vddi-supply", "reset-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "mantix,mlaf057we51-x";
        reg = <0>;
        avdd-supply = <&reg_avdd>;
        avee-supply = <&reg_avee>;
        vddi-supply = <&reg_1v8_p>;
        reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
        mantix,tp-rstn-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
        backlight = <&backlight>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Mitsubishi AA104XD12 10.4" XGA LVDS Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/mitsubishi,aa104xd12.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "Thierry Reding <thierry.reding@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/display/lvds.yaml#

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "mitsubishi,aa104xd12"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "mitsubishi,aa104xd12"

Item 2

Exact value (const): "panel-lvds"

vcc-supply — not listed as required here #

Reference to the regulator powering the panel VCC pins.

data-mapping — required here #

Allowed values (enum): "jeida-18", "jeida-24"

width-mm — required here #

Exact value (const): 210

height-mm — required here #

Exact value (const): 158

backlight — not listed as required here #

true — No constraints added by this property rule.

panel-timing — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "data-mapping", "width-mm", "height-mm", "panel-timing", "port"

Examples (examples) #


panel {
  compatible = "mitsubishi,aa104xd12", "panel-lvds";
  vcc-supply = <&vcc_3v3>;

  width-mm = <210>;
  height-mm = <158>;

  data-mapping = "jeida-24";

  panel-timing {
    /* 1024x768 @65Hz */
    clock-frequency = <65000000>;
    hactive = <1024>;
    vactive = <768>;
    hsync-len = <136>;
    hfront-porch = <20>;
    hback-porch = <160>;
    vfront-porch = <3>;
    vback-porch = <29>;
    vsync-len = <6>;
  };

  port {
    panel_in: endpoint {
      remote-endpoint = <&lvds_encoder>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Mitsubishi AA121TD01 12.1" WXGA LVDS Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/mitsubishi,aa121td01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "Thierry Reding <thierry.reding@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/display/lvds.yaml#

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "mitsubishi,aa121td01"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "mitsubishi,aa121td01"

Item 2

Exact value (const): "panel-lvds"

vcc-supply — required here #

Reference to the regulator powering the panel VCC pins.

data-mapping — required here #

Exact value (const): "jeida-24"

width-mm — required here #

Exact value (const): 261

height-mm — required here #

Exact value (const): 163

panel-timing — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "vcc-supply", "data-mapping", "width-mm", "height-mm", "panel-timing", "port"

Examples (examples) #

panel {
  compatible = "mitsubishi,aa121td01", "panel-lvds";
  vcc-supply = <&vcc_3v3>;

  width-mm = <261>;
  height-mm = <163>;

  data-mapping = "jeida-24";

  panel-timing {
    /* 1280x800 @60Hz */
    clock-frequency = <71000000>;
    hactive = <1280>;
    vactive = <800>;
    hsync-len = <70>;
    hfront-porch = <20>;
    hback-porch = <70>;
    vsync-len = <5>;
    vfront-porch = <3>;
    vback-porch = <15>;
  };

  port {
    panel_in: endpoint {
      remote-endpoint = <&lvds_encoder>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

NEC NL8048HL11 4.1" WVGA TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/nec,nl8048hl11.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The NEC NL8048HL11 is a 4.1" WVGA TFT LCD panel with a 24-bit RGB parallel data interface and an SPI control interface.

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nec,nl8048hl11"

reg — required here #

Maximum number of items (maxItems): 1

label — not listed as required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

spi-max-frequency — not listed as required here #

Maximum value (maximum): 10000000

Required in this object (required): "compatible", "reg", "reset-gpios", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
  #address-cells = <1>;
  #size-cells = <0>;

  lcd_panel: panel@0 {
    compatible = "nec,nl8048hl11";
    reg = <0>;
    spi-max-frequency = <10000000>;

    reset-gpios = <&gpio7 7 GPIO_ACTIVE_LOW>;

    port {
      lcd_in: endpoint {
        remote-endpoint = <&dpi_out>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

NewVision NV3051D based LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/newvision,nv3051d.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The NewVision NV3051D is a driver chip used to drive DSI panels.

Maintainers (maintainers): "Chris Morgan <macromorgan@hotmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "anbernic,rg351v-panel", "anbernic,rg353p-panel", "powkiddy,rk2023-panel"

Item 2

Exact value (const): "newvision,nv3051d"

reg — required here #

Maximum number of items (maxItems): 1

backlight — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

Active low reset GPIO

vdd-supply — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "backlight"

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>
dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "anbernic,rg353p-panel", "newvision,nv3051d";
        reg = <0>;
        backlight = <&backlight>;
        reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
        vdd-supply = <&vcc3v3_lcd>;

        port {
            mipi_in_panel: endpoint {
                remote-endpoint = <&mipi_out_panel>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Novatek NT35510-based display panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/novatek,nt35510.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "frida,frd400b25025", "hydis,hva40wv1"

Item 2

Exact value (const): "novatek,nt35510"

This indicates the panel manufacturer of the panel that is in turn using the NT35510 panel driver. The compatible string determines how the NT35510 panel driver shall be configured to work with the indicated panel. The novatek,nt35510 compatible shall always be provided as a fallback.

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

vdd-supply — not listed as required here #

regulator that supplies the vdd voltage

vddi-supply — not listed as required here #

regulator that supplies the vddi voltage

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "hydis,hva40wv1", "novatek,nt35510";
        reg = <0>;
        vdd-supply = <&ab8500_ldo_aux4_reg>;
        vddi-supply = <&ab8500_ldo_aux6_reg>;
        reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
        backlight = <&gpio_bl>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Novatek NT35950-based display panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/novatek,nt35950.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>"

The nt35950 IC from Novatek is a Driver IC used to drive MIPI-DSI panels, with Static RAM for content retention in command mode and also supports video mode with VESA Frame Buffer Compression or Display Stream Compression on single, or dual dsi port(s). This DDIC is also capable of upscaling an input image to the panel's native resolution, for example it can upscale a 1920x1080 input to 3840x2160 with either bilinear interpolation or pixel duplication.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common-dual.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "sharp,ls055d1sx04"

Item 2

Exact value (const): "novatek,nt35950"

This indicates the panel manufacturer of the panel that is in turn using the NT35950 panel driver. The compatible string determines how the NT35950 panel driver shall be configured to work with the indicated panel. The novatek,nt35950 compatible shall always be provided as a fallback.

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

Maximum number of items (maxItems): 1

phandle of gpio for reset line - This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names (active high)

avdd-supply — required here #

positive boost supply regulator

avee-supply — required here #

negative boost supply regulator

dvdd-supply — required here #

regulator that supplies the digital voltage

vddio-supply — required here #

regulator that supplies the I/O voltage

backlight — not listed as required here #

true — No constraints added by this property rule.

ports — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "reset-gpios", "avdd-supply", "avee-supply", "dvdd-supply", "vddio-supply", "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>

dsi0 {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "sharp,ls055d1sx04", "novatek,nt35950";
        reg = <0>;

        backlight = <&pmi8998_wled>;
        reset-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>;

        avdd-supply = <&lab>;
        avee-supply = <&ibb>;
        dvdd-supply = <&disp_dvdd_vreg>;
        vddio-supply = <&vreg_l14a_1p85>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                panel_in0: endpoint {
                    remote-endpoint = <&dsi0_out>;
                };
            };

            port@1 {
                reg = <1>;
                panel_in1: endpoint {
                    remote-endpoint = <&dsi1_out>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Novatek NT36523 based DSI display Panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/novatek,nt36523.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jianhua Lu <lujianhua000@gmail.com>"

The Novatek NT36523 is a generic DSI Panel IC used to drive dsi panels. Support video mode panels from China Star Optoelectronics Technology (CSOT) and BOE Technology.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "xiaomi,elish-boe-nt36523", "xiaomi,elish-csot-nt36523"

Item 2

Exact value (const): "novatek,nt36523"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "lenovo,j606f-boe-nt36523w"

Item 2

Exact value (const): "novatek,nt36523w"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

Maximum number of items (maxItems): 1

phandle of gpio for reset line - This should be 8mA

vddio-supply — required here #

regulator that supplies the I/O voltage

rotation — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vddio-supply", "reset-gpios"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common-dual.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "novatek,nt36523w"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@1 — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties)

port — not listed as required here

false — Not permitted by this property rule.

ports — not listed as required here

Required in this object (required): "port@1"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "xiaomi,elish-csot-nt36523", "novatek,nt36523";
        reg = <0>;

        vddio-supply = <&vreg_l14a_1p88>;
        reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
        backlight = <&backlight>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                panel_in_0: endpoint {
                    remote-endpoint = <&dsi0_out>;
                };
            };

            port@1{
                reg = <1>;
                panel_in_1: endpoint {
                    remote-endpoint = <&dsi1_out>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Novatek NT36672A based DSI display Panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/novatek,nt36672a.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sumit Semwal <sumit.semwal@linaro.org>"

The nt36672a IC from Novatek is a generic DSI Panel IC used to drive dsi panels. Right now, support is added only for a Tianma FHD+ LCD display panel with a resolution of 1080x2246. It is a video mode DSI panel.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "tianma,fhd-video"

Item 2

Exact value (const): "novatek,nt36672a"

This indicates the panel manufacturer of the panel that is in turn using the NT36672A panel driver. This compatible string determines how the NT36672A panel driver is configured for the indicated panel. The novatek,nt36672a compatible shall always be provided as a fallback.

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

Maximum number of items (maxItems): 1

phandle of gpio for reset line - This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names (active high)

vddio-supply — required here #

phandle of the regulator that provides the supply voltage Power IC supply

vddpos-supply — required here #

phandle of the positive boost supply regulator

vddneg-supply — required here #

phandle of the negative boost supply regulator

port — required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vddio-supply", "vddpos-supply", "vddneg-supply", "reset-gpios", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi0 {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "tianma,fhd-video", "novatek,nt36672a";
        reg = <0>;
        vddio-supply = <&vreg_l14a_1p88>;
        vddpos-supply = <&lab>;
        vddneg-supply = <&ibb>;

        backlight = <&pmi8998_wled>;
        reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;

        port {
            tianma_nt36672a_in_0: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Novatek NT36672E LCD DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/novatek,nt36672e.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ritesh Kumar <quic_riteshk@quicinc.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "novatek,nt36672e"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

vddi-supply — required here #

true — No constraints added by this property rule.

avdd-supply — required here #

true — No constraints added by this property rule.

avee-supply — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vddi-supply", "avdd-supply", "avee-supply", "reset-gpios", "port"

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>
dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "novatek,nt36672e";
        reg = <0>;

        reset-gpios = <&tlmm 44 GPIO_ACTIVE_HIGH>;

        vddi-supply = <&vreg_l8c_1p8>;
        avdd-supply = <&disp_avdd>;
        avee-supply = <&disp_avee>;

        backlight = <&pwm_backlight>;

        port {
            panel0_in: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Novatek NT37801 AMOLED DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/novatek,nt37801.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

Naming is inconclusive and different sources claim this is either Novatek NT37801 or NT37810 AMOLED DSI Panel.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "novatek,nt37801"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

vci-supply — required here #

true — No constraints added by this property rule.

vdd-supply — required here #

true — No constraints added by this property rule.

vddio-supply — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vci-supply", "vdd-supply", "vddio-supply", "port", "reset-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "novatek,nt37801";
        reg = <0>;

        vci-supply = <&vreg_l13b_3p0>;
        vdd-supply = <&vreg_l11b_1p2>;
        vddio-supply = <&vreg_l12b_1p8>;

        reset-gpios = <&tlmm 98 GPIO_ACTIVE_LOW>;

        port {
            endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Olimex Ltd. LCD-OLinuXino bridge panel.

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stefan Mavrodiev <stefan@olimex.com>"

This device can be used as bridge between a host controller and LCD panels.
Currently supported LCDs are:
  - LCD-OLinuXino-4.3TS
  - LCD-OLinuXino-5
  - LCD-OLinuXino-7
  - LCD-OLinuXino-10
The panel itself contains:
  - AT24C16C EEPROM holding panel identification and timing requirements
  - AR1021 resistive touch screen controller (optional)
  - FT5x6 capacitive touch screen controller (optional)
  - GT911/GT928 capacitive touch screen controller (optional)

The above chips share same I2C bus. The EEPROM is factory preprogrammed with device information (id, serial, etc.) and timing requirements.

Touchscreen bingings can be found in these files:
  - input/touchscreen/goodix.yaml
  - input/touchscreen/edt-ft5x06.txt
  - input/touchscreen/ar1021.txt

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "olimex,lcd-olinuxino"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "power-supply"

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>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@50 {
        compatible = "olimex,lcd-olinuxino";
        reg = <0x50>;
        power-supply = <&reg_vcc5v0>;
        enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>;
        backlight = <&backlight>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Orise Tech OTM8009A 3.97" 480x800 TFT LCD panel (MIPI-DSI video mode)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/orisetech,otm8009a.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Philippe CORNU <philippe.cornu@foss.st.com>"

The Orise Tech OTM8009A is a 3.97" 480x800 TFT LCD panel connected using a MIPI-DSI video interface. Its backlight is managed through the DSI link.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "orisetech,otm8009a"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Examples (examples) #

dsi {
  #address-cells = <1>;
  #size-cells = <0>;
  panel@0 {
    compatible = "orisetech,otm8009a";
    reg = <0>;
    reset-gpios = <&gpiof 15 0>;
    power-supply = <&v1v8>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Common Properties for Dual-Link Display Panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-common-dual.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

Properties common for Panel IC supporting dual link panels. Devices might support also single link.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

port@0 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

First link

port@1 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Second link

#address-cells — not listed as required here

true — No constraints added by this property rule.

#size-cells — not listed as required here

true — No constraints added by this property rule.

Required in this object (required): "port@0"

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "ports"

Rule 2 #

Required in this object (required): "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 40: Single-panel setups are still allowed.

Common Properties for Display Panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-common.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

This document defines device tree properties common to several classes of display panels. It doesn't constitute a device tree binding specification by itself but is meant to be referenced by device tree bindings.

When referenced from panel device tree bindings the properties defined in this document are defined as follows. The panel device tree bindings are responsible for defining whether each property is required or optional.

Properties and child nodes (properties) #

width-mm — not listed as required here #

Specifies the width of the physical area where images are displayed. This property is expressed in millimeters and rounded to the closest unit.

height-mm — not listed as required here #

Specifies the height of the physical area where images are displayed. This property is expressed in millimeters and rounded to the closest unit.

label — not listed as required here #

The label property specifies a symbolic name for the panel as a string suitable for use by humans. It typically contains a name inscribed on the system (e.g. as an affixed label) or specified in the system's documentation (e.g. in the user's manual).

If no such name exists, and unless the property is mandatory according to device tree bindings, it shall rather be omitted than constructed of non-descriptive information. For instance an LCD panel in a system that contains a single panel shall not be labelled "LCD" if that name is not inscribed on the system or used in a descriptive fashion in system documentation.

rotation — not listed as required here #

Display rotation in degrees counter clockwise (0,90,180,270)

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 90, 180, 270

flip-horizontal — not listed as required here #

boolean to flip image horizontally

Value type (type): "boolean"

flip-vertical — not listed as required here #

boolean to flip image vertically

Value type (type): "boolean"

panel-timing — not listed as required here #

Most display panels are restricted to a single resolution and require specific display timings. The panel-timing subnode expresses those timings.

Shared schema rule ($ref): panel-timing.yaml#

display-timings — not listed as required here #

Some display panels support several resolutions with different timings. The display-timings bindings supports specifying several timings and optionally specifying which is the native mode.

Shared schema rule ($ref): display-timings.yaml#

port — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

ddc-i2c-bus — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Some panels expose EDID information through an I2C-compatible bus such as DDC2 or E-DDC. For such panels the ddc-i2c-bus contains a phandle to the system I2C controller connected to that bus.

no-hpd — not listed as required here #

Value type (type): "boolean"

This panel is supposed to communicate that it's ready via HPD (hot plug detect) signal, but the signal isn't hooked up so we should hardcode the max delay from the panel spec when powering up the panel.

hpd-gpios — not listed as required here #

Maximum number of items (maxItems): 1

If Hot Plug Detect (HPD) is connected to a GPIO in the system rather than a dedicated HPD pin the pin can be specified here.

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Specifier for a GPIO connected to the panel enable control signal. The enable signal is active high and enables operation of the panel. This property can also be used for panels implementing an active low power down signal, which is a negated version of the enable signal. Active low enable signals (or active high power down signals) can be supported by inverting the GPIO specifier polarity flag.

Note that the enable signal control panel operation only and must not be confused with a backlight enable signal.

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Specifier for a GPIO connected to the panel reset control signal. The reset signal is active low and resets the panel internal logic while active. Active high reset signals can be supported by inverting the GPIO specifier polarity flag.

te-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO spec for the tearing effect synchronization signal. The tearing effect signal is active high. Active low signals can be supported by inverting the GPIO specifier polarity flag.

power-supply — not listed as required here #

Display panels require power to be supplied. While several panels need more than one power supply with panel-specific constraints governing the order and timings of the power supplies, in many cases a single power supply is sufficient, either because the panel has a single power rail, or because all its power rails can be driven by the same supply. In that case the power-supply property specifies the supply powering the panel as a phandle to a regulator.

backlight — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

For panels whose backlight is controlled by an external backlight controller, this property contains a phandle that references the controller.

Property dependencies (dependencies) #

width-mm — applies when this property is present #

Also requires: "height-mm"

height-mm — applies when this property is present #

Also requires: "width-mm"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 23: Descriptive Properties

Line 62: Display Timings

Line 77: Connectivity

Line 101: Control I/Os

Line 103: Many display panels can be controlled through pins driven by GPIOs. The nature

Line 104: and timing of those control signals are device-specific and left for panel

Line 105: device tree bindings to specify. The following GPIO specifiers can however be

Line 106: used for panels that implement compatible control signals.

Line 136: Power

Line 147: Backlight

Line 149: Most display panels include a backlight. Some of them also include a backlight

Line 150: controller exposed through a control bus such as I2C or DSI. Others expose

Line 151: backlight control through GPIO, PWM or other signals connected to an external

Line 152: backlight controller.

Generic MIPI DPI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-dpi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sam Ravnborg <sam@ravnborg.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Shall contain a panel specific compatible and "panel-dpi" in that order.

Array item rules (items) #

Item 1

This rule adds no constraints.

Item 2

Exact value (const): "panel-dpi"

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

height-mm — not listed as required here #

true — No constraints added by this property rule.

label — not listed as required here #

true — No constraints added by this property rule.

panel-timing — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

width-mm — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "panel-timing", "power-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

panel {
    compatible = "startek,startek-kd050c", "panel-dpi";
    label = "osddisplay";
    power-supply = <&vcc_supply>;
    backlight = <&backlight>;

    port {
        lcd_in: endpoint {
            remote-endpoint = <&dpi_out>;
        };
    };
    panel-timing {
        clock-frequency = <9200000>;
        hactive = <800>;
        vactive = <480>;
        hfront-porch = <8>;
        hback-porch = <4>;
        hsync-len = <41>;
        vback-porch = <2>;
        vfront-porch = <4>;
        vsync-len = <10>;

        hsync-active = <0>;
        vsync-active = <0>;
        de-active = <1>;
        pixelclk-active = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

DSI command mode panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-dsi-cm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ti.com>", "Sebastian Reichel <sre@kernel.org>"

This binding file is a collection of the DSI panels that are usually driven in command mode. If no backlight is referenced via the optional backlight property, the DSI panel is assumed to have native backlight support. The panel may use an OF graph binding for the association to the display, or it may be a direct child node of the display.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "motorola,droid4-panel", "nokia,himalaya", "tpo,taal"

Item 2

Exact value (const): "panel-dsi-cm"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

vddi-supply — not listed as required here #

Display panels require power to be supplied. While several panels need more than one power supply with panel-specific constraints governing the order and timings of the power supplies, in many cases a single power supply is sufficient, either because the panel has a single power rail, or because all its power rails can be driven by the same supply. In that case the vddi-supply property specifies the supply powering the panel as a phandle to a regulator.

vpnl-supply — not listed as required here #

When the display panel needs a second power supply, this property can be used in addition to vddi-supply. Both supplies will be enabled at the same time before the panel is being accessed.

width-mm — not listed as required here #

true — No constraints added by this property rule.

height-mm — not listed as required here #

true — No constraints added by this property rule.

label — not listed as required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

panel-timing — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

te-gpios — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi-controller {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "tpo,taal", "panel-dsi-cm";
        reg = <0>;
        reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 30: Panel from Motorola Droid4 phone

Line 31: Panel from Nokia N950 phone

Line 32: Panel from OMAP4 SDP board

Line 33: Generic DSI command mode panel compatible fallback

Legacy eDP panels from before the "edp-panel" compatible

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-edp-legacy.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Douglas Anderson <dianders@chromium.org>"

This binding file is a collection of eDP panels from before the generic "edp-panel" compatible was introduced. It is kept around to support old dts files. The only reason one might add a new panel here instead of using the generic "edp-panel" is if it needed to be used on an eDP controller that doesn't support the generic "edp-panel" compatible, but it should be a strong preference to add the generic "edp-panel" compatible instead.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "auo,b101ean01", "auo,b116xa01", "auo,b133htn01", "auo,b133xtn01", "boe,nv101wxmn51", "boe,nv110wtm-n61", "boe,nv133fhm-n61", "boe,nv133fhm-n62", "boe,nv140fhmn49", "innolux,n116bca-ea1", "innolux,n116bge", "innolux,n125hce-gn1", "innolux,p120zdg-bf1", "kingdisplay,kd116n21-30nv-a010", "lg,lp079qx1-sp0v", "lg,lp097qx1-spa1", "lg,lp120up1", "lg,lp129qe", "neweast,wjfh116008a", "samsung,lsn122dl01-c01", "samsung,ltn140at29-301", "sharp,ld-d5116z01b", "sharp,lq123p1jx31"

backlight — not listed as required here #

true — No constraints added by this property rule.

ddc-i2c-bus — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

panel-timing — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

no-hpd — not listed as required here #

true — No constraints added by this property rule.

hpd-gpios — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply"

Examples (examples) #

panel: panel {
  compatible = "innolux,n116bge";
  power-supply = <&panel_regulator>;
  backlight = <&backlight>;

  panel-timing {
    clock-frequency = <74250000>;
    hactive = <1366>;
    hfront-porch = <136>;
    hback-porch = <60>;
    hsync-len = <30>;
    hsync-active = <0>;
    vactive = <768>;
    vfront-porch = <8>;
    vback-porch = <12>;
    vsync-len = <12>;
    vsync-active = <0>;
  };

  port {
    panel_in_edp: endpoint {
      remote-endpoint = <&edp_out_panel>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 26: compatible must be listed in alphabetical order, ordered by compatible.

Line 27: The description in the comment is mandatory for each compatible.

Line 29: AU Optronics Corporation 10.1" WSVGA TFT LCD panel

Line 31: AUO B116XAK01 eDP TFT LCD panel

Line 33: AU Optronics Corporation 13.3" FHD (1920x1080) color TFT-LCD panel

Line 35: AU Optronics Corporation 13.3" WXGA (1366x768) TFT LCD panel

Line 37: BOE OPTOELECTRONICS TECHNOLOGY 10.1" WXGA TFT LCD panel

Line 39: BOE NV133FHM-N61 13.3" FHD (1920x1080) TFT LCD Panel

Line 41: BOE NV110WTM-N61 11.0" 2160x1440 TFT LCD Panel

Line 43: BOE NV133FHM-N62 13.3" FHD (1920x1080) TFT LCD Panel

Line 45: BOE NV140FHM-N49 14.0" FHD a-Si FT panel

Line 47: Innolux Corporation 11.6" WXGA (1366x768) TFT LCD panel

Line 49: Innolux Corporation 11.6" WXGA (1366x768) TFT LCD panel

Line 51: InnoLux 13.3" FHD (1920x1080) eDP TFT LCD panel

Line 53: Innolux P120ZDG-BF1 12.02 inch eDP 2K display panel

Line 55: King & Display KD116N21-30NV-A010 eDP TFT LCD panel

Line 57: LG LP079QX1-SP0V 7.9" (1536x2048 pixels) TFT LCD panel

Line 59: LG 9.7" (2048x1536 pixels) TFT LCD panel

Line 61: LG 12.0" (1920x1280 pixels) TFT LCD panel

Line 63: LG 12.9" (2560x1700 pixels) TFT LCD panel

Line 65: NewEast Optoelectronics CO., LTD WJFH116008A eDP TFT LCD panel

Line 67: Samsung 12.2" (2560x1600 pixels) TFT LCD panel

Line 69: Samsung Electronics 14" WXGA (1366x768) TFT LCD panel

Line 71: Sharp LD-D5116Z01B 12.3" WUXGA+ eDP panel

Line 73: Sharp 12.3" (2400x1600 pixels) TFT LCD panel

Probeable (via DP AUX / EDID) eDP Panels with simple poweron sequences

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-edp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Douglas Anderson <dianders@chromium.org>"

This binding file can be used to indicate that an eDP panel is connected to a Embedded DisplayPort AUX bus (see display/dp-aux-bus.yaml) without actually specifying exactly what panel is connected. This is useful for the case that more than one different panel could be connected to the board, either for second-sourcing purposes or to support multiple SKUs with different LCDs that hook up to a common board.

As per above, a requirement for using this binding is that the panel is represented under the DP AUX bus. This means that we can use any information provided by the DP AUX bus (including the EDID) to identify the panel. We can use this to identify display size, resolution, and timings among other things.

One piece of information about eDP panels that is typically _not_ provided anywhere on the DP AUX bus is the power sequencing timings. This is the reason why, historically, we've always had to explicitly list eDP panels. We solve that here with two tricks. The "worst case" power on timings for any panels expected to be connected to a board are specified in these bindings. Once we've powered on, it's expected that the operating system will lookup the panel in a table (based on EDID information) to figure out other power sequencing timings.

eDP panels in general can have somewhat arbitrary power sequencing requirements. However, even though it's arbitrary in general, the vast majority of panel datasheets have a power sequence diagram that looks the exactly the same as every other panel. Each panel datasheet cares about different timings in this diagram but the fact that the diagram is so similar means we can come up with a single driver to handle it.

These diagrams all look roughly like this, sometimes labeled with slightly different numbers / lines but all pretty much the same sequence. This is because much of this diagram comes straight from the eDP Standard.

              __________________________________________________
Vdd       ___/:                                                :\____       /
        _/    :                                                :     \_____/
         :<T1>:<T2>:                                 :<--T10-->:<T11>:<T12>:
              :    +-----------------------+---------+---------+
eDP     -----------+ Black video           | Src vid | Blk vid +
Display       :    +-----------------------+---------+---------+
              :     _______________________:_________:_________:
HPD           :<T3>|                       :         :         |
        ___________|                       :         :         |_____________
                   :                       :         :         :
Sink               +-----------------------:---------:---------+
AUX CH  -----------+ AUX Ch operational    :         :         +-------------
                   +-----------------------:---------:---------+
                   :                       :         :         :
                   :<T4>:             :<T7>:         :         :
Src main                +------+------+--------------+---------+
lnk data----------------+LnkTrn| Idle |Valid vid data| Idle/off+-------------
                        +------+------+--------------+---------+
                        : <T5> :<-T6->:<-T8->:       :
                                             :__:<T9>:
LED_EN                                       |  |
        _____________________________________|  |____________________________
                                             :  :
                                   __________:__:_
PWM                               |          :  : |
        __________________________|          :  : |__________________________
                                  :          :  : :
                     _____________:__________:__:_:______
Bklight         ____/:            :          :  : :     :\____
power   _______/     :<---T13---->:          :  : :<T16>:     \______________
(Vbl)          :<T17>:<---------T14--------->:  :<-T15->:<T18>:

The above looks fairly complex but, as per above, each panel only cares about a subset of those timings.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "edp-panel"

hpd-reliable-delay-ms — not listed as required here #

A fixed amount of time that must be waited after powering on the panel's power-supply before the HPD signal is a reliable way to know when the AUX channel is ready. This is useful for panels that glitch the HPD at the start of power-on. This value is not needed if HPD is always reliable for all panels that might be connected.

hpd-absent-delay-ms — not listed as required here #

The panel specifies that HPD will be asserted this many milliseconds from power on (timing T3 in the diagram above). If we have no way to measure HPD then a fixed delay of this many milliseconds can be used. This can also be used as a timeout when waiting for HPD. Does not include the hpd-reliable-delay, so if hpd-reliable-delay was 80 ms and hpd-absent-delay was 200 ms then we'd do a fixed 80 ms delay and then we know HPD would assert in the next 120 ms. This value is not needed if HPD hooked up, either through a GPIO in the panel node or hooked up directly to the eDP controller.

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

no-hpd — not listed as required here #

true — No constraints added by this property rule.

hpd-gpios — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply"

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  bridge@2d {
    compatible = "ti,sn65dsi86";
    reg = <0x2d>;

    interrupt-parent = <&tlmm>;
    interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;

    enable-gpios = <&tlmm 102 GPIO_ACTIVE_HIGH>;

    vpll-supply = <&src_pp1800_s4a>;
    vccio-supply = <&src_pp1800_s4a>;
    vcca-supply = <&src_pp1200_l2a>;
    vcc-supply = <&src_pp1200_l2a>;

    clocks = <&rpmhcc RPMH_LN_BB_CLK2>;
    clock-names = "refclk";

    no-hpd;

    ports {
      #address-cells = <1>;
      #size-cells = <0>;

      port@0 {
        reg = <0>;
        endpoint {
          remote-endpoint = <&dsi0_out>;
        };
      };

      port@1 {
        reg = <1>;
        sn65dsi86_out: endpoint {
          remote-endpoint = <&panel_in_edp>;
        };
      };
    };

    aux-bus {
      panel {
        compatible = "edp-panel";
        power-supply = <&pp3300_dx_edp>;
        backlight = <&backlight>;
        hpd-gpios = <&sn65dsi86_bridge 2 GPIO_ACTIVE_HIGH>;
        hpd-reliable-delay-ms = <15>;

        port {
          panel_in_edp: endpoint {
            remote-endpoint = <&sn65dsi86_out>;
          };
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Generic LVDS Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-lvds.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>", "Thierry Reding <thierry.reding@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/display/lvds.yaml#

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "panel-lvds"

This rule must not match (not) #

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "advantech,idk-1110wr", "advantech,idk-2121wr", "innolux,ee101ia-01d", "mitsubishi,aa104xd12", "mitsubishi,aa121td01", "sgd,gktw70sdae4se"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "admatec,9904379", "ampire,amp19201200b5tzqw-t03", "auo,b101ew05", "auo,g084sn05", "chunghwa,claa070wp03xg", "edt,etml0700z8dha", "edt,etml0700z9ndha", "hannstar,hsd101pww2", "hydis,hv070wx2-1e0", "jenson,bl-jt60050-01a", "tbs,a711-panel", "winstar,wf70a8syjhlnga"

Item 2

Exact value (const): "panel-lvds"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "data-mapping", "width-mm", "height-mm", "panel-timing", "port"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 42: Admatec 9904379 10.1" 1024x600 LVDS panel

Line 44: Ampire AMP19201200B5TZQW-T03 10.1" WUXGA (1920x1200) color TFT LCD panel

Line 47: AUO G084SN05 V9 8.4" 800x600 LVDS panel

Line 49: Chunghwa Picture Tubes Ltd. 7" WXGA (800x1280) TFT LCD LVDS panel

Line 51: EDT ETML0700Z8DHA 7.0" Full HD (1920x1080) color TFT LCD LVDS panel

Line 53: EDT ETML0700Z9NDHA 7.0" WSVGA (1024x600) color TFT LCD LVDS panel

Line 55: HannStar Display Corp. HSD101PWW2 10.1" WXGA (1280x800) LVDS panel

Line 57: Hydis Technologies 7" WXGA (800x1280) TFT LCD LVDS panel

Line 59: Jenson Display BL-JT60050-01A 7" WSVGA (1024x600) color TFT LCD LVDS panel

Line 62: Winstar WF70A8SYJHLNGA 7" WSVGA (1024x600) color TFT LCD LVDS panel

MIPI DBI SPI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-mipi-dbi-spi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Noralf Trønnes <noralf@tronnes.org>"

This binding is for display panels using a MIPI DBI compatible controller in SPI mode.

The MIPI Alliance Standard for Display Bus Interface defines the electrical and logical interfaces for display controllers historically used in mobile phones. The standard defines 4 display architecture types and this binding is for type 1 which has full frame memory. There are 3 interface types in the standard and type C is the serial interface.

The standard defines the following interface signals for type C:
- Power:
  - Vdd: Power supply for display module
    Called power-supply in this binding.
  - Vddi: Logic level supply for interface signals
    Called io-supply in this binding.
- Interface:
  - CSx: Chip select
  - SCL: Serial clock
  - Dout: Serial out
  - Din: Serial in
  - SDA: Bidrectional in/out
  - D/CX: Data/command selection, high=data, low=command
    Called dc-gpios in this binding.
  - RESX: Reset when low
    Called reset-gpios in this binding.

The type C interface has 3 options:

  - Option 1: 9-bit mode and D/CX as the 9th bit
    |              Command              |  the next command or following data  |
    |<0><D7><D6><D5><D4><D3><D2><D1><D0>|<D/CX><D7><D6><D5><D4><D3><D2><D1><D0>|
  - Option 2: 16-bit mode and D/CX as a 9th bit
    |              Command or data                              |
    |<X><X><X><X><X><X><X><D/CX><D7><D6><D5><D4><D3><D2><D1><D0>|
  - Option 3: 8-bit mode and D/CX as a separate interface line
    |        Command or data         |
    |<D7><D6><D5><D4><D3><D2><D1><D0>|

The standard defines one pixel format for type C: RGB111. The industry however has decided to provide the type A/B interface pixel formats also on the Type C interface and most common among these are RGB565 and RGB666. The MIPI DCS command set_address_mode (36h) has one bit that controls RGB/BGR order. This gives each supported RGB format a BGR variant.

The panel resolution is specified using the panel-timing node properties hactive (width) and vactive (height). The other mandatory panel-timing properties should be set to zero except clock-frequency which can be optionally set to inform about the actual pixel clock frequency.

If the panel is wired to the controller at an offset specify this using hback-porch (x-offset) and vback-porch (y-offset).

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "saef,sftc154b", "sainsmart18", "shineworld,lh133k"

Item 2

Exact value (const): "panel-mipi-dbi-spi"

reg — required here #

Maximum number of items (maxItems): 1

write-only — not listed as required here #

Value type (type): "boolean"

Controller is not readable (ie. Din (MISO on the SPI interface) is not wired up).

dc-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Controller data/command selection (D/CX) in 4-line SPI mode. If not set, the controller is in 3-line SPI mode.

io-supply — not listed as required here #

Logic level supply for interface signals (Vddi). No need to set if this is the same as power-supply.

spi-3wire — not listed as required here #

true — No constraints added by this property rule.

format — not listed as required here #

Pixel format in bit order as going on the wire:
  * `x2r1g1b1r1g1b1` - RGB111, 2 pixels per byte
  * `x2b1g1r1b1g1r1` - BGR111, 2 pixels per byte
  * `x1r1g1b1x1r1g1b1` - RGB111, 2 pixels per byte
  * `x1b1g1r1x1b1g1r1` - BGR111, 2 pixels per byte
  * `r5g6b5` - RGB565, 2 bytes
  * `b5g6r5` - BGR565, 2 bytes
  * `r6x2g6x2b6x2` - RGB666, 3 bytes
  * `b6x2g6x2r6x2` - BGR666, 3 bytes

Allowed values (enum): "x2r1g1b1r1g1b1", "x2b1g1r1b1g1r1", "x1r1g1b1x1r1g1b1", "x1b1g1r1x1b1g1r1", "r5g6b5", "b5g6r5", "r6x2g6x2b6x2", "b6x2g6x2r6x2"

Default value (default): "r5g6b5"

Required in this object (required): "compatible", "reg", "width-mm", "height-mm", "panel-timing"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    display@0{
        compatible = "sainsmart18", "panel-mipi-dbi-spi";
        reg = <0>;
        spi-max-frequency = <40000000>;

        dc-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
        write-only;

        format = "r5g6b5";

        backlight = <&backlight>;

        width-mm = <35>;
        height-mm = <28>;

        panel-timing {
            hactive = <160>;
            vactive = <128>;
            hback-porch = <0>;
            vback-porch = <0>;
            clock-frequency = <0>;
            hfront-porch = <0>;
            hsync-len = <0>;
            vfront-porch = <0>;
            vsync-len = <0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Simple DSI panels with a single power-supply

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-simple-dsi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Sam Ravnborg <sam@ravnborg.org>"

This binding file is a collection of the DSI panels that requires only a single power-supply. There are optionally a backlight and an enable GPIO. The panel may use an OF graph binding for the association to the display, or it may be a direct child node of the display.

If the panel is more advanced a dedicated binding file is required.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "auo,b080uan01", "boe,tv080wum-nl0", "innolux,p079zca", "jdi,fhd-r63452", "khadas,ts050", "khadas,ts050v2", "kingdisplay,kd097d04", "lg,acx467akm-7", "lg,lh500wx1-sd03", "lincolntech,lcd197", "osddisplays,osd101t2587-53ts", "panasonic,vvx10f004b00", "panasonic,vvx10f034n00", "samsung,ltl106hl02-001", "samsung,s6e3fa7-ams559nk06", "tdo,tl070wsh30"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply", "reg"

Examples (examples) #

dsi {
  #address-cells = <1>;
  #size-cells = <0>;
  panel@0 {
    compatible = "panasonic,vvx10f034n00";
    reg = <0>;
    power-supply = <&vcc_lcd_reg>;

    port {
      panel: endpoint {
        remote-endpoint = <&ltdc_out>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 29: compatible must be listed in alphabetical order, ordered by compatible.

Line 30: The description in the comment is mandatory for each compatible.

Line 32: AU Optronics Corporation 8.0" WUXGA TFT LCD panel

Line 34: Boe Corporation 8.0" WUXGA TFT LCD panel

Line 36: Innolux P079ZCA 7.85" 768x1024 TFT LCD panel

Line 38: JDI FHD_R63452 1080x1920 5.2" IPS LCD Panel

Line 40: Khadas TS050 5" 1080x1920 LCD panel

Line 42: Khadas TS050 V2 5" 1080x1920 LCD panel

Line 44: Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel

Line 46: LG ACX467AKM-7 4.95" 1080×1920 LCD Panel

Line 48: LG Corporation 5" HD TFT LCD panel

Line 50: Lincoln LCD197 5" 1080x1920 LCD panel

Line 52: One Stop Displays OSD101T2587-53TS 10.1" 1920x1200 panel

Line 54: Panasonic 10" WUXGA TFT LCD panel

Line 56: Panasonic 10" WUXGA TFT LCD panel

Line 58: Samsung ltl106hl02 10.6" Full HD TFT LCD panel

Line 60: Samsung s6e3fa7 1080x2220 based AMS559NK06 AMOLED panel

Line 62: Shangai Top Display Optoelectronics 7" TL070WSH30 1024x600 TFT LCD panel

Simple LVDS panels with one power supply and dual LVDS ports

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-simple-lvds-dual-ports.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>", "Thierry Reding <thierry.reding@gmail.com>", "Sam Ravnborg <sam@ravnborg.org>"

This binding file is a collection of the LVDS panels that has dual LVDS ports and requires only a single power-supply. The first port receives odd pixels, and the second port receives even pixels. There are optionally a backlight and an enable GPIO. The panel may use an OF graph binding for the association to the display, or it may be a direct child node of the display.

If the panel is more advanced a dedicated binding file is required.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/display/lvds-dual-ports.yaml#

Rule 2 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "auo,g133han01", "auo,g156han04", "auo,g185han01", "auo,g190ean01", "boe,av123z7m-n17", "koe,tx26d202vm0bwa", "lincolntech,lcd185-101ct", "microtips,mf-101hiebcaf0", "microtips,mf-103hieb0ga0", "nlt,nl192108ac18-02d"

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties and child nodes (properties) #

port@0 — required here

Required in this object (required): "dual-lvds-odd-pixels"

port@1 — required here

Required in this object (required): "dual-lvds-even-pixels"

Required in this object (required): "port@0", "port@1"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply"

Examples (examples) #

panel: panel-lvds {
  compatible = "koe,tx26d202vm0bwa";
  power-supply = <&vdd_lcd_reg>;

  ports {
    #address-cells = <1>;
    #size-cells = <0>;

    port@0 {
      dual-lvds-odd-pixels;
      reg = <0>;

      panel_lvds0_in: endpoint {
        remote-endpoint = <&lvds0_out>;
      };
    };

    port@1 {
      dual-lvds-even-pixels;
      reg = <1>;

      panel_lvds1_in: endpoint {
        remote-endpoint = <&lvds1_out>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 32: compatible must be listed in alphabetical order, ordered by compatible.

Line 33: The description in the comment is mandatory for each compatible.

Line 35: AU Optronics Corporation 13.3" FHD (1920x1080) TFT LCD panel

Line 37: AU Optronics Corporation 15.6" FHD (1920x1080) TFT LCD panel

Line 39: AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel

Line 41: AU Optronics Corporation 19.0" (1280x1024) TFT LCD panel

Line 43: BOE AV123Z7M-N17 12.3" (1920x720) LVDS TFT LCD panel

Line 45: Kaohsiung Opto-Electronics Inc. 10.1" WUXGA (1920 x 1200) LVDS TFT LCD panel

Line 47: Lincoln Technology Solutions, LCD185-101CT 10.1" TFT 1920x1200

Line 49: Microtips Technology MF-101HIEBCAF0 10.1" WUXGA (1920x1200) TFT LCD panel

Line 51: Microtips Technology MF-103HIEB0GA0 10.25" 1920x720 TFT LCD panel

Line 53: NLT Technologies, Ltd. 15.6" FHD (1920x1080) LVDS TFT LCD panel

Simple panels with one power supply

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-simple.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Sam Ravnborg <sam@ravnborg.org>"

This binding file is a collection of the simple (dumb) panels that requires only a single power-supply. There are optionally a backlight and an enable GPIO. The panel may use an OF graph binding for the association to the display, or it may be a direct child node of the display.

If the panel is more advanced a dedicated binding file is required.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): ../lvds-data-mapping.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ampire,am-1280800n3tzqw-t00h", "ampire,am-480272h3tmqw-t01h", "ampire,am-800480l1tmqw-t00h", "ampire,am800480r3tmqwa1h", "ampire,am800600p5tmqw-tb8h", "auo,b101aw03", "auo,b101xtn01", "auo,b116xw03", "auo,g070vvn01", "auo,g101evn010", "auo,g104sn02", "auo,g104stn01", "auo,g121ean01", "auo,g156xtn01", "auo,p238han01", "auo,p320hvn03", "auo,t215hvn01", "avic,tm070ddh03", "boe,av101hdt-a10", "boe,bp082wx1-100", "boe,bp101wx1-100", "boe,ev121wxm-n10-1850", "boe,hv070wsa-100", "cct,cmt430b19n00", "cdtech,s043wq26h-ct7", "cdtech,s070pws19hp-fc21", "cdtech,s070swv29hg-dc44", "cdtech,s070wv95-ct16", "chefree,ch101olhlwh-002", "chunghwa,claa101wa01a", "chunghwa,claa101wb01", "chunghwa,claa101wb03", "dataimage,fg040346dsswbg04", "dataimage,fg1001l0dsswmg01", "dataimage,scf0700c48ggu18", "dlc,dlc1010gig", "edt,et035012dm6", "edt,et057090dhu", "edt,et070080dh6", "edt,etm0350g0dh6", "edt,etm043080dh6gp", "edt,etm0430g0dh6", "edt,etm070080bdh6", "edt,etm070080dh6", "edt,etm070080edh6", "edt,etm0700g0bdh6", "edt,etm0700g0dh6", "edt,etm0700g0edh6", "edt,etml0700y5dha", "edt,etml1010g3dra", "edt,etmv570g2dhu", "eink,vb3300-kca", "evervision,vgg644804", "evervision,vgg804821", "foxlink,fl500wvr00-a0t", "frida,frd350h54004", "friendlyarm,hd702e", "giantplus,gpg48273qs5", "giantplus,gpm940b0", "hannstar,hsd070pww1", "hannstar,hsd100pxn1", "hannstar,hsd156juw2", "hit,tx23d38vm0caa", "innolux,at043tn24", "innolux,at070tn92", "innolux,g070ace-l01", "innolux,g070ace-lh3", "innolux,g070y2-l01", "innolux,g070y2-t02", "innolux,g101ice-l01", "innolux,g121i1-l01", "innolux,g121x1-l03", "innolux,g121xce-l01", "innolux,g150xge-l05", "innolux,g156hce-l01", "innolux,n133hse-ea1", "innolux,n156bge-l21", "innolux,zj070na-01p", "jutouch,jt101tm023", "koe,tx14d24vm1bpa", "koe,tx31d200vm0baa", "kyo,tcg070wvlq", "kyo,tcg121xglp", "lemaker,bl035-rgb-002", "lg,lb070wv8", "logictechno,lt161010-2nhc", "logictechno,lt161010-2nhr", "logictechno,lt170410-2whc", "logictechno,lttd800480070-l2rt", "logictechno,lttd800480070-l6wh-rt", "microchip,ac69t88a", "mitsubishi,aa070mc01-ca1", "mitsubishi,aa084xe01", "multi-inno,mi0700a2t-30", "multi-inno,mi0700s4t-6", "multi-inno,mi0800ft-9", "multi-inno,mi1010ait-1cp", "multi-inno,mi1010z1t-1cp11", "nec,nl12880bc20-05", "nec,nl4827hc19-05b", "netron-dy,e231732", "newhaven,nhd-4.3-480272ef-atxl", "nlt,nl12880bc20-spwg-24", "nlt,nl13676bc25-03f", "nvd,9128", "okaya,rs800480t-7x0gp", "olimex,lcd-olinuxino-43-ts", "olimex,lcd-olinuxino-5-cts", "ontat,kd50g21-40nt-a1", "ontat,yx700wv03", "ortustech,com37h3m05dtc", "ortustech,com37h3m99dtc", "ortustech,com43h4m85ulc", "osddisplays,osd070t1718-19ts", "osddisplays,osd101t2045-53ts", "powertip,ph128800t004-zza01", "powertip,ph128800t006-zhc01", "powertip,ph800480t013-idf02", "primeview,pm070wl4", "qiaodian,qd43003c0-40", "qishenglong,gopher2b-lcd", "raystar,rff500f-awh-dnn", "rocktech,rk101ii01d-ct", "rocktech,rk070er9427", "rocktech,rk043fn48h", "samsung,ltl101al01", "samsung,ltl106al01", "samsung,ltn101nt05", "satoz,sat050at40h12r2", "sharp,lq035q7db03", "sharp,lq070y3dg3b", "sharp,lq101k1ly04", "sharp,ls020b1dd01d", "shelly,sca07010-bfn-lnn", "starry,kr070pe2t", "startek,kd070wvfpa", "team-source-display,tst043015cmhx", "tianma,p0700wxf1mbaa", "tianma,tm070jdhg30", "tianma,tm070jdhg34-00", "tianma,tm070jvhg33", "tianma,tm070rvhg71", "topland,tian-g07017-01", "toshiba,lt089ac29000", "tpk,f07a-0102", "tpk,f10a-0102", "urt,umsh-8596md-t", "urt,umsh-8596md-1t", "urt,umsh-8596md-7t", "urt,umsh-8596md-11t", "urt,umsh-8596md-19t", "urt,umsh-8596md-20t", "vivax,tpc9150-panel", "vxt,vl050-8048nt-c01", "waveshare,13.3inch-panel", "waveshare,7.0inch-c-panel", "winstar,wf35ltiacd", "yes-optoelectronics,ytc700tlag-05-201c"

Condition (if) #

This rule must not match (not) #

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "innolux,g101ice-l01", "yes-optoelectronics,ytc700tlag-05-201c"

When the condition matches (then) #

Properties and child nodes (properties) #

data-mapping — not listed as required here #

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply"

Examples (examples) #

panel_rgb: panel-rgb {
  compatible = "ampire,am-480272h3tmqw-t01h";
  power-supply = <&vcc_lcd_reg>;

  port {
    panel_in_rgb: endpoint {
      remote-endpoint = <&ltdc_out_rgb>;
    };
  };
};
panel_lvds: panel-lvds {
  compatible = "innolux,g101ice-l01";
  power-supply = <&vcc_lcd_reg>;

  data-mapping = "jeida-24";

  port {
    panel_in_lvds: endpoint {
      remote-endpoint = <&ltdc_out_lvds>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 29: compatible must be listed in alphabetical order, ordered by compatible.

Line 30: The description in the comment is mandatory for each compatible.

Line 32: Ampire AM-1280800N3TZQW-T00H 10.1" WQVGA TFT LCD panel

Line 34: Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel

Line 36: Ampire AM-800480L1TMQW-T00H 5" WVGA TFT LCD panel

Line 38: Ampire AM-800480R3TMQW-A1H 7.0" WVGA TFT LCD panel

Line 40: Ampire AM-800600P5TMQW-TB8H 8.0" SVGA TFT LCD panel

Line 42: AU Optronics Corporation 10.1" WSVGA TFT LCD panel

Line 44: AU Optronics Corporation 10.1" WXGA TFT LCD panel

Line 46: AU Optronics Corporation 11.6" HD (1366x768) color TFT-LCD panel

Line 48: AU Optronics Corporation 7.0" FHD (800 x 480) TFT LCD panel

Line 50: AU Optronics Corporation 10.1" (1280x800) color TFT LCD panel

Line 52: AU Optronics Corporation 10.4" (800x600) color TFT LCD panel

Line 54: AU Optronics Corporation 10.4" (800x600) color TFT LCD panel

Line 56: AU Optronics Corporation 12.1" (1280x800) TFT LCD panel

Line 58: AU Optronics Corporation 15.6" (1366x768) TFT LCD panel

Line 60: AU Optronics Corporation 23.8" FHD (1920x1080) TFT LCD panel

Line 62: AU Optronics Corporation 31.5" FHD (1920x1080) TFT LCD panel

Line 64: AU Optronics Corporation 21.5" FHD (1920x1080) color TFT LCD panel

Line 66: Shanghai AVIC Optoelectronics 7" 1024x600 color TFT-LCD panel

Line 68: BOE AV101HDT-a10 10.1" 1280x720 LVDS panel

Line 70: BOE BP082WX1-100 8.2" WXGA (1280x800) LVDS panel

Line 72: BOE BP101WX1-100 10.1" WXGA (1280x800) LVDS panel

Line 74: BOE EV121WXM-N10-1850 12.1" WXGA (1280x800) TFT LCD panel

Line 76: BOE HV070WSA-100 7.01" WSVGA TFT LCD panel

Line 78: Crystal Clear Technology CMT430B19N00 4.3" 480x272 TFT-LCD panel

Line 80: CDTech(H.K.) Electronics Limited 4.3" 480x272 color TFT-LCD panel

Line 82: CDTech(H.K.) Electronics Limited 7" WSVGA (1024x600) TFT LCD Panel

Line 84: CDTech(H.K.) Electronics Limited 7" WVGA (800x480) TFT LCD Panel

Line 86: CDTech(H.K.) Electronics Limited 7" 800x480 color TFT-LCD panel

Line 88: Chefree CH101OLHLWH-002 10.1" (1280x800) color TFT LCD panel

Line 90: Chunghwa Picture Tubes Ltd. 10.1" WXGA TFT LCD panel

Line 92: Chunghwa Picture Tubes Ltd. 10.1" WXGA TFT LCD panel

Line 94: Chunghwa Picture Tubes Ltd. 10.1" WXGA TFT LCD panel

Line 96: DataImage, Inc. 4.3" WQVGA (480x272) TFT LCD panel with 24-bit parallel interface.

Line 98: DataImage, Inc. 10.1" WXGA (1280×800) TFT LCD panel

Line 100: DataImage, Inc. 7" WVGA (800x480) TFT LCD panel with 24-bit parallel interface.

Line 102: DLC Display Co. DLC1010GIG 10.1" WXGA TFT LCD Panel

Line 104: Emerging Display Technology Corp. 3.5" QVGA TFT LCD panel

Line 106: Emerging Display Technology Corp. 5.7" VGA TFT LCD panel

Line 109: Emerging Display Technology Corp. 3.5" WVGA TFT LCD panel with

Line 110: capacitive multitouch

Line 112: Emerging Display Technology Corp. 480x272 TFT Display with capacitive touch

Line 114: Emerging Display Technology Corp. 480x272 TFT Display

Line 116: Emerging Display Technology Corp. WVGA TFT Display with capacitive touch

Line 117: Same as ETM0700G0DH6 but with inverted pixel clock.

Line 119: Emerging Display Technology Corp. WVGA TFT Display with capacitive touch

Line 120: Same timings as the ETM0700G0DH6, but with resistive touch.

Line 122: Emerging Display Technology Corp. WVGA TFT Display with capacitive touch

Line 123: Same display as the ETM0700G0BDH6, but with changed hardware for the

Line 124: backlight and the touch interface.

Line 127: Emerging Display Technology Corp. WVGA TFT Display with capacitive touch

Line 130: Emerging Display Technology Corp. LVDS WSVGA TFT Display with capacitive touch

Line 132: Emerging Display Technology Corp. 10.1" LVDS WXGA TFT Display with capacitive touch

Line 134: Emerging Display Technology Corp. 5.7" VGA TFT LCD panel with

Line 135: capacitive touch

Line 137: E Ink VB3300-KCA

Line 139: Evervision Electronics Co. Ltd. VGG644804 5.7" VGA TFT LCD Panel

Line 141: Evervision Electronics Co. Ltd. VGG804821 5.0" WVGA TFT LCD Panel

Line 143: Foxlink Group 5" WVGA TFT LCD panel

Line 145: Frida FRD350H54004 3.5" QVGA TFT LCD panel

Line 147: FriendlyELEC HD702E 800x1280 LCD panel

Line 149: GiantPlus GPG48273QS5 4.3" (480x272) WQVGA TFT LCD panel

Line 151: GiantPlus GPM940B0 3.0" QVGA TFT LCD panel

Line 153: HannStar Display Corp. HSD070PWW1 7.0" WXGA TFT LCD panel

Line 155: HannStar Display Corp. HSD100PXN1 10.1" XGA LVDS panel

Line 157: HannStar Display Corp. HSD156JUW2 15.6" FHD (1920x1080) TFT LCD panel

Line 159: Hitachi Ltd. Corporation 9" WVGA (800x480) TFT LCD panel

Line 161: Innolux AT043TN24 4.3" WQVGA TFT LCD panel

Line 163: Innolux AT070TN92 7.0" WQVGA TFT LCD panel

Line 165: Innolux G070ACE-L01 7" WVGA (800x480) TFT LCD panel

Line 167: Innolux G070ACE-LH3 7" WVGA (800x480) TFT LCD panel with WLED backlight

Line 169: Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD panel

Line 171: Innolux G070Y2-T02 7" WVGA (800x480) TFT LCD TTL panel

Line 173: Innolux Corporation 10.1" G101ICE-L01 WXGA (1280x800) LVDS panel

Line 175: Innolux Corporation 12.1" WXGA (1280x800) TFT LCD panel

Line 177: Innolux Corporation 12.1" G121X1-L03 XGA (1024x768) TFT LCD panel

Line 179: Innolux Corporation 12.1" G121XCE-L01 XGA (1024x768) TFT LCD panel

Line 181: InnoLux 15.0" G150XGE-L05 XGA (1024x768) TFT LCD panel

Line 183: InnoLux 15.6" FHD (1920x1080) TFT LCD panel

Line 185: InnoLux 13.3" FHD (1920x1080) TFT LCD panel

Line 187: InnoLux 15.6" WXGA TFT LCD panel

Line 189: Innolux Corporation 7.0" WSVGA (1024x600) TFT LCD panel

Line 191: JuTouch Technology Co.. 10" JT101TM023 WXGA (1280 x 800) LVDS panel

Line 193: Kaohsiung Opto-Electronics Inc. 5.7" QVGA (320 x 240) TFT LCD panel

Line 195: Kaohsiung Opto-Electronics. TX31D200VM0BAA 12.3" HSXGA LVDS panel

Line 197: Kyocera Corporation 7" WVGA (800x480) transmissive color TFT

Line 199: Kyocera Corporation 12.1" XGA (1024x768) TFT LCD panel

Line 201: LeMaker BL035-RGB-002 3.5" QVGA TFT LCD panel

Line 203: LG 7" (800x480 pixels) TFT LCD panel

Line 205: Logic Technologies LT161010-2NHC 7" WVGA TFT Cap Touch Module

Line 207: Logic Technologies LT161010-2NHR 7" WVGA TFT Resistive Touch Module

Line 209: Logic Technologies LT170410-2WHC 10.1" 1280x800 IPS TFT Cap Touch Mod.

Line 211: Logic Technologies LTTD800x480 L2RT 7" 800x480 TFT Resistive Touch Module

Line 213: Logic Technologies LTTD800480070-L6WH-RT 7” 800x480 TFT Resistive Touch Module

Line 215: Microchip AC69T88A 5" 800X480 LVDS interface TFT LCD Panel

Line 217: Mitsubishi "AA070MC01 7.0" WVGA TFT LCD panel

Line 219: Mitsubishi AA084XE01 8.4" XGA TFT LCD panel

Line 221: Multi-Inno Technology Co.,Ltd MI0700A2T-30 7" 800x480 TFT Resistive Touch Module

Line 223: Multi-Inno Technology Co.,Ltd MI0700S4T-6 7" 800x480 TFT Resistive Touch Module

Line 225: Multi-Inno Technology Co.,Ltd MI0800FT-9 8" 800x600 TFT Resistive Touch Module

Line 227: Multi-Inno Technology Co.,Ltd MI1010AIT-1CP 10.1" 1280x800 LVDS IPS Cap Touch Mod.

Line 229: Multi-Inno Technology Co.,Ltd MI1010Z1T-1CP11 10.1" 1024x600 TFT Resistive Touch Module

Line 231: NEC LCD Technologies, Ltd. 12.1" WXGA (1280x800) LVDS TFT LCD panel

Line 233: NEC LCD Technologies,Ltd. WQVGA TFT LCD panel

Line 235: Netron-DY E231732 7.0" WSVGA TFT LCD panel

Line 237: Newhaven Display International 480 x 272 TFT LCD panel

Line 239: NLT Technologies, Ltd. 12.1" WXGA (1280 x 800) LVDS TFT LCD panel

Line 241: NLT Technologies, Ltd. 15.6" WXGA (1366×768) LVDS TFT LCD panel

Line 243: New Vision Display 7.0" 800 RGB x 480 TFT LCD panel

Line 245: OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel

Line 247: Olimex 4.3" TFT LCD panel

Line 249: Olimex 5.0" TFT LCD panel

Line 251: On Tat Industrial Company 5" DPI TFT panel.

Line 253: On Tat Industrial Company 7" DPI TFT panel.

Line 255: OrtusTech COM37H3M05DTC Blanview 3.7" VGA portrait TFT-LCD panel

Line 257: OrtusTech COM37H3M99DTC Blanview 3.7" VGA portrait TFT-LCD panel

Line 259: OrtusTech COM43H4M85ULC Blanview 3.7" TFT-LCD panel

Line 261: OSD Displays OSD070T1718-19TS 7" WVGA TFT LCD panel

Line 263: One Stop Displays OSD101T2045-53TS 10.1" 1920x1200 panel

Line 265: POWERTIP PH128800T004-ZZA01 10.1" WXGA TFT LCD panel

Line 267: POWERTIP PH128800T006-ZHC01 10.1" WXGA TFT LCD panel

Line 269: POWERTIP PH800480T013-IDF2 7.0" WVGA TFT LCD panel

Line 271: PrimeView PM070WL4 7.0" 800x480 TFT LCD panel

Line 273: QiaoDian XianShi Corporation 4"3 TFT LCD panel

Line 275: Shenzhen QiShenglong Industrialist Co., Ltd. Gopher 2b 4.3" 480(RGB)x272 TFT LCD panel

Line 277: Raystar Optronics, Inc. RFF500F-AWH-DNN 5.0" TFT 840x480

Line 279: Rocktech Displays Ltd. RK101II01D-CT 10.1" TFT 1280x800

Line 281: Rocktech Display Ltd. RK070ER9427 800(RGB)x480 TFT LCD panel

Line 283: Rocktech Display Ltd. RK043FN48H 4.3" 480x272 LCD-TFT panel

Line 285: Samsung Electronics 10.1" WXGA (1280x800) TFT LCD panel

Line 287: Samsung Electronics 10.6" FWXGA (1366x768) TFT LCD panel

Line 289: Samsung Electronics 10.1" WSVGA TFT LCD panel

Line 291: Satoz SAT050AT40H12R2 5.0" WVGA TFT LCD panel

Line 293: Sharp LQ035Q7DB03 3.5" QVGA TFT LCD panel

Line 295: Sharp LQ070Y3DG3B 7.0" WVGA landscape TFT LCD panel

Line 297: Sharp Display Corp. LQ101K1LY04 10.07" WXGA TFT LCD panel

Line 299: Sharp LS020B1DD01D 2.0" HQVGA TFT LCD panel

Line 301: Shelly SCA07010-BFN-LNN 7.0" WVGA TFT LCD panel

Line 303: Starry KR070PE2T 7" WVGA TFT LCD panel

Line 305: Startek KD070WVFPA043-C069A 7" TFT LCD panel

Line 307: Team Source Display Technology TST043015CMHX 4.3" WQVGA TFT LCD panel

Line 309: Tianma Micro-electronics P0700WXF1MBAA 7.0" WXGA (1280x800) LVDS TFT LCD panel

Line 311: Tianma Micro-electronics TM070JDHG30 7.0" WXGA TFT LCD panel

Line 313: Tianma Micro-electronics TM070JDHG34-00 7.0" WXGA (1280x800) LVDS TFT LCD panel

Line 315: Tianma Micro-electronics TM070JVHG33 7.0" WXGA TFT LCD panel

Line 317: Tianma Micro-electronics TM070RVHG71 7.0" WXGA TFT LCD panel

Line 319: Topland TIAN-G07017-01 7.0" WSVGA TFT-LCD panel with capacitive touch

Line 321: Toshiba 8.9" WXGA (1280x768) TFT LCD panel

Line 323: TPK U.S.A. LLC Fusion 7" 800 x 480 (WVGA) LCD panel with capacitive touch

Line 325: TPK U.S.A. LLC Fusion 10.1" 1024 x 600 (WSVGA) LCD panel with capacitive touch

Line 327: United Radiant Technology UMSH-8596MD-xT 7.0" WVGA TFT LCD panel

Line 328: Supported are LVDS versions (-11T, -19T) and parallel ones

Line 329: (-T, -1T, -7T, -20T).

Line 336: Vivax TPC-9150 tablet 9.0" WSVGA TFT LCD panel

Line 338: VXT 800x480 color TFT LCD panel

Line 340: Waveshare 13.3" FHD (1920x1080) LCD panel

Line 342: Waveshare 7.0" WSVGA (1024x600) LCD panel

Line 344: Winstar Display Corporation 3.5" QVGA (320x240) TFT LCD panel

Line 346: Yes Optoelectronics YTC700TLAG-05-201C 7" TFT LCD panel

panel timing

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-timing.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Sam Ravnborg <sam@ravnborg.org>"

There are different ways of describing the timing data of a panel. The devicetree representation corresponds to the one commonly found in datasheets for panels.

The parameters are defined as seen in the following illustration.

+-------+----------+-------------------------------------+----------+ | | | ^ | | | | | |vsync_len | | | | | v | | +-------+----------+-------------------------------------+----------+ | | | ^ | | | | | |vback_porch | | | | | v | | +-------+----------#######################################----------+ | | # ^ # | | | # | # | | hsync | hback # | # hfront | | len | porch # | hactive # porch | |<----->|<-------->#<-------+--------------------------->#<-------->| | | # | # | | | # |vactive # | | | # | # | | | # v # | +-------+----------#######################################----------+ | | | ^ | | | | | |vfront_porch | | | | | v | | +-------+----------+-------------------------------------+----------+

The following is the panel timings shown with time on the x-axis. This matches the timing diagrams often found in data sheets.

            Active                 Front           Sync           Back
            Region                 Porch                          Porch
<-----------------------><----------------><-------------><-------------->
  //////////////////////|
 ////////////////////// |
//////////////////////  |..................               ................
                                           _______________

Timing can be specified either as a typical value or as a tuple of min, typ, max values.

Properties and child nodes (properties) #

clock-frequency — required here #

Panel clock in Hz

hactive — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Horizontal panel resolution in pixels

vactive — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Vertical panel resolution in pixels

hfront-porch — required here #

Horizontal front porch panel timing

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Exactly one of these rules must match (oneOf) #

Rule 1

Maximum number of items (maxItems): 1

Array item rules (items)

typical number of pixels

Rule 2

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Array item rules (items)

min, typ, max number of pixels

hback-porch — required here #

Horizontal back porch timing

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Exactly one of these rules must match (oneOf) #

Rule 1

Maximum number of items (maxItems): 1

Array item rules (items)

typical number of pixels

Rule 2

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Array item rules (items)

min, typ, max number of pixels

hsync-len — required here #

Horizontal sync length panel timing

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Exactly one of these rules must match (oneOf) #

Rule 1

Maximum number of items (maxItems): 1

Array item rules (items)

typical number of pixels

Rule 2

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Array item rules (items)

min, typ, max number of pixels

vfront-porch — required here #

Vertical front porch panel timing

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Exactly one of these rules must match (oneOf) #

Rule 1

Maximum number of items (maxItems): 1

Array item rules (items)

typical number of lines

Rule 2

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Array item rules (items)

min, typ, max number of lines

vback-porch — required here #

Vertical back porch panel timing

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Exactly one of these rules must match (oneOf) #

Rule 1

Maximum number of items (maxItems): 1

Array item rules (items)

typical number of lines

Rule 2

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Array item rules (items)

min, typ, max number of lines

vsync-len — required here #

Vertical sync length panel timing

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Exactly one of these rules must match (oneOf) #

Rule 1

Maximum number of items (maxItems): 1

Array item rules (items)

typical number of lines

Rule 2

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Array item rules (items)

min, typ, max number of lines

hsync-active — not listed as required here #

Horizontal sync pulse. 0 selects active low, 1 selects active high. If omitted then it is not used by the hardware

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

vsync-active — not listed as required here #

Vertical sync pulse. 0 selects active low, 1 selects active high. If omitted then it is not used by the hardware

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

de-active — not listed as required here #

Data enable. 0 selects active low, 1 selects active high. If omitted then it is not used by the hardware

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

pixelclk-active — not listed as required here #

Data driving on rising or falling edge. Use 0 to drive pixel data on falling edge and sample data on rising edge. Use 1 to drive pixel data on rising edge and sample data on falling edge

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

syncclk-active — not listed as required here #

Drive sync on rising or sample sync on falling edge. If not specified then the setup is as specified by pixelclk-active. Use 0 to drive sync on falling edge and sample sync on rising edge of pixel clock. Use 1 to drive sync on rising edge and sample sync on falling edge of pixel clock

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

interlaced — not listed as required here #

Value type (type): "boolean"

Enable interlaced mode

doublescan — not listed as required here #

Value type (type): "boolean"

Enable double scan mode

doubleclk — not listed as required here #

Value type (type): "boolean"

Enable double clock mode

Required in this object (required): "clock-frequency", "hactive", "vactive", "hfront-porch", "hback-porch", "hsync-len", "vfront-porch", "vback-porch", "vsync-len"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

PDA 91-00156-A0 5.0" WVGA TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/pda,91-00156-a0.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Cristian Birsan <cristian.birsan@microchip.com>", "Thierry Reding <thierry.reding@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "pda,91-00156-a0"

power-supply — required here #

true — No constraints added by this property rule.

backlight — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply", "backlight"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Powertip Electronic Technology Co. 320 x 240 LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/powertip,hx8238a.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lukasz Majewski <lukma@denx.de>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-dpi.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "powertip,hx8238a"

Item 2

This rule adds no constraints.

height-mm — not listed as required here #

true — No constraints added by this property rule.

panel-timing — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — not listed as required here #

true — No constraints added by this property rule.

width-mm — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 19: panel-dpi, but not listed here to avoid false select

Powertip Electronic Technology Co. 320 x 240 LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/powertip,st7272.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lukasz Majewski <lukma@denx.de>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-dpi.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "powertip,st7272"

Item 2

This rule adds no constraints.

height-mm — not listed as required here #

true — No constraints added by this property rule.

panel-timing — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — not listed as required here #

true — No constraints added by this property rule.

width-mm — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 19: panel-dpi, but not listed here to avoid false select

The official 7" (800x480) Raspberry Pi touchscreen

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/raspberrypi,7inch-touchscreen.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>", "Thierry Reding <thierry.reding@gmail.com>"

This DSI panel contains:

- TC358762 DSI->DPI bridge
- Atmel microcontroller on I2C for power sequencing the DSI bridge and
  controlling backlight
- Touchscreen controller on I2C for touch input

and this binding covers the DSI display parts but not its touch input.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "raspberrypi,7inch-touchscreen-panel"

reg — required here #

Exact value (const): 69

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi1: dsi {
  #address-cells = <1>;
  #size-cells = <0>;

  port {
    dsi_out_port: endpoint {
      remote-endpoint = <&panel_dsi_port>;
    };
  };
};

i2c_dsi: i2c {
  compatible = "i2c-gpio";
  #address-cells = <1>;
  #size-cells = <0>;
  scl-gpios = <&gpio 28 0>;
  sda-gpios = <&gpio 29 0>;

  lcd@45 {
    compatible = "raspberrypi,7inch-touchscreen-panel";
    reg = <0x45>;

    port {
      panel_dsi_port: endpoint {
        remote-endpoint = <&dsi_out_port>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Raydium RM67171 OLED LCD panel with MIPI-DSI protocol

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/raydium,rm67191.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Robert Chiras <robert.chiras@nxp.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "raydium,rm67191"

reg — required here #

Maximum number of items (maxItems): 1

port — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

width-mm — not listed as required here #

true — No constraints added by this property rule.

height-mm — not listed as required here #

true — No constraints added by this property rule.

dsi-lanes — required here #

Number of DSI lanes to be used must be <3> or <4>

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 3, 4

v3p3-supply — not listed as required here #

phandle to 3.3V regulator that powers the VDD_3V3 pin

v1p8-supply — not listed as required here #

phandle to 1.8V regulator that powers the VDD_1V8 pin

video-mode — not listed as required here #

0 - burst-mode 1 - non-burst with sync event 2 - non-burst with sync pulse

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2

Required in this object (required): "compatible", "reg", "dsi-lanes", "port"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "raydium,rm67191";
        reg = <0>;
        reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
        dsi-lanes = <4>;
        width-mm = <68>;
        height-mm = <121>;
        video-mode = <1>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&mipi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Raydium RM67200 based MIPI-DSI panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/raydium,rm67200.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sebastian Reichel <sebastian.reichel@collabora.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "wanchanglong,w552793baa"

Item 2

Exact value (const): "raydium,rm67200"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

2.8V Logic voltage

iovcc-supply — not listed as required here #

1.8V IO voltage

vsp-supply — not listed as required here #

positive 5.5V voltage

vsn-supply — not listed as required here #

negative 5.5V voltage

backlight — not listed as required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "port", "reg"

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>
dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "wanchanglong,w552793baa", "raydium,rm67200";
        reg = <0>;

        vdd-supply = <&regulator1>;
        iovcc-supply = <&regulator2>;
        vsp-supply = <&regulator3>;
        vsn-supply = <&regulator4>;
        reset-gpios = <&gpiobank 42 GPIO_ACTIVE_LOW>;

        port {
            panel0_in: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Raydium Semiconductor Corporation RM68200 5.5" 720p MIPI-DSI TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/raydium,rm68200.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Philippe CORNU <philippe.cornu@foss.st.com>"

The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 TFT LCD panel connected using a MIPI-DSI video interface.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "raydium,rm68200"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply", "reg"

Examples (examples) #

dsi {
  #address-cells = <1>;
  #size-cells = <0>;
  panel@0 {
    compatible = "raydium,rm68200";
    reg = <0>;
    reset-gpios = <&gpiof 15 0>;
    power-supply = <&v1v8>;
    backlight = <&pwm_backlight>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Raydium RM692E5 based DSI display panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/raydium,rm692e5.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

The Raydium RM692E5 is a generic DSI Panel IC used to control AMOLED panels.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fairphone,fp5-rm692e5-boe"

Item 2

Exact value (const): "raydium,rm692e5"

reg — required here #

Maximum number of items (maxItems): 1

dvdd-supply — required here #

Digital voltage rail

vci-supply — required here #

Analog voltage rail

vddio-supply — required here #

I/O voltage rail

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "reset-gpios", "dvdd-supply", "vci-supply", "vddio-supply", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "fairphone,fp5-rm692e5-boe", "raydium,rm692e5";
        reg = <0>;

        reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
        dvdd-supply = <&vreg_oled_vci>;
        vci-supply = <&vreg_l12c>;
        vddio-supply = <&vreg_oled_dvdd>;

        port {
            panel_in_0: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Raydium RM69380-based DSI display panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/raydium,rm69380.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "David Wronek <david@mainlining.org>"

The Raydium RM69380 is a generic DSI panel IC used to control OLED panels.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common-dual.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "lenovo,j716f-edo-rm69380"

Item 2

Exact value (const): "raydium,rm69380"

This indicates the panel manufacturer of the panel that is in turn using the RM69380 panel driver. The compatible string determines how the RM69380 panel driver shall be configured to work with the indicated panel. The raydium,rm69380 compatible shall always be provided as a fallback.

reg — required here #

Maximum number of items (maxItems): 1

avdd-supply — required here #

Analog voltage rail

vddio-supply — required here #

I/O voltage rail

reset-gpios — required here #

Maximum number of items (maxItems): 1

phandle of gpio for reset line - This should be active low

Required in this object (required): "compatible", "reg", "avdd-supply", "vddio-supply", "reset-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "lenovo,j716f-edo-rm69380", "raydium,rm69380";
        reg = <0>;

        avdd-supply = <&panel_avdd_regulator>;
        vddio-supply = <&vreg_l14a>;
        reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                panel_in_0: endpoint {
                    remote-endpoint = <&mdss_dsi0_out>;
                };
            };

            port@1 {
                reg = <1>;
                panel_in_1: endpoint {
                    remote-endpoint = <&mdss_dsi1_out>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Renesas R61307 based DSI Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/renesas,r61307.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Svyatoslav Ryhel <clamor95@gmail.com>"

The Renesas R61307 is a generic DSI Panel IC used to control LCD panels.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "hit,tx13d100vm0eaa", "koe,tx13d100vm0eaa"

Item 2

Exact value (const): "renesas,r61307"

reg — not listed as required here #

Maximum number of items (maxItems): 1

vcc-supply — not listed as required here #

Regulator for main power supply.

iovcc-supply — not listed as required here #

Regulator for 1.8V IO power supply.

backlight — required here #

true — No constraints added by this property rule.

renesas,gamma — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

0 - disabled 1-3 - gamma setting A presets

Allowed values (enum): 0, 1, 2, 3

renesas,column-inversion — not listed as required here #

Value type (type): "boolean"

switch between line and column inversion. The line inversion is set by default.

renesas,contrast — not listed as required here #

Value type (type): "boolean"

digital contrast adjustment

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "port", "backlight"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@1 {
        compatible = "koe,tx13d100vm0eaa", "renesas,r61307";
        reg = <1>;

        reset-gpios = <&gpio 176 GPIO_ACTIVE_LOW>;

        renesas,gamma = <3>;
        renesas,column-inversion;
        renesas,contrast;

        vcc-supply = <&vcc_3v0_lcd>;
        iovcc-supply = <&iovcc_1v8_lcd>;

        backlight = <&backlight>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 22: KOE/HITACHI TX13D100VM0EAA 5.0" XGA TFT LCD panel

Renesas R69328 based DSI Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/renesas,r69328.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Svyatoslav Ryhel <clamor95@gmail.com>"

The Renesas R69328 is a generic DSI Panel IC used to control LCD panels.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "jdi,dx12d100vm0eaa"

Item 2

Exact value (const): "renesas,r69328"

reg — not listed as required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

Regulator for main power supply.

vddio-supply — not listed as required here #

Regulator for 1.8V IO power supply.

backlight — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "port", "backlight"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@1 {
        compatible = "jdi,dx12d100vm0eaa", "renesas,r69328";
        reg = <1>;

        reset-gpios = <&gpio 176 GPIO_ACTIVE_LOW>;

        vdd-supply = <&vdd_3v0_lcd>;
        vddio-supply = <&vdd_1v8_io>;

        backlight = <&backlight>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 22: JDI DX12D100VM0EAA 4.7" WXGA TFT LCD panel

Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/rocktech,jh057n00900.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ondrej Jirman <megi@xff.cz>", "Guido Gŭnther <agx@sigxcpu.org>"

Rocktech JH057N00900 is a 720x1440 TFT LCD panel connected using a MIPI-DSI video interface.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "anbernic,rg353v-panel-v2", "gameforce,chi-panel", "powkiddy,rgb10max3-panel", "powkiddy,rgb30-panel", "rocktech,jh057n00900", "xingbangda,xbd599"

port — not listed as required here #

true — No constraints added by this property rule.

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

vcc-supply — required here #

Panel power supply

iovcc-supply — required here #

I/O voltage supply

reset-gpios — required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vcc-supply", "iovcc-supply", "reset-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "rocktech,jh057n00900";
        reg = <0>;
        vcc-supply = <&reg_2v8_p>;
        iovcc-supply = <&reg_1v8_p>;
        reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
        backlight = <&backlight>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 23: Anberic RG353V-V2 5.0" 640x480 TFT LCD panel

Line 25: GameForce Chi 3.5" 640x480 TFT LCD panel

Line 27: Powkiddy RGB10MAX3 5.0" 720x1280 TFT LCD panel

Line 29: Powkiddy RGB30 3.0" 720x720 TFT LCD panel

Line 31: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel

Line 33: Xingbangda XBD599 5.99" 720x1440 TFT LCD panel

Ronbo RB070D30 DSI Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/ronbo,rb070d30.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Maxime Ripard <mripard@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ronbo,rb070d30"

reg — required here #

Maximum number of items (maxItems): 1

power-gpios — required here #

GPIO used for the power pin

Maximum number of items (maxItems): 1

shlr-gpios — required here #

GPIO used for the shlr pin (horizontal flip)

Maximum number of items (maxItems): 1

updn-gpios — required here #

GPIO used for the updn pin (vertical flip)

Maximum number of items (maxItems): 1

vcc-lcd-supply — required here #

Power regulator

Required in this object (required): "compatible", "power-gpios", "reg", "reset-gpios", "shlr-gpios", "updn-gpios", "vcc-lcd-supply", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR X11)

Samsung AMOLED MIPI-DSI panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,amoled-mipi-dsi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Hoegeun Kwon <hoegeun.kwon@samsung.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,s6e3ha2", "samsung,s6e3hf2"

When the condition matches (then) #

Required in this object (required): "enable-gpios"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,s6e63j0x03", "samsung,s6e3ha2", "samsung,s6e3hf2"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

te-gpios — not listed as required here #

true — No constraints added by this property rule.

vdd3-supply — required here #

I/O voltage supply

vci-supply — required here #

voltage supply for analog circuits

Required in this object (required): "compatible", "reg", "vdd3-supply", "vci-supply", "reset-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,s6e3ha2";
        reg = <0>;
        vdd3-supply = <&ldo27_reg>;
        vci-supply = <&ldo28_reg>;
        reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
        enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
        te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 29: Samsung S6E63J0X03 1.63" 320x320 AMOLED panel

Line 31: Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel

Line 33: Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel

Samsung AMS495QA01 panel with Magnachip D53E6EA8966 controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,ams495qa01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chris Morgan <macromorgan@hotmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,ams495qa01"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

reset gpio, must be GPIO_ACTIVE_LOW

elvdd-supply — not listed as required here #

regulator that supplies voltage to the panel display

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

vdd-supply — required here #

regulator that supplies voltage to panel logic

Required in this object (required): "compatible", "reg", "reset-gpios", "vdd-supply"

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>;
    panel@0 {
        compatible = "samsung,ams495qa01";
        reg = <0>;
        reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
        vdd-supply = <&vcc_3v3>;

        port {
            mipi_in_panel: endpoint {
              remote-endpoint = <&mipi_out_panel>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung AMS581VF01 SOFEF01-based 5.81" 1080x2340 MIPI-DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,ams581vf01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Danila Tikhonov <danila@jiaxyga.com>"

The Samsung AMS581VF01 is a 5.81 inch 1080x2340 MIPI-DSI CMD mode OLED panel.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,ams581vf01"

reg — required here #

Maximum number of items (maxItems): 1

vdd3p3-supply — required here #

3.3V source voltage rail

vddio-supply — required here #

I/O source voltage rail

vsn-supply — required here #

Negative source voltage rail

vsp-supply — required here #

Positive source voltage rail

reset-gpios — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vdd3p3-supply", "vddio-supply", "vsn-supply", "vsp-supply", "reset-gpios", "port"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,ams581vf01";
        reg = <0>;

        vdd3p3-supply = <&vreg_l7c_3p0>;
        vddio-supply = <&vreg_l13a_1p8>;
        vsn-supply = <&vreg_ibb>;
        vsp-supply = <&vreg_lab>;

        reset-gpios = <&pm6150l_gpios 9 GPIO_ACTIVE_LOW>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&mdss_dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Samsung AMS639RQ08 EA8076-based 6.39" 1080x2340 MIPI-DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,ams639rq08.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Danila Tikhonov <danila@jiaxyga.com>", "Jens Reidel <adrian@travitia.xyz>"

The Samsung AMS639RQ08 is a 6.39 inch 1080x2340 MIPI-DSI CMD mode AMOLED panel.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,ams639rq08"

reg — required here #

Maximum number of items (maxItems): 1

vdd3p3-supply — required here #

3.3V source voltage rail

vddio-supply — required here #

I/O source voltage rail

vsn-supply — required here #

Negative source voltage rail

vsp-supply — required here #

Positive source voltage rail

reset-gpios — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vdd3p3-supply", "vddio-supply", "vsn-supply", "vsp-supply", "reset-gpios", "port"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,ams639rq08";
        reg = <0>;

        vdd3p3-supply = <&vreg_l18a_2p8>;
        vddio-supply = <&vreg_l13a_1p8>;
        vsn-supply = <&vreg_ibb>;
        vsp-supply = <&vreg_lab>;

        reset-gpios = <&pm6150l_gpios 9 GPIO_ACTIVE_LOW>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&mdss_dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Samsung 13.3" FHD (1920x1080 pixels) eDP AMOLED panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,atna33xc20.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Douglas Anderson <dianders@chromium.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "samsung,atna33xc20"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "samsung,atna30dw01", "samsung,atna40ct06", "samsung,atna40cu11", "samsung,atna40yk20", "samsung,atna45af01", "samsung,atna45dc02", "samsung,atna56ac03", "samsung,atna60cl08"

Item 2

Exact value (const): "samsung,atna33xc20"

enable-gpios — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

no-hpd — not listed as required here #

true — No constraints added by this property rule.

hpd-gpios — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "enable-gpios", "power-supply"

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  bridge@2d {
    compatible = "ti,sn65dsi86";
    reg = <0x2d>;

    interrupt-parent = <&tlmm>;
    interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;

    enable-gpios = <&tlmm 102 GPIO_ACTIVE_HIGH>;

    vpll-supply = <&src_pp1800_s4a>;
    vccio-supply = <&src_pp1800_s4a>;
    vcca-supply = <&src_pp1200_l2a>;
    vcc-supply = <&src_pp1200_l2a>;

    clocks = <&rpmhcc RPMH_LN_BB_CLK2>;
    clock-names = "refclk";

    no-hpd;

    ports {
      #address-cells = <1>;
      #size-cells = <0>;

      port@0 {
        reg = <0>;
        endpoint {
          remote-endpoint = <&dsi0_out>;
        };
      };

      port@1 {
        reg = <1>;
        sn65dsi86_out: endpoint {
          remote-endpoint = <&panel_in_edp>;
        };
      };
    };

    aux-bus {
      panel {
        compatible = "samsung,atna33xc20";
        enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
        power-supply = <&pp3300_dx_edp>;
        hpd-gpios = <&sn65dsi86_bridge 2 GPIO_ACTIVE_HIGH>;

        port {
          panel_in_edp: endpoint {
            remote-endpoint = <&sn65dsi86_out>;
          };
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 18: Samsung 13.3" FHD (1920x1080 pixels) eDP AMOLED panel

Line 22: Samsung 13" 3K (2880×1920 pixels) eDP AMOLED panel

Line 24: Samsung 14" FHD+ (1920x1200 pixels) eDP AMOLED panel

Line 26: Samsung 14" WQXGA+ (2880x1800 pixels) eDP AMOLED panel

Line 28: Samsung 14" WQXGA+ (2880×1800 pixels) eDP AMOLED panel

Line 30: Samsung 14.5" WQXGA+ (2880x1800 pixels) eDP AMOLED panel

Line 32: Samsung 14.5" 3K (2944x1840 pixels) eDP AMOLED panel

Line 34: Samsung 15.6" 3K (2880x1620 pixels) eDP AMOLED panel

Line 36: Samsung 16.0" 3K (2880x1800 pixels) eDP AMOLED panel

Samsung LD9040 AMOLED LCD parallel RGB panel with SPI control bus

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,ld9040.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrzej Hajda <a.hajda@samsung.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,ld9040"

reg — required here #

Maximum number of items (maxItems): 1

display-timings — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

vdd3-supply — required here #

core voltage supply

vci-supply — required here #

voltage supply for analog circuits

power-on-delay — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

delay after turning regulators on [ms]

reset-delay — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

delay after reset sequence [ms]

panel-width-mm — not listed as required here #

physical panel width [mm]

panel-height-mm — not listed as required here #

physical panel height [mm]

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.

Required in this object (required): "compatible", "reg", "vdd3-supply", "vci-supply", "reset-gpios", "display-timings"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    lcd@0 {
        compatible = "samsung,ld9040";

        reg = <0>;
        vdd3-supply = <&ldo7_reg>;
        vci-supply = <&ldo17_reg>;
        reset-gpios = <&gpy4 5 0>;
        spi-max-frequency = <1200000>;
        spi-cpol;
        spi-cpha;
        power-on-delay = <10>;
        reset-delay = <10>;
        panel-width-mm = <90>;
        panel-height-mm = <154>;

        display-timings {
            timing {
                clock-frequency = <23492370>;
                hactive = <480>;
                vactive = <800>;
                hback-porch = <16>;
                hfront-porch = <16>;
                vback-porch = <2>;
                vfront-porch = <28>;
                hsync-len = <2>;
                vsync-len = <1>;
                hsync-active = <0>;
                vsync-active = <0>;
                de-active = <0>;
                pixelclk-active = <0>;
            };
        };

        port {
            lcd_ep: endpoint {
                remote-endpoint = <&fimd_dpi_ep>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Samsung LMS380KF01 display panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,lms380kf01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The LMS380KF01 is a 480x800 DPI display panel from Samsung Mobile Displays (SMD) utilizing the WideChips WS2401 display controller. It can be used with internal or external backlight control.

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,lms380kf01"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

provides an optional ESD (electrostatic discharge) interrupt that signals abnormalities in the display hardware. This can also be raised for other reasons like erroneous configuration.

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

vci-supply — not listed as required here #

regulator that supplies the VCI analog voltage usually around 3.0 V

vccio-supply — not listed as required here #

regulator that supplies the VCCIO voltage usually around 1.8 V

backlight — not listed as required here #

true — No constraints added by this property rule.

spi-cpha — required here #

true — No constraints added by this property rule.

spi-cpol — required here #

true — No constraints added by this property rule.

spi-max-frequency — not listed as required here #

Maximum value (maximum): 1200000

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "spi-cpha", "spi-cpol", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

spi {
    compatible = "spi-gpio";
    sck-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
    miso-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
    mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
    cs-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
    num-chipselects = <1>;
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,lms380kf01";
        spi-max-frequency = <1200000>;
        spi-cpha;
        spi-cpol;
        reg = <0>;
        vci-supply = <&lcd_3v0_reg>;
        vccio-supply = <&lcd_1v8_reg>;
        reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
        interrupt-parent = <&gpio>;
        interrupts = <5 IRQ_TYPE_EDGE_RISING>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&display_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung LMS397KF04 display panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,lms397kf04.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The datasheet claims this is based around a display controller named DB7430 with a separate backlight controller.

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,lms397kf04"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

vci-supply — not listed as required here #

regulator that supplies the VCI analog voltage usually around 3.0 V

vccio-supply — not listed as required here #

regulator that supplies the VCCIO voltage usually around 1.8 V

backlight — not listed as required here #

true — No constraints added by this property rule.

spi-cpha — required here #

true — No constraints added by this property rule.

spi-cpol — required here #

true — No constraints added by this property rule.

spi-max-frequency — not listed as required here #

inherited as a SPI client node, the datasheet specifies maximum 300 ns minimum cycle which gives around 3 MHz max frequency

Maximum value (maximum): 3000000

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "spi-cpha", "spi-cpol", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
  compatible = "spi-gpio";
  sck-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
  miso-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
  mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
  cs-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
  num-chipselects = <1>;
  #address-cells = <1>;
  #size-cells = <0>;
  panel@0 {
    compatible = "samsung,lms397kf04";
    spi-max-frequency = <3000000>;
    spi-cpha;
    spi-cpol;
    reg = <0>;
    vci-supply = <&lcd_3v0_reg>;
    vccio-supply = <&lcd_1v8_reg>;
    reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
    backlight = <&ktd259>;

    port {
      panel_in: endpoint {
        remote-endpoint = <&display_out>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung S6D16D0 4" 864x480 AMOLED panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,s6d16d0.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s6d16d0"

reg — required here #

Maximum number of items (maxItems): 1

port — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

vdd1-supply — required here #

I/O voltage supply

Required in this object (required): "compatible", "reg", "vdd1-supply", "reset-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,s6d16d0";
        reg = <0>;
        vdd1-supply = <&foo>;
        reset-gpios = <&foo_gpio 0 GPIO_ACTIVE_LOW>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Samsung S6D27A1 display panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,s6d27a1.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The S6D27A1 is a 480x800 DPI display panel from Samsung Mobile Displays (SMD).

Maintainers (maintainers): "Markuss Broks <markuss.broks@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s6d27a1"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

provides an optional ESD (electrostatic discharge) interrupt that signals abnormalities in the display hardware. This can also be raised for other reasons like erroneous configuration.

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

vci-supply — required here #

regulator that supplies the VCI analog voltage usually around 3.0 V

vccio-supply — required here #

regulator that supplies the VCCIO voltage usually around 1.8 V

backlight — not listed as required here #

true — No constraints added by this property rule.

spi-cpha — required here #

true — No constraints added by this property rule.

spi-cpol — required here #

true — No constraints added by this property rule.

spi-max-frequency — not listed as required here #

Maximum value (maximum): 1200000

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vci-supply", "vccio-supply", "spi-cpha", "spi-cpol", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

spi {
    compatible = "spi-gpio";
    sck-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
    miso-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
    mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
    cs-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
    num-chipselects = <1>;
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "samsung,s6d27a1";
        spi-max-frequency = <1200000>;
        spi-cpha;
        spi-cpol;
        reg = <0>;
        vci-supply = <&lcd_3v0_reg>;
        vccio-supply = <&lcd_1v8_reg>;
        reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
        interrupt-parent = <&gpio>;
        interrupts = <5 IRQ_TYPE_EDGE_RISING>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&display_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung S6D7AA0 MIPI-DSI LCD panel controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,s6d7aa0.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Artur Weber <aweber.kernel@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "samsung,lsl080al02", "samsung,lsl080al03", "samsung,ltl101at01"

Item 2

Exact value (const): "samsung,s6d7aa0"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

Backlight to use for the panel. If this property is set on panels that have DSI-based backlight control (LSL080AL03 and LTL101AT01), it overrides the DSI-based backlight.

reset-gpios — required here #

Reset GPIO pin, usually GPIO_ACTIVE_LOW.

power-supply — not listed as required here #

Main power supply for the panel; the exact voltage differs between panels, and is usually somewhere around 3.3-5v.

vmipi-supply — not listed as required here #

VMIPI supply, usually 1.8v.

Required in this object (required): "compatible", "reg", "reset-gpios"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,lsl080al02", "samsung,s6d7aa0";
        reg = <0>;
        power-supply = <&display_3v3_supply>;
        reset-gpios = <&gpf0 4 GPIO_ACTIVE_LOW>;
        backlight = <&backlight>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 19: 1280x800 LSL080AL02 panel

Line 21: 1024x768 LSL080AL03 panel

Line 23: 1024x768 LTL101AT01 panel

Samsung S6E3FC2X01 AMOLED DDIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,s6e3fc2x01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "David Heidelberg <david@ixit.cz>"

The S6E3FC2X01 is display driver IC with connected panel.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "samsung,s6e3fc2x01-ams641rw"

Item 2

Exact value (const): "samsung,s6e3fc2x01"

reg — not listed as required here #

Maximum number of items (maxItems): 1

poc-supply — required here #

POC regulator

vci-supply — required here #

VCI regulator

vddio-supply — required here #

VDD regulator

Required in this object (required): "compatible", "reset-gpios", "poc-supply", "vci-supply", "vddio-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,s6e3fc2x01-ams641rw", "samsung,s6e3fc2x01";
        reg = <0>;

        vddio-supply = <&vreg_l14a_1p88>;
        vci-supply = <&s2dos05_buck1>;
        poc-supply = <&s2dos05_ldo1>;

        te-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;

        pinctrl-0 = <&sde_dsi_active &sde_te_active_sleep>;
        pinctrl-1 = <&sde_dsi_suspend &sde_te_active_sleep>;
        pinctrl-names = "default", "sleep";

        port {
            panel_in: endpoint {
                remote-endpoint = <&mdss_dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 21: Samsung 6.41 inch, 1080x2340 pixels, 19.5:9 ratio

Samsung s6e3ha8 AMOLED DSI panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,s6e3ha8.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The s6e3ha8 is a 1440x2960 DPI display panel from Samsung Mobile Displays (SMD).

Maintainers (maintainers): "Dzmitry Sankouski <dsankouski@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s6e3ha8"

reg — not listed as required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

vdd3-supply — required here #

VDD regulator

vci-supply — required here #

VCI regulator

vddr-supply — required here #

VDDR regulator

Required in this object (required): "compatible", "reset-gpios", "vdd3-supply", "vci-supply", "vddr-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,s6e3ha8";
        reg = <0>;
        vci-supply = <&s2dos05_ldo4>;
        vddr-supply = <&s2dos05_buck1>;
        vdd3-supply = <&s2dos05_ldo1>;
        te-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
        pinctrl-0 = <&sde_dsi_active &sde_te_active_sleep>;
        pinctrl-1 = <&sde_dsi_suspend &sde_te_active_sleep>;
        pinctrl-names = "default", "sleep";

        port {
            panel_in: endpoint {
                remote-endpoint = <&mdss_dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Samsung s6e63m0 AMOLED LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,s6e63m0.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jonathan Bakker <xc-racer2@live.ca>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/leds/backlight/common.yaml#

Rule 3 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s6e63m0"

reg — not listed as required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

default-brightness — not listed as required here #

true — No constraints added by this property rule.

max-brightness — not listed as required here #

true — No constraints added by this property rule.

spi-3wire — not listed as required here #

true — No constraints added by this property rule.

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.

vdd3-supply — required here #

VDD regulator

vci-supply — required here #

VCI regulator

Required in this object (required): "compatible", "reset-gpios", "vdd3-supply", "vci-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    display@0 {
        compatible = "samsung,s6e63m0";
        reg = <0>;
        reset-gpios = <&mp05 5 1>;
        vdd3-supply = <&ldo12_reg>;
        vci-supply = <&ldo11_reg>;
        spi-max-frequency = <1200000>;

        port {
            lcd_ep: endpoint {
                remote-endpoint = <&fimd_ep>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Samsung AMS427AP24 panel with S6E88A0 controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,s6e88a0-ams427ap24.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jakob Hauser <jahau@rocketmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s6e88a0-ams427ap24"

reg — required here #

Maximum number of items (maxItems): 1

port — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

flip-horizontal — not listed as required here #

true — No constraints added by this property rule.

vdd3-supply — required here #

core voltage supply

vci-supply — required here #

voltage supply for analog circuits

Required in this object (required): "compatible", "reg", "port", "reset-gpios", "vdd3-supply", "vci-supply"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,s6e88a0-ams427ap24";
        reg = <0>;

        vdd3-supply = <&pm8916_l17>;
        vci-supply = <&pm8916_l6>;
        reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
        flip-horizontal;

        port {
            panel_in: endpoint {
                remote-endpoint = <&mdss_dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung AMS452EF01 AMOLED panel with S6E88A0 video mode DSI controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,s6e88a0-ams452ef01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Srba <Michael.Srba@seznam.cz>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s6e88a0-ams452ef01"

reg — required here #

Maximum number of items (maxItems): 1

port — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

vdd3-supply — required here #

core voltage supply

vci-supply — required here #

voltage supply for analog circuits

Required in this object (required): "compatible", "reg", "port", "vdd3-supply", "vci-supply", "reset-gpios"

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>

dsi {
        #address-cells = <1>;
        #size-cells = <0>;
        panel@0 {
                reg = <0>;

                compatible = "samsung,s6e88a0-ams452ef01";

                vdd3-supply = <&pm8916_l17>;
                vci-supply = <&reg_vlcd_vci>;
                reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;

                port {
                        panel_in: endpoint {
                                remote-endpoint = <&dsi0_out>;
                        };
                };
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung S6E8AA0 AMOLED LCD 5.3 inch panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,s6e8aa0.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrzej Hajda <a.hajda@samsung.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s6e8aa0"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

true — No constraints added by this property rule.

display-timings — required here #

true — No constraints added by this property rule.

flip-horizontal — not listed as required here #

true — No constraints added by this property rule.

flip-vertical — not listed as required here #

true — No constraints added by this property rule.

vdd3-supply — required here #

core voltage supply

vci-supply — required here #

voltage supply for analog circuits

power-on-delay — not listed as required here #

delay after turning regulators on [ms]

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

reset-delay — not listed as required here #

delay after reset sequence [ms]

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

init-delay — not listed as required here #

delay after initialization sequence [ms]

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

panel-width-mm — not listed as required here #

physical panel width [mm]

panel-height-mm — not listed as required here #

physical panel height [mm]

Required in this object (required): "compatible", "reg", "vdd3-supply", "vci-supply", "reset-gpios", "display-timings"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,s6e8aa0";
        reg = <0>;
        vdd3-supply = <&vcclcd_reg>;
        vci-supply = <&vlcd_reg>;
        reset-gpios = <&gpy4 5 0>;
        power-on-delay = <50>;
        reset-delay = <100>;
        init-delay = <100>;
        panel-width-mm = <58>;
        panel-height-mm = <103>;
        flip-horizontal;
        flip-vertical;

        display-timings {
            timing0: timing-0 {
                clock-frequency = <57153600>;
                hactive = <720>;
                vactive = <1280>;
                hfront-porch = <5>;
                hback-porch = <5>;
                hsync-len = <5>;
                vfront-porch = <13>;
                vback-porch = <1>;
                vsync-len = <2>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Samsung AMS561RA01 panel with S6E8AA5X01 controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,s6e8aa5x01-ams561ra01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kaustabh Chakraborty <kauschluss@disroot.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s6e8aa5x01-ams561ra01"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

core voltage supply

vci-supply — not listed as required here #

voltage supply for analog circuits

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,s6e8aa5x01-ams561ra01";
        reg = <0>;

        vdd-supply = <&panel_vdd_reg>;
        vci-supply = <&panel_vci_reg>;

        reset-gpios = <&gpd3 4 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung SOFEF00 AMOLED DDIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/samsung,sofef00.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The SOFEF00 is display driver IC with connected panel.

Maintainers (maintainers): "David Heidelberg <david@ixit.cz>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "samsung,sofef00-ams601nt22", "samsung,sofef00-ams628nw01"

Item 2

Exact value (const): "samsung,sofef00"

reg — not listed as required here #

Maximum number of items (maxItems): 1

poc-supply — required here #

POC regulator

vci-supply — required here #

VCI regulator

vddio-supply — required here #

VDD regulator

Required in this object (required): "compatible", "reset-gpios", "poc-supply", "vci-supply", "vddio-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "samsung,sofef00-ams628nw01", "samsung,sofef00";
        reg = <0>;

        vddio-supply = <&vreg_l14a_1p88>;
        vci-supply = <&s2dos05_buck1>;
        poc-supply = <&s2dos05_ldo1>;

        te-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;

        pinctrl-0 = <&panel_active>;
        pinctrl-1 = <&panel_suspend>;
        pinctrl-names = "default", "sleep";

        port {
            panel_in: endpoint {
                remote-endpoint = <&mdss_dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 21: Samsung 6.01 inch, 1080x2160 pixels, 18:9 ratio

Line 23: Samsung 6.28 inch, 1080x2280 pixels, 19:9 ratio

Seiko Instruments Inc. 4.3" WVGA (800 x RGB x 480) TFT with Touch-Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/seiko,43wvf1g.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sii,43wvf1g"

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

dvdd-supply — required here #

3v3 digital regulator

avdd-supply — required here #

5v analog regulator

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "dvdd-supply", "avdd-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

panel {
    compatible = "sii,43wvf1g";

    backlight = <&backlight_display>;
    dvdd-supply = <&reg_lcd_3v3>;
    avdd-supply = <&reg_lcd_5v>;
    port {
        panel_in: endpoint {
            remote-endpoint = <&display_out>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Solomon Goldentek Display GKTW70SDAE4SE 7" WVGA LVDS Display Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sgd,gktw70sdae4se.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Thierry Reding <thierry.reding@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/display/lvds.yaml#

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "sgd,gktw70sdae4se"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "sgd,gktw70sdae4se"

Item 2

Exact value (const): "panel-lvds"

data-mapping — required here #

Exact value (const): "jeida-18"

width-mm — required here #

Exact value (const): 153

height-mm — required here #

Exact value (const): 86

panel-timing — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "port", "data-mapping", "width-mm", "height-mm", "panel-timing"

Examples (examples) #

panel {
  compatible = "sgd,gktw70sdae4se", "panel-lvds";

  width-mm = <153>;
  height-mm = <86>;

  data-mapping = "jeida-18";

  panel-timing {
    clock-frequency = <32000000>;
    hactive = <800>;
    vactive = <480>;
    hback-porch = <39>;
    hfront-porch = <39>;
    vback-porch = <29>;
    vfront-porch = <13>;
    hsync-len = <47>;
    vsync-len = <2>;
  };

  port {
    panel_in: endpoint {
      remote-endpoint = <&lvds_encoder>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Sharp Microelectronics 7.9" WQXGA TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sharp,lq079l1sx01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Svyatoslav Ryhel <clamor95@gmail.com>"

This panel requires a dual-channel DSI host to operate and it supports only left-right split mode, where each channel drives the left or right half of the screen and only video mode. Each of the DSI channels controls a separate DSI peripheral. The peripheral driven by the first link (DSI-LINK1), left one, is considered the primary peripheral and controls the device.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common-dual.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sharp,lq079l1sx01"

reg — required here #

Maximum number of items (maxItems): 1

avdd-supply — required here #

regulator that supplies the analog voltage

vddio-supply — required here #

regulator that supplies the I/O voltage

vsp-supply — not listed as required here #

positive boost supply regulator

vsn-supply — not listed as required here #

negative boost supply regulator

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

ports — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "avdd-supply", "vddio-supply", "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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "sharp,lq079l1sx01";
        reg = <0>;

        reset-gpios = <&gpio 59 GPIO_ACTIVE_LOW>;

        avdd-supply = <&avdd_lcd>;
        vddio-supply = <&vdd_lcd_io>;
        vsp-supply = <&vsp_5v5_lcd>;
        vsn-supply = <&vsn_5v5_lcd>;

        backlight = <&backlight>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;
                panel_in0: endpoint {
                    remote-endpoint = <&dsi0_out>;
                };
            };

            port@1 {
                reg = <1>;
                panel_in1: endpoint {
                    remote-endpoint = <&dsi1_out>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Sharp Microelectronics 10.1" WQXGA TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sharp,lq101r1sx01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Thierry Reding <treding@nvidia.com>"

This panel requires a dual-channel DSI host to operate. It supports two modes: - left-right: each channel drives the left or right half of the screen - even-odd: each channel drives the even or odd lines of the screen

Each of the DSI channels controls a separate DSI peripheral. The peripheral driven by the first link (DSI-LINK1), left or even, is considered the primary peripheral and controls the device. The 'link2' property contains a phandle to the peripheral driven by the second link (DSI-LINK2, right or odd).

Note that in video mode the DSI-LINK1 interface always provides the left/even pixels and DSI-LINK2 always provides the right/odd pixels. In command mode it is possible to program either link to drive the left/even or right/odd pixels but for the sake of consistency this binding assumes that the same assignment is chosen as for video mode.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "sharp,lq101r1sx03"

Item 2

Exact value (const): "sharp,lq101r1sx01"

Rule 2

Allowed values (enum): "sharp,lq101r1sx01"

reg — required here #

Maximum number of items (maxItems): 1

power-supply — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

link2 — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to the DSI peripheral on the secondary link. Note that the presence of this property marks the containing node as DSI-LINK1

Required in this object (required): "compatible", "reg"

Condition (if) #

Required in this object (required): "link2"

When the condition matches (then) #

Required in this object (required): "power-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi0: dsi@fd922800 {
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0xfd922800 0x200>;

    panel: panel@0 {
        compatible = "sharp,lq101r1sx01";
        reg = <0>;

        link2 = <&secondary>;

        power-supply = <&power>;
        backlight = <&backlight>;
    };
};

dsi1: dsi@fd922a00 {
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0xfd922a00 0x200>;

    secondary: panel@0 {
        compatible = "sharp,lq101r1sx01";
        reg = <0>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Sharp 15" LQ150X1LG11 XGA TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sharp,lq150x1lg11.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Peter Rosin <peda@axentia.se>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sharp,lq150x1lg11"

power-supply — required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

rlud-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO for the RL/UD (rotate 180 degrees) pin. If rlud-gpios and/or sellvds-gpios are not specified, the RL/UD and/or SELLVDS pins are assumed to be handled appropriately by the hardware.

sellvds-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO for the SELLVDS pin. If rlud-gpios and/or sellvds-gpios are not specified, the RL/UD and/or SELLVDS pins are assumed to be handled appropriately by the hardware.

Required in this object (required): "compatible", "power-supply"

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>

panel {
    compatible = "sharp,lq150x1lg11";

    power-supply = <&vcc_3v3_reg>;               /* VCC */

    backlight = <&backlight>;
    rlud-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;    /* RL/UD */
    sellvds-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; /* SELLVDS */
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

SHARP LS037V7DW01 TFT-LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sharp,ls037v7dw01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

This panel can have zero to five GPIOs to configure to change configuration between QVGA and VGA mode and the scan direction. As these pins can be also configured with external pulls, all the GPIOs are considered optional with holes in the array.

Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sharp,ls037v7dw01"

label — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

power-supply — not listed as required here #

true — No constraints added by this property rule.

mode-gpios — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

GPIO ordered MO, LR, and UD as specified in LS037V7DW01.pdf This panel can have zero to three GPIOs to configure to change configuration between QVGA and VGA mode and the scan direction. As these pins can be also configured with external pulls, all the GPIOs are considered optional with holes in the array.

Required in this object (required): "compatible", "port"

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>

lcd0: display {
    compatible = "sharp,ls037v7dw01";
    power-supply = <&lcd_3v3>;
    enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>;    /* gpio152, lcd INI */
    reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;     /* gpio155, lcd RESB */
    mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH        /* gpio154, lcd MO */
                  &gpio1 2 GPIO_ACTIVE_HIGH         /* gpio2, lcd LR */
                  &gpio1 3 GPIO_ACTIVE_HIGH>;       /* gpio3, lcd UD */

    port {
        lcd_in: endpoint {
            remote-endpoint = <&dpi_out>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Sharp Microelectronics 4.3" qHD TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sharp,ls043t1le01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Werner Johansson <werner.johansson@sonymobile.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sharp,ls043t1le01-qhd"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

avdd-supply — required here #

handle of the regulator that provides the supply voltage

Required in this object (required): "compatible", "reg", "avdd-supply"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "sharp,ls043t1le01-qhd";
        reg = <0>;
        avdd-supply = <&pm8941_l22>;
        backlight = <&pm8941_wled>;
        reset-gpios = <&pm8941_gpios 19 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Sharp Microelectronics 6.0" FullHD TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sharp,ls060t1sx01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryskov <dmitry.baryshkov@linaro.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sharp,ls060t1sx01"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

avdd-supply — not listed as required here #

handle of the regulator that provides the positive supply voltage

avee-supply — not listed as required here #

handle of the regulator that provides the negative supply voltage

vddi-supply — not listed as required here #

handle of the regulator that provides the I/O supply voltage

vddh-supply — not listed as required here #

handle of the regulator that provides the analog supply voltage

Required in this object (required): "compatible", "reg"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "sharp,ls060t1sx01";
        reg = <0>;
        avdd-supply = <&pm8941_l22>;
        backlight = <&backlight>;
        reset-gpios = <&pm8916_gpios 25 GPIO_ACTIVE_LOW>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Sitronix ST7701 based LCD panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sitronix,st7701.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jagan Teki <jagan@amarulasolutions.com>"

ST7701 designed for small and medium sizes of TFT LCD display, is capable of supporting up to 480RGBX864 in resolution. It provides several system interfaces like MIPI/RGB/SPI.

Techstar TS8550B is 480x854, 2-lane MIPI DSI LCD panel which has inbuilt ST7701 chip.

Densitron DMT028VGHMCMI-1A is 480x640, 2-lane MIPI DSI LCD panel which has built-in ST7701 chip.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "anbernic,rg-arc-panel", "anbernic,rg28xx-panel", "densitron,dmt028vghmcmi-1a", "elida,kd50t048a", "techstar,ts8550b", "winstar,wf40eswaa6mnn0"

Item 2

Exact value (const): "sitronix,st7701"

reg — required here #

DSI / SPI channel used by that screen

Maximum number of items (maxItems): 1

VCC-supply — required here #

analog regulator for MIPI circuit

IOVCC-supply — required here #

I/O system regulator

dc-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Controller data/command selection (D/CX) in 4-line SPI mode. If not set, the controller is in 3-line SPI mode. Disallowed for DSI.

port — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "VCC-supply", "IOVCC-supply", "port", "reset-gpios"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "anbernic,rg28xx-panel"

When the condition matches (then) #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Allowed values (enum): "anbernic,rg-arc-panel", "anbernic,rg28xx-panel", "densitron,dmt028vghmcmi-1a", "elida,kd50t048a", "techstar,ts8550b"

When the condition matches (then) #

Required in this object (required): "dc-gpios"

When the condition does not match (else) #

Properties and child nodes (properties)

dc-gpios — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "techstar,ts8550b", "sitronix,st7701";
        reg = <0>;
        VCC-supply = <&reg_dldo2>;
        IOVCC-supply = <&reg_dldo2>;
        reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
        backlight = <&backlight>;

        port {
            mipi_in_panel: endpoint {
                remote-endpoint = <&mipi_out_panel>;
            };
        };
    };
};
#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "anbernic,rg28xx-panel", "sitronix,st7701";
        reg = <0>;
        spi-max-frequency = <3125000>;
        VCC-supply = <&reg_lcd>;
        IOVCC-supply = <&reg_lcd>;
        reset-gpios = <&pio 8 14 GPIO_ACTIVE_HIGH>; /* LCD-RST: PI14 */
        backlight = <&backlight>;

        port {
            panel_in_rgb: endpoint {
                remote-endpoint = <&tcon_lcd0_out_lcd>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 72: SPI connected panels

Line 83: DSI or SPI without D/CX pin

Sitronix ST7789V RGB panel with SPI control bus

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sitronix,st7789v.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Maxime Ripard <mripard@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "edt,et028013dma", "inanbo,t28cp45tn89-v17", "jasonic,jt240mhqs-hwt-ek-e3", "sitronix,st7789v"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

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.

spi-rx-bus-width — not listed as required here #

Array item rules (items) #

Minimum value (minimum): 0

Maximum value (maximum): 1

dc-gpios — not listed as required here #

Maximum number of items (maxItems): 1

DCX pin, Display data/command selection pin in parallel interface

Required in this object (required): "compatible", "reg", "power-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "sitronix,st7789v";
        reg = <0>;
        reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>;
        backlight = <&pwm_bl>;
        power-supply = <&power>;
        rotation = <180>;
        spi-max-frequency = <100000>;
        spi-cpol;
        spi-cpha;

        port {
            panel_input: endpoint {
                remote-endpoint = <&tcon0_out_panel>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Sony ACX424AKP/ACX424AKM 4" 480x864/480x854 AMOLED panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sony,acx424akp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The Sony ACX424AKP and ACX424AKM are panels built around the Novatek NT35560 display controller. The only difference is that the AKM is configured to use 10 pixels less in the Y axis than the AKP.

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "sony,acx424akp", "sony,acx424akm"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

true — No constraints added by this property rule.

vddi-supply — not listed as required here #

regulator that supplies the vddi voltage

enforce-video-mode — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "reset-gpios"

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>

dsi-controller@a0351000 {
    compatible = "ste,mcde-dsi";
    reg = <0xa0351000 0x1000>;
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "sony,acx424akp";
        reg = <0>;
        vddi-supply = <&foo>;
        reset-gpios = <&foo_gpio 0 GPIO_ACTIVE_LOW>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Sony ACX565AKM SDI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sony,acx565akm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ti.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sony,acx565akm"

reg — not listed as required here #

Maximum number of items (maxItems): 1

label — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@2 {
        compatible = "sony,acx565akm";
        spi-max-frequency = <6000000>;
        reg = <2>;

        label = "lcd";
        reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */

        port {
            lcd_in: endpoint {
                remote-endpoint = <&sdi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Sony TD4353 JDI 5 / 5.7" 2160x1080 MIPI-DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sony,td4353-jdi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

The Sony TD4353 JDI is a 5 (XZ2c) / 5.7 (XZ2) inch 2160x1080 MIPI-DSI panel, used in Xperia XZ2 and XZ2 Compact smartphones.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sony,td4353-jdi-tama"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

true — No constraints added by this property rule.

width-mm — not listed as required here #

true — No constraints added by this property rule.

height-mm — not listed as required here #

true — No constraints added by this property rule.

vddio-supply — required here #

VDDIO 1.8V supply

vsp-supply — required here #

Positive 5.5V supply

vsn-supply — required here #

Negative 5.5V supply

panel-reset-gpios — required here #

Display panel reset pin

touch-reset-gpios — required here #

Touch panel reset pin

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vddio-supply", "vsp-supply", "vsn-supply", "panel-reset-gpios", "touch-reset-gpios", "port"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel: panel@0 {
        compatible = "sony,td4353-jdi-tama";
        reg = <0>;

        backlight = <&pmi8998_wled>;
        vddio-supply = <&vreg_l14a_1p8>;
        vsp-supply = <&lab>;
        vsn-supply = <&ibb>;
        panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
        touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Sony Tulip Truly NT35521 5.24" 1280x720 MIPI-DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sony,tulip-truly-nt35521.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Shawn Guo <shawn.guo@linaro.org>"

The Sony Tulip Truly NT35521 is a 5.24" 1280x720 MIPI-DSI panel, which can be found no Sony Xperia M4 phone. The panel backlight is managed through DSI link.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sony,tulip-truly-nt35521"

reg — required here #

Maximum number of items (maxItems): 1

positive5-supply — required here #

Positive 5V supply

negative5-supply — required here #

Negative 5V supply

reset-gpios — required here #

true — No constraints added by this property rule.

enable-gpios — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "positive5-supply", "negative5-supply", "reset-gpios", "enable-gpios", "port"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "sony,tulip-truly-nt35521";
        reg = <0>;
        positive5-supply = <&positive5_reg>;
        negative5-supply = <&negative5_reg>;
        reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
        enable-gpios = <&msmgpio 10 GPIO_ACTIVE_HIGH>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Startek Electronic Technology Co. kd070fhfid015 7 inch TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/startek,kd070fhfid015.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexandre Mergnat <amergnat@baylibre.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "startek,kd070fhfid015"

enable-gpios — required here #

true — No constraints added by this property rule.

iovcc-supply — required here #

Reference to the regulator powering the panel IO pins.

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

reset-gpios — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "enable-gpios", "iovcc-supply", "reg", "reset-gpios", "port", "power-supply"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi0 {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "startek,kd070fhfid015";
        reg = <0>;
        enable-gpios = <&pio 67 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&pio 20 GPIO_ACTIVE_HIGH>;
        iovcc-supply = <&mt6357_vsim1_reg>;
        power-supply = <&vsys_lcm_reg>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Startek Electronic Technology Co. KD050C 5.0" WVGA TFT LCD panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/startek,startek-kd050c.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nikita Kiryanov <nikita@compulab.co.il>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-dpi.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "startek,startek-kd050c"

Item 2

This rule adds no constraints.

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

height-mm — not listed as required here #

true — No constraints added by this property rule.

label — not listed as required here #

true — No constraints added by this property rule.

panel-timing — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

width-mm — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 19: panel-dpi, but not listed here to avoid false select

Synaptics R63353 based MIPI-DSI panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/synaptics,r63353.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Trimarchi <michael@amarulasolutions.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "sharp,ls068b3sx02"

Item 2

Exact value (const): "syna,r63353"

reg — required here #

Maximum number of items (maxItems): 1

avdd-supply — required here #

true — No constraints added by this property rule.

dvdd-supply — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "avdd-supply", "dvdd-supply", "reset-gpios", "port", "backlight"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "sharp,ls068b3sx02", "syna,r63353";
        reg = <0>;
        avdd-supply = <&avdd_display>;
        dvdd-supply = <&dvdd_display>;
        reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
        backlight = <&backlight>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&mipi_dsi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Synaptics TDDI Display Panel Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/synaptics,td4300-panel.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kaustabh Chakraborty <kauschluss@disroot.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "syna,td4101-panel", "syna,td4300-panel"

reg — required here #

Maximum number of items (maxItems): 1

vio-supply — not listed as required here #

core I/O voltage supply

vsn-supply — not listed as required here #

negative voltage supply for analog circuits

vsp-supply — not listed as required here #

positive voltage supply for analog circuits

backlight-gpios — not listed as required here #

Maximum number of items (maxItems): 1

backlight enable GPIO

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

width-mm — required here #

true — No constraints added by this property rule.

height-mm — required here #

true — No constraints added by this property rule.

panel-timing — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "width-mm", "height-mm", "panel-timing"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "syna,td4300-panel";
        reg = <0>;

        vio-supply = <&panel_vio_reg>;
        vsn-supply = <&panel_vsn_reg>;
        vsp-supply = <&panel_vsp_reg>;

        backlight-gpios = <&gpd3 5 GPIO_ACTIVE_LOW>;
        reset-gpios = <&gpd3 4 GPIO_ACTIVE_LOW>;

        width-mm = <68>;
        height-mm = <121>;

        panel-timing {
            clock-frequency = <144389520>;

            hactive = <1080>;
            hsync-len = <4>;
            hfront-porch = <120>;
            hback-porch = <32>;

            vactive = <1920>;
            vsync-len = <2>;
            vfront-porch = <21>;
            vback-porch = <4>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with resistive touch

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/tfc,s9700rtwv43tr-01b.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jyri Sarha <jsarha@ti.com>", "Thierry Reding <thierry.reding@gmail.com>"

The panel is found on TI AM335x-evm.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "tfc,s9700rtwv43tr-01b"

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "power-supply"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Texas Instruments NSPIRE Display Panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/ti,nspire.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,nspire-cx-lcd-panel", "ti,nspire-classic-lcd-panel"

port — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

panel {
    compatible = "ti,nspire-cx-lcd-panel";
    port {
        panel_in: endpoint {
            remote-endpoint = <&pads>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Toppoly TD Panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/tpo,td.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Marek Belisko <marek@goldelico.com>", "H. Nikolaus Schaller <hns@goldelico.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "tpo,td028ttec1", "tpo,td043mtea1"

reg — not listed as required here #

Maximum number of items (maxItems): 1

label — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

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.

Required in this object (required): "compatible", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel: panel@0 {
        compatible = "tpo,td043mtea1";
        reg = <0>;
        spi-max-frequency = <100000>;
        spi-cpol;
        spi-cpha;

        label = "lcd";

        reset-gpios = <&gpio7 7 0>;

        port {
            lcd_in: endpoint {
                remote-endpoint = <&dpi_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 20: Toppoly TD028TTEC1 Panel

Line 22: Toppoly TD043MTEA1 Panel

TPO TPG110 Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/tpo,tpg110.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>", "Thierry Reding <thierry.reding@gmail.com>"

This panel driver is a component that acts as an intermediary between an RGB output and a variety of panels. The panel driver is strapped up in electronics to the desired resolution and other properties, and has a control interface over 3WIRE SPI. By talking to the TPG110 over SPI, the strapped properties can be discovered and the hardware is therefore mostly self-describing.

       +--------+
SPI -> |  TPO   | -> physical display
RGB -> | TPG110 |
       +--------+

If some electrical strap or alternate resolution is desired, this can be set up by taking software control of the display over the SPI interface. The interface can also adjust for properties of the display such as gamma correction and certain electrical driving levels.

The TPG110 does not know the physical dimensions of the panel connected, so this needs to be specified in the device tree.

It requires a GPIO line for control of its reset line.

The serial protocol has line names that resemble I2C but the protocol is not I2C but 3WIRE SPI.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "ste,nomadik-nhk15-display"

Item 2

Exact value (const): "tpo,tpg110"

Rule 2

Exact value (const): "tpo,tpg110"

reg — required here #

Maximum number of items (maxItems): 1

grestb-gpios — required here #

Maximum number of items (maxItems): 1

panel reset GPIO

spi-3wire — required here #

true — No constraints added by this property rule.

spi-max-frequency — required here #

Exact value (const): 3000000

Required in this object (required): "compatible", "reg", "grestb-gpios", "width-mm", "height-mm", "spi-3wire", "spi-max-frequency", "port"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
  #address-cells = <1>;
  #size-cells = <0>;

  panel: display@0 {
    compatible = "tpo,tpg110";
    reg = <0>;
    spi-3wire;
    /* 320 ns min period ~= 3 MHz */
    spi-max-frequency = <3000000>;
    /* Width and height from data sheet */
    width-mm = <116>;
    height-mm = <87>;
    grestb-gpios = <&foo_gpio 5 1>;
    backlight = <&bl>;

    port {
      nomadik_clcd_panel: endpoint {
        remote-endpoint = <&foo>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Truly NT35597 DSI 2K display

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/truly,nt35597-2K-display.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Truly NT35597 DSI 2K display is used on the Qualcomm SDM845 MTP board.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common-dual.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "truly,nt35597-2K-display"

reg — required here #

Maximum number of items (maxItems): 1

vdda-supply — required here #

regulator that provides the supply voltage Power IC supply

vdispp-supply — not listed as required here #

regulator that provides the supply voltage for positive LCD bias

vdispn-supply — not listed as required here #

regulator that provides the supply voltage for negative LCD bias

reset-gpios — required here #

true — No constraints added by this property rule.

mode-gpios — required here #

Gpio for choosing the mode of the display for single DSI or Dual DSI. This should be low for dual DSI and high for single DSI mode.

ports — required here #

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "vdda-supply", "reset-gpios", "mode-gpios", "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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "truly,nt35597-2K-display";
        reg = <0>;

        vdda-supply = <&pm8998_l14>;
        vdispp-supply = <&lab_regulator>;
        vdispn-supply = <&ibb_regulator>;

        reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
        mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;

                panel0_in: endpoint {
                    remote-endpoint = <&dsi0_out>;
                };
            };

            port@1 {
                reg = <1>;

                panel1_in: endpoint {
                    remote-endpoint = <&dsi1_out>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Visionox G2647FB105 6.47" 1080x2340 MIPI-DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/visionox,g2647fb105.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexander Baransky <sanyapilot496@gmail.com>"

The Visionox G2647FB105 is a 6.47 inch 1080x2340 MIPI-DSI CMD mode OLED panel.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "visionox,g2647fb105"

reg — required here #

Maximum number of items (maxItems): 1

vdd3p3-supply — required here #

3.3V source voltage rail

vddio-supply — required here #

I/O source voltage rail

vsn-supply — required here #

Negative source voltage rail

vsp-supply — required here #

Positive source voltage rail

reset-gpios — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vdd3p3-supply", "vddio-supply", "vsn-supply", "vsp-supply", "reset-gpios", "port"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "visionox,g2647fb105";
        reg = <0>;

        vdd3p3-supply = <&vreg_l7c_3p0>;
        vddio-supply = <&vreg_l13a_1p8>;
        vsn-supply = <&vreg_ibb>;
        vsp-supply = <&vreg_lab>;

        reset-gpios = <&pm6150l_gpios 9 GPIO_ACTIVE_LOW>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&mdss_dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Visionox R66451 AMOLED DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/visionox,r66451.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jessica Zhang <quic_jesszhan@quicinc.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "visionox,r66451"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

vddio-supply — required here #

true — No constraints added by this property rule.

vdd-supply — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "vddio-supply", "vdd-supply", "reset-gpios", "port"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "visionox,r66451";
        reg = <0>;
        vddio-supply = <&vreg_l12c_1p8>;
        vdd-supply = <&vreg_l13c_3p0>;

        reset-gpios = <&tlmm 24 GPIO_ACTIVE_LOW>;

        port {
            panel0_in: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Visionox model RM69299 Panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/visionox,rm69299.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abhinav Kumar <quic_abhinavk@quicinc.com>", "Jessica Zhang <quic_jesszhan@quicinc.com>"

This binding is for display panels using a Visionox RM692999 panel.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "visionox,rm69299-1080p-display", "visionox,rm69299-shift"

reg — required here #

Maximum number of items (maxItems): 1

vdda-supply — required here #

Phandle of the regulator that provides the vdda supply voltage.

vdd3p3-supply — required here #

Phandle of the regulator that provides the vdd3p3 supply voltage.

port — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "vdda-supply", "vdd3p3-supply", "reset-gpios", "port"

Examples (examples) #

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "visionox,rm69299-1080p-display";
        reg = <0>;

        vdda-supply = <&src_pp1800_l8c>;
        vdd3p3-supply = <&src_pp2800_l18a>;

        reset-gpios = <&pm6150l_gpio 3 0>;
        port {
            panel0_in: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Visionox RM692E5 6.55" 2400x1080 120Hz MIPI-DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/visionox,rm692e5.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Danila Tikhonov <danila@jiaxyga.com>"

The Visionox RM692E5 is a generic DSI Panel IC used to control AMOLED panels.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "visionox,rm692e5"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "nothing,rm692e5-spacewar"

Item 2

Exact value (const): "visionox,rm692e5"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — required here #

3.3V source voltage rail

vddio-supply — required here #

1.8V I/O source voltage rail

reset-gpios — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "reset-gpios", "vdd-supply", "vddio-supply", "port"

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>

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "nothing,rm692e5-spacewar",
                     "visionox,rm692e5";
        reg = <0>;

        reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;

        vdd-supply = <&vdd_oled>;
        vddio-supply = <&vdd_io_oled>;

        port {
            panel_in: endpoint {
                remote-endpoint = <&mdss_dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Visionox VTDR6130 AMOLED DSI Panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/visionox,vtdr6130.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "visionox,vtdr6130"

reg — required here #

Maximum number of items (maxItems): 1

DSI virtual channel

vddio-supply — required here #

true — No constraints added by this property rule.

vci-supply — required here #

true — No constraints added by this property rule.

vdd-supply — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "vddio-supply", "vci-supply", "vdd-supply", "reset-gpios", "port"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
dsi {
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "visionox,vtdr6130";
        reg = <0>;

        vddio-supply = <&vreg_l12b_1p8>;
        vci-supply = <&vreg_l13b_3p0>;
        vdd-supply = <&vreg_l11b_1p2>;

        reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;

        port {
            panel0_in: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Xinpeng XPP055C272 5.5in 720x1280 DSI panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/xinpeng,xpp055c272.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Heiko Stuebner <heiko.stuebner@theobroma-systems.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "xinpeng,xpp055c272"

reg — required here #

Maximum number of items (maxItems): 1

backlight — required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

iovcc-supply — required here #

regulator that supplies the iovcc voltage

vci-supply — required here #

regulator that supplies the vci voltage

Required in this object (required): "compatible", "reg", "backlight", "port", "iovcc-supply", "vci-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi {
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
        compatible = "xinpeng,xpp055c272";
        reg = <0>;
        backlight = <&backlight>;
        iovcc-supply = <&vcc_1v8>;
        vci-supply = <&vcc3v3_lcd>;

        port {
            mipi_in_panel: endpoint {
                remote-endpoint = <&mipi_out_panel>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Rockchip specific extensions to the Analogix Display Port

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,analogix-dp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sandy Huang <hjc@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3288-dp", "rockchip,rk3399-edp", "rockchip,rk3588-edp"

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "dp"

Item 2

Exact value (const): "pclk"

Item 3

Exact value (const): "grf"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reset-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "dp"

Item 2

Exact value (const): "apb"

rockchip,grf — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

This SoC makes use of GRF regs.

aux-bus — not listed as required here #

Shared schema rule ($ref): /schemas/display/dp-aux-bus.yaml#

Required in this object (required): "compatible", "clocks", "clock-names", "resets", "reset-names", "rockchip,grf"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/display/bridge/analogix,dp.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rockchip,rk3588-edp"

When the condition matches (then) #

Properties and child nodes (properties)

resets — not listed as required here

Minimum number of items (minItems): 2

reset-names — not listed as required here

Minimum number of items (minItems): 2

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3288-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
dp@ff970000 {
  compatible = "rockchip,rk3288-dp";
  reg = <0xff970000 0x4000>;
  interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&cru SCLK_EDP>, <&cru PCLK_EDP_CTRL>;
  clock-names = "dp", "pclk";
  phys = <&dp_phy>;
  phy-names = "dp";
  resets = <&cru 111>;
  reset-names = "dp";
  rockchip,grf = <&grf>;
  pinctrl-0 = <&edp_hpd>;
  pinctrl-names = "default";

  ports {
    #address-cells = <1>;
    #size-cells = <0>;

    edp_in: port@0 {
      reg = <0>;
      #address-cells = <1>;
      #size-cells = <0>;

      edp_in_vopb: endpoint@0 {
        reg = <0>;
        remote-endpoint = <&vopb_out_edp>;
      };
      edp_in_vopl: endpoint@1 {
        reg = <1>;
        remote-endpoint = <&vopl_out_edp>;
      };
    };

    edp_out: port@1 {
      reg = <1>;

      edp_out_panel: endpoint {
        remote-endpoint = <&panel_in_edp>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Rockchip DW DisplayPort Transmitter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,dw-dp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andy Yan <andy.yan@rock-chips.com>"

The Rockchip RK3588 SoC integrates the Synopsys DesignWare DPTX controller which is compliant with the DisplayPort Specification Version 1.4 with the following features:

* DisplayPort 1.4a * Main Link: 1/2/4 lanes * Main Link Support 1.62Gbps, 2.7Gbps, 5.4Gbps and 8.1Gbps * AUX channel 1Mbps * Single Stream Transport(SST) * Multistream Transport (MST) * Type-C support (alternate mode) * HDCP 2.2, HDCP 1.3 * Supports up to 8/10 bits per color component * Supports RBG, YCbCr4:4:4, YCbCr4:2:2, YCbCr4:2:0 * Pixel clock up to 594MHz * I2S, SPDIF audio interface

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3588-dp"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Peripheral/APB bus clock

Item 2

DisplayPort AUX clock

Item 3

HDCP clock

Item 4

I2S interface clock

Item 5

SPDIF interfce clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "apb"

Item 2

Exact value (const): "aux"

Item 3

Exact value (const): "hdcp"

Item 4

Exact value (const): "i2s"

Item 5

Exact value (const): "spdif"

phys — required here #

Maximum number of items (maxItems): 1

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#/properties/port

Video port for RGB/YUV input.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Video port for DP output.

Required in this object (required): "port@0", "port@1"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — not listed as required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "phys", "ports", "resets"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/rk3588-power.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>

soc {
  #address-cells = <2>;
  #size-cells = <2>;

  dp@fde50000 {
    compatible = "rockchip,rk3588-dp";
    reg = <0x0 0xfde50000 0x0 0x4000>;
    interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH 0>;
    clocks = <&cru PCLK_DP0>, <&cru CLK_AUX16M_0>,
    <&cru CLK_DP0>, <&cru MCLK_I2S4_8CH_TX>,
    <&cru MCLK_SPDIF2_DP0>;
    clock-names = "apb", "aux", "hdcp", "i2s", "spdif";
    assigned-clocks = <&cru CLK_AUX16M_0>;
    assigned-clock-rates = <16000000>;
    resets = <&cru SRST_DP0>;
    phys = <&usbdp_phy0 PHY_TYPE_DP>;
    power-domains = <&power RK3588_PD_VO0>;
    #sound-dai-cells = <0>;

    ports {
      #address-cells = <1>;
      #size-cells = <0>;

      port@0 {
        reg = <0>;

        dp0_in_vp2: endpoint {
          remote-endpoint = <&vp2_out_dp0>;
        };
      };

      port@1 {
        reg = <1>;

        dp0_out_con0: endpoint {
          remote-endpoint = <&dp_con0_in>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Rockchip DWC HDMI TX Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,dw-hdmi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Mark Yao <markyao0591@gmail.com>"

The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP with a companion PHY IP.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ../bridge/synopsys,dw-hdmi.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3228-dw-hdmi", "rockchip,rk3288-dw-hdmi", "rockchip,rk3328-dw-hdmi", "rockchip,rk3368-dw-hdmi", "rockchip,rk3399-dw-hdmi", "rockchip,rk3568-dw-hdmi"

reg-io-width — required here #

Exact value (const): 4

avdd-0v9-supply — not listed as required here #

A 0.9V supply that powers up the SoC internal circuitry. The actual pin name varies between the different SoCs and is usually HDMI_TX_AVDD_0V9 or sometimes HDMI_AVDD_1V0.

avdd-1v8-supply — not listed as required here #

A 1.8V supply that powers up the SoC internal circuitry. The pin name on the SoC usually is HDMI_TX_AVDD_1V8.

clocks — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

This rule adds no constraints.

Item 2

This rule adds no constraints.

Item 3

The HDMI CEC controller main clock

Item 4

Power for GRF IO

Item 5

External clock for some HDMI PHY (old clock name, deprecated)

Item 6

External clock for some HDMI PHY (new name)

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

This rule adds no constraints.

Item 2

This rule adds no constraints.

Item 3

Allowed values (enum): "cec", "grf", "vpll", "ref"

Item 4

Allowed values (enum): "grf", "vpll", "ref"

Item 5

Allowed values (enum): "vpll", "ref"

phys — not listed as required here #

Maximum number of items (maxItems): 1

The HDMI PHY

phy-names — not listed as required here #

Exact value (const): "hdmi"

pinctrl-names — not listed as required here #

The unwedge pinctrl entry shall drive the DDC SDA line low. This is intended to work around a hardware errata that can cause the DDC I2C bus to be wedged.

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "default"

Item 2

Exact value (const): "unwedge"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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#/properties/port

Input of the DWC HDMI TX

Properties and child nodes (properties)

endpoint — not listed as required here

Connection to the VOP

endpoint@0 — not listed as required here

Connection to the VOPB

endpoint@1 — not listed as required here

Connection to the VOPL

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output of the DWC HDMI TX

Required in this object (required): "port@0", "port@1"

rockchip,grf — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to the GRF to mux vopl/vopb.

#sound-dai-cells — not listed as required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "reg-io-width", "clocks", "clock-names", "interrupts", "ports", "rockchip,grf"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3288-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/rk3288-power.h>

hdmi: hdmi@ff980000 {
    compatible = "rockchip,rk3288-dw-hdmi";
    reg = <0xff980000 0x20000>;
    reg-io-width = <4>;
    interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cru  PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>;
    clock-names = "iahb", "isfr";
    ddc-i2c-bus = <&i2c5>;
    power-domains = <&power RK3288_PD_VIO>;
    rockchip,grf = <&grf>;
    #sound-dai-cells = <0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            #address-cells = <1>;
            #size-cells = <0>;

            hdmi_in_vopb: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&vopb_out_hdmi>;
            };

            hdmi_in_vopl: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&vopl_out_hdmi>;
            };
        };

        port@1 {
            reg = <1>;

            hdmi_out_con: endpoint {
                remote-endpoint = <&hdmi_con_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 49: The next three clocks are all optional, but shall be specified in this

Line 50: order when present.

Rockchip specific extensions to the Synopsys Designware MIPI DSI

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,dw-mipi-dsi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sandy Huang <hjc@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "rockchip,px30-mipi-dsi", "rockchip,rk3128-mipi-dsi", "rockchip,rk3288-mipi-dsi", "rockchip,rk3368-mipi-dsi", "rockchip,rk3399-mipi-dsi", "rockchip,rk3506-mipi-dsi", "rockchip,rk3568-mipi-dsi", "rockchip,rv1126-mipi-dsi"

Item 2

Exact value (const): "snps,dw-mipi-dsi"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "ref"

Item 2

Exact value (const): "pclk"

Item 3

Exact value (const): "phy_cfg"

Item 4

Exact value (const): "grf"

Rule 2

Exact value (const): "pclk"

rockchip,grf — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

This SoC uses GRF regs to switch between vopl/vopb.

phys — not listed as required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Exact value (const): "dphy"

#phy-cells — not listed as required here #

Exact value (const): 0

Defined when in use as ISP phy.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "rockchip,grf"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/display/bridge/snps,dw-mipi-dsi.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rockchip,px30-mipi-dsi", "rockchip,rk3128-mipi-dsi", "rockchip,rk3368-mipi-dsi", "rockchip,rk3506-mipi-dsi", "rockchip,rk3568-mipi-dsi", "rockchip,rv1126-mipi-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Maximum number of items (maxItems): 1

Required in this object (required): "phys", "phy-names"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3288-mipi-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3399-mipi-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

clock-names — not listed as required here

Minimum number of items (minItems): 4

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3288-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

mipi_dsi: dsi@ff960000 {
  compatible = "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi";
  reg = <0xff960000 0x4000>;
  interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&cru SCLK_MIPIDSI_24M>, <&cru PCLK_MIPI_DSI0>;
  clock-names = "ref", "pclk";
  resets = <&cru SRST_MIPIDSI0>;
  reset-names = "apb";
  rockchip,grf = <&grf>;

  ports {
    #address-cells = <1>;
    #size-cells = <0>;

    mipi_in: port@0 {
      reg = <0>;
      #address-cells = <1>;
      #size-cells = <0>;

      mipi_in_vopb: endpoint@0 {
        reg = <0>;
        remote-endpoint = <&vopb_out_mipi>;
      };
      mipi_in_vopl: endpoint@1 {
        reg = <1>;
        remote-endpoint = <&vopl_out_mipi>;
      };
    };

    mipi_out: port@1 {
      reg = <1>;

      mipi_out_panel: endpoint {
        remote-endpoint = <&panel_in_mipi>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Rockchip Innosilicon HDMI controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,inno-hdmi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sandy Huang <hjc@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3036-inno-hdmi", "rockchip,rk3128-inno-hdmi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

The HDMI controller main clock

Item 2

The HDMI PHY reference clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "ref"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — not listed as required here #

Exact value (const): 0

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#/properties/port

Port node with one endpoint connected to a vop node.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Port node with one endpoint connected to a hdmi-connector node.

Required in this object (required): "port@0", "port@1"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to GRF used for control the polarity of hsync/vsync of rk3036 HDMI.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "pinctrl-0", "pinctrl-names", "ports"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3036-inno-hdmi"

When the condition matches (then) #

Required in this object (required): "rockchip,grf"

Properties and child nodes (properties)

power-domains — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3128-inno-hdmi"

When the condition matches (then) #

Required in this object (required): "power-domains"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3036-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/pinctrl/rockchip.h>
hdmi: hdmi@20034000 {
  compatible = "rockchip,rk3036-inno-hdmi";
  reg = <0x20034000 0x4000>;
  interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&cru PCLK_HDMI>, <&cru SCLK_LCDC>;
  clock-names = "pclk", "ref";
  pinctrl-names = "default";
  pinctrl-0 = <&hdmi_ctl>;
  rockchip,grf = <&grf>;
  #sound-dai-cells = <0>;

  ports {
    #address-cells = <1>;
    #size-cells = <0>;

    hdmi_in: port@0 {
      reg = <0>;
      hdmi_in_vop: endpoint {
        remote-endpoint = <&vop_out_hdmi>;
      };
    };

    hdmi_out: port@1 {
      reg = <1>;
      hdmi_out_con: endpoint {
        remote-endpoint = <&hdmi_con_in>;
      };
    };
  };
};

pinctrl {
  hdmi {
    hdmi_ctl: hdmi-ctl {
      rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>,
                      <1 RK_PB1 1 &pcfg_pull_none>,
                      <1 RK_PB2 1 &pcfg_pull_none>,
                      <1 RK_PB3 1 &pcfg_pull_none>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Rockchip low-voltage differential signal (LVDS) transmitter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,lvds.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sandy Huang <hjc@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,px30-lvds", "rockchip,rk3288-lvds"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "pclk_lvds"

avdd1v0-supply — not listed as required here #

1.0V analog power.

avdd1v8-supply — not listed as required here #

1.8V analog power.

avdd3v3-supply — not listed as required here #

3.3V analog power.

rockchip,grf — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the general register files syscon.

rockchip,output — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Allowed values (enum): "rgb", "lvds", "duallvds"

This describes the output interface.

phys — not listed as required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Exact value (const): "dphy"

pinctrl-names — not listed as required here #

Exact value (const): "lcdc"

pinctrl-0 — not listed as required here #

true — No constraints added by this property rule.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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#/properties/port

Video port 0 for the VOP input. The remote endpoint maybe vopb or vopl.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Video port 1 for either a panel or subsequent encoder.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "rockchip,grf", "rockchip,output", "ports"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,px30-lvds"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

clocks — not listed as required here

false — Not permitted by this property rule.

clock-names — not listed as required here

false — Not permitted by this property rule.

avdd1v0-supply — not listed as required here

false — Not permitted by this property rule.

avdd1v8-supply — not listed as required here

false — Not permitted by this property rule.

avdd3v3-supply — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "phys", "phy-names"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3288-lvds"

When the condition matches (then) #

Properties and child nodes (properties)

phys — not listed as required here

false — Not permitted by this property rule.

phy-names — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "reg", "clocks", "clock-names", "avdd1v0-supply", "avdd1v8-supply", "avdd3v3-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3288-cru.h>

lvds: lvds@ff96c000 {
  compatible = "rockchip,rk3288-lvds";
  reg = <0xff96c000 0x4000>;
  clocks = <&cru PCLK_LVDS_PHY>;
  clock-names = "pclk_lvds";
  avdd1v0-supply = <&vdd10_lcd>;
  avdd1v8-supply = <&vcc18_lcd>;
  avdd3v3-supply = <&vcca_33>;
  pinctrl-names = "lcdc";
  pinctrl-0 = <&lcdc_ctl>;
  rockchip,grf = <&grf>;
  rockchip,output = "rgb";

  ports {
    #address-cells = <1>;
    #size-cells = <0>;

    lvds_in: port@0 {
      reg = <0>;
      #address-cells = <1>;
      #size-cells = <0>;

      lvds_in_vopb: endpoint@0 {
        reg = <0>;
        remote-endpoint = <&vopb_out_lvds>;
      };
      lvds_in_vopl: endpoint@1 {
        reg = <1>;
        remote-endpoint = <&vopl_out_lvds>;
      };
    };

    lvds_out: port@1 {
      reg = <1>;

      lvds_out_panel: endpoint {
        remote-endpoint = <&panel_in_lvds>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Rockchip rk3066 HDMI controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,rk3066-hdmi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sandy Huang <hjc@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rockchip,rk3066-hdmi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "hclk"

power-domains — required here #

Maximum number of items (maxItems): 1

rockchip,grf — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

This soc uses GRF regs to switch the HDMI TX input between vop0 and vop1.

#sound-dai-cells — not listed as required here #

Exact value (const): 0

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#/properties/port

Port node with two endpoints, numbered 0 and 1, connected respectively to vop0 and vop1.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Port node with one endpoint connected to a hdmi-connector node.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "pinctrl-0", "pinctrl-names", "power-domains", "rockchip,grf", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3066a-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/power/rk3066-power.h>
hdmi: hdmi@10116000 {
  compatible = "rockchip,rk3066-hdmi";
  reg = <0x10116000 0x2000>;
  interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&cru HCLK_HDMI>;
  clock-names = "hclk";
  pinctrl-0 = <&hdmii2c_xfer>, <&hdmi_hpd>;
  pinctrl-names = "default";
  power-domains = <&power RK3066_PD_VIO>;
  rockchip,grf = <&grf>;
  #sound-dai-cells = <0>;

  ports {
    #address-cells = <1>;
    #size-cells = <0>;
    hdmi_in: port@0 {
      reg = <0>;
      #address-cells = <1>;
      #size-cells = <0>;
      hdmi_in_vop0: endpoint@0 {
        reg = <0>;
        remote-endpoint = <&vop0_out_hdmi>;
      };
      hdmi_in_vop1: endpoint@1 {
        reg = <1>;
        remote-endpoint = <&vop1_out_hdmi>;
      };
    };
    hdmi_out: port@1 {
      reg = <1>;
      hdmi_out_con: endpoint {
        remote-endpoint = <&hdmi_con_in>;
      };
    };
  };
};

pinctrl {
  hdmi {
    hdmi_hpd: hdmi-hpd {
      rockchip,pins = <0 RK_PA0 1 &pcfg_pull_default>;
    };
    hdmii2c_xfer: hdmii2c-xfer {
      rockchip,pins = <0 RK_PA1 1 &pcfg_pull_none>,
                      <0 RK_PA2 1 &pcfg_pull_none>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Rockchip RK3399 specific extensions to the CDN Display Port

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,rk3399-cdn-dp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andy Yan <andy.yan@rock-chip.com>", "Heiko Stuebner <heiko@sntech.de>", "Sandy Huang <hjc@rock-chips.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "rockchip,rk3399-cdn-dp"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

DP core work clock

Item 2

APB clock

Item 3

SPDIF interface clock

Item 4

GRF clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "core-clk"

Item 2

Exact value (const): "pclk"

Item 3

Exact value (const): "spdif"

Item 4

Exact value (const): "grf"

extcon — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Extcon device providing the cable state for DP PHY device 0

Item 2

Extcon device providing the cable state for DP PHY device 1

List of phandle to the extcon device providing the cable state for the DP PHY.

interrupts — required here #

Maximum number of items (maxItems): 1

phys — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

DP output to the DP PHY device 0

Item 2

DP output to the DP PHY device 1

RK3399 have two DP-USB PHY, specifying one PHY which want to use, or specify two PHYs here to let the driver determine which PHY to use.

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#/properties/port

Input of the CDN DP

Properties and child nodes (properties)

endpoint@0 — not listed as required here

Connection to the VOPB

endpoint@1 — not listed as required here

Connection to the VOPL

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output of the CDN DP

Required in this object (required): "port@0", "port@1"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 4

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "spdif"

Item 2

Exact value (const): "dptx"

Item 3

Exact value (const): "apb"

Item 4

Exact value (const): "core"

rockchip,grf — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to GRF register to control HPD.

#sound-dai-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "phys", "ports", "resets", "reset-names", "rockchip,grf", "#sound-dai-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/rk3399-power.h>
soc {
    #address-cells = <2>;
    #size-cells = <2>;

    dp@fec00000 {
        compatible = "rockchip,rk3399-cdn-dp";
        reg = <0x0 0xfec00000 0x0 0x100000>;
        assigned-clocks = <&cru SCLK_DP_CORE>;
        assigned-clock-rates = <100000000>;
        interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&cru SCLK_DP_CORE>, <&cru PCLK_DP_CTRL>, <&cru SCLK_SPDIF_REC_DPTX>,
                <&cru PCLK_VIO_GRF>;
        clock-names = "core-clk", "pclk", "spdif", "grf";
        power-domains = <&power RK3399_PD_HDCP>;
        phys = <&tcphy0_dp>, <&tcphy1_dp>;
        resets = <&cru SRST_DPTX_SPDIF_REC>, <&cru SRST_P_UPHY0_DPTX>,
                <&cru SRST_P_UPHY0_APB>, <&cru SRST_DP_CORE>;
        reset-names = "spdif", "dptx", "apb", "core";
        rockchip,grf = <&grf>;
        #sound-dai-cells = <1>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            dp_in: port@0 {
                reg = <0>;
                #address-cells = <1>;
                #size-cells = <0>;

                dp_in_vopb: endpoint@0 {
                    reg = <0>;
                    remote-endpoint = <&vopb_out_dp>;
                };

                dp_in_vopl: endpoint@1 {
                    reg = <1>;
                    remote-endpoint = <&vopl_out_dp>;
                };
            };

            dp_out: port@1 {
                reg = <1>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Rockchip DW HDMI QP TX Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,rk3588-dw-hdmi-qp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Cristian Ciocaltea <cristian.ciocaltea@collabora.com>"

Rockchip RK3588 SoC integrates the Synopsys DesignWare HDMI QP TX controller IP and a HDMI/eDP TX Combo PHY based on a Samsung IP block, providing the following features, among others:

* Fixed Rate Link (FRL) * Display Stream Compression (DSC) * 4K@120Hz and 8K@60Hz video modes * Variable Refresh Rate (VRR) including Quick Media Switching (QMS) * Fast Vactive (FVA) * SCDC I2C DDC access * Multi-stream audio * Enhanced Audio Return Channel (EARC)

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3576-dw-hdmi-qp", "rockchip,rk3588-dw-hdmi-qp"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Peripheral/APB bus clock

Item 2

EARC RX biphase clock

Item 3

Reference clock

Item 4

Audio interface clock

Item 5

TMDS/FRL link clock

Item 6

Video datapath clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "earc"

Item 3

Exact value (const): "ref"

Item 4

Exact value (const): "aud"

Item 5

Exact value (const): "hdp"

Item 6

Exact value (const): "hclk_vo1"

interrupts — required here #

Array item rules (items) #

Item 1

AVP Unit interrupt

Item 2

CEC interrupt

Item 3

eARC RX interrupt

Item 4

Main Unit interrupt

Item 5

HPD interrupt

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "avp"

Item 2

Exact value (const): "cec"

Item 3

Exact value (const): "earc"

Item 4

Exact value (const): "main"

Item 5

Exact value (const): "hpd"

no-hpd — not listed as required here #

Value type (type): "boolean"

The HPD pin is not present or used for another purpose, and the EDID must be polled instead to determine if a device is attached.

phys — required here #

Maximum number of items (maxItems): 1

The HDMI/eDP PHY

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#/properties/port

Video port for RGB/YUV input.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Video port for HDMI/eDP output.

Required in this object (required): "port@0", "port@1"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 2

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ref"

Item 2

Exact value (const): "hdp"

#sound-dai-cells — not listed as required here #

Exact value (const): 0

rockchip,grf — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Some HDMI QP related data is accessed through SYS GRF regs.

rockchip,vo-grf — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Additional HDMI QP related data is accessed through VO GRF regs.

frl-enable-gpios — not listed as required here #

Optional GPIO line to be asserted when operating in HDMI 2.1 FRL mode and deasserted for HDMI 1.4/2.0 TMDS. It can be used to control external voltage bias for HDMI data lines. When not present the HDMI encoder will operate in TMDS mode only.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "interrupt-names", "phys", "ports", "resets", "reset-names", "rockchip,grf", "rockchip,vo-grf"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/power/rk3588-power.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>

soc {
  #address-cells = <2>;
  #size-cells = <2>;

  hdmi@fde80000 {
    compatible = "rockchip,rk3588-dw-hdmi-qp";
    reg = <0x0 0xfde80000 0x0 0x20000>;
    clocks = <&cru PCLK_HDMITX0>,
             <&cru CLK_HDMITX0_EARC>,
             <&cru CLK_HDMITX0_REF>,
             <&cru MCLK_I2S5_8CH_TX>,
             <&cru CLK_HDMIHDP0>,
             <&cru HCLK_VO1>;
    clock-names = "pclk", "earc", "ref", "aud", "hdp", "hclk_vo1";
    interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH 0>,
                 <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH 0>,
                 <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH 0>,
                 <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH 0>,
                 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH 0>;
    interrupt-names = "avp", "cec", "earc", "main", "hpd";
    phys = <&hdptxphy0>;
    power-domains = <&power RK3588_PD_VO1>;
    resets = <&cru SRST_HDMITX0_REF>, <&cru SRST_HDMIHDP0>;
    reset-names = "ref", "hdp";
    rockchip,grf = <&sys_grf>;
    rockchip,vo-grf = <&vo1_grf>;
    #sound-dai-cells = <0>;
    frl-enable-gpios = <&gpio4 RK_PB1 GPIO_ACTIVE_LOW>;

    ports {
      #address-cells = <1>;
      #size-cells = <0>;

      port@0 {
        reg = <0>;

        hdmi0_in_vp0: endpoint {
          remote-endpoint = <&vp0_out_hdmi0>;
        };
      };

      port@1 {
        reg = <1>;

        hdmi0_out_con0: endpoint {
          remote-endpoint = <&hdmi_con0_in>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Rockchip specific extensions to the Synopsys Designware MIPI DSI2

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,rk3588-mipi-dsi2.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3576-mipi-dsi2", "rockchip,rk3588-mipi-dsi2"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "sys"

rockchip,grf — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

This SoC uses GRF regs to switch between vopl/vopb.

phys — required here #

Maximum number of items (maxItems): 1

phy-names — required here #

Exact value (const): "dcphy"

power-domains — not listed as 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): "apb"

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#/properties/port

Input node to receive pixel data.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

DSI output node to panel.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "clocks", "clock-names", "rockchip,grf", "phys", "phy-names", "ports", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/display/dsi-controller.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/power/rk3588-power.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>

soc {
  #address-cells = <2>;
  #size-cells = <2>;

  dsi@fde20000 {
    compatible = "rockchip,rk3588-mipi-dsi2";
    reg = <0x0 0xfde20000 0x0 0x10000>;
    interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH 0>;
    clocks = <&cru PCLK_DSIHOST0>, <&cru CLK_DSIHOST0>;
    clock-names = "pclk", "sys";
    resets = <&cru SRST_P_DSIHOST0>;
    reset-names = "apb";
    power-domains = <&power RK3588_PD_VOP>;
    phys = <&mipidcphy0 PHY_TYPE_DPHY>;
    phy-names = "dcphy";
    rockchip,grf = <&vop_grf>;

    ports {
      #address-cells = <1>;
      #size-cells = <0>;
      dsi0_in: port@0 {
        reg = <0>;
      };

      dsi0_out: port@1 {
        reg = <1>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Rockchip DRM master device

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip-drm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sandy Huang <hjc@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The Rockchip DRM master device is a virtual device needed to list all vop devices or other display interface nodes that comprise the graphics subsystem.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rockchip,display-subsystem"

ports — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Maximum number of items (maxItems): 1

Should contain a list of phandles pointing to display interface port of vop devices. vop definitions as defined in Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml

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) #

display-subsystem {
    compatible = "rockchip,display-subsystem";
    ports = <&vopl_out>, <&vopb_out>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only)

Rockchip SoC display controller (VOP)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip-vop.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

VOP (Video Output Processor) is the display controller for the Rockchip series of SoCs which transfers the image data from a video memory buffer to an external LCD interface.

Maintainers (maintainers): "Sandy Huang <hjc@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,px30-vop-big", "rockchip,px30-vop-lit", "rockchip,rk3036-vop", "rockchip,rk3066-vop", "rockchip,rk3126-vop", "rockchip,rk3188-vop", "rockchip,rk3228-vop", "rockchip,rk3288-vop", "rockchip,rk3328-vop", "rockchip,rk3366-vop", "rockchip,rk3368-vop", "rockchip,rk3399-vop-big", "rockchip,rk3399-vop-lit", "rockchip,rk3506-vop", "rockchip,rv1126-vop"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Must contain one entry corresponding to the base address and length of the register space.

Item 2

Can optionally contain a second entry corresponding to the CRTC gamma LUT address.

interrupts — required here #

Maximum number of items (maxItems): 1

The VOP interrupt is shared by several interrupt sources, such as frame start (VSYNC), line flag and other status interrupts.

clocks — required here #

Array item rules (items) #

Item 1

Clock for ddr buffer transfer.

Item 2

Pixel clock.

Item 3

Clock for the ahb bus to R/W the phy regs.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "aclk_vop"

Item 2

Exact value (const): "dclk_vop"

Item 3

Exact value (const): "hclk_vop"

resets — required here #

Maximum number of items (maxItems): 3

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "axi"

Item 2

Exact value (const): "ahb"

Item 3

Exact value (const): "dclk"

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

iommus — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "reset-names", "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3288-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/rk3288-power.h>
vopb: vopb@ff930000 {
  compatible = "rockchip,rk3288-vop";
  reg = <0xff930000 0x19c>,
        <0xff931000 0x1000>;
  interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&cru ACLK_VOP0>,
           <&cru DCLK_VOP0>,
           <&cru HCLK_VOP0>;
  clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
  power-domains = <&power RK3288_PD_VIO>;
  resets = <&cru SRST_LCDC1_AXI>,
           <&cru SRST_LCDC1_AHB>,
           <&cru SRST_LCDC1_DCLK>;
  reset-names = "axi", "ahb", "dclk";
  iommus = <&vopb_mmu>;
  vopb_out: port {
    #address-cells = <1>;
    #size-cells = <0>;
    vopb_out_edp: endpoint@0 {
      reg = <0>;
      remote-endpoint = <&edp_in_vopb>;
    };
    vopb_out_hdmi: endpoint@1 {
      reg = <1>;
      remote-endpoint = <&hdmi_in_vopb>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Rockchip SoC display controller (VOP2)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / rockchip

Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip-vop2.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

VOP2 (Video Output Processor v2) is the display controller for the Rockchip series of SoCs which transfers the image data from a video memory buffer to an external LCD interface.

Maintainers (maintainers): "Sandy Huang <hjc@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>", "Andy Yan <andyshrk@163.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3566-vop", "rockchip,rk3568-vop", "rockchip,rk3576-vop", "rockchip,rk3588-vop"

reg — required here #

Array item rules (items) #

Item 1

Must contain one entry corresponding to the base address and length of the register space.

Item 2

Can optionally contain a second entry corresponding to the CRTC gamma LUT address.

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "vop"

Item 2

Exact value (const): "gamma-lut"

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

For VOP version under rk3576, the interrupt is shared by several interrupt sources, such as frame start (VSYNC), line flag and other interrupt status. For VOP version from rk3576 there is a system interrupt for bus error, and every video port has it's independent interrupts for vsync and other video port related error interrupts.

interrupt-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "sys"

Item 2

Exact value (const): "vp0"

Item 3

Exact value (const): "vp1"

Item 4

Exact value (const): "vp2"

clocks — required here #

Minimum number of items (minItems): 5

Array item rules (items) #

Item 1

Clock for ddr buffer transfer via axi.

Item 2

Clock for the ahb bus to R/W the regs.

Item 3

Pixel clock for video port 0.

Item 4

Pixel clock for video port 1.

Item 5

Pixel clock for video port 2.

Item 6

This rule adds no constraints.

Item 7

This rule adds no constraints.

Item 8

This rule adds no constraints.

Item 9

This rule adds no constraints.

clock-names — required here #

Minimum number of items (minItems): 5

Array item rules (items) #

Item 1

Exact value (const): "aclk"

Item 2

Exact value (const): "hclk"

Item 3

Exact value (const): "dclk_vp0"

Item 4

Exact value (const): "dclk_vp1"

Item 5

Exact value (const): "dclk_vp2"

Item 6

This rule adds no constraints.

Item 7

This rule adds no constraints.

Item 8

This rule adds no constraints.

Item 9

This rule adds no constraints.

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to GRF regs used for control the polarity of dclk/hsync/vsync of DPI, also used for query vop memory bisr enable status, etc.

rockchip,vo1-grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to VO GRF regs used for control the polarity of dclk/hsync/vsync of hdmi on rk3588.

rockchip,vop-grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to VOP GRF regs used for control data path between vopr and hdmi/edp.

rockchip,pmu — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to PMU GRF used for query vop memory bisr status on rk3588.

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties matching a name pattern (patternProperties) #

^port@[0-3]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoint of VP0/1/2/3.

Required in this object (required): "port@0"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

iommus — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names", "ports"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rockchip,rk3566-vop", "rockchip,rk3568-vop"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 5

clock-names — not listed as required here

Maximum number of items (maxItems): 5

interrupts — not listed as required here

Maximum number of items (maxItems): 1

interrupt-names — not listed as required here

false — Not permitted by this property rule.

ports — not listed as required here

Required in this object (required): "port@0", "port@1", "port@2"

rockchip,vo1-grf — not listed as required here

false — Not permitted by this property rule.

rockchip,vop-grf — not listed as required here

false — Not permitted by this property rule.

rockchip,pmu — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "rockchip,grf"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rockchip,rk3576-vop"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 5

Array item rules (items)

Item 1

This rule adds no constraints.

Item 2

This rule adds no constraints.

Item 3

This rule adds no constraints.

Item 4

This rule adds no constraints.

Item 5

This rule adds no constraints.

Item 6

Alternative pixel clock provided by HDMI PHY PLL.

clock-names — not listed as required here

Minimum number of items (minItems): 5

Array item rules (items)

Item 1

This rule adds no constraints.

Item 2

This rule adds no constraints.

Item 3

This rule adds no constraints.

Item 4

This rule adds no constraints.

Item 5

This rule adds no constraints.

Item 6

Exact value (const): "pll_hdmiphy0"

interrupts — not listed as required here

Minimum number of items (minItems): 4

interrupt-names — not listed as required here

Minimum number of items (minItems): 4

ports — not listed as required here

Required in this object (required): "port@0", "port@1", "port@2"

rockchip,vo1-grf — not listed as required here

false — Not permitted by this property rule.

rockchip,vop-grf — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "rockchip,grf", "rockchip,pmu"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3588-vop"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 7

Array item rules (items)

Item 1

This rule adds no constraints.

Item 2

This rule adds no constraints.

Item 3

This rule adds no constraints.

Item 4

This rule adds no constraints.

Item 5

This rule adds no constraints.

Item 6

Pixel clock for video port 3.

Item 7

Peripheral(vop grf/dsi) clock.

Item 8

Alternative pixel clock provided by HDMI0 PHY PLL.

Item 9

Alternative pixel clock provided by HDMI1 PHY PLL.

clock-names — not listed as required here

Minimum number of items (minItems): 7

Array item rules (items)

Item 1

This rule adds no constraints.

Item 2

This rule adds no constraints.

Item 3

This rule adds no constraints.

Item 4

This rule adds no constraints.

Item 5

This rule adds no constraints.

Item 6

Exact value (const): "dclk_vp3"

Item 7

Exact value (const): "pclk_vop"

Item 8

Exact value (const): "pll_hdmiphy0"

Item 9

Exact value (const): "pll_hdmiphy1"

interrupts — not listed as required here

Maximum number of items (maxItems): 1

interrupt-names — not listed as required here

false — Not permitted by this property rule.

ports — not listed as required here

Required in this object (required): "port@0", "port@1", "port@2", "port@3"

Required in this object (required): "rockchip,grf", "rockchip,vo1-grf", "rockchip,vop-grf", "rockchip,pmu"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3568-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/rk3568-power.h>
bus {
    #address-cells = <2>;
    #size-cells = <2>;
    vop: vop@fe040000 {
        compatible = "rockchip,rk3568-vop";
        reg = <0x0 0xfe040000 0x0 0x3000>, <0x0 0xfe044000 0x0 0x1000>;
        reg-names = "vop", "gamma-lut";
        interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&cru ACLK_VOP>,
                 <&cru HCLK_VOP>,
                 <&cru DCLK_VOP0>,
                 <&cru DCLK_VOP1>,
                 <&cru DCLK_VOP2>;
        clock-names = "aclk",
                      "hclk",
                      "dclk_vp0",
                      "dclk_vp1",
                      "dclk_vp2";
        power-domains = <&power RK3568_PD_VO>;
        rockchip,grf = <&grf>;
        iommus = <&vop_mmu>;
        vop_out: ports {
            #address-cells = <1>;
            #size-cells = <0>;
            vp0: port@0 {
                reg = <0>;
                #address-cells = <1>;
                #size-cells = <0>;
            };
            vp1: port@1 {
                reg = <1>;
                #address-cells = <1>;
                #size-cells = <0>;
            };
            vp2: port@2 {
                reg = <2>;
                #address-cells = <1>;
                #size-cells = <0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 58: See compatible-specific constraints below.

Samsung Exynos SoC HDMI DDC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / samsung

Schema identifier ($id): "http://devicetree.org/schemas/display/samsung/samsung,exynos-hdmi-ddc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "samsung,exynos4210-hdmiddc"

Rule 2

Exact value (const): "samsung,exynos5-hdmiddc"

Deprecated (deprecated): true

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    ddc@50 {
        compatible = "samsung,exynos4210-hdmiddc";
        reg = <0x50>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos SoC HDMI

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / samsung

Schema identifier ($id): "http://devicetree.org/schemas/display/samsung/samsung,exynos-hdmi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos4210-hdmi", "samsung,exynos4212-hdmi", "samsung,exynos5420-hdmi", "samsung,exynos5433-hdmi"

clocks — required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 10

clock-names — required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 10

ddc — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the HDMI DDC node.

hdmi-en-supply — not listed as required here #

Provides voltage source for DCC lines available on HDMI connector. When there is no power provided for DDC epprom, some TV-sets do not pulls up HPD (hot plug detect) line, what causes HDMI block to stay turned off. When provided, the regulator allows TV-set correctly signal HPD event.

hpd-gpios — required here #

Maximum number of items (maxItems): 1

A GPIO line connected to HPD

interrupts — required here #

Maximum number of items (maxItems): 1

phy — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the HDMI PHY node.

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Contains a port which is connected to mic node.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

samsung,syscon-phandle — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the PMU system controller node.

samsung,sysreg-phandle — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to DISP system controller interface.

#sound-dai-cells — required here #

Exact value (const): 0

vdd-supply — required here #

VDD 1.0V HDMI TX.

vdd_osc-supply — required here #

VDD 1.8V HDMI OSC.

vdd_pll-supply — required here #

VDD 1.0V HDMI PLL.

Required in this object (required): "compatible", "clocks", "clock-names", "ddc", "hpd-gpios", "interrupts", "phy", "reg", "samsung,syscon-phandle", "#sound-dai-cells", "vdd-supply", "vdd_osc-supply", "vdd_pll-supply"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-hdmi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Gate of HDMI IP APB bus.

Item 2

Gate of HDMI-PHY IP APB bus.

Item 3

Gate of HDMI TMDS clock.

Item 4

Gate of HDMI pixel clock.

Item 5

TMDS clock generated by HDMI-PHY.

Item 6

MUX used to switch between oscclk and tmds_clko, respectively if HDMI-PHY is off and operational.

Item 7

Pixel clock generated by HDMI-PHY.

Item 8

MUX used to switch between oscclk and pixel_clko, respectively if HDMI-PHY is off and operational.

Item 9

Oscillator clock, used as parent of following *_user clocks in case HDMI-PHY is not operational.

Item 10

Gate of HDMI SPDIF clock.

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hdmi_pclk"

Item 2

Exact value (const): "hdmi_i_pclk"

Item 3

Exact value (const): "i_tmds_clk"

Item 4

Exact value (const): "i_pixel_clk"

Item 5

Exact value (const): "tmds_clko"

Item 6

Exact value (const): "tmds_clko_user"

Item 7

Exact value (const): "pixel_clko"

Item 8

Exact value (const): "pixel_clko_user"

Item 9

Exact value (const): "oscclk"

Item 10

Exact value (const): "i_spdif_clk"

Required in this object (required): "samsung,sysreg-phandle"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Gate of HDMI IP bus clock.

Item 2

Gate of HDMI special clock.

Item 3

Pixel special clock, one of the two possible inputs of HDMI clock mux.

Item 4

HDMI PHY clock output, one of two possible inputs of HDMI clock mux.

Item 5

It is required by the driver to switch between the 2 parents i.e. sclk_pixel and sclk_hdmiphy. If hdmiphy is stable after configuration, parent is set to sclk_hdmiphy else sclk_pixel.

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hdmi"

Item 2

Exact value (const): "sclk_hdmi"

Item 3

Exact value (const): "sclk_pixel"

Item 4

Exact value (const): "sclk_hdmiphy"

Item 5

Exact value (const): "mout_hdmi"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5433.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

hdmi@13970000 {
    compatible = "samsung,exynos5433-hdmi";
    reg = <0x13970000 0x70000>;
    interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cmu_disp CLK_PCLK_HDMI>,
             <&cmu_disp CLK_PCLK_HDMIPHY>,
             <&cmu_disp CLK_PHYCLK_HDMIPHY_TMDS_CLKO>,
             <&cmu_disp CLK_PHYCLK_HDMI_PIXEL>,
             <&cmu_disp CLK_PHYCLK_HDMIPHY_TMDS_CLKO_PHY>,
             <&cmu_disp CLK_MOUT_PHYCLK_HDMIPHY_TMDS_CLKO_USER>,
             <&cmu_disp CLK_PHYCLK_HDMIPHY_PIXEL_CLKO_PHY>,
             <&cmu_disp CLK_MOUT_PHYCLK_HDMIPHY_PIXEL_CLKO_USER>,
             <&xxti>,
             <&cmu_disp CLK_SCLK_HDMI_SPDIF>;
    clock-names = "hdmi_pclk",
                  "hdmi_i_pclk",
                  "i_tmds_clk",
                  "i_pixel_clk",
                  "tmds_clko",
                  "tmds_clko_user",
                  "pixel_clko",
                  "pixel_clko_user",
                  "oscclk",
                  "i_spdif_clk";
    phy = <&hdmiphy>;
    ddc = <&hsi2c_11>;
    samsung,syscon-phandle = <&pmu_system_controller>;
    samsung,sysreg-phandle = <&syscon_disp>;
    #sound-dai-cells = <0>;

    hpd-gpios = <&gpa3 0 GPIO_ACTIVE_HIGH>;
    vdd-supply = <&ldo6_reg>;
    vdd_osc-supply = <&ldo7_reg>;
    vdd_pll-supply = <&ldo6_reg>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            hdmi_to_tv: endpoint {
                remote-endpoint = <&tv_to_hdmi>;
            };
        };

        port@1 {
            reg = <1>;
            hdmi_to_mhl: endpoint {
                remote-endpoint = <&mhl_to_hdmi>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Samsung Exynos SoC Mixer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / samsung

Schema identifier ($id): "http://devicetree.org/schemas/display/samsung/samsung,exynos-mixer.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

Samsung Exynos SoC Mixer is responsible for mixing and blending multiple data inputs before passing it to an output device. The output is passed to HDMI.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "samsung,exynos4210-mixer", "samsung,exynos4212-mixer", "samsung,exynos5250-mixer", "samsung,exynos5420-mixer"

Rule 2

Exact value (const): "samsung,exynos5-mixer"

Deprecated (deprecated): true

clocks — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Gate of Mixer IP bus clock.

Item 2

Gate of HDMI IP bus clock, needed together with sclk_hdmi.

Item 3

HDMI Special clock, one of the two possible inputs of mixer mux.

Item 4

Video Processor clock.

Item 5

Mixer mux clock.

Item 6

Mixer Special clock.

clock-names — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Exact value (const): "mixer"

Item 2

Exact value (const): "hdmi"

Item 3

Exact value (const): "sclk_hdmi"

Item 4

Exact value (const): "vp"

Item 5

Exact value (const): "mout_mixer"

Item 6

Exact value (const): "sclk_mixer"

interconnects — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

iommus — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Mixer memory region.

Item 2

Video Processor memory region.

Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos4210-mixer - samsung,exynos4212-mixer"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

reg — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos4212-mixer"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

reg — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos5-mixer", "samsung,exynos5250-mixer", "samsung,exynos5420-mixer"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

reg — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5250.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

mixer@14450000 {
    compatible = "samsung,exynos5250-mixer";
    reg = <0x14450000 0x10000>;
    interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clock CLK_MIXER>,
             <&clock CLK_HDMI>,
             <&clock CLK_SCLK_HDMI>;
    clock-names = "mixer",
                  "hdmi",
                  "sclk_hdmi";
    iommus = <&sysmmu_tv>;
    power-domains = <&pd_disp1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos5250/Exynos5420 SoC Display Port

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / samsung

Schema identifier ($id): "http://devicetree.org/schemas/display/samsung/samsung,exynos5-dp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,exynos5-dp"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dp"

display-timings — not listed as required here #

Shared schema rule ($ref): /schemas/display/panel/display-timings.yaml#

interrupts — required here #

Maximum number of items (maxItems): 1

hpd-gpios — not listed as required here #

Hotplug detect GPIO. Indicates which GPIO should be used for hotplug detection

phys — required here #

Maximum number of items (maxItems): 1

phy-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dp"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

interlaced — not listed as required here #

Value type (type): "boolean"

Deprecated (deprecated): true

Interlace scan mode. Progressive if defined, interlaced if not defined.

vsync-active-high — not listed as required here #

Value type (type): "boolean"

Deprecated (deprecated): true

VSYNC polarity configuration. High if defined, low if not defined

hsync-active-high — not listed as required here #

Value type (type): "boolean"

Deprecated (deprecated): true

HSYNC polarity configuration. High if defined, low if not defined

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties and child nodes (properties) #

port — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Port node with one endpoint connected to a dp-connector node.

Required in this object (required): "port"

samsung,hpd-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Deprecated (deprecated): true

samsung,ycbcr-coeff — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Deprecated (deprecated): true

Deprecated prop that can parsed from drm_display_mode.

samsung,dynamic-range — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Deprecated (deprecated): true

Deprecated prop that can parsed from drm_display_mode.

samsung,color-space — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Deprecated (deprecated): true

Deprecated prop that can parsed from drm_display_info.

samsung,color-depth — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Deprecated (deprecated): true

Deprecated prop that can parsed from drm_display_info.

samsung,link-rate — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Deprecated (deprecated): true

Deprecated prop that can reading from monitor by dpcd method.

samsung,lane-count — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Deprecated (deprecated): true

Deprecated prop that can reading from monitor by dpcd method.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "phys", "phy-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5250.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

dp-controller@145b0000 {
    compatible = "samsung,exynos5-dp";
    reg = <0x145b0000 0x1000>;
    clocks = <&clock CLK_DP>;
    clock-names = "dp";
    interrupts = <10 3>;
    interrupt-parent = <&combiner>;
    phys = <&dp_phy>;
    phy-names = "dp";
    pinctrl-0 = <&dp_hpd>;
    pinctrl-names = "default";
    power-domains = <&pd_disp1>;

    samsung,color-space = <0>;
    samsung,color-depth = <1>;
    samsung,link-rate = <0x0a>;
    samsung,lane-count = <2>;
    hpd-gpios = <&gpx0 7 GPIO_ACTIVE_HIGH>;

    ports {
        port {
            dp_out: endpoint {
                remote-endpoint = <&bridge_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Samsung Exynos5433 SoC Display and Enhancement Controller (DECON)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / samsung

Schema identifier ($id): "http://devicetree.org/schemas/display/samsung/samsung,exynos5433-decon.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

DECON (Display and Enhancement Controller) is the Display Controller for the Exynos5433 series of SoCs which transfers the image data from a video memory buffer to an external LCD interface.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos5433-decon", "samsung,exynos5433-decon-tv"

clocks — required here #

Maximum number of items (maxItems): 11

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "aclk_decon"

Item 3

Exact value (const): "aclk_smmu_decon0x"

Item 4

Exact value (const): "aclk_xiu_decon0x"

Item 5

Exact value (const): "pclk_smmu_decon0x"

Item 6

Exact value (const): "aclk_smmu_decon1x"

Item 7

Exact value (const): "aclk_xiu_decon1x"

Item 8

Exact value (const): "pclk_smmu_decon1x"

Item 9

Exact value (const): "sclk_decon_vclk"

Item 10

Exact value (const): "sclk_decon_eclk"

Item 11

Exact value (const): "dsd"

interrupts — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 4

Interrupts depend on mode of work: - video mode: vsync - command mode: lcd_sys - command mode with software trigger: lcd_sys, te

interrupt-names — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Exact value (const): "fifo"

Item 2

Exact value (const): "vsync"

Item 3

Exact value (const): "lcd_sys"

Item 4

Exact value (const): "te"

iommus — not listed as required here #

Maximum number of items (maxItems): 2

iommu-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "m0"

Item 2

Exact value (const): "m1"

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Contains a port which is connected to mic node.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

samsung,disp-sysreg — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to DISP system controller interface.

Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "interrupt-names", "ports", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5433.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

display-controller@13800000 {
    compatible = "samsung,exynos5433-decon";
    reg = <0x13800000 0x2104>;
    clocks = <&cmu_disp CLK_PCLK_DECON>,
             <&cmu_disp CLK_ACLK_DECON>,
             <&cmu_disp CLK_ACLK_SMMU_DECON0X>,
             <&cmu_disp CLK_ACLK_XIU_DECON0X>,
             <&cmu_disp CLK_PCLK_SMMU_DECON0X>,
             <&cmu_disp CLK_ACLK_SMMU_DECON1X>,
             <&cmu_disp CLK_ACLK_XIU_DECON1X>,
             <&cmu_disp CLK_PCLK_SMMU_DECON1X>,
             <&cmu_disp CLK_SCLK_DECON_VCLK>,
             <&cmu_disp CLK_SCLK_DECON_ECLK>,
             <&cmu_disp CLK_SCLK_DSD>;
    clock-names = "pclk",
                  "aclk_decon",
                  "aclk_smmu_decon0x",
                  "aclk_xiu_decon0x",
                  "pclk_smmu_decon0x",
                  "aclk_smmu_decon1x",
                  "aclk_xiu_decon1x",
                  "pclk_smmu_decon1x",
                  "sclk_decon_vclk",
                  "sclk_decon_eclk",
                  "dsd";
    power-domains = <&pd_disp>;
    interrupt-names = "fifo", "vsync", "lcd_sys";
    interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
    samsung,disp-sysreg = <&syscon_disp>;
    iommus = <&sysmmu_decon0x>, <&sysmmu_decon1x>;
    iommu-names = "m0", "m1";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            decon_to_mic: endpoint {
                remote-endpoint = <&mic_to_decon>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos5433 SoC Mobile Image Compressor (MIC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / samsung

Schema identifier ($id): "http://devicetree.org/schemas/display/samsung/samsung,exynos5433-mic.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

MIC (Mobile Image Compressor) resides between DECON and MIPI DSI. MIPI DSI is not capable of transferring high resoltuion frame data as DECON can send. MIC solves this problem by compressing the frame data by 1/2 before it is transferred through MIPI DSI. The compressed frame data must be uncompressed in the panel PCB.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,exynos5433-mic"

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk_mic0"

Item 2

Exact value (const): "sclk_rgb_vclk_to_mic0"

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Contains a port which is connected to mic node.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

samsung,disp-syscon — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to DISP system controller interface.

Required in this object (required): "compatible", "clocks", "clock-names", "ports", "reg", "samsung,disp-syscon"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5433.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

image-processor@13930000 {
    compatible = "samsung,exynos5433-mic";
    reg = <0x13930000 0x48>;
    clocks = <&cmu_disp CLK_PCLK_MIC0>,
             <&cmu_disp CLK_SCLK_RGB_VCLK_TO_MIC0>;
    clock-names = "pclk_mic0",
                  "sclk_rgb_vclk_to_mic0";
    power-domains = <&pd_disp>;
    samsung,disp-syscon = <&syscon_disp>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            mic_to_decon: endpoint {
                remote-endpoint = <&decon_to_mic>;
            };
        };

        port@1 {
            reg = <1>;
            mic_to_dsi: endpoint {
                remote-endpoint = <&dsi_to_mic>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Samsung Exynos7 SoC Display and Enhancement Controller (DECON)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / samsung

Schema identifier ($id): "http://devicetree.org/schemas/display/samsung/samsung,exynos7-decon.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

DECON (Display and Enhancement Controller) is the Display Controller for the Exynos7 series of SoCs which transfers the image data from a video memory buffer to an external LCD interface.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos7-decon", "samsung,exynos7870-decon"

clocks — required here #

Maximum number of items (maxItems): 4

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk_decon0"

Item 2

Exact value (const): "aclk_decon0"

Item 3

Exact value (const): "decon0_eclk"

Item 4

Exact value (const): "decon0_vclk"

display-timings — not listed as required here #

Shared schema rule ($ref): ../panel/display-timings.yaml#

i80-if-timings — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

timing configuration for lcd i80 interface support

Properties and child nodes (properties) #

cs-setup — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Clock cycles for the active period of address signal is enabled until chip select is enabled.

Default value (default): 0

wr-active — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Clock cycles for the active period of CS is enabled.

Default value (default): 1

wr-hold — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Clock cycles for the active period of CS is disabled until write signal is disabled.

Default value (default): 0

wr-setup — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Clock cycles for the active period of CS signal is enabled until write signal is enabled.

Default value (default): 0

interrupts — required here #

Array item rules (items) #

Item 1

FIFO level

Item 2

VSYNC

Item 3

LCD system

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "fifo"

Item 2

Exact value (const): "vsync"

Item 3

Exact value (const): "lcd_sys"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

A phandle to a node describing a reserved framebuffer memory region. For example, the splash memory region set up by the bootloader.

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output port which is connected to either a Mobile Image Compressor (MIC) or a DSI Master device.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "interrupt-names", "port", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos7-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

display-controller@13930000 {
    compatible = "samsung,exynos7-decon";
    reg = <0x13930000 0x1000>;
    interrupt-names = "fifo", "vsync", "lcd_sys";
    interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clock_disp 100>, /* PCLK_DECON_INT */
             <&clock_disp 101>, /* ACLK_DECON_INT */
             <&clock_disp 102>, /* SCLK_DECON_INT_ECLK */
             <&clock_disp 103>; /* SCLK_DECON_INT_EXTCLKPLL */
    clock-names = "pclk_decon0",
                  "aclk_decon0",
                  "decon0_eclk",
                  "decon0_vclk";
    pinctrl-0 = <&lcd_clk &pwm1_out>;
    pinctrl-names = "default";
    port {
        decon_to_dsi: endpoint {
            remote-endpoint = <&dsi_to_decon>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung S3C/S5P/Exynos SoC Fully Interactive Mobile Display (FIMD)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / samsung

Schema identifier ($id): "http://devicetree.org/schemas/display/samsung/samsung,fimd.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,s3c6400-fimd", "samsung,s5pv210-fimd", "samsung,exynos3250-fimd", "samsung,exynos4210-fimd", "samsung,exynos5250-fimd", "samsung,exynos5420-fimd"

#address-cells — not listed as required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "sclk_fimd"

Item 2

Exact value (const): "fimd"

display-timings — not listed as required here #

Shared schema rule ($ref): ../panel/display-timings.yaml#

i80-if-timings — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Timing configuration for lcd i80 interface support.
The parameters are defined as::
VCLK(internal)  __|??????|_____|??????|_____|??????|_____|??????|_____|??
                  :            :            :            :            :
Address Output  --:<XXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XX
                  | cs-setup+1 |            :            :            :
                  |<---------->|            :            :            :
Chip Select     ???????????????|____________:____________:____________|??
                               | wr-setup+1 |            | wr-hold+1  |
                               |<---------->|            |<---------->|
Write Enable    ????????????????????????????|____________|???????????????
                                            | wr-active+1|
                                            |<---------->|
Video Data      ----------------------------<XXXXXXXXXXXXXXXXXXXXXXXXX>--

Properties and child nodes (properties) #

cs-setup — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Clock cycles for the active period of address signal is enabled until chip select is enabled.

Default value (default): 0

wr-active — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Clock cycles for the active period of CS is enabled.

Default value (default): 1

wr-hold — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Clock cycles for the active period of CS is disabled until write signal is disabled.

Default value (default): 0

wr-setup — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Clock cycles for the active period of CS signal is enabled until write signal is enabled.

Default value (default): 0

iommus — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

iommu-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "m0"

Item 2

Exact value (const): "m1"

interrupts — required here #

Array item rules (items) #

Item 1

FIFO level

Item 2

VSYNC

Item 3

LCD system

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "fifo"

Item 2

Exact value (const): "vsync"

Item 3

Exact value (const): "lcd_sys"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

samsung,invert-vden — not listed as required here #

Value type (type): "boolean"

Video enable signal is inverted.

samsung,invert-vclk — not listed as required here #

Value type (type): "boolean"

Video clock signal is inverted.

samsung,sysreg — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to System Register syscon.

#size-cells — not listed as required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^port@[0-4]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Contains ports with port with index:: 0 - for CAMIF0 input, 1 - for CAMIF1 input, 2 - for CAMIF2 input, 3 - for parallel output, 4 - for write-back interface

Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "interrupt-names", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5420-fimd"

When the condition matches (then) #

Properties and child nodes (properties)

iommus — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos4.h>

fimd@11c00000 {
    compatible = "samsung,exynos4210-fimd";
    interrupt-parent = <&combiner>;
    reg = <0x11c00000 0x20000>;
    interrupt-names = "fifo", "vsync", "lcd_sys";
    interrupts = <11 0>, <11 1>, <11 2>;
    clocks = <&clock CLK_SCLK_FIMD0>, <&clock CLK_FIMD0>;
    clock-names = "sclk_fimd", "fimd";
    power-domains = <&pd_lcd0>;
    iommus = <&sysmmu_fimd0>;
    samsung,sysreg = <&sys_reg>;

    #address-cells = <1>;
    #size-cells = <0>;

    samsung,invert-vden;
    samsung,invert-vclk;

    pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
    pinctrl-names = "default";

    port@3 {
        reg = <3>;

        fimd_dpi_ep: endpoint {
            remote-endpoint = <&lcd_ep>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Unisoc DRM master device

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / sprd

Schema identifier ($id): "http://devicetree.org/schemas/display/sprd/sprd,display-subsystem.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kevin Tang <kevin.tang@unisoc.com>"

The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem.

Unisoc's display pipeline have several components as below description, multi display controllers and corresponding physical interfaces. For different display scenarios, dpu0 and dpu1 maybe binding to different encoder.

E.g: dpu0 and dpu1 both binding to DSI for dual mipi-dsi display; dpu0 binding to DSI for primary display, and dpu1 binding to DP for external display;

        +-----------------------------------------+
        |                                         |
        |                            +---------+  |
+----+  |   +----+    +---------+    |DPHY/CPHY|  |   +------+
|    +----->+dpu0+--->+MIPI|DSI +--->+Combo    +----->+Panel0|
|AXI |  |   +----+    +---------+    +---------+  |   +------+
|    |  |                  ^                      |
|    |  |                  |                      |
|    |  |      +-----------+                      |
|    |  |      |                                  |
|APB |  |   +--+-+    +-----------+    +---+      |   +------+
|    +----->+dpu1+--->+DisplayPort+--->+PHY+--------->+Panel1|
|    |  |   +----+    +-----------+    +---+      |   +------+
+----+  |                                         |
        +-----------------------------------------+

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sprd,display-subsystem"

ports — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Maximum number of items (maxItems): 1

Should contain a list of phandles pointing to display interface port of DPU devices.

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) #

display-subsystem {
    compatible = "sprd,display-subsystem";
    ports = <&dpu_out>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Unisoc Sharkl3 Display Processor Unit (DPU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / sprd

Schema identifier ($id): "http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kevin Tang <kevin.tang@unisoc.com>"

DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sprd,sharkl3-dpu"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "clk_src_128m"

Item 2

Exact value (const): "clk_src_384m"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

iommus — not listed as required here #

Maximum number of items (maxItems): 1

port — required here #

Value type (type): "object"

A port node with endpoint definitions as defined in Documentation/devicetree/bindings/media/video-interfaces.txt. That port should be the output endpoint, usually output to the associated DSI.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "port"

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/clock/sprd,sc9860-clk.h>
dpu: dpu@63000000 {
    compatible = "sprd,sharkl3-dpu";
    reg = <0x63000000 0x1000>;
    interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
    clock-names = "clk_src_128m", "clk_src_384m";

    clocks = <&pll CLK_TWPLL_128M>,
      <&pll CLK_TWPLL_384M>;

    dpu_port: port {
        dpu_out: endpoint {
            remote-endpoint = <&dsi_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Unisoc MIPI DSI Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / sprd

Schema identifier ($id): "http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dsi-host.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kevin Tang <kevin.tang@unisoc.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sprd,sharkl3-dsi-host"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 2

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "clk_src_96m"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

ports — required here #

Value type (type): "object"

Properties and child nodes (properties) #

#address-cells — required here

Exact value (const): 1

#size-cells — required here

Exact value (const): 0

port@0 — required here

Value type (type): "object"

A port node with endpoint definitions as defined in Documentation/devicetree/bindings/media/video-interfaces.txt. That port should be the input endpoint, usually coming from the associated DPU.

Required in this object (required): "#address-cells", "#size-cells", "port@0"

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", "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/clock/sprd,sc9860-clk.h>
dsi: dsi@63100000 {
    compatible = "sprd,sharkl3-dsi-host";
    reg = <0x63100000 0x1000>;
    interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
      <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
    clock-names = "clk_src_96m";
    clocks = <&pll CLK_TWPLL_96M>;
    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
            reg = <0>;
            dsi_in: endpoint {
                remote-endpoint = <&dpu_out>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra MIPI pad calibration controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra114-mipi.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): "^mipi@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "nvidia,tegra114-mipi", "nvidia,tegra124-mipi", "nvidia,tegra132-mipi", "nvidia,tegra210-mipi", "nvidia,tegra186-mipi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

module clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mipi-cal"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

#nvidia,mipi-calibrate-cells — required here #

The number of cells in a MIPI calibration specifier. Should be 1. The single cell specifies a bitmask of the pads that need to be calibrated for a given device.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Exact value (const): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clocks", "#nvidia,mipi-calibrate-cells"

Examples (examples) #

#include <dt-bindings/clock/tegra114-car.h>

mipi@700e3000 {
    compatible = "nvidia,tegra114-mipi";
    reg = <0x700e3000 0x100>;
    clocks = <&tegra_car TEGRA114_CLK_MIPI_CAL>;
    clock-names = "mipi-cal";
    #nvidia,mipi-calibrate-cells = <1>;
};

dsia: dsi@54300000 {
    compatible = "nvidia,tegra114-dsi";
    reg = <0x54300000 0x00040000>;
    clocks = <&tegra_car TEGRA114_CLK_DSIA>,
             <&tegra_car TEGRA114_CLK_DSIALP>,
             <&tegra_car TEGRA114_CLK_PLL_D_OUT0>;
    clock-names = "dsi", "lp", "parent";
    resets = <&tegra_car 48>;
    reset-names = "dsi";
    nvidia,mipi-calibrate = <&mipi 0x060>; /* DSIA & DSIB pads */
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra Security co-processor

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra114-tsec.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Svyatoslav Ryhel <clamor95@gmail.com>", "Thierry Reding <thierry.reding@gmail.com>"

Tegra Security co-processor, an embedded security processor used mainly to manage the HDCP encryption and keys on the HDMI link.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra114-tsec", "nvidia,tegra124-tsec", "nvidia,tegra210-tsec"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-tsec"

Item 2

Exact value (const): "nvidia,tegra124-tsec"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

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 #

Maximum number of items (maxItems): 1

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", "resets"

Examples (examples) #

#include <dt-bindings/clock/tegra114-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

tsec@54500000 {
    compatible = "nvidia,tegra114-tsec";
    reg = <0x54500000 0x00040000>;
    interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&tegra_car TEGRA114_CLK_TSEC>;
    resets = <&tegra_car TEGRA114_CLK_TSEC>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra DisplayPort AUX Interface

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra124-dpaux.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 Tegra Display Port Auxiliary (DPAUX) pad controller manages two pins which can be assigned to either the DPAUX channel or to an I2C controller.

When configured for DisplayPort AUX operation, the DPAUX controller can also be used to communicate with a DisplayPort device using the AUX channel.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^dpaux@[0-9a-f]+$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra124-dpaux", "nvidia,tegra210-dpaux", "nvidia,tegra186-dpaux", "nvidia,tegra194-dpaux"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-dpaux"

Item 2

Exact value (const): "nvidia,tegra124-dpaux"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

clock input for the DPAUX hardware

Item 2

reference clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dpaux"

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): "dpaux"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

i2c-bus — not listed as required here #

Subnode where I2C slave devices are listed. This subnode must be always present. If there are no I2C slave devices, an empty node should be added. See ../../i2c/i2c.yaml for more information.

Value type (type): "object"

aux-bus — not listed as required here #

Shared schema rule ($ref): /schemas/display/dp-aux-bus.yaml#

vdd-supply — not listed as required here #

phandle of a supply that powers the DisplayPort link

Properties matching a name pattern (patternProperties) #

^pinmux-[a-z0-9]+$ — name matches this regular expression #

Since only three configurations are possible, only three child nodes are needed to describe the pin mux'ing options for the DPAUX pads. Furthermore, given that the pad functions are only applicable to a single set of pads, the child nodes only need to describe the pad group the functions are being applied to rather than the individual pads.

Value type (type): "object"

Properties and child nodes (properties) #

groups — required here

Exact value (const): "dpaux-io"

function — required here

Allowed values (enum): "aux", "i2c", "off"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "groups", "function"

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/tegra210-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

dpaux: dpaux@545c0000 {
    compatible = "nvidia,tegra210-dpaux";
    reg = <0x545c0000 0x00040000>;
    interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&tegra_car TEGRA210_CLK_DPAUX>,
             <&tegra_car TEGRA210_CLK_PLL_DP>;
    clock-names = "dpaux", "parent";
    resets = <&tegra_car 181>;
    reset-names = "dpaux";
    power-domains = <&pd_sor>;

    state_dpaux_aux: pinmux-aux {
        groups = "dpaux-io";
        function = "aux";
    };

    state_dpaux_i2c: pinmux-i2c {
        groups = "dpaux-io";
        function = "i2c";
    };

    state_dpaux_off: pinmux-off {
        groups = "dpaux-io";
        function = "off";
    };

    i2c-bus {
        #address-cells = <1>;
        #size-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra SOR Output Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

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 here

Rule 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 here

Array 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 here

Array item rules (items)

Item 1

Exact value (const): "sor"

Item 2

Allowed values (enum): "source", "out"

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 here

Array 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 here

Array item rules (items)

Item 1

Exact value (const): "sor"

Item 2

Allowed values (enum): "source", "out"

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

NVIDIA Tegra Video Image Composer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra124-vic.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): "^vic@[0-9a-f]+$"

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra124-vic", "nvidia,tegra210-vic", "nvidia,tegra186-vic", "nvidia,tegra194-vic", "nvidia,tegra234-vic"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-vic"

Item 2

Exact value (const): "nvidia,tegra124-vic"

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

clock input for the VIC hardware

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "vic"

resets — not listed as required here #

Array item rules (items) #

Item 1

module reset

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "vic"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Description of the interconnect paths for the VIC; see ../interconnect/interconnect.txt for details.

Array item rules (items) #

Item 1

memory read client for VIC

Item 2

memory write client for VIC

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "dma-mem"

Item 2

Exact value (const): "write"

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 67: read

NVIDIA Tegra186 (and later) Display Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra186-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): "^display@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "nvidia,tegra186-dc", "nvidia,tegra194-dc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

display controller pixel clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dc"

resets — required here #

Array item rules (items) #

Item 1

display controller reset

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dc"

power-domains — required here #

Maximum number of items (maxItems): 1

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Description of the interconnect paths for the display controller; see ../interconnect/interconnect.txt for details.

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "dma-mem"

Item 2

Exact value (const): "read-1"

nvidia,outputs — required here #

A list of phandles of outputs that this display controller can drive.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

nvidia,head — required here #

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.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

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", "power-domains", "nvidia,outputs", "nvidia,head"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 57: read-0

Line 85: see nvidia,tegra186-display.yaml for examples

NVIDIA Tegra186 (and later) Display Hub

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra186-display.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): "^display-hub@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "nvidia,tegra186-display", "nvidia,tegra194-display"

#address-cells — required here #

Allowed values (enum): 1, 2

#size-cells — required here #

Allowed values (enum): 1, 2

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

clock-names — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

resets — required here #

Array item rules (items) #

Item 1

display hub reset

Item 2

window group 0 reset

Item 3

window group 1 reset

Item 4

window group 2 reset

Item 5

window group 3 reset

Item 6

window group 4 reset

Item 7

window group 5 reset

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "misc"

Item 2

Exact value (const): "wgrp0"

Item 3

Exact value (const): "wgrp1"

Item 4

Exact value (const): "wgrp2"

Item 5

Exact value (const): "wgrp3"

Item 6

Exact value (const): "wgrp4"

Item 7

Exact value (const): "wgrp5"

power-domains — required here #

Maximum number of items (maxItems): 1

ranges — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^display@[0-9a-f]+$ — name matches this regular expression #

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 here

Rule for matching array elements (contains)

Exact value (const): "nvidia,tegra186-display"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

display core clock

Item 2

display stream compression clock

Item 3

display hub clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "disp"

Item 2

Exact value (const): "dsc"

Item 3

Exact value (const): "hub"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

display core clock

Item 2

display hub clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "disp"

Item 2

Exact value (const): "hub"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "power-domains", "#address-cells", "#size-cells", "ranges"

Examples (examples) #

#include <dt-bindings/clock/tegra186-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/memory/tegra186-mc.h>
#include <dt-bindings/power/tegra186-powergate.h>
#include <dt-bindings/reset/tegra186-reset.h>

display-hub@15200000 {
    compatible = "nvidia,tegra186-display";
    reg = <0x15200000 0x00040000>;
    resets = <&bpmp TEGRA186_RESET_NVDISPLAY0_MISC>,
             <&bpmp TEGRA186_RESET_NVDISPLAY0_WGRP0>,
             <&bpmp TEGRA186_RESET_NVDISPLAY0_WGRP1>,
             <&bpmp TEGRA186_RESET_NVDISPLAY0_WGRP2>,
             <&bpmp TEGRA186_RESET_NVDISPLAY0_WGRP3>,
             <&bpmp TEGRA186_RESET_NVDISPLAY0_WGRP4>,
             <&bpmp TEGRA186_RESET_NVDISPLAY0_WGRP5>;
    reset-names = "misc", "wgrp0", "wgrp1", "wgrp2",
                  "wgrp3", "wgrp4", "wgrp5";
    clocks = <&bpmp TEGRA186_CLK_NVDISPLAY_DISP>,
             <&bpmp TEGRA186_CLK_NVDISPLAY_DSC>,
             <&bpmp TEGRA186_CLK_NVDISPLAYHUB>;
    clock-names = "disp", "dsc", "hub";

    power-domains = <&bpmp TEGRA186_POWER_DOMAIN_DISP>;

    #address-cells = <1>;
    #size-cells = <1>;

    ranges = <0x15200000 0x15200000 0x40000>;

    display@15200000 {
        compatible = "nvidia,tegra186-dc";
        reg = <0x15200000 0x10000>;
        interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&bpmp TEGRA186_CLK_NVDISPLAY_P0>;
        clock-names = "dc";
        resets = <&bpmp TEGRA186_RESET_NVDISPLAY0_HEAD0>;
        reset-names = "dc";

        power-domains = <&bpmp TEGRA186_POWER_DOMAIN_DISP>;
        interconnects = <&mc TEGRA186_MEMORY_CLIENT_NVDISPLAYR &emc>,
                        <&mc TEGRA186_MEMORY_CLIENT_NVDISPLAYR1 &emc>;
        interconnect-names = "dma-mem", "read-1";
        iommus = <&smmu TEGRA186_SID_NVDISPLAY>;

        nvidia,outputs = <&dsia &dsib &sor0 &sor1>;
        nvidia,head = <0>;
    };

    display@15210000 {
        compatible = "nvidia,tegra186-dc";
        reg = <0x15210000 0x10000>;
        interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&bpmp TEGRA186_CLK_NVDISPLAY_P1>;
        clock-names = "dc";
        resets = <&bpmp TEGRA186_RESET_NVDISPLAY0_HEAD1>;
        reset-names = "dc";

        power-domains = <&bpmp TEGRA186_POWER_DOMAIN_DISPB>;
        interconnects = <&mc TEGRA186_MEMORY_CLIENT_NVDISPLAYR &emc>,
                        <&mc TEGRA186_MEMORY_CLIENT_NVDISPLAYR1 &emc>;
        interconnect-names = "dma-mem", "read-1";
        iommus = <&smmu TEGRA186_SID_NVDISPLAY>;

        nvidia,outputs = <&dsia &dsib &sor0 &sor1>;
        nvidia,head = <1>;
    };

    display@15220000 {
        compatible = "nvidia,tegra186-dc";
        reg = <0x15220000 0x10000>;
        interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&bpmp TEGRA186_CLK_NVDISPLAY_P2>;
        clock-names = "dc";
        resets = <&bpmp TEGRA186_RESET_NVDISPLAY0_HEAD2>;
        reset-names = "dc";

        power-domains = <&bpmp TEGRA186_POWER_DOMAIN_DISPC>;
        interconnects = <&mc TEGRA186_MEMORY_CLIENT_NVDISPLAYR &emc>,
                        <&mc TEGRA186_MEMORY_CLIENT_NVDISPLAYR1 &emc>;
        interconnect-names = "dma-mem", "read-1";
        iommus = <&smmu TEGRA186_SID_NVDISPLAY>;

        nvidia,outputs = <&sor0 &sor1>;
        nvidia,head = <2>;
    };
};
#include <dt-bindings/clock/tegra194-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/memory/tegra194-mc.h>
#include <dt-bindings/power/tegra194-powergate.h>
#include <dt-bindings/reset/tegra194-reset.h>

display-hub@15200000 {
    compatible = "nvidia,tegra194-display";
    reg = <0x15200000 0x00040000>;
    resets = <&bpmp TEGRA194_RESET_NVDISPLAY0_MISC>,
             <&bpmp TEGRA194_RESET_NVDISPLAY0_WGRP0>,
             <&bpmp TEGRA194_RESET_NVDISPLAY0_WGRP1>,
             <&bpmp TEGRA194_RESET_NVDISPLAY0_WGRP2>,
             <&bpmp TEGRA194_RESET_NVDISPLAY0_WGRP3>,
             <&bpmp TEGRA194_RESET_NVDISPLAY0_WGRP4>,
             <&bpmp TEGRA194_RESET_NVDISPLAY0_WGRP5>;
    reset-names = "misc", "wgrp0", "wgrp1", "wgrp2",
                  "wgrp3", "wgrp4", "wgrp5";
    clocks = <&bpmp TEGRA194_CLK_NVDISPLAY_DISP>,
             <&bpmp TEGRA194_CLK_NVDISPLAYHUB>;
    clock-names = "disp", "hub";

    power-domains = <&bpmp TEGRA194_POWER_DOMAIN_DISP>;

    #address-cells = <1>;
    #size-cells = <1>;

    ranges = <0x15200000 0x15200000 0x40000>;

    display@15200000 {
        compatible = "nvidia,tegra194-dc";
        reg = <0x15200000 0x10000>;
        interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&bpmp TEGRA194_CLK_NVDISPLAY_P0>;
        clock-names = "dc";
        resets = <&bpmp TEGRA194_RESET_NVDISPLAY0_HEAD0>;
        reset-names = "dc";

        power-domains = <&bpmp TEGRA194_POWER_DOMAIN_DISP>;
        interconnects = <&mc TEGRA194_MEMORY_CLIENT_NVDISPLAYR &emc>,
                        <&mc TEGRA194_MEMORY_CLIENT_NVDISPLAYR1 &emc>;
        interconnect-names = "dma-mem", "read-1";

        nvidia,outputs = <&sor0 &sor1 &sor2 &sor3>;
        nvidia,head = <0>;
    };

    display@15210000 {
        compatible = "nvidia,tegra194-dc";
        reg = <0x15210000 0x10000>;
        interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&bpmp TEGRA194_CLK_NVDISPLAY_P1>;
        clock-names = "dc";
        resets = <&bpmp TEGRA194_RESET_NVDISPLAY0_HEAD1>;
        reset-names = "dc";

        power-domains = <&bpmp TEGRA194_POWER_DOMAIN_DISPB>;
        interconnects = <&mc TEGRA194_MEMORY_CLIENT_NVDISPLAYR &emc>,
                        <&mc TEGRA194_MEMORY_CLIENT_NVDISPLAYR1 &emc>;
        interconnect-names = "dma-mem", "read-1";

        nvidia,outputs = <&sor0 &sor1 &sor2 &sor3>;
        nvidia,head = <1>;
    };

    display@15220000 {
        compatible = "nvidia,tegra194-dc";
        reg = <0x15220000 0x10000>;
        interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&bpmp TEGRA194_CLK_NVDISPLAY_P2>;
        clock-names = "dc";
        resets = <&bpmp TEGRA194_RESET_NVDISPLAY0_HEAD2>;
        reset-names = "dc";

        power-domains = <&bpmp TEGRA194_POWER_DOMAIN_DISPC>;
        interconnects = <&mc TEGRA194_MEMORY_CLIENT_NVDISPLAYR &emc>,
                        <&mc TEGRA194_MEMORY_CLIENT_NVDISPLAYR1 &emc>;
        interconnect-names = "dma-mem", "read-1";

        nvidia,outputs = <&sor0 &sor1 &sor2 &sor3>;
        nvidia,head = <2>;
    };

    display@15230000 {
        compatible = "nvidia,tegra194-dc";
        reg = <0x15230000 0x10000>;
        interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&bpmp TEGRA194_CLK_NVDISPLAY_P3>;
        clock-names = "dc";
        resets = <&bpmp TEGRA194_RESET_NVDISPLAY0_HEAD3>;
        reset-names = "dc";

        power-domains = <&bpmp TEGRA194_POWER_DOMAIN_DISPC>;
        interconnects = <&mc TEGRA194_MEMORY_CLIENT_NVDISPLAYR &emc>,
                        <&mc TEGRA194_MEMORY_CLIENT_NVDISPLAYR1 &emc>;
        interconnect-names = "dma-mem", "read-1";

        nvidia,outputs = <&sor0 &sor1 &sor2 &sor3>;
        nvidia,head = <3>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra MIPI DSI pad controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra186-dsi-padctl.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): "^padctl@[0-9a-f]+$"

compatible — not listed as required here #

Exact value (const): "nvidia,tegra186-dsi-padctl"

reg — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Array item rules (items) #

Item 1

module reset

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "dsi"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/reset/reset.yaml

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/reset/tegra186-reset.h>

padctl@15880000 {
    compatible = "nvidia,tegra186-dsi-padctl";
    reg = <0x15880000 0x10000>;
    resets = <&bpmp TEGRA186_RESET_DSI>;
    reset-names = "dsi";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra20 CSI controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-csi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Svyatoslav Ryhel <clamor95@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nvidia,tegra20-csi", "nvidia,tegra30-csi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

module clock

Item 2

PAD A clock

Item 3

PAD B clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "csi"

Item 2

Exact value (const): "csia-pad"

Item 3

Exact value (const): "csib-pad"

avdd-dsi-csi-supply — not listed as required here #

DSI/CSI power supply. Must supply 1.2 V.

power-domains — required here #

Maximum number of items (maxItems): 1

#nvidia,mipi-calibrate-cells — not listed as required here #

The number of cells in a MIPI calibration specifier. Should be 1. The single cell specifies an id of the pad that need to be calibrated for a given device. Valid pad ids for receiver would be 0 for CSI-A; 1 for CSI-B; 2 for DSI-A and 3 for DSI-B.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Exact value (const): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^channel@[0-1]$ — name matches this regular expression #

Value type (type): "object"

channel 0 represents CSI-A and 1 represents CSI-B

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — required here

Maximum value (maximum): 1

nvidia,mipi-calibrate — not listed as required here

Should contain a phandle and a specifier specifying which pad is used by this CSI channel and needs to be calibrated.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

#address-cells — required here

Exact value (const): 1

#size-cells — required here

Exact value (const): 0

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.

port receiving the video stream from the sensor

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "data-lanes"

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

port sending the video stream to the VI

Required in this object (required): "reg", "#address-cells", "#size-cells", "port@0", "port@1"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra20-csi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — 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 here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra30-csi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

clock-names — not listed as required here

Minimum number of items (minItems): 3

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clocks", "power-domains", "#address-cells", "#size-cells"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 138: see nvidia,tegra20-vi.yaml for an example

NVIDIA Tegra Display Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

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 here

Rule 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 here

Array 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 here

Array 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 here

Each 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 here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle of an I2C controller used for DDC EDID probing

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

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array

supplies a binary EDID blob

nvidia,panel — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle of a display panel

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra124-dc"

When the condition matches (then) #

Properties and child nodes (properties)

interconnects — not listed as required here

Minimum number of items (minItems): 4

Array 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 here

Minimum number of items (minItems): 4

Array 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

NVIDIA Tegra Display Serial Interface

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-dsi.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) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra20-dsi", "nvidia,tegra30-dsi", "nvidia,tegra114-dsi", "nvidia,tegra124-dsi", "nvidia,tegra210-dsi", "nvidia,tegra186-dsi"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-dsi"

Item 2

Exact value (const): "nvidia,tegra124-dsi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

clock-names — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

resets — required here #

Array item rules (items) #

Item 1

module reset

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dsi"

operating-points-v2 — not listed as required here #

true — No constraints added by this property rule.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

avdd-dsi-csi-supply — not listed as required here #

phandle of a supply that powers the DSI controller

nvidia,mipi-calibrate — not listed as required here #

Should contain a phandle and a specifier specifying which pads are used by this DSI output and need to be calibrated. See nvidia,tegra114-mipi.yaml for details.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

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

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

nvidia,ganged-mode — not listed as required here #

contains a phandle to a second DSI controller to gang up with in order to support up to 8 data lanes

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

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 here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra20-dsi", "nvidia,tegra30-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

DSI module clock

Item 2

input for the pixel clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "dsi"

Item 2

Exact value (const): "parent"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

DSI module clock

Item 2

low-power module clock

Item 3

input for the pixel clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "dsi"

Item 2

Exact value (const): "lp"

Item 3

Exact value (const): "parent"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "nvidia,tegra186-dsi"

When the condition matches (then) #

Required in this object (required): "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names"

Examples (examples) #

#include <dt-bindings/clock/tegra186-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/tegra186-powergate.h>
#include <dt-bindings/reset/tegra186-reset.h>

dsi@15300000 {
    compatible = "nvidia,tegra186-dsi";
    reg = <0x15300000 0x10000>;
    interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&bpmp TEGRA186_CLK_DSI>,
             <&bpmp TEGRA186_CLK_DSIA_LP>,
             <&bpmp TEGRA186_CLK_PLLD>;
    clock-names = "dsi", "lp", "parent";
    resets = <&bpmp TEGRA186_RESET_DSI>;
    reset-names = "dsi";

    power-domains = <&bpmp TEGRA186_POWER_DOMAIN_DISP>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra Encoder Pre-Processor

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-epp.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): "^epp@[0-9a-f]+$"

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra20-epp", "nvidia,tegra30-epp", "nvidia,tegra114-epp", "nvidia,tegra124-epp"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-epp"

Item 2

Exact value (const): "nvidia,tegra124-epp"

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Array item rules (items) #

Item 1

module reset

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "epp"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 4

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 4

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

epp@540c0000 {
    compatible = "nvidia,tegra20-epp";
    reg = <0x540c0000 0x00040000>;
    interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&tegra_car TEGRA20_CLK_EPP>;
    resets = <&tegra_car 19>;
    reset-names = "epp";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA 2D graphics engine

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-gr2d.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): "^gr2d@[0-9a-f]+$"

compatible — not listed as required here #

Allowed values (enum): "nvidia,tegra20-gr2d", "nvidia,tegra30-gr2d", "nvidia,tegra114-gr2d"

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

module clock

resets — not listed as required here #

Array item rules (items) #

Item 1

module reset

Item 2

memory client hotflush reset

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "2d"

Item 2

Exact value (const): "mc"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 4

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 4

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 HEG or core power domain

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/memory/tegra20-mc.h>

gr2d@54140000 {
    compatible = "nvidia,tegra20-gr2d";
    reg = <0x54140000 0x00040000>;
    interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&tegra_car TEGRA20_CLK_GR2D>;
    resets = <&tegra_car 21>, <&mc TEGRA20_MC_RESET_2D>;
    reset-names = "2d", "mc";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA 3D graphics engine

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-gr3d.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): "^gr3d@[0-9a-f]+$"

compatible — not listed as required here #

Allowed values (enum): "nvidia,tegra20-gr3d", "nvidia,tegra30-gr3d", "nvidia,tegra114-gr3d"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

resets — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

reset-names — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

iommus — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interconnects — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 10

interconnect-names — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 10

operating-points-v2 — not listed as required here #

true — No constraints added by this property rule.

power-domains — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

power-domain-names — not listed as required here #

Maximum number of items (maxItems): 2

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "nvidia,tegra20-gr2d"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

module clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "3d"

resets — not listed as required here

Array item rules (items)

Item 1

module reset

Item 2

memory client hotflush reset

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "3d"

Item 2

Exact value (const): "mc"

iommus — not listed as required here

Maximum number of items (maxItems): 1

interconnects — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

interconnect-names — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

power-domains — not listed as required here

Array item rules (items)

Item 1

phandle to the TD power domain

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "nvidia,tegra30-gr3d"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

primary module clock

Item 2

secondary module clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "3d"

Item 2

Exact value (const): "3d2"

resets — not listed as required here

Array item rules (items)

Item 1

primary module reset

Item 2

secondary module reset

Item 3

primary memory client hotflush reset

Item 4

secondary memory client hotflush reset

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "3d"

Item 2

Exact value (const): "3d2"

Item 3

Exact value (const): "mc"

Item 4

Exact value (const): "mc2"

iommus — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

interconnects — not listed as required here

Minimum number of items (minItems): 8

Maximum number of items (maxItems): 8

interconnect-names — not listed as required here

Minimum number of items (minItems): 8

Maximum number of items (maxItems): 8

power-domains — not listed as required here

Array item rules (items)

Item 1

phandle to the TD power domain

Item 2

phandle to the TD2 power domain

power-domain-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "3d0"

Item 2

Exact value (const): "3d1"

Property dependencies (dependencies)

power-domains — applies when this property is present

Also requires: "power-domain-names"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "nvidia,tegra114-gr2d"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

module clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "3d"

resets — not listed as required here

Array item rules (items)

Item 1

module reset

Item 2

memory client hotflush reset

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "3d"

Item 2

Exact value (const): "mc"

iommus — not listed as required here

Maximum number of items (maxItems): 1

interconnects — not listed as required here

Minimum number of items (minItems): 10

Maximum number of items (maxItems): 10

interconnect-names — not listed as required here

Minimum number of items (minItems): 10

Maximum number of items (maxItems): 10

power-domains — not listed as required here

Array item rules (items)

Item 1

phandle to the TD power domain

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/memory/tegra20-mc.h>

gr3d@54180000 {
    compatible = "nvidia,tegra20-gr3d";
    reg = <0x54180000 0x00040000>;
    clocks = <&tegra_car TEGRA20_CLK_GR3D>;
    resets = <&tegra_car 24>, <&mc TEGRA20_MC_RESET_3D>;
    reset-names = "3d", "mc";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra HDMI Output Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-hdmi.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): "^hdmi@[0-9a-f]+$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra20-hdmi", "nvidia,tegra30-hdmi", "nvidia,tegra114-hdmi", "nvidia,tegra124-hdmi"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-hdmi"

Item 2

Exact value (const): "nvidia,tegra124-hdmi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

module clock

Item 2

parent clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "hdmi"

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): "hdmi"

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

hdmi-supply — not listed as required here #

supply for the +5V HDMI connector pin

vdd-supply — required here #

regulator for supply voltage

pll-supply — required here #

regulator for PLL

nvidia,ddc-i2c-bus — required here #

phandle of an I2C controller used for DDC EDID probing

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

nvidia,hpd-gpio — 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

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

#sound-dai-cells — not listed as required here #

Exact value (const): 0

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", "pll-supply", "vdd-supply", "nvidia,ddc-i2c-bus", "nvidia,hpd-gpio"

Examples (examples) #

#include <dt-bindings/clock/tegra124-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/gpio/tegra-gpio.h>

hdmi@54280000 {
    compatible = "nvidia,tegra124-hdmi";
    reg = <0x54280000 0x00040000>;
    interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&tegra_car TEGRA124_CLK_HDMI>,
             <&tegra_car TEGRA124_CLK_PLL_D2_OUT0>;
    clock-names = "hdmi", "parent";
    resets = <&tegra_car 51>;
    reset-names = "hdmi";

    hdmi-supply = <&vdd_5v0_hdmi>;
    pll-supply = <&vdd_hdmi_pll>;
    vdd-supply = <&vdd_3v3_hdmi>;

    nvidia,ddc-i2c-bus = <&hdmi_ddc>;
    nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra host1x controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-host1x.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 host1x top-level node defines a number of children, each representing one of the host1x client modules defined in this binding.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra20-host1x", "nvidia,tegra30-host1x", "nvidia,tegra114-host1x", "nvidia,tegra124-host1x", "nvidia,tegra210-host1x", "nvidia,tegra186-host1x", "nvidia,tegra194-host1x", "nvidia,tegra234-host1x"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-host1x"

Item 2

Exact value (const): "nvidia,tegra124-host1x"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

reg-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 9

interrupt-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 9

#address-cells — required here #

The number of cells used to represent physical base addresses in the host1x address space.

Allowed values (enum): 1, 2

#size-cells — required here #

The number of cells used to represent the size of an address range in the host1x address space.

Allowed values (enum): 1, 2

ranges — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Must contain one entry, for the module clock. See ../clocks/clock-bindings.txt for details.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "host1x"

resets — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

module reset

Item 2

memory client hotflush reset

reset-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "host1x"

Item 2

Exact value (const): "mc"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

memory read client for host1x

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "dma-mem"

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 HEG or core power domain

Required in this object (required): "compatible", "interrupts", "interrupt-names", "#address-cells", "#size-cells", "ranges", "reg", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

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 here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra20-host1x", "nvidia,tegra30-host1x", "nvidia,tegra114-host1x", "nvidia,tegra124-host1x", "nvidia,tegra210-host1x"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Array item rules (items)

Item 1

host1x syncpoint interrupt

Item 2

host1x general interrupt

interrupt-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "syncpt"

Item 2

Exact value (const): "host1x"

Required in this object (required): "resets", "reset-names"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra186-host1x", "nvidia,tegra194-host1x"

When the condition matches (then) #

Properties and child nodes (properties)

reg-names — required here

Array item rules (items)

Item 1

Exact value (const): "hypervisor"

Item 2

Exact value (const): "vm"

reg — not listed as required here

Array item rules (items)

Item 1

region used by the hypervisor

Item 2

region assigned to the virtual machine

resets — not listed as required here

Maximum number of items (maxItems): 1

reset-names — not listed as required here

Maximum number of items (maxItems): 1

interrupts — not listed as required here

Array item rules (items)

Item 1

host1x syncpoint interrupt

Item 2

host1x general interrupt

interrupt-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "syncpt"

Item 2

Exact value (const): "host1x"

iommu-map — not listed as required here

Specification of stream IDs available for memory context device use. Should be a mapping of IDs 0..n to IOMMU entries corresponding to usable stream IDs.

Required in this object (required): "reg-names"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra194-host1x"

When the condition matches (then) #

Properties and child nodes (properties)

dma-coherent — not listed as required here

true — No constraints added by this property rule.

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra234-host1x"

When the condition matches (then) #

Properties and child nodes (properties)

reg-names — required here

Array item rules (items)

Item 1

Exact value (const): "common"

Item 2

Exact value (const): "hypervisor"

Item 3

Exact value (const): "vm"

reg — not listed as required here

Array item rules (items)

Item 1

region used by host1x server

Item 2

region used by the hypervisor

Item 3

region assigned to the virtual machine

interrupts — not listed as required here

Array item rules (items)

Item 1

host1x syncpoint interrupt 0

Item 2

host1x syncpoint interrupt 1

Item 3

host1x syncpoint interrupt 2

Item 4

host1x syncpoint interrupt 3

Item 5

host1x syncpoint interrupt 4

Item 6

host1x syncpoint interrupt 5

Item 7

host1x syncpoint interrupt 6

Item 8

host1x syncpoint interrupt 7

Item 9

host1x general interrupt

interrupt-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "syncpt0"

Item 2

Exact value (const): "syncpt1"

Item 3

Exact value (const): "syncpt2"

Item 4

Exact value (const): "syncpt3"

Item 5

Exact value (const): "syncpt4"

Item 6

Exact value (const): "syncpt5"

Item 7

Exact value (const): "syncpt6"

Item 8

Exact value (const): "syncpt7"

Item 9

Exact value (const): "host1x"

iommu-map — not listed as required here

Specification of stream IDs available for memory context device use. Should be a mapping of IDs 0..n to IOMMU entries corresponding to usable stream IDs.

dma-coherent — not listed as required here

true — No constraints added by this property rule.

Required in this object (required): "reg-names"

Examples (examples) #

#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/gpio/tegra-gpio.h>
#include <dt-bindings/memory/tegra20-mc.h>

host1x@50000000 {
    compatible = "nvidia,tegra20-host1x";
    reg = <0x50000000 0x00024000>;
    interrupts = <0 65 0x04>, /* mpcore syncpt */
                 <0 67 0x04>; /* mpcore general */
    interrupt-names = "syncpt", "host1x";
    clocks = <&tegra_car TEGRA20_CLK_HOST1X>;
    clock-names = "host1x";
    resets = <&tegra_car 28>, <&mc TEGRA20_MC_RESET_HC>;
    reset-names = "host1x", "mc";

    #address-cells = <1>;
    #size-cells = <1>;

    ranges = <0x54000000 0x54000000 0x04000000>;

    mpe@54040000 {
        compatible = "nvidia,tegra20-mpe";
        reg = <0x54040000 0x00040000>;
        interrupts = <0 68 0x04>;
        clocks = <&tegra_car TEGRA20_CLK_MPE>;
        resets = <&tegra_car 60>;
        reset-names = "mpe";
    };

    vi@54080000 {
        compatible = "nvidia,tegra20-vi";
        reg = <0x54080000 0x00040000>;
        interrupts = <0 69 0x04>;
        clocks = <&tegra_car TEGRA20_CLK_VI>;
        resets = <&tegra_car 100>;
        reset-names = "vi";
    };

    epp@540c0000 {
        compatible = "nvidia,tegra20-epp";
        reg = <0x540c0000 0x00040000>;
        interrupts = <0 70 0x04>;
        clocks = <&tegra_car TEGRA20_CLK_EPP>;
        resets = <&tegra_car 19>;
        reset-names = "epp";
    };

    isp@54100000 {
        compatible = "nvidia,tegra20-isp";
        reg = <0x54100000 0x00040000>;
        interrupts = <0 71 0x04>;
        clocks = <&tegra_car TEGRA20_CLK_ISP>;
        resets = <&tegra_car 23>;
        reset-names = "isp";
    };

    gr2d@54140000 {
        compatible = "nvidia,tegra20-gr2d";
        reg = <0x54140000 0x00040000>;
        interrupts = <0 72 0x04>;
        clocks = <&tegra_car TEGRA20_CLK_GR2D>;
        resets = <&tegra_car 21>, <&mc TEGRA20_MC_RESET_2D>;
        reset-names = "2d", "mc";
    };

    gr3d@54180000 {
        compatible = "nvidia,tegra20-gr3d";
        reg = <0x54180000 0x00040000>;
        clocks = <&tegra_car TEGRA20_CLK_GR3D>;
        resets = <&tegra_car 24>, <&mc TEGRA20_MC_RESET_3D>;
        reset-names = "3d", "mc";
    };

    dc@54200000 {
        compatible = "nvidia,tegra20-dc";
        reg = <0x54200000 0x00040000>;
        interrupts = <0 73 0x04>;
        clocks = <&tegra_car TEGRA20_CLK_DISP1>;
        clock-names = "dc";
        resets = <&tegra_car 27>;
        reset-names = "dc";

        rgb {
        };
    };

    dc@54240000 {
        compatible = "nvidia,tegra20-dc";
        reg = <0x54240000 0x00040000>;
        interrupts = <0 74 0x04>;
        clocks = <&tegra_car TEGRA20_CLK_DISP2>;
        clock-names = "dc";
        resets = <&tegra_car 26>;
        reset-names = "dc";

        rgb {
        };
    };

    hdmi@54280000 {
        compatible = "nvidia,tegra20-hdmi";
        reg = <0x54280000 0x00040000>;
        interrupts = <0 75 0x04>;
        clocks = <&tegra_car TEGRA20_CLK_HDMI>,
                 <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
        clock-names = "hdmi", "parent";
        resets = <&tegra_car 51>;
        reset-names = "hdmi";

        hdmi-supply = <&vdd_5v0_hdmi>;
        pll-supply = <&vdd_hdmi_pll>;
        vdd-supply = <&vdd_3v3_hdmi>;

        nvidia,ddc-i2c-bus = <&hdmi_ddc>;
        nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
    };

    tvo@542c0000 {
        compatible = "nvidia,tegra20-tvo";
        reg = <0x542c0000 0x00040000>;
        interrupts = <0 76 0x04>;
        clocks = <&tegra_car TEGRA20_CLK_TVO>;
    };

    dsi@54300000 {
        compatible = "nvidia,tegra20-dsi";
        reg = <0x54300000 0x00040000>;
        clocks = <&tegra_car TEGRA20_CLK_DSI>,
                 <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
        clock-names = "dsi", "parent";
        resets = <&tegra_car 48>;
        reset-names = "dsi";
    };
};
#include <dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/memory/tegra210-mc.h>

host1x@50000000 {
    compatible = "nvidia,tegra210-host1x";
    reg = <0x50000000 0x00024000>;
    interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* mpcore syncpt */
                 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* mpcore general */
    interrupt-names = "syncpt", "host1x";
    clocks = <&tegra_car TEGRA210_CLK_HOST1X>;
    clock-names = "host1x";
    resets = <&tegra_car 28>;
    reset-names = "host1x";

    #address-cells = <1>;
    #size-cells = <1>;

    ranges = <0x54000000 0x54000000 0x01000000>;
    iommus = <&mc TEGRA_SWGROUP_HC>;

    vi@54080000 {
        compatible = "nvidia,tegra210-vi";
        reg = <0x54080000 0x00000700>;
        interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
        assigned-clocks = <&tegra_car TEGRA210_CLK_VI>;
        assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_C4_OUT0>;

        clocks = <&tegra_car TEGRA210_CLK_VI>;
        power-domains = <&pd_venc>;

        #address-cells = <1>;
        #size-cells = <1>;

        ranges = <0x0 0x54080000 0x2000>;

        csi@838 {
            compatible = "nvidia,tegra210-csi";
            reg = <0x838 0x1300>;
            assigned-clocks = <&tegra_car TEGRA210_CLK_CILAB>,
                              <&tegra_car TEGRA210_CLK_CILCD>,
                              <&tegra_car TEGRA210_CLK_CILE>,
                              <&tegra_car TEGRA210_CLK_CSI_TPG>;
            assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_P>,
                                     <&tegra_car TEGRA210_CLK_PLL_P>,
                                     <&tegra_car TEGRA210_CLK_PLL_P>;
            assigned-clock-rates = <102000000>,
                                   <102000000>,
                                   <102000000>,
                                   <972000000>;

            clocks = <&tegra_car TEGRA210_CLK_CSI>,
                     <&tegra_car TEGRA210_CLK_CILAB>,
                     <&tegra_car TEGRA210_CLK_CILCD>,
                     <&tegra_car TEGRA210_CLK_CILE>,
                     <&tegra_car TEGRA210_CLK_CSI_TPG>;
            clock-names = "csi", "cilab", "cilcd", "cile", "csi_tpg";
            power-domains = <&pd_sor>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 71: MC reset is optional on Tegra186 and later

Line 77: MC reset is optional on Tegra186 and later

Line 91: read

NVIDIA Tegra ISP processor

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-isp.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) #

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra20-isp", "nvidia,tegra30-isp", "nvidia,tegra114-isp", "nvidia,tegra124-isp", "nvidia,tegra210-isp"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-isp"

Item 2

Exact value (const): "nvidia,tegra124-isp"

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

module clock

resets — not listed as required here #

Array item rules (items) #

Item 1

module reset

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "isp"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Array item rules (items) #

Item 1

memory write client

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "dma-mem"

power-domains — not listed as required here #

Array item rules (items) #

Item 1

phandle to the VENC or core power domain

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

isp@54100000 {
    compatible = "nvidia,tegra20-isp";
    reg = <0x54100000 0x00040000>;
    interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&tegra_car TEGRA20_CLK_ISP>;
    resets = <&tegra_car 23>;
    reset-names = "isp";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 54: write

NVIDIA Tegra Video Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-mpe.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 #

Exactly one of these rules must match (oneOf) #

Rule 1

String pattern (pattern): "^mpe@[0-9a-f]+$"

Rule 2

String pattern (pattern): "^msenc@[0-9a-f]+$"

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra20-mpe", "nvidia,tegra30-mpe", "nvidia,tegra114-msenc", "nvidia,tegra124-msenc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-msenc"

Item 2

Exact value (const): "nvidia,tegra124-msenc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

module clock

resets — not listed as required here #

Array item rules (items) #

Item 1

module reset

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mpe"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Maximum number of items (maxItems): 6

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 6

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 MPE power domain

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

mpe@54040000 {
    compatible = "nvidia,tegra20-mpe";
    reg = <0x54040000 0x00040000>;
    interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&tegra_car TEGRA20_CLK_MPE>;
    resets = <&tegra_car 60>;
    reset-names = "mpe";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra TV Encoder Output

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-tvo.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): "^tvo@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "nvidia,tegra20-tvo", "nvidia,tegra30-tvo", "nvidia,tegra114-tvo"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

module clock

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

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"

Examples (examples) #

#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

tvo@542c0000 {
    compatible = "nvidia,tegra20-tvo";
    reg = <0x542c0000 0x00040000>;
    interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&tegra_car TEGRA20_CLK_TVO>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra Video Input controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-vi.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): "^vi@[0-9a-f]+$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra20-vi", "nvidia,tegra114-vi", "nvidia,tegra124-vi", "nvidia,tegra210-vi", "nvidia,tegra186-vi", "nvidia,tegra194-vi"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra30-vi"

Item 2

Exact value (const): "nvidia,tegra20-vi"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-vi"

Item 2

Exact value (const): "nvidia,tegra124-vi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Array item rules (items) #

Item 1

module reset

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "vi"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 5

interconnect-names — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 5

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 VENC power domain

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

ranges — not listed as required here #

Maximum number of items (maxItems): 1

vip — not listed as required here #

Shared schema rule ($ref): /schemas/display/tegra/nvidia,tegra20-vip.yaml

ports — not listed as 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

Input from the VIP (parallel input capture) module

Properties matching a name pattern (patternProperties) #

^csi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra20-vi", "nvidia,tegra30-vi", "nvidia,tegra114-vi", "nvidia,tegra124-vi"

When the condition matches (then) #

Required in this object (required): "resets", "reset-names"

When the condition does not match (else) #

Required in this object (required): "power-domains"

Examples (examples) #

#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    camera@48 {
        compatible = "aptina,mt9v111";
        reg = <0x48>;
        clocks = <&camera_clk>;

        port {
            mt9v111_out: endpoint {
                remote-endpoint = <&vi_vip_in>;
            };
        };
    };
};

vi@54080000 {
    compatible = "nvidia,tegra20-vi";
    reg = <0x54080000 0x00040000>;
    interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&tegra_car TEGRA20_CLK_VI>;
    resets = <&tegra_car 100>;
    reset-names = "vi";

    vip {
        compatible = "nvidia,tegra20-vip";
        ports {
            #address-cells = <1>;
            #size-cells = <0>;
            port@0 {
                reg = <0>;
                vi_vip_in: endpoint {
                    remote-endpoint = <&mt9v111_out>;
                };
            };
            port@1 {
                reg = <1>;
                vi_vip_out: endpoint {
                    remote-endpoint = <&vi_in>;
                };
            };
        };
    };

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
            reg = <0>;
            vi_in: endpoint {
                remote-endpoint = <&vi_vip_out>;
            };
        };
    };
};
#include <dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

vi@54080000 {
    compatible = "nvidia,tegra210-vi";
    reg = <0x54080000 0x00000700>;
    interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
    assigned-clocks = <&tegra_car TEGRA210_CLK_VI>;
    assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_C4_OUT0>;

    clocks = <&tegra_car TEGRA210_CLK_VI>;
    power-domains = <&pd_venc>;

    #address-cells = <1>;
    #size-cells = <1>;

    ranges = <0x0 0x54080000 0x2000>;

    csi@838 {
        compatible = "nvidia,tegra210-csi";
        reg = <0x838 0x1300>;
        assigned-clocks = <&tegra_car TEGRA210_CLK_CILAB>,
                          <&tegra_car TEGRA210_CLK_CILCD>,
                          <&tegra_car TEGRA210_CLK_CILE>,
                          <&tegra_car TEGRA210_CLK_CSI_TPG>;
        assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_P>,
                                 <&tegra_car TEGRA210_CLK_PLL_P>,
                                 <&tegra_car TEGRA210_CLK_PLL_P>;
        assigned-clock-rates = <102000000>,
                               <102000000>,
                               <102000000>,
                               <972000000>;

        clocks = <&tegra_car TEGRA210_CLK_CSI>,
                 <&tegra_car TEGRA210_CLK_CILAB>,
                 <&tegra_car TEGRA210_CLK_CILCD>,
                 <&tegra_car TEGRA210_CLK_CILE>,
                 <&tegra_car TEGRA210_CLK_CSI_TPG>;
        clock-names = "csi", "cilab", "cilcd", "cile", "csi_tpg";
        power-domains = <&pd_sor>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NVIDIA Tegra VIP (parallel video capture) controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra20-vip.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Luca Ceresoli <luca.ceresoli@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra20-vip"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra30-vip"

Item 2

Exact value (const): "nvidia,tegra20-vip"

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#/properties/port

Port receiving the video stream from the sensor

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Port sending the video stream to the VI

Required in this object (required): "port@0", "port@1"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "ports"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 46: see nvidia,tegra20-vi.yaml for an example

NVIDIA Tegra CSI controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / tegra

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra210-csi.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): "^csi@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "nvidia,tegra210-csi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

module clock

Item 2

A/B lanes clock

Item 3

C/D lanes clock

Item 4

E lane clock

Item 5

test pattern generator clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "csi"

Item 2

Exact value (const): "cilab"

Item 3

Exact value (const): "cilcd"

Item 4

Exact value (const): "cile"

Item 5

Exact value (const): "csi_tpg"

avdd-dsi-csi-supply — not listed as required here #

DSI/CSI power supply. Must supply 1.2 V.

power-domains — required here #

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "power-domains"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 55: see nvidia,tegra20-vi.yaml for an example

Texas Instruments AM625 OLDI Transmitter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/display/ti/ti,am625-oldi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>", "Aradhya Bhatia <aradhya.bhatia@linux.dev>"

The AM625 TI Keystone OpenLDI transmitter (OLDI TX) supports serialized RGB pixel data transmission between host and flat panel display over LVDS (Low Voltage Differential Sampling) interface. The OLDI TX consists of 7-to-1 data serializers, and 4-data and 1-clock LVDS outputs. It supports the LVDS output formats "jeida-18", "jeida-24" and "vesa-18", and can accept 24-bit RGB or padded and un-padded 18-bit RGB bus formats as input.

Properties and child nodes (properties) #

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

serial clock input for the OLDI transmitters

clock-names — required here #

Exact value (const): "serial"

ti,companion-oldi — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to companion OLDI transmitter. This property is required for both the OLDI TXes if they are expected to work either in dual-lvds mode or in clone mode. This property should point to the other OLDI TX's phandle.

ti,secondary-oldi — not listed as required here #

Value type (type): "boolean"

Boolean property to mark the OLDI transmitter as the secondary one, when the OLDI hardware is expected to run as a companion HW, in cases of dual-lvds mode or clone mode. The primary OLDI hardware is responsible for all the hardware configuration.

ti,oldi-io-ctrl — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to syscon device node mapping OLDI IO_CTRL registers found in the control MMR region. These registers are required to toggle the I/O lane power, and control its electrical characteristics.

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#/properties/port

Parallel RGB input port

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

LVDS output port

Required in this object (required): "port@0", "port@1"

Required in this object (required): "reg", "clocks", "clock-names", "ti,oldi-io-ctrl", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Texas Instruments AM65x Display Subsystem

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / ti

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

Required in this object (required): "endpoint"

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 here

Rule 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 here

Properties 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 here

Rule 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 here

Properties and child nodes (properties)

port@1 — not listed as required here

false — Not permitted by this property rule.

reg — not listed as required here

Maximum number of items (maxItems): 5

reg-names — not listed as required here

Maximum number of items (maxItems): 5

clocks — not listed as required here

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Maximum number of items (maxItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 8

reg-names — not listed as required here

Minimum number of items (minItems): 8

clocks — not listed as required here

Minimum number of items (minItems): 3

clock-names — not listed as required here

Minimum number of items (minItems): 3

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "ti,am62l-dss", "ti,am65x-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 here

Properties and child nodes (properties)

port@0 — not listed as required here

Properties 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

Texas Instruments J721E Display Subsystem

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/display/ti/ti,j721e-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 J721E TI Keystone Display SubSystem with four output ports and four video planes. There is two full video planes and two "lite planes" without scaling support. The video ports can be connected to the SoC's DPI pins or to integrated display bridges on the SoC.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,j721e-dss"

reg — required here #

Array item rules (items) #

Item 1

common_m DSS Master common

Item 2

common_s0 DSS Shared common 0

Item 3

common_s1 DSS Shared common 1

Item 4

common_s2 DSS Shared common 2

Item 5

VIDL1 light video plane 1

Item 6

VIDL2 light video plane 2

Item 7

VID1 video plane 1

Item 8

VID1 video plane 2

Item 9

OVR1 overlay manager for vp1

Item 10

OVR2 overlay manager for vp2

Item 11

OVR3 overlay manager for vp3

Item 12

OVR4 overlay manager for vp4

Item 13

VP1 video port 1

Item 14

VP2 video port 2

Item 15

VP3 video port 3

Item 16

VP4 video port 4

Item 17

WB Write Back

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "common_m"

Item 2

Exact value (const): "common_s0"

Item 3

Exact value (const): "common_s1"

Item 4

Exact value (const): "common_s2"

Item 5

Exact value (const): "vidl1"

Item 6

Exact value (const): "vidl2"

Item 7

Exact value (const): "vid1"

Item 8

Exact value (const): "vid2"

Item 9

Exact value (const): "ovr1"

Item 10

Exact value (const): "ovr2"

Item 11

Exact value (const): "ovr3"

Item 12

Exact value (const): "ovr4"

Item 13

Exact value (const): "vp1"

Item 14

Exact value (const): "vp2"

Item 15

Exact value (const): "vp3"

Item 16

Exact value (const): "vp4"

Item 17

Exact value (const): "wb"

clocks — required here #

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

Item 4

vp3 Video Port 3 pixel clock

Item 5

vp4 Video Port 4 pixel clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "fck"

Item 2

Exact value (const): "vp1"

Item 3

Exact value (const): "vp2"

Item 4

Exact value (const): "vp3"

Item 5

Exact value (const): "vp4"

assigned-clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

assigned-clock-parents — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

interrupts — required here #

Array item rules (items) #

Item 1

common_m DSS Master common

Item 2

common_s0 DSS Shared common 0

Item 3

common_s1 DSS Shared common 1

Item 4

common_s2 DSS Shared common 2

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "common_m"

Item 2

Exact value (const): "common_s0"

Item 3

Exact value (const): "common_s1"

Item 4

Exact value (const): "common_s2"

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

The output port node form video port 1

port@1 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The output port node from video port 2

port@2 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The output port node from video port 3

port@3 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The output port node from video port 4

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

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "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,j721e-dss";
        reg =   <0x04a00000 0x10000>, /* common_m */
                <0x04a10000 0x10000>, /* common_s0*/
                <0x04b00000 0x10000>, /* common_s1*/
                <0x04b10000 0x10000>, /* common_s2*/
                <0x04a20000 0x10000>, /* vidl1 */
                <0x04a30000 0x10000>, /* vidl2 */
                <0x04a50000 0x10000>, /* vid1 */
                <0x04a60000 0x10000>, /* vid2 */
                <0x04a70000 0x10000>, /* ovr1 */
                <0x04a90000 0x10000>, /* ovr2 */
                <0x04ab0000 0x10000>, /* ovr3 */
                <0x04ad0000 0x10000>, /* ovr4 */
                <0x04a80000 0x10000>, /* vp1 */
                <0x04aa0000 0x10000>, /* vp2 */
                <0x04ac0000 0x10000>, /* vp3 */
                <0x04ae0000 0x10000>, /* vp4 */
                <0x04af0000 0x10000>; /* wb */
        reg-names = "common_m", "common_s0",
                "common_s1", "common_s2",
                "vidl1", "vidl2","vid1","vid2",
                "ovr1", "ovr2", "ovr3", "ovr4",
                "vp1", "vp2", "vp3", "vp4",
                "wb";
        clocks =        <&k3_clks 152 0>,
                        <&k3_clks 152 1>,
                        <&k3_clks 152 4>,
                        <&k3_clks 152 9>,
                        <&k3_clks 152 13>;
        clock-names = "fck", "vp1", "vp2", "vp3", "vp4";
        power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
        interrupts =    <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>,
                        <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>,
                        <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>,
                        <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names =       "common_m",
                                "common_s0",
                                "common_s1",
                                "common_s2";
        ports {
                #address-cells = <1>;
                #size-cells = <0>;
                port@0 {
                        reg = <0>;

                        dpi_out_0: endpoint {
                                remote-endpoint = <&dp_bridge_input>;
                        };
                };
        };
};

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

Texas Instruments K2G Display Subsystem

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/display/ti/ti,k2g-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 K2G DSS is an ultra-light version of TI Keystone Display SubSystem. It has only one output port and video plane. The output is DPI.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,k2g-dss"

reg — required here #

Array item rules (items) #

Item 1

cfg DSS top level

Item 2

common DISPC common

Item 3

VID1 video plane 1

Item 4

OVR1 overlay manager for vp1

Item 5

VP1 video port 1

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cfg"

Item 2

Exact value (const): "common"

Item 3

Exact value (const): "vid1"

Item 4

Exact value (const): "ovr1"

Item 5

Exact value (const): "vp1"

clocks — required here #

Array item rules (items) #

Item 1

fck DSS functional clock

Item 2

vp1 Video Port 1 pixel clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "fck"

Item 2

Exact value (const): "vp1"

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

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The DSS DPI output port node

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

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "port"

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>

dss: dss@2540000 {
        compatible = "ti,k2g-dss";
        reg =   <0x02540000 0x400>,
                <0x02550000 0x1000>,
                <0x02557000 0x1000>,
                <0x0255a800 0x100>,
                <0x0255ac00 0x100>;
        reg-names = "cfg", "common", "vid1", "ovr1", "vp1";
        clocks =        <&k2g_clks 0x2 0>,
                        <&k2g_clks 0x2 1>;
        clock-names = "fck", "vp1";
        interrupts = <GIC_SPI 247 IRQ_TYPE_EDGE_RISING>;

        power-domains = <&k2g_pds 0x2>;

        max-memory-bandwidth = <230000000>;

        port {
                dpi_out: endpoint {
                        remote-endpoint = <&sii9022_in>;
                };
        };
};

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

Xilinx ZynqMP DisplayPort Subsystem

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / xlnx

Schema identifier ($id): "http://devicetree.org/schemas/display/xlnx/xlnx,zynqmp-dpsub.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The DisplayPort subsystem of Xilinx ZynqMP (Zynq UltraScale+ MPSoC) implements the display and audio pipelines based on the DisplayPort v1.2 standard. The subsystem includes multiple functional blocks as below:

             +------------------------------------------------------------+
+--------+   | +----------------+     +-----------+                       |
| DPDMA  | --->|                | --> |   Video   | Video +-------------+ |
| 4x vid |   | |                |     | Rendering | -+--> |             | |   +------+
| 2x aud |   | |  Audio/Video   | --> | Pipeline  |  |    | DisplayPort |---> | PHY0 |
+--------+   | | Buffer Manager |     +-----------+  |    |   Source    | |   +------+
             | |    and STC     |     +-----------+  |    | Controller  | |   +------+
Live Video --->|                | --> |   Audio   | Audio |             |---> | PHY1 |
             | |                |     |   Mixer   | --+-> |             | |   +------+
Live Audio --->|                | --> |           |  ||   +-------------+ |
             | +----------------+     +-----------+  ||                   |
             +---------------------------------------||-------------------+
                                                     vv
                                               Blended Video and
                                               Mixed Audio to PL

The Buffer Manager interacts with external interface such as DMA engines or live audio/video streams from the programmable logic. The Video Rendering Pipeline blends the video and graphics layers and performs colorspace conversion. The Audio Mixer mixes the incoming audio streams. The DisplayPort Source Controller handles the DisplayPort protocol and connects to external PHYs.

The subsystem supports 2 video and 2 audio streams, and various pixel formats and depths up to 4K@30 resolution.

Please refer to "Zynq UltraScale+ Device Technical Reference Manual" (https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf) for more details.

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "xlnx,zynqmp-dpsub-1.7"

reg — required here #

Maximum number of items (maxItems): 4

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dp"

Item 2

Exact value (const): "blend"

Item 3

Exact value (const): "av_buf"

Item 4

Exact value (const): "aud"

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

The APB clock and at least one video clock are mandatory, the audio clock is optional.

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

dp_apb_clk is the APB clock

Item 2

dp_aud_clk is the Audio clock

Item 3

dp_vtc_pixel_clk_in is the non-live video clock (from Processing System)

Item 4

dp_live_video_in_clk is the live video clock (from Programmable Logic)

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "dp_apb_clk"

Item 2

Allowed values (enum): "dp_vtc_pixel_clk_in", "dp_live_video_in_clk"

Item 3

Allowed values (enum): "dp_vtc_pixel_clk_in", "dp_live_video_in_clk"

Rule 2

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Exact value (const): "dp_apb_clk"

Item 2

Exact value (const): "dp_aud_clk"

Item 3

Allowed values (enum): "dp_vtc_pixel_clk_in", "dp_live_video_in_clk"

Item 4

Allowed values (enum): "dp_vtc_pixel_clk_in", "dp_live_video_in_clk"

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

dmas — required here #

Array item rules (items) #

Item 1

Video layer, plane 0 (RGB or luma)

Item 2

Video layer, plane 1 (U/V or U)

Item 3

Video layer, plane 2 (V)

Item 4

Graphics layer

Item 5

Audio channel 0

Item 6

Audio channel 1

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "vid0"

Item 2

Exact value (const): "vid1"

Item 3

Exact value (const): "vid2"

Item 4

Exact value (const): "gfx0"

Item 5

Exact value (const): "aud0"

Item 6

Exact value (const): "aud1"

phys — required here #

PHYs for the DP data lanes

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

phy-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "dp-phy0"

Item 2

Exact value (const): "dp-phy1"

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Connections to the programmable logic and the DisplayPort PHYs. Each port shall have a single endpoint.

Properties and child nodes (properties) #

port@0 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The live video input from the programmable logic

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The live graphics input from the programmable logic

port@2 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The live audio input from the programmable logic

port@3 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The blended video output to the programmable logic

port@4 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The mixed audio output to the programmable logic

port@5 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The DisplayPort output

Required in this object (required): "port@0", "port@1", "port@2", "port@3", "port@4", "port@5"

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names", "power-domains", "resets", "dmas", "dma-names", "phys", "phy-names", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset/xlnx-zynqmp-resets.h>

display@fd4a0000 {
    compatible = "xlnx,zynqmp-dpsub-1.7";
    reg = <0xfd4a0000 0x1000>,
          <0xfd4aa000 0x1000>,
          <0xfd4ab000 0x1000>,
          <0xfd4ac000 0x1000>;
    reg-names = "dp", "blend", "av_buf", "aud";
    interrupts = <0 119 4>;
    interrupt-parent = <&gic>;

    clock-names = "dp_apb_clk", "dp_aud_clk", "dp_live_video_in_clk";
    clocks = <&dp_aclk>, <&clkc 17>, <&si570_1>;

    power-domains = <&pd_dp>;
    resets = <&reset ZYNQMP_RESET_DP>;

    dma-names = "vid0", "vid1", "vid2", "gfx0", "aud0", "aud1";
    dmas = <&xlnx_dpdma 0>,
           <&xlnx_dpdma 1>,
           <&xlnx_dpdma 2>,
           <&xlnx_dpdma 3>,
           <&xlnx_dpdma 4>,
           <&xlnx_dpdma 5>;

    phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
           <&psgtr 0 PHY_TYPE_DP 1 3>;

    phy-names = "dp-phy0", "dp-phy1";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
        };
        port@1 {
            reg = <1>;
        };
        port@2 {
            reg = <2>;
        };
        port@3 {
            reg = <3>;
        };
        port@4 {
            reg = <4>;
        };
        port@5 {
            reg = <5>;
            dpsub_dp_out: endpoint {
                remote-endpoint = <&dp_connector>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Allwinner A10 Display Engine Backend

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-backend.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

The display engine backend exposes layers and sprites to the system.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-display-backend", "allwinner,sun5i-a13-display-backend", "allwinner,sun6i-a31-display-backend", "allwinner,sun7i-a20-display-backend", "allwinner,sun8i-a23-display-backend", "allwinner,sun8i-a33-display-backend", "allwinner,sun9i-a80-display-backend"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Display Backend registers

Item 2

SAT registers

reg-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "be"

Item 2

Exact value (const): "sat"

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

The backend interface clock

Item 2

The backend module clock

Item 3

The backend DRAM clock

Item 4

The SAT clock

clock-names — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "mod"

Item 3

Exact value (const): "ram"

Item 4

Exact value (const): "sat"

resets — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

The Backend reset line

Item 2

The SAT reset line

reset-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "be"

Item 2

Exact value (const): "sat"

interconnects — not listed as required here #

Maximum number of items (maxItems): 1

interconnect-names — not listed as required here #

Exact value (const): "dma-mem"

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#/properties/port

Input endpoints of the controller.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoints of the controller.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun8i-a33-display-backend"

When the condition matches (then) #

Properties and child nodes (properties) #

reg — not listed as required here #

Minimum number of items (minItems): 2

reg-names — required here #

Minimum number of items (minItems): 2

clocks — not listed as required here #

Minimum number of items (minItems): 4

clock-names — not listed as required here #

Minimum number of items (minItems): 4

resets — not listed as required here #

Minimum number of items (minItems): 2

reset-names — required here #

Minimum number of items (minItems): 2

Required in this object (required): "reg-names", "reset-names"

When the condition does not match (else) #

Properties and child nodes (properties) #

reg — not listed as required here #

Maximum number of items (maxItems): 1

reg-names — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 3

clock-names — not listed as required here #

Maximum number of items (maxItems): 3

resets — not listed as required here #

Maximum number of items (maxItems): 1

reset-names — not listed as required here #

Maximum number of items (maxItems): 1

Examples (examples) #

/*
 * This comes from the clock/sun4i-a10-ccu.h and
 * reset/sun4i-a10-ccu.h headers, but we can't include them since
 * it would trigger a bunch of warnings for redefinitions of
 * symbols with the other example.
 */

#define CLK_AHB_DE_BE0	42
#define CLK_DRAM_DE_BE0	140
#define CLK_DE_BE0		144
#define RST_DE_BE0		5

display-backend@1e60000 {
    compatible = "allwinner,sun4i-a10-display-backend";
    reg = <0x01e60000 0x10000>;
    interrupts = <47>;
    clocks = <&ccu CLK_AHB_DE_BE0>, <&ccu CLK_DE_BE0>,
             <&ccu CLK_DRAM_DE_BE0>;
    clock-names = "ahb", "mod",
                  "ram";
    resets = <&ccu RST_DE_BE0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0>;

            endpoint@0 {
                reg = <0>;
                remote-endpoint = <&fe0_out_be0>;
            };

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&fe1_out_be0>;
            };
        };

        port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            endpoint@0 {
                reg = <0>;
                remote-endpoint = <&tcon0_in_be0>;
            };

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&tcon1_in_be0>;
            };
        };
    };
};
#include <dt-bindings/interrupt-controller/arm-gic.h>

/*
 * This comes from the clock/sun8i-a23-a33-ccu.h and
 * reset/sun8i-a23-a33-ccu.h headers, but we can't include them
 * since it would trigger a bunch of warnings for redefinitions of
 * symbols with the other example.
 */

#define CLK_BUS_DE_BE	40
#define CLK_BUS_SAT		46
#define CLK_DRAM_DE_BE	84
#define CLK_DE_BE		85
#define RST_BUS_DE_BE	21
#define RST_BUS_SAT		27

display-backend@1e60000 {
    compatible = "allwinner,sun8i-a33-display-backend";
    reg = <0x01e60000 0x10000>, <0x01e80000 0x1000>;
    reg-names = "be", "sat";
    interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ccu CLK_BUS_DE_BE>, <&ccu CLK_DE_BE>,
             <&ccu CLK_DRAM_DE_BE>, <&ccu CLK_BUS_SAT>;
    clock-names = "ahb", "mod",
                  "ram", "sat";
    resets = <&ccu RST_BUS_DE_BE>, <&ccu RST_BUS_SAT>;
    reset-names = "be", "sat";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;

            endpoint {
                remote-endpoint = <&fe0_out_be0>;
            };
        };

        port@1 {
            reg = <1>;

            endpoint {
                remote-endpoint = <&drc0_in_be0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 70: FIXME: This should be made required eventually once every SoC will

Line 71: have the MBUS declared.

Line 75: FIXME: This should be made required eventually once every SoC will

Line 76: have the MBUS declared.

Allwinner A10 Display Engine Pipeline

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-engine.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

The display engine pipeline (and its entry point, since it can be either directly the backend or the frontend) is represented as an extra node.

The Allwinner A10 Display pipeline is composed of several components that are going to be documented below:

For all connections between components up to the TCONs in the display pipeline, when there are multiple components of the same type at the same depth, the local endpoint ID must be the same as the remote component's index. For example, if the remote endpoint is Frontend 1, then the local endpoint ID must be 1.

Frontend 0  [0] ------- [0]  Backend 0  [0] ------- [0]  TCON 0
            [1] --   -- [1]             [1] --   -- [1]
                  \ /                         \ /
                   X                           X
                  / \                         / \
            [0] --   -- [0]             [0] --   -- [0]
Frontend 1  [1] ------- [1]  Backend 1  [1] ------- [1]  TCON 1

For a two pipeline system such as the one depicted above, the lines represent the connections between the components, while the numbers within the square brackets corresponds to the ID of the local endpoint.

The same rule also applies to DE 2.0 mixer-TCON connections:

Mixer 0  [0] ----------- [0]  TCON 0
         [1] ----   ---- [1]
                 \ /
                  X
                 / \
         [0] ----   ---- [0]
Mixer 1  [1] ----------- [1]  TCON 1

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-display-engine", "allwinner,sun5i-a10s-display-engine", "allwinner,sun5i-a13-display-engine", "allwinner,sun6i-a31-display-engine", "allwinner,sun6i-a31s-display-engine", "allwinner,sun7i-a20-display-engine", "allwinner,sun8i-a23-display-engine", "allwinner,sun8i-a33-display-engine", "allwinner,sun8i-a83t-display-engine", "allwinner,sun8i-h3-display-engine", "allwinner,sun8i-r40-display-engine", "allwinner,sun8i-v3s-display-engine", "allwinner,sun9i-a80-display-engine", "allwinner,sun20i-d1-display-engine", "allwinner,sun50i-a64-display-engine", "allwinner,sun50i-h6-display-engine"

allwinner,pipelines — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Array item rules (items) #

Maximum number of items (maxItems): 1

Available display engine frontends (DE 1.0) or mixers (DE 2.0/3.0) available.

Required in this object (required): "compatible", "allwinner,pipelines"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun4i-a10-display-engine", "allwinner,sun6i-a31-display-engine", "allwinner,sun6i-a31s-display-engine", "allwinner,sun7i-a20-display-engine", "allwinner,sun8i-a83t-display-engine", "allwinner,sun8i-r40-display-engine", "allwinner,sun9i-a80-display-engine", "allwinner,sun20i-d1-display-engine", "allwinner,sun50i-a64-display-engine"

When the condition matches (then) #

Properties and child nodes (properties) #

allwinner,pipelines — not listed as required here #

Minimum number of items (minItems): 2

When the condition does not match (else) #

Properties and child nodes (properties) #

allwinner,pipelines — not listed as required here #

Maximum number of items (maxItems): 1

Examples (examples) #

de: display-engine {
    compatible = "allwinner,sun4i-a10-display-engine";
    allwinner,pipelines = <&fe0>, <&fe1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 Display Engine Frontend

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-frontend.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

The display engine frontend does formats conversion, scaling, deinterlacing and color space conversion.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-display-frontend", "allwinner,sun5i-a13-display-frontend", "allwinner,sun6i-a31-display-frontend", "allwinner,sun7i-a20-display-frontend", "allwinner,sun8i-a23-display-frontend", "allwinner,sun8i-a33-display-frontend", "allwinner,sun9i-a80-display-frontend"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

The frontend interface clock

Item 2

The frontend module clock

Item 3

The frontend DRAM clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "mod"

Item 3

Exact value (const): "ram"

interconnects — not listed as required here #

Maximum number of items (maxItems): 1

interconnect-names — not listed as required here #

Exact value (const): "dma-mem"

resets — required here #

Maximum number of items (maxItems): 1

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

Input endpoints of the controller.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoints of the controller.

Required in this object (required): "port@1"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun4i-a10-ccu.h>
#include <dt-bindings/reset/sun4i-a10-ccu.h>

fe0: display-frontend@1e00000 {
    compatible = "allwinner,sun4i-a10-display-frontend";
    reg = <0x01e00000 0x20000>;
    interrupts = <47>;
    clocks = <&ccu CLK_AHB_DE_FE0>, <&ccu CLK_DE_FE0>,
             <&ccu CLK_DRAM_DE_FE0>;
    clock-names = "ahb", "mod",
                  "ram";
    resets = <&ccu RST_DE_FE0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        fe0_out: port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            fe0_out_be0: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&be0_in_fe0>;
            };

            fe0_out_be1: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&be1_in_fe0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 46: FIXME: This should be made required eventually once every SoC will

Line 47: have the MBUS declared.

Line 51: FIXME: This should be made required eventually once every SoC will

Line 52: have the MBUS declared.

Allwinner A10 HDMI Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun4i-a10-hdmi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The HDMI Encoder supports the HDMI video and audio outputs, and does CEC. It is one end of the pipeline.

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "allwinner,sun4i-a10-hdmi"

Rule 2

Exact value (const): "allwinner,sun5i-a10s-hdmi"

Rule 3

Exact value (const): "allwinner,sun6i-a31-hdmi"

Rule 4

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun7i-a20-hdmi"

Item 2

Exact value (const): "allwinner,sun5i-a10s-hdmi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

The HDMI interface clock

Item 2

The HDMI module clock

Item 3

The first video PLL

Item 4

The second video PLL

Rule 2

Array item rules (items)

Item 1

The HDMI interface clock

Item 2

The HDMI module clock

Item 3

The HDMI DDC clock

Item 4

The first video PLL

Item 5

The second video PLL

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "mod"

Item 3

Exact value (const): "pll-0"

Item 4

Exact value (const): "pll-1"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "mod"

Item 3

Exact value (const): "ddc"

Item 4

Exact value (const): "pll-0"

Item 5

Exact value (const): "pll-1"

resets — not listed as required here #

Maximum number of items (maxItems): 1

dmas — required here #

Array item rules (items) #

Item 1

DDC Transmission DMA Channel

Item 2

DDC Reception DMA Channel

Item 3

Audio Transmission DMA Channel

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ddc-tx"

Item 2

Exact value (const): "ddc-rx"

Item 3

Exact value (const): "audio-tx"

ports — not listed as 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#/properties/port

Input endpoints of the controller.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoints of the controller. Usually an HDMI connector.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "dmas", "dma-names"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun6i-a31-hdmi"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Minimum number of items (minItems): 5

clock-names — not listed as required here #

Minimum number of items (minItems): 5

Required in this object (required): "resets"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun4i-a10-ccu.h>
#include <dt-bindings/dma/sun4i-a10.h>
#include <dt-bindings/reset/sun4i-a10-ccu.h>

hdmi: hdmi@1c16000 {
    compatible = "allwinner,sun4i-a10-hdmi";
    reg = <0x01c16000 0x1000>;
    interrupts = <58>;
    clocks = <&ccu CLK_AHB_HDMI0>, <&ccu CLK_HDMI>,
             <&ccu CLK_PLL_VIDEO0_2X>,
             <&ccu CLK_PLL_VIDEO1_2X>;
    clock-names = "ahb", "mod", "pll-0", "pll-1";
    dmas = <&dma SUN4I_DMA_NORMAL 16>,
           <&dma SUN4I_DMA_NORMAL 16>,
           <&dma SUN4I_DMA_DEDICATED 24>;
    dma-names = "ddc-tx", "ddc-rx", "audio-tx";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        hdmi_in: port@0 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0>;

            hdmi_in_tcon0: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&tcon0_out_hdmi>;
            };

            hdmi_in_tcon1: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&tcon1_out_hdmi>;
            };
        };

        hdmi_out: port@1 {
            reg = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 Timings Controller (TCON)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun4i-a10-tcon.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

The TCON acts as a timing controller for RGB, LVDS and TV interfaces.

Properties and child nodes (properties) #

#clock-cells — not listed as required here #

Exact value (const): 0

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "allwinner,sun4i-a10-tcon"

Rule 2

Exact value (const): "allwinner,sun5i-a13-tcon"

Rule 3

Exact value (const): "allwinner,sun6i-a31-tcon"

Rule 4

Exact value (const): "allwinner,sun6i-a31s-tcon"

Rule 5

Exact value (const): "allwinner,sun7i-a20-tcon"

Rule 6

Exact value (const): "allwinner,sun8i-a23-tcon"

Rule 7

Exact value (const): "allwinner,sun8i-a33-tcon"

Rule 8

Exact value (const): "allwinner,sun8i-a83t-tcon-lcd"

Rule 9

Exact value (const): "allwinner,sun8i-a83t-tcon-tv"

Rule 10

Exact value (const): "allwinner,sun8i-r40-tcon-tv"

Rule 11

Exact value (const): "allwinner,sun8i-v3s-tcon"

Rule 12

Exact value (const): "allwinner,sun9i-a80-tcon-lcd"

Rule 13

Exact value (const): "allwinner,sun9i-a80-tcon-tv"

Rule 14

Exact value (const): "allwinner,sun20i-d1-tcon-lcd"

Rule 15

Exact value (const): "allwinner,sun20i-d1-tcon-tv"

Rule 16

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun7i-a20-tcon0", "allwinner,sun7i-a20-tcon1"

Item 2

Exact value (const): "allwinner,sun7i-a20-tcon"

Rule 17

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun50i-a64-tcon-lcd"

Item 2

Exact value (const): "allwinner,sun8i-a83t-tcon-lcd"

Rule 18

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun8i-h3-tcon-tv", "allwinner,sun50i-a64-tcon-tv"

Item 2

Exact value (const): "allwinner,sun8i-a83t-tcon-tv"

Rule 19

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun50i-h6-tcon-tv"

Item 2

Exact value (const): "allwinner,sun8i-r40-tcon-tv"

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

Maximum number of items (maxItems): 4

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-output-names — not listed as required here #

Name of the LCD pixel clock created.

Maximum number of items (maxItems): 1

dmas — not listed as required here #

Maximum number of items (maxItems): 1

resets — required here #

At least one of these rules must match (anyOf) #

Rule 1

Array item rules (items)

Item 1

TCON Reset Line

Rule 2

Array item rules (items)

Item 1

TCON Reset Line

Item 2

TCON LVDS Reset Line

Rule 3

Array item rules (items)

Item 1

TCON Reset Line

Item 2

TCON eDP Reset Line

Rule 4

Array item rules (items)

Item 1

TCON Reset Line

Item 2

TCON eDP Reset Line

Item 3

TCON LVDS Reset Line

reset-names — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "lcd"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "lcd"

Item 2

Exact value (const): "lvds"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "lcd"

Item 2

Exact value (const): "edp"

Rule 4

Array item rules (items)

Item 1

Exact value (const): "lcd"

Item 2

Exact value (const): "edp"

Item 3

Exact value (const): "lvds"

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#/properties/port

Input endpoints of the controller.

port@1 — 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.

Output endpoints of the controller.

Properties matching a name pattern (patternProperties)

^endpoint(@[0-9])$ — name matches this regular expression

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)

allwinner,tcon-channel — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

TCON can have 1 or 2 channels, usually with the first channel being used for the panels interfaces (RGB, LVDS, etc.), and the second being used for the outputs that require another controller (TV Encoder, HDMI, etc.).

If that property is present, specifies the TCON channel the endpoint is associated to. If that property is not present, the endpoint number will be used as the channel number.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun4i-a10-tcon", "allwinner,sun5i-a13-tcon", "allwinner,sun7i-a20-tcon"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "tcon-ch0"

Item 3

Exact value (const): "tcon-ch1"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun6i-a31-tcon", "allwinner,sun6i-a31s-tcon"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "tcon-ch0"

Item 3

Exact value (const): "tcon-ch1"

Item 4

Exact value (const): "lvds-alt"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun8i-a23-tcon", "allwinner,sun8i-a33-tcon"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "tcon-ch0"

Item 3

Exact value (const): "lvds-alt"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun8i-a83t-tcon-lcd", "allwinner,sun8i-v3s-tcon", "allwinner,sun9i-a80-tcon-lcd", "allwinner,sun20i-d1-tcon-lcd"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "tcon-ch0"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun8i-a83t-tcon-tv", "allwinner,sun8i-r40-tcon-tv", "allwinner,sun9i-a80-tcon-tv", "allwinner,sun20i-d1-tcon-tv"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "tcon-ch1"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun5i-a13-tcon", "allwinner,sun6i-a31-tcon", "allwinner,sun6i-a31s-tcon", "allwinner,sun7i-a20-tcon", "allwinner,sun8i-a23-tcon", "allwinner,sun8i-a33-tcon", "allwinner,sun8i-v3s-tcon", "allwinner,sun9i-a80-tcon-lcd", "allwinner,sun4i-a10-tcon", "allwinner,sun8i-a83t-tcon-lcd", "allwinner,sun20i-d1-tcon-lcd"

When the condition matches (then) #

Required in this object (required): "#clock-cells", "clock-output-names"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun6i-a31-tcon", "allwinner,sun6i-a31s-tcon", "allwinner,sun8i-a23-tcon", "allwinner,sun8i-a33-tcon", "allwinner,sun8i-a83t-tcon-lcd", "allwinner,sun20i-d1-tcon-lcd"

When the condition matches (then) #

Properties and child nodes (properties)

resets — not listed as required here

Minimum number of items (minItems): 2

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "lcd"

Item 2

Exact value (const): "lvds"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun9i-a80-tcon-lcd"

When the condition matches (then) #

Properties and child nodes (properties)

resets — not listed as required here

Minimum number of items (minItems): 3

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "lcd"

Item 2

Exact value (const): "edp"

Item 3

Exact value (const): "lvds"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun9i-a80-tcon-tv"

When the condition matches (then) #

Properties and child nodes (properties)

resets — not listed as required here

Minimum number of items (minItems): 2

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "lcd"

Item 2

Exact value (const): "edp"

Rule 10 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun4i-a10-tcon", "allwinner,sun5i-a13-tcon", "allwinner,sun6i-a31-tcon", "allwinner,sun6i-a31s-tcon", "allwinner,sun7i-a20-tcon", "allwinner,sun8i-a23-tcon", "allwinner,sun8i-a33-tcon"

When the condition matches (then) #

Required in this object (required): "dmas"

Examples (examples) #

#include <dt-bindings/dma/sun4i-a10.h>

/*
 * This comes from the clock/sun4i-a10-ccu.h and
 * reset/sun4i-a10-ccu.h headers, but we can't include them since
 * it would trigger a bunch of warnings for redefinitions of
 * symbols with the other example.
 */

#define CLK_AHB_LCD0	56
#define CLK_TCON0_CH0	149
#define CLK_TCON0_CH1	155
#define RST_TCON0		11

lcd-controller@1c0c000 {
    compatible = "allwinner,sun4i-a10-tcon";
    reg = <0x01c0c000 0x1000>;
    interrupts = <44>;
    resets = <&ccu RST_TCON0>;
    reset-names = "lcd";
    clocks = <&ccu CLK_AHB_LCD0>,
             <&ccu CLK_TCON0_CH0>,
             <&ccu CLK_TCON0_CH1>;
    clock-names = "ahb",
                  "tcon-ch0",
                  "tcon-ch1";
    clock-output-names = "tcon0-pixel-clock";
    #clock-cells = <0>;
    dmas = <&dma SUN4I_DMA_DEDICATED 14>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0>;

            endpoint@0 {
                reg = <0>;
                remote-endpoint = <&be0_out_tcon0>;
            };

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&be1_out_tcon0>;
            };
        };

        port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&hdmi_in_tcon0>;
                allwinner,tcon-channel = <1>;
            };
        };
    };
};

#undef CLK_AHB_LCD0
#undef CLK_TCON0_CH0
#undef CLK_TCON0_CH1
#undef RST_TCON0
#include <dt-bindings/interrupt-controller/arm-gic.h>

/*
 * This comes from the clock/sun6i-a31-ccu.h and
 * reset/sun6i-a31-ccu.h headers, but we can't include them since
 * it would trigger a bunch of warnings for redefinitions of
 * symbols with the other example.
 */

#define CLK_PLL_MIPI	15
#define CLK_AHB1_LCD0	47
#define CLK_LCD0_CH0	127
#define CLK_LCD0_CH1	129
#define RST_AHB1_LCD0	27
#define RST_AHB1_LVDS	41

lcd-controller@1c0c000 {
    compatible = "allwinner,sun6i-a31-tcon";
    reg = <0x01c0c000 0x1000>;
    interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
    dmas = <&dma 11>;
    resets = <&ccu RST_AHB1_LCD0>, <&ccu RST_AHB1_LVDS>;
    reset-names = "lcd", "lvds";
    clocks = <&ccu CLK_AHB1_LCD0>,
             <&ccu CLK_LCD0_CH0>,
             <&ccu CLK_LCD0_CH1>,
             <&ccu CLK_PLL_MIPI>;
    clock-names = "ahb",
                  "tcon-ch0",
                  "tcon-ch1",
                  "lvds-alt";
    clock-output-names = "tcon0-pixel-clock";
    #clock-cells = <0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0>;

            endpoint@0 {
                reg = <0>;
                remote-endpoint = <&drc0_out_tcon0>;
            };

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&drc1_out_tcon0>;
            };
        };

        port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&hdmi_in_tcon0>;
                allwinner,tcon-channel = <1>;
            };
        };
    };
};

#undef CLK_PLL_MIPI
#undef CLK_AHB1_LCD0
#undef CLK_LCD0_CH0
#undef CLK_LCD0_CH1
#undef RST_AHB1_LCD0
#undef RST_AHB1_LVDS
#include <dt-bindings/interrupt-controller/arm-gic.h>

/*
 * This comes from the clock/sun9i-a80-ccu.h and
 * reset/sun9i-a80-ccu.h headers, but we can't include them since
 * it would trigger a bunch of warnings for redefinitions of
 * symbols with the other example.
 */

#define CLK_BUS_LCD0	102
#define CLK_LCD0		58
#define RST_BUS_LCD0	22
#define RST_BUS_EDP		24
#define RST_BUS_LVDS	25

lcd-controller@3c00000 {
    compatible = "allwinner,sun9i-a80-tcon-lcd";
    reg = <0x03c00000 0x10000>;
    interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ccu CLK_BUS_LCD0>, <&ccu CLK_LCD0>;
    clock-names = "ahb", "tcon-ch0";
    resets = <&ccu RST_BUS_LCD0>, <&ccu RST_BUS_EDP>, <&ccu RST_BUS_LVDS>;
    reset-names = "lcd", "edp", "lvds";
    clock-output-names = "tcon0-pixel-clock";
    #clock-cells = <0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;

            endpoint {
                remote-endpoint = <&drc0_out_tcon0>;
            };
        };

        port@1 {
            reg = <1>;
        };
    };
};

#undef CLK_BUS_TCON0
#undef CLK_TCON0
#undef RST_BUS_TCON0
#undef RST_BUS_EDP
#undef RST_BUS_LVDS
#include <dt-bindings/interrupt-controller/arm-gic.h>

/*
 * This comes from the clock/sun8i-a83t-ccu.h and
 * reset/sun8i-a83t-ccu.h headers, but we can't include them since
 * it would trigger a bunch of warnings for redefinitions of
 * symbols with the other example.
 */

#define CLK_BUS_TCON0	36
#define CLK_TCON0		85
#define RST_BUS_TCON0	22
#define RST_BUS_LVDS	31

lcd-controller@1c0c000 {
    compatible = "allwinner,sun8i-a83t-tcon-lcd";
    reg = <0x01c0c000 0x1000>;
    interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>;
    clock-names = "ahb", "tcon-ch0";
    clock-output-names = "tcon-pixel-clock";
    #clock-cells = <0>;
    resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>;
    reset-names = "lcd", "lvds";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0>;

            endpoint@0 {
                reg = <0>;
                remote-endpoint = <&mixer0_out_tcon0>;
            };

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&mixer1_out_tcon0>;
            };
        };

        port@1 {
            reg = <1>;
        };
    };
};

#undef CLK_BUS_TCON0
#undef CLK_TCON0
#undef RST_BUS_TCON0
#undef RST_BUS_LVDS
#include <dt-bindings/interrupt-controller/arm-gic.h>

/*
 * This comes from the clock/sun8i-r40-ccu.h and
 * reset/sun8i-r40-ccu.h headers, but we can't include them since
 * it would trigger a bunch of warnings for redefinitions of
 * symbols with the other example.
 */

#define CLK_BUS_TCON_TV0	73
#define RST_BUS_TCON_TV0	49

tcon_tv0: lcd-controller@1c73000 {
    compatible = "allwinner,sun8i-r40-tcon-tv";
    reg = <0x01c73000 0x1000>;
    interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ccu CLK_BUS_TCON_TV0>, <&tcon_top 0>;
    clock-names = "ahb", "tcon-ch1";
    resets = <&ccu RST_BUS_TCON_TV0>;
    reset-names = "lcd";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0>;

            endpoint@0 {
                reg = <0>;
                remote-endpoint = <&tcon_top_mixer0_out_tcon_tv0>;
            };

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&tcon_top_mixer1_out_tcon_tv0>;
            };
        };

        tcon_tv0_out: port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            endpoint@1 {
                reg = <1>;
                remote-endpoint = <&tcon_top_hdmi_in_tcon_tv0>;
            };
        };
    };
};

#undef CLK_BUS_TCON_TV0
#undef RST_BUS_TCON_TV0

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 TV Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun4i-a10-tv-encoder.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-tv-encoder"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The first port should be the input endpoint, usually coming from the associated TCON.

Required in this object (required): "compatible", "reg", "clocks", "resets", "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

tve0: tv-encoder@1c0a000 {
    compatible = "allwinner,sun4i-a10-tv-encoder";
    reg = <0x01c0a000 0x1000>;
    clocks = <&ahb_gates 34>;
    resets = <&tcon_ch0_clk 0>;

    port {
        tve0_in_tcon0: endpoint {
            remote-endpoint = <&tcon0_out_tve0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A31 Dynamic Range Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun6i-a31-drc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

The DRC (Dynamic Range Controller) allows to dynamically adjust pixel brightness/contrast based on histogram measurements for LCD content adaptive backlight control.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "allwinner,sun6i-a31-drc", "allwinner,sun6i-a31s-drc", "allwinner,sun8i-a23-drc", "allwinner,sun8i-a33-drc", "allwinner,sun9i-a80-drc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

The DRC interface clock

Item 2

The DRC module clock

Item 3

The DRC DRAM clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "mod"

Item 3

Exact value (const): "ram"

resets — required here #

Maximum number of items (maxItems): 1

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#/properties/port

Input endpoints of the controller.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoints of the controller.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "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/clock/sun6i-a31-ccu.h>
#include <dt-bindings/reset/sun6i-a31-ccu.h>

drc0: drc@1e70000 {
    compatible = "allwinner,sun6i-a31-drc";
    reg = <0x01e70000 0x10000>;
    interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ccu CLK_AHB1_DRC0>, <&ccu CLK_IEP_DRC0>,
             <&ccu CLK_DRAM_DRC0>;
    clock-names = "ahb", "mod",
                  "ram";
    resets = <&ccu RST_AHB1_DRC0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        drc0_in: port@0 {
            reg = <0>;

            drc0_in_be0: endpoint {
                remote-endpoint = <&be0_out_drc0>;
            };
        };

        drc0_out: port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            drc0_out_tcon0: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&tcon0_in_drc0>;
            };

            drc0_out_tcon1: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&tcon1_in_drc0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A31 MIPI-DSI Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun6i-a31-mipi-dsi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "allwinner,sun6i-a31-mipi-dsi", "allwinner,sun50i-a64-mipi-dsi", "allwinner,sun50i-a100-mipi-dsi"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun20i-d1-mipi-dsi"

Item 2

Exact value (const): "allwinner,sun50i-a100-mipi-dsi"

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

Bus Clock

Item 2

Module Clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "mod"

resets — required here #

Maximum number of items (maxItems): 1

vcc-dsi-supply — not listed as required here #

VCC-DSI power supply of the DSI encoder

phys — required here #

Maximum number of items (maxItems): 1

phy-names — required here #

Exact value (const): "dphy"

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The port should be the input endpoint, usually coming from the associated TCON.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "phys", "phy-names", "resets", "port"

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 here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun6i-a31-mipi-dsi", "allwinner,sun50i-a100-mipi-dsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Required in this object (required): "clock-names"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun6i-a31-mipi-dsi", "allwinner,sun50i-a64-mipi-dsi"

When the condition matches (then) #

Required in this object (required): "vcc-dsi-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi0: dsi@1ca0000 {
    compatible = "allwinner,sun6i-a31-mipi-dsi";
    reg = <0x01ca0000 0x1000>;
    interrupts = <0 89 4>;
    clocks = <&ccu 23>, <&ccu 96>;
    clock-names = "bus", "mod";
    resets = <&ccu 4>;
    phys = <&dphy0>;
    phy-names = "dphy";
    vcc-dsi-supply = <&reg_dcdc1>;
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
            compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
            reg = <0>;
            power-supply = <&reg_display>;
            reset-gpios = <&r_pio 0 5 1>; /* PL05 */
            backlight = <&pwm_bl>;
    };

    port {
        dsi0_in_tcon0: endpoint {
            remote-endpoint = <&tcon0_out_dsi0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner Display Engine 2.0 Mixer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun8i-a83t-de2-mixer.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "allwinner,sun8i-a83t-de2-mixer-0", "allwinner,sun8i-a83t-de2-mixer-1", "allwinner,sun8i-h3-de2-mixer-0", "allwinner,sun8i-r40-de2-mixer-0", "allwinner,sun8i-r40-de2-mixer-1", "allwinner,sun8i-v3s-de2-mixer", "allwinner,sun20i-d1-de2-mixer-0", "allwinner,sun20i-d1-de2-mixer-1", "allwinner,sun50i-a64-de2-mixer-0", "allwinner,sun50i-a64-de2-mixer-1", "allwinner,sun50i-h6-de3-mixer-0", "allwinner,sun50i-h616-de33-mixer-0"

reg — required here #

true — No constraints added by this property rule.

reg-names — not listed as required here #

true — No constraints added by this property rule.

clocks — required here #

Array item rules (items) #

Item 1

The mixer interface clock

Item 2

The mixer module clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "mod"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

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

Input endpoints of the controller.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoints of the controller.

Required in this object (required): "port@1"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun50i-h616-de33-mixer-0"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Registers for controlling individual layers of the display engine (layers), global control (top), and display blending control (display). Names are from Allwinner BSP kernel.

Maximum number of items (maxItems): 3

reg-names — required here

Array item rules (items)

Item 1

Exact value (const): "layers"

Item 2

Exact value (const): "top"

Item 3

Exact value (const): "display"

Required in this object (required): "reg-names"

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun8i-de2.h>
#include <dt-bindings/reset/sun8i-de2.h>

mixer0: mixer@1100000 {
    compatible = "allwinner,sun8i-a83t-de2-mixer-0";
    reg = <0x01100000 0x100000>;
    clocks = <&display_clocks CLK_BUS_MIXER0>,
             <&display_clocks CLK_MIXER0>;
    clock-names = "bus",
                  "mod";
    resets = <&display_clocks RST_MIXER0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        mixer0_out: port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            mixer0_out_tcon0: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&tcon0_in_mixer0>;
            };

            mixer0_out_tcon1: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&tcon1_in_mixer0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A83t DWC HDMI TX Encoder

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun8i-a83t-dw-hdmi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP with Allwinner\'s own PHY IP. It supports audio and video outputs and CEC.

These DT bindings follow the Synopsys DWC HDMI TX bindings defined in bridge/synopsys,dw-hdmi.yaml with the following device-specific properties.

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#phy-cells — not listed as required here #

Exact value (const): 0

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "allwinner,sun8i-a83t-dw-hdmi"

Rule 2

Exact value (const): "allwinner,sun50i-h6-dw-hdmi"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun8i-h3-dw-hdmi", "allwinner,sun8i-r40-dw-hdmi", "allwinner,sun50i-a64-dw-hdmi"

Item 2

Exact value (const): "allwinner,sun8i-a83t-dw-hdmi"

reg — required here #

Maximum number of items (maxItems): 1

reg-io-width — required here #

Exact value (const): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Bus Clock

Item 2

Register Clock

Item 3

TMDS Clock

Item 4

HDMI CEC Clock

Item 5

HDCP Clock

Item 6

HDCP Bus Clock

clock-names — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Exact value (const): "iahb"

Item 2

Exact value (const): "isfr"

Item 3

Exact value (const): "tmds"

Item 4

Exact value (const): "cec"

Item 5

Exact value (const): "hdcp"

Item 6

Exact value (const): "hdcp-bus"

resets — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

HDMI Controller Reset

Item 2

HDCP Reset

reset-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "ctrl"

Item 2

Exact value (const): "hdcp"

phys — required here #

Maximum number of items (maxItems): 1

Phandle to the DWC HDMI PHY.

phy-names — required here #

Exact value (const): "phy"

hvcc-supply — not listed as required here #

The VCC power supply of the controller

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#/properties/port

Input endpoints of the controller. Usually the associated TCON.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoints of the controller. Usually an HDMI connector.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "reg-io-width", "interrupts", "clocks", "clock-names", "resets", "reset-names", "phys", "phy-names", "ports"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun50i-h6-dw-hdmi"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Minimum number of items (minItems): 6

clock-names — not listed as required here #

Minimum number of items (minItems): 6

resets — not listed as required here #

Minimum number of items (minItems): 2

reset-names — not listed as required here #

Minimum number of items (minItems): 2

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>

/*
 * This comes from the clock/sun8i-a83t-ccu.h and
 * reset/sun8i-a83t-ccu.h headers, but we can't include them since
 * it would trigger a bunch of warnings for redefinitions of
 * symbols with the other example.
 */
#define CLK_BUS_HDMI	39
#define CLK_HDMI		93
#define CLK_HDMI_SLOW	94
#define RST_BUS_HDMI1	26

hdmi@1ee0000 {
    compatible = "allwinner,sun8i-a83t-dw-hdmi";
    reg = <0x01ee0000 0x10000>;
    reg-io-width = <1>;
    interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_SLOW>,
             <&ccu CLK_HDMI>;
    clock-names = "iahb", "isfr", "tmds";
    resets = <&ccu RST_BUS_HDMI1>;
    reset-names = "ctrl";
    phys = <&hdmi_phy>;
    phy-names = "phy";
    pinctrl-names = "default";
    pinctrl-0 = <&hdmi_pins>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;

            endpoint {
                remote-endpoint = <&tcon1_out_hdmi>;
            };
        };

        port@1 {
            reg = <1>;
        };
    };
};

/* Cleanup after ourselves */
#undef CLK_BUS_HDMI
#undef CLK_HDMI
#undef CLK_HDMI_SLOW
#include <dt-bindings/interrupt-controller/arm-gic.h>

/*
 * This comes from the clock/sun50i-h6-ccu.h and
 * reset/sun50i-h6-ccu.h headers, but we can't include them since
 * it would trigger a bunch of warnings for redefinitions of
 * symbols with the other example.
 */
#define CLK_BUS_HDMI	126
#define CLK_BUS_HDCP	137
#define CLK_HDMI		123
#define CLK_HDMI_SLOW	124
#define CLK_HDMI_CEC	125
#define CLK_HDCP		136
#define RST_BUS_HDMI_SUB	57
#define RST_BUS_HDCP	62

hdmi@6000000 {
    compatible = "allwinner,sun50i-h6-dw-hdmi";
    reg = <0x06000000 0x10000>;
    reg-io-width = <1>;
    interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_SLOW>,
             <&ccu CLK_HDMI>, <&ccu CLK_HDMI_CEC>,
             <&ccu CLK_HDCP>, <&ccu CLK_BUS_HDCP>;
    clock-names = "iahb", "isfr", "tmds", "cec", "hdcp",
                  "hdcp-bus";
    resets = <&ccu RST_BUS_HDMI_SUB>, <&ccu RST_BUS_HDCP>;
    reset-names = "ctrl", "hdcp";
    phys = <&hdmi_phy>;
    phy-names = "phy";
    pinctrl-names = "default";
    pinctrl-0 = <&hdmi_pins>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;

            endpoint {
                remote-endpoint = <&tcon_top_hdmi_out_hdmi>;
            };
        };

        port@1 {
            reg = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A83t HDMI PHY

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun8i-a83t-hdmi-phy.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#phy-cells — not listed as required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun8i-a83t-hdmi-phy", "allwinner,sun8i-h3-hdmi-phy", "allwinner,sun8i-r40-hdmi-phy", "allwinner,sun50i-a64-hdmi-phy", "allwinner,sun50i-h6-hdmi-phy"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Bus Clock

Item 2

Module Clock

Item 3

Parent of the PHY clock

Item 4

Second possible parent of the PHY clock

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "mod"

Item 3

Exact value (const): "pll-0"

Item 4

Exact value (const): "pll-1"

resets — required here #

Maximum number of items (maxItems): 1

reset-names — required here #

Exact value (const): "phy"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun8i-r40-hdmi-phy"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Minimum number of items (minItems): 4

clock-names — not listed as required here #

Minimum number of items (minItems): 4

When the condition does not match (else) #

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun8i-h3-hdmi-phy", "allwinner,sun50i-a64-hdmi-phy"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here

Minimum number of items (minItems): 3

clock-names — not listed as required here

Minimum number of items (minItems): 3

When the condition does not match (else) #

Properties and child nodes (properties) #

clocks — not listed as required here

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Maximum number of items (maxItems): 2

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun8i-a83t-ccu.h>
#include <dt-bindings/reset/sun8i-a83t-ccu.h>

hdmi_phy: hdmi-phy@1ef0000 {
    compatible = "allwinner,sun8i-a83t-hdmi-phy";
    reg = <0x01ef0000 0x10000>;
    clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_SLOW>;
    clock-names = "bus", "mod";
    resets = <&ccu RST_BUS_HDMI0>;
    reset-names = "phy";
    #phy-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner R40 TCON TOP

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun8i-r40-tcon-top.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

TCON TOPs main purpose is to configure whole display pipeline. It determines relationships between mixers and TCONs, selects source TCON for HDMI, muxes LCD and TV encoder GPIO output, selects TV encoder clock source and contains additional TV TCON and DSI gates.

It allows display pipeline to be configured in very different ways:

                                / LCD0/LVDS0
                 / [0] TCON-LCD0
                 |              \ MIPI DSI
 mixer0          |
        \        / [1] TCON-LCD1 - LCD1/LVDS1
         TCON-TOP
        /        \ [2] TCON-TV0 [0] - TVE0/RGB
 mixer1          |                  \
                 |                   TCON-TOP - HDMI
                 |                  /
                 \ [3] TCON-TV1 [1] - TVE1/RGB

Note that both TCON TOP references same physical unit. Both mixers can be connected to any TCON. Not all TCON TOP variants support all features.

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "allwinner,sun8i-r40-tcon-top", "allwinner,sun20i-d1-tcon-top", "allwinner,sun50i-h6-tcon-top"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 6

clock-names — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 6

clock-output-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

resets — required here #

Maximum number of items (maxItems): 1

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#/properties/port

Input endpoint for Mixer 0 mux.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoint for Mixer 0 mux

port@2 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Input endpoint for Mixer 1 mux.

port@3 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoint for Mixer 1 mux

port@4 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Input endpoint for HDMI mux.

port@5 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoint for HDMI mux

Required in this object (required): "port@0", "port@1", "port@4", "port@5"

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-names", "clock-output-names", "resets", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun8i-r40-tcon-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

The TCON TOP interface clock

Item 2

The TCON TOP TV0 clock

Item 3

The TCON TOP TVE0 clock

Item 4

The TCON TOP TV1 clock

Item 5

The TCON TOP TVE1 clock

Item 6

The TCON TOP MIPI DSI clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "tcon-tv0"

Item 3

Exact value (const): "tve0"

Item 4

Exact value (const): "tcon-tv1"

Item 5

Exact value (const): "tve1"

Item 6

Exact value (const): "dsi"

clock-output-names — not listed as required here

Array item rules (items)

Item 1

TCON TV0 output clock name

Item 2

TCON TV1 output clock name

Item 3

DSI output clock name

ports — not listed as required here

Required in this object (required): "port@2", "port@3"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun20i-d1-tcon-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

The TCON TOP interface clock

Item 2

The TCON TOP TV0 clock

Item 3

The TCON TOP TVE0 clock

Item 4

The TCON TOP MIPI DSI clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "tcon-tv0"

Item 3

Exact value (const): "tve0"

Item 4

Exact value (const): "dsi"

clock-output-names — not listed as required here

Array item rules (items)

Item 1

TCON TV0 output clock name

Item 2

DSI output clock name

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun50i-h6-tcon-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

The TCON TOP interface clock

Item 2

The TCON TOP TV0 clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "tcon-tv0"

clock-output-names — not listed as required here

Array item rules (items)

Item 1

TCON TV0 output clock name

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

#include <dt-bindings/clock/sun8i-r40-ccu.h>
#include <dt-bindings/reset/sun8i-r40-ccu.h>

  tcon_top: tcon-top@1c70000 {
      compatible = "allwinner,sun8i-r40-tcon-top";
      reg = <0x01c70000 0x1000>;
      clocks = <&ccu CLK_BUS_TCON_TOP>,
               <&ccu CLK_TCON_TV0>,
               <&ccu CLK_TVE0>,
               <&ccu CLK_TCON_TV1>,
               <&ccu CLK_TVE1>,
               <&ccu CLK_DSI_DPHY>;
      clock-names = "bus",
                    "tcon-tv0",
                    "tve0",
                    "tcon-tv1",
                    "tve1",
                    "dsi";
      clock-output-names = "tcon-top-tv0",
                           "tcon-top-tv1",
                           "tcon-top-dsi";
      resets = <&ccu RST_BUS_TCON_TOP>;
      #clock-cells = <1>;

      ports {
          #address-cells = <1>;
          #size-cells = <0>;

          tcon_top_mixer0_in: port@0 {
              reg = <0>;

              tcon_top_mixer0_in_mixer0: endpoint {
                  remote-endpoint = <&mixer0_out_tcon_top>;
              };
          };

          tcon_top_mixer0_out: port@1 {
              #address-cells = <1>;
              #size-cells = <0>;
              reg = <1>;

              tcon_top_mixer0_out_tcon_lcd0: endpoint@0 {
                  reg = <0>;
              };

              tcon_top_mixer0_out_tcon_lcd1: endpoint@1 {
                  reg = <1>;
              };

              tcon_top_mixer0_out_tcon_tv0: endpoint@2 {
                  reg = <2>;
                  remote-endpoint = <&tcon_tv0_in_tcon_top_mixer0>;
              };

              tcon_top_mixer0_out_tcon_tv1: endpoint@3 {
                  reg = <3>;
                  remote-endpoint = <&tcon_tv1_in_tcon_top_mixer0>;
              };
          };

          tcon_top_mixer1_in: port@2 {
              #address-cells = <1>;
              #size-cells = <0>;
              reg = <2>;

              tcon_top_mixer1_in_mixer1: endpoint@1 {
                  reg = <1>;
                  remote-endpoint = <&mixer1_out_tcon_top>;
              };
          };

          tcon_top_mixer1_out: port@3 {
              #address-cells = <1>;
              #size-cells = <0>;
              reg = <3>;

              tcon_top_mixer1_out_tcon_lcd0: endpoint@0 {
                  reg = <0>;
              };

              tcon_top_mixer1_out_tcon_lcd1: endpoint@1 {
                  reg = <1>;
              };

              tcon_top_mixer1_out_tcon_tv0: endpoint@2 {
                  reg = <2>;
                  remote-endpoint = <&tcon_tv0_in_tcon_top_mixer1>;
              };

              tcon_top_mixer1_out_tcon_tv1: endpoint@3 {
                  reg = <3>;
                  remote-endpoint = <&tcon_tv1_in_tcon_top_mixer1>;
              };
          };

          tcon_top_hdmi_in: port@4 {
              #address-cells = <1>;
              #size-cells = <0>;
              reg = <4>;

              tcon_top_hdmi_in_tcon_tv0: endpoint@0 {
                  reg = <0>;
                  remote-endpoint = <&tcon_tv0_out_tcon_top>;
              };

              tcon_top_hdmi_in_tcon_tv1: endpoint@1 {
                  reg = <1>;
                  remote-endpoint = <&tcon_tv1_out_tcon_top>;
              };
          };

          tcon_top_hdmi_out: port@5 {
              reg = <5>;

              tcon_top_hdmi_out_hdmi: endpoint {
                  remote-endpoint = <&hdmi_in_tcon_top>;
              };
          };
      };
  };

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A80 Detail Enhancement Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/allwinner,sun9i-a80-deu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

The DEU (Detail Enhancement Unit), found in the Allwinner A80 SoC, can sharpen the display content in both luma and chroma channels.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-deu"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

The DEU interface clock

Item 2

The DEU module clock

Item 3

The DEU DRAM clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "mod"

Item 3

Exact value (const): "ram"

resets — required here #

Maximum number of items (maxItems): 1

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#/properties/port

Input endpoints of the controller.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output endpoints of the controller.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "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/clock/sun9i-a80-de.h>
#include <dt-bindings/reset/sun9i-a80-de.h>

deu0: deu@3300000 {
    compatible = "allwinner,sun9i-a80-deu";
    reg = <0x03300000 0x40000>;
    interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&de_clocks CLK_BUS_DEU0>,
             <&de_clocks CLK_IEP_DEU0>,
             <&de_clocks CLK_DRAM_DEU0>;
    clock-names = "ahb",
                  "mod",
                  "ram";
    resets = <&de_clocks RST_DEU0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        deu0_in: port@0 {
            reg = <0>;

            deu0_in_fe0: endpoint {
                remote-endpoint = <&fe0_out_deu0>;
            };
        };

        deu0_out: port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;

            deu0_out_be0: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&be0_in_deu0>;
            };

            deu0_out_be1: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&be1_in_deu0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Amlogic specific extensions to the Synopsys Designware HDMI Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/amlogic,meson-dw-hdmi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

The Amlogic Meson Synopsys Designware Integration is composed of - A Synopsys DesignWare HDMI Controller IP - A TOP control block controlling the Clocks and PHY - A custom HDMI PHY in order to convert video to TMDS signal ___________________________________ | HDMI TOP |<= HPD |___________________________________| | | | | Synopsys HDMI | HDMI PHY |=> TMDS | Controller |________________| |___________________________________|<=> DDC

The HDMI TOP block only supports HPD sensing. The Synopsys HDMI Controller interrupt is routed through the TOP Block interrupt. Communication to the TOP Block and the Synopsys HDMI Controller is done via a pair of dedicated addr+read/write registers. The HDMI PHY is configured by registers in the HHI register block.

Pixel data arrives in "4:4:4" format from the VENC block and the VPU HDMI mux selects either the ENCI encoder for the 576i or 480i formats or the ENCP encoder for all the other formats including interlaced HD formats.

The VENC uses a DVI encoder on top of the ENCI or ENCP encoders to generate DVI timings for the HDMI controller.

Amlogic Meson GXBB, GXL and GXM SoCs families embeds the Synopsys DesignWare HDMI TX IP version 2.01a with HDCP and I2C & S/PDIF audio source interfaces.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gxl-dw-hdmi", "amlogic,meson-gxm-dw-hdmi"

Item 2

Exact value (const): "amlogic,meson-gx-dw-hdmi"

Rule 2

Allowed values (enum): "amlogic,meson-g12a-dw-hdmi"

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): 3

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "isfr"

Item 2

Exact value (const): "iahb"

Item 3

Exact value (const): "venci"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

phandle to the associated power domain

resets — required here #

Minimum number of items (minItems): 3

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "hdmitx_apb"

Item 2

Exact value (const): "hdmitx"

Item 3

Exact value (const): "hdmitx_phy"

hdmi-supply — not listed as required here #

phandle to an external 5V regulator to power the HDMI logic

port@0 — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

A port node pointing to the VENC Input port node.

port@1 — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

A port node pointing to the TMDS Output port node.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

#sound-dai-cells — not listed as required here #

Exact value (const): 0

sound-name-prefix — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "reset-names", "port@0", "port@1", "#address-cells", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

hdmi_tx: hdmi-tx@c883a000 {
    compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
    reg = <0xc883a000 0x1c>;
    interrupts = <57>;
    resets = <&reset_apb>, <&reset_hdmitx>, <&reset_hdmitx_phy>;
    reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
    clocks = <&clk_isfr>, <&clk_iahb>, <&clk_venci>;
    clock-names = "isfr", "iahb", "venci";
    power-domains = <&pd_vpu>;
    #address-cells = <1>;
    #size-cells = <0>;

    /* VPU VENC Input */
    hdmi_tx_venc_port: port@0 {
        reg = <0>;

        hdmi_tx_in: endpoint {
            remote-endpoint = <&hdmi_tx_out>;
        };
    };

    /* TMDS Output */
    hdmi_tx_tmds_port: port@1 {
        reg = <1>;

        hdmi_tx_tmds_out: endpoint {
            remote-endpoint = <&hdmi_connector_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 2: Copyright 2019 BayLibre, SAS

Line 52: GXBB (S905)

Line 53: GXL (S905X, S905D)

Line 54: GXM (S912)

Line 57: G12A (S905X2, S905Y2, S905D2)

Amlogic specific extensions to the Synopsys Designware MIPI DSI Host Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/amlogic,meson-g12a-dw-mipi-dsi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

The Amlogic Meson Synopsys Designware Integration is composed of - A Synopsys DesignWare MIPI DSI Host Controller IP - A TOP control block controlling the Clocks & Resets of the IP

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dsi-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "amlogic,meson-g12a-dw-mipi-dsi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 4

clock-names — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "bit"

Item 3

Exact value (const): "px"

Item 4

Exact value (const): "meas"

resets — required here #

Maximum number of items (maxItems): 1

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "top"

phys — required here #

Maximum number of items (maxItems): 1

phy-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dphy"

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#/properties/port

Input node to receive pixel data.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

DSI output node to panel.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "phys", "phy-names", "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi@6000 {
      compatible = "amlogic,meson-g12a-dw-mipi-dsi";
      reg = <0x6000 0x400>;
      resets = <&reset_top>;
      reset-names = "top";
      clocks = <&clk_pclk>, <&bit_clk>, <&clk_px>;
      clock-names = "pclk", "bit", "px";
      phys = <&mipi_dphy>;
      phy-names = "dphy";

      ports {
          #address-cells = <1>;
          #size-cells = <0>;

          /* VPU VENC Input */
          mipi_dsi_venc_port: port@0 {
              reg = <0>;

              mipi_dsi_in: endpoint {
                   remote-endpoint = <&dpi_out>;
              };
          };

          /* DSI Output */
          mipi_dsi_panel_port: port@1 {
              reg = <1>;

              mipi_out_panel: endpoint {
                  remote-endpoint = <&mipi_in_panel>;
              };
          };
      };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 2: Copyright 2020 BayLibre, SAS

Amlogic Meson Display Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/amlogic,meson-vpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

The Amlogic Meson Display controller is composed of several components that are going to be documented below

DMC|---------------VPU (Video Processing Unit)----------------|------HHI------|
   | vd1   _______     _____________    _________________     |               |
D  |-------|      |----|            |   |                |    |   HDMI PLL    |
D  | vd2   | VIU  |    | Video Post |   | Video Encoders |<---|-----VCLK      |
R  |-------|      |----| Processing |   |                |    |               |
   | osd2  |      |    |            |---| Enci ----------|----|-----VDAC------|
R  |-------| CSC  |----| Scalers    |   | Encp ----------|----|----HDMI-TX----|
A  | osd1  |      |    | Blenders   |   | Encl ----------|----|---------------|
M  |-------|______|----|____________|   |________________|    |               |
___|__________________________________________________________|_______________|

VIU: Video Input Unit ---------------------

The Video Input Unit is in charge of the pixel scanout from the DDR memory. It fetches the frames addresses, stride and parameters from the "Canvas" memory. This part is also in charge of the CSC (Colorspace Conversion). It can handle 2 OSD Planes and 2 Video Planes.

VPP: Video Post Processing --------------------------

The Video Post Processing is in charge of the scaling and blending of the various planes into a single pixel stream. There is a special "pre-blending" used by the video planes with a dedicated scaler and a "post-blending" to merge with the OSD Planes. The OSD planes also have a dedicated scaler for one of the OSD.

VENC: Video Encoders --------------------

The VENC is composed of the multiple pixel encoders - ENCI : Interlace Video encoder for CVBS and Interlace HDMI - ENCP : Progressive Video Encoder for HDMI - ENCL : LCD LVDS Encoder The VENC Unit gets a Pixel Clocks (VCLK) from a dedicated HDMI PLL and clock tree and provides the scanout clock to the VPP and VIU. The ENCI is connected to a single VDAC for Composite Output. The ENCI and ENCP are connected to an on-chip HDMI Transceiver.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "amlogic,meson-gxbb-vpu", "amlogic,meson-gxl-vpu", "amlogic,meson-gxm-vpu"

Item 2

Exact value (const): "amlogic,meson-gx-vpu"

Rule 2

Allowed values (enum): "amlogic,meson-g12a-vpu"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "vpu"

Item 2

Exact value (const): "hhi"

interrupts — required here #

Maximum number of items (maxItems): 1

amlogic,canvas — required here #

should point to a canvas provider node

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

phandle to the associated power domain

port@0 — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

A port node pointing to the CVBS VDAC port node.

port@1 — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

A port node pointing to the HDMI-TX port node.

port@2 — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

A port node pointing to the DPI port node (e.g. DSI or LVDS transceiver).

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "interrupts", "port@0", "port@1", "#address-cells", "#size-cells", "amlogic,canvas"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

vpu: vpu@d0100000 {
    compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu";
    reg = <0xd0100000 0x100000>, <0xc883c000 0x1000>;
    reg-names = "vpu", "hhi";
    interrupts = <3>;
    #address-cells = <1>;
    #size-cells = <0>;
    amlogic,canvas = <&canvas>;

    /* CVBS VDAC output port */
    port@0 {
        reg = <0>;

        cvbs_vdac_out: endpoint {
            remote-endpoint = <&tv_connector_in>;
        };
    };

    /* HDMI TX output port */
    port@1 {
        reg = <1>;

        hdmi_tx_out: endpoint {
            remote-endpoint = <&hdmi_tx_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 2: Copyright 2019 BayLibre, SAS

Line 62: GXBB (S905)

Line 63: GXL (S905X, S905D)

Line 64: GXM (S912)

Line 67: G12A (S905X2, S905Y2, S905D2)

Apple pre-DCP display controller MIPI interface

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/apple,h7-display-pipe-mipi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sasha Finkelstein <fnkl.kernel@gmail.com>"

The MIPI controller part of the pre-DCP Apple display controller

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dsi-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "apple,t8112-display-pipe-mipi", "apple,t8103-display-pipe-mipi"

Item 2

Exact value (const): "apple,h7-display-pipe-mipi"

reg — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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#/properties/port

Input port. Always connected to the primary controller

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output MIPI DSI port to the panel

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi@28200000 {
    compatible = "apple,t8103-display-pipe-mipi", "apple,h7-display-pipe-mipi";
    reg = <0x28200000 0xc000>;
    power-domains = <&ps_dispdfr_mipi>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;

            dfr_adp_out_mipi: endpoint {
                remote-endpoint = <&dfr_adp_out_mipi>;
            };
        };

        port@1 {
            reg = <1>;

            dfr_panel_in: endpoint {
                remote-endpoint = <&dfr_mipi_out_panel>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Apple pre-DCP display controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/apple,h7-display-pipe.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sasha Finkelstein <fnkl.kernel@gmail.com>"

A secondary display controller used to drive the "touchbar" on certain Apple laptops.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "apple,t8112-display-pipe", "apple,t8103-display-pipe"

Item 2

Exact value (const): "apple,h7-display-pipe"

reg — required here #

Array item rules (items) #

Item 1

Primary register block, controls planes and blending

Item 2

Contains other configuration registers like interrupt and FIFO control

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "be"

Item 2

Exact value (const): "fe"

power-domains — not listed as required here #

Phandles to pmgr entries that are needed for this controller to turn on. Aside from that, their specific functions are unknown

Maximum number of items (maxItems): 2

interrupts — required here #

Array item rules (items) #

Item 1

Unknown function

Item 2

Primary interrupt. Vsync events are reported via it

interrupt-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "be"

Item 2

Exact value (const): "fe"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Output port. Always connected to apple,h7-display-pipe-mipi

Required in this object (required): "compatible", "reg", "interrupts", "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/apple-aic.h>
display-pipe@28200000 {
    compatible = "apple,t8103-display-pipe", "apple,h7-display-pipe";
    reg = <0x28200000 0xc000>,
          <0x28400000 0x4000>;
    reg-names = "be", "fe";
    power-domains = <&ps_dispdfr_fe>, <&ps_dispdfr_be>;
    interrupt-parent = <&aic>;
    interrupts = <AIC_IRQ 502 IRQ_TYPE_LEVEL_HIGH>,
                 <AIC_IRQ 506 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "be", "fe";
    iommus = <&displaydfr_dart 0>;

    port {
        dfr_adp_out_mipi: endpoint {
            remote-endpoint = <&dfr_mipi_in_adp>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Arm HDLCD display controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/arm,hdlcd.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Liviu Dudau <Liviu.Dudau@arm.com>", "Andre Przywara <andre.przywara@arm.com>"

The Arm HDLCD is a display controller found on several development platforms produced by ARM Ltd and in more modern of its Fast Models. The HDLCD is an RGB streamer that reads the data from a framebuffer and sends it to a single digital encoder (DVI or HDMI).

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "arm,hdlcd"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "pxlclk"

clocks — required here #

Maximum number of items (maxItems): 1

The input reference for the pixel clock.

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

Phandle to a node describing memory to be used for the framebuffer. If not present, the framebuffer may be located anywhere in memory.

iommus — not listed as required here #

Maximum number of items (maxItems): 1

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Output endpoint of the controller, connecting the LCD panel signals.

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", "port"

Examples (examples) #

hdlcd@2b000000 {
    compatible = "arm,hdlcd";
    reg = <0x2b000000 0x1000>;
    interrupts = <0 85 4>;
    clocks = <&oscclk5>;
    clock-names = "pxlclk";
    port {
        hdlcd_output: endpoint {
            remote-endpoint = <&hdmi_enc_input>;
        };
    };
};

/* HDMI encoder on I2C bus */
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    hdmi-transmitter@70 {
        compatible = "nxp,tda998x";
        reg = <0x70>;
        port {
            hdmi_enc_input: endpoint {
                remote-endpoint = <&hdlcd_output>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Arm Komeda display processor

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/arm,komeda.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Liviu Dudau <Liviu.Dudau@arm.com>", "Andre Przywara <andre.przywara@arm.com>"

The Arm Mali D71 display processor supports up to two displays with up to a 4K resolution each. Each pipeline can be composed of up to four layers. It is typically connected to a digital display connector like HDMI.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "arm,mali-d32"

Item 2

Exact value (const): "arm,mali-d71"

Rule 2

Exact value (const): "arm,mali-d71"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "aclk"

clocks — required here #

Maximum number of items (maxItems): 1

The main DPU processor clock

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

Phandle to a node describing memory to be used for the framebuffer. If not present, the framebuffer may be located anywhere in memory.

iommus — not listed as required here #

The stream IDs for each of the used pipelines, each four IDs for the four layers, plus one for the write-back stream.

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 10

Properties matching a name pattern (patternProperties) #

^pipeline@[01]$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

clocks

Properties and child nodes (properties) #

reg — not listed as required here

Allowed values (enum): 0, 1

clock-names — not listed as required here

Exact value (const): "pxclk"

clocks — not listed as required here

Maximum number of items (maxItems): 1

The input reference for the pixel clock.

port — not listed as 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.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "#address-cells", "#size-cells", "compatible", "reg", "interrupts", "clock-names", "clocks", "pipeline@0"

Examples (examples) #

display@c00000 {
    #address-cells = <1>;
    #size-cells = <0>;
    compatible = "arm,mali-d71";
    reg = <0xc00000 0x20000>;
    interrupts = <168>;
    clocks = <&dpu_aclk>;
    clock-names = "aclk";
    iommus = <&smmu 0>, <&smmu 1>, <&smmu 2>, <&smmu 3>,
             <&smmu 8>,
             <&smmu 4>, <&smmu 5>, <&smmu 6>, <&smmu 7>,
             <&smmu 9>;

    dp0_pipe0: pipeline@0 {
        clocks = <&fpgaosc2>;
        clock-names = "pxclk";
        reg = <0>;

        port {
            dp0_pipe0_out: endpoint {
                remote-endpoint = <&db_dvi0_in>;
            };
        };
    };

    dp0_pipe1: pipeline@1 {
        clocks = <&fpgaosc2>;
        clock-names = "pxclk";
        reg = <1>;

        port {
            dp0_pipe1_out: endpoint {
                remote-endpoint = <&db_dvi1_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Arm Mali Display Processor (Mali-DP)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/arm,malidp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Liviu Dudau <Liviu.Dudau@arm.com>", "Andre Przywara <andre.przywara@arm.com>"

The following bindings apply to a family of Display Processors sold as licensable IP by ARM Ltd. The bindings describe the Mali DP500, DP550 and DP650 processors that offer multiple composition layers, support for rotation and scaling output.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "arm,mali-dp500", "arm,mali-dp550", "arm,mali-dp650"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

The interrupt used by the Display Engine (DE). Can be shared with the interrupt for the Scaling Engine (SE), but it will have to be listed individually.

Item 2

The interrupt used by the Scaling Engine (SE). Can be shared with the interrupt for the Display Engine (DE), but it will have to be listed individually.

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "DE"

Item 2

Exact value (const): "SE"

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pxlclk"

Item 2

Exact value (const): "mclk"

Item 3

Exact value (const): "aclk"

Item 4

Exact value (const): "pclk"

clocks — required here #

Array item rules (items) #

Item 1

the pixel clock feeding the output PLL of the processor

Item 2

the main processor clock

Item 3

the AXI interface clock

Item 4

the APB interface clock

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

Phandle to a node describing memory to be used for the framebuffer. If not present, the framebuffer may be located anywhere in memory.

arm,malidp-output-port-lines — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array

Number of output lines/bits for each colour channel.

Array item rules (items) #

Item 1

number of output lines for the red channel (R)

Item 2

number of output lines for the green channel (G)

Item 3

number of output lines for the blue channel (B)

arm,malidp-arqos-value — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Quality-of-Service value for the display engine FIFOs, to write into the RQOS register of the DP500. See the ARM Mali-DP500 TRM for details on the encoding. If omitted, the RQOS register will not be changed.

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Output endpoint of the controller, connecting the LCD panel signals.

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", "interrupt-names", "clocks", "clock-names", "port", "arm,malidp-output-port-lines"

Examples (examples) #

dp0: malidp@6f200000 {
    compatible = "arm,mali-dp650";
    reg = <0x6f200000 0x20000>;
    memory-region = <&display_reserved>;
    interrupts = <168>, <168>;
    interrupt-names = "DE", "SE";
    clocks = <&oscclk2>, <&fpgaosc0>, <&fpgaosc1>, <&fpgaosc1>;
    clock-names = "pxlclk", "mclk", "aclk", "pclk";
    arm,malidp-output-port-lines = /bits/ 8 <8 8 8>;
    arm,malidp-arqos-value = <0xd000d000>;

    port {
        dp0_output: endpoint {
            remote-endpoint = <&tda998x_2_input>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Arm PrimeCell Color LCD Controller PL110/PL111

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/arm,pl11x.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Liviu Dudau <Liviu.Dudau@arm.com>", "Andre Przywara <andre.przywara@arm.com>"

The Arm Primcell PL010/PL111 is an LCD controller IP, than scans out a framebuffer region in system memory, and creates timed signals for a variety of LCD panels.

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "arm,pl110", "arm,pl111"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "arm,pl110", "arm,pl111"

Item 2

Exact value (const): "arm,primecell"

reg — required here #

Maximum number of items (maxItems): 1

interrupt-names — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "combined"

The IP provides four individual interrupt lines, but also one combined line. If the integration only connects this line to the interrupt controller, this single interrupt is noted here.

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mbe"

Item 2

Exact value (const): "vcomp"

Item 3

Exact value (const): "lnbu"

Item 4

Exact value (const): "fuf"

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "clcdclk"

Item 2

Exact value (const): "apb_pclk"

clocks — required here #

Array item rules (items) #

Item 1

The CLCDCLK reference clock for the controller.

Item 2

The HCLK AHB slave clock for the register access.

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

Phandle to a node describing memory to be used for the framebuffer. If not present, the framebuffer may be located anywhere in memory.

max-memory-bandwidth — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum bandwidth in bytes per second that the cell's memory interface can handle. If not present, the memory interface is fast enough to handle all possible video modes.

resets — not listed as required here #

Maximum number of items (maxItems): 1

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Output endpoint of the controller, connecting the LCD panel signals.

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)

arm,pl11x,tft-r0g0b0-pads — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Array item rules (items)

Item 1

index of CLD pad used for first red bit (R0)

Item 2

index of CLD pad used for first green bit (G0)

Item 3

index of CLD pad used for first blue bit (G0)

Deprecated (deprecated): true

DEPRECATED. An array of three 32-bit values, defining the way
CLD[23:0] pads are wired up.
The first value contains the index of the "CLD" external pin (pad)
used as R0 (first bit of the red component), the second value for
green, the third value for blue.
See also "LCD panel signal multiplexing details" paragraphs in the
PL110/PL111 Technical Reference Manuals.
This implicitly defines available color modes, for example:
- PL111 TFT 4:4:4 panel:
    arm,pl11x,tft-r0g0b0-pads = <4 15 20>;
- PL110 TFT (1:)5:5:5 panel:
    arm,pl11x,tft-r0g0b0-pads = <1 7 13>;
- PL111 TFT (1:)5:5:5 panel:
    arm,pl11x,tft-r0g0b0-pads = <3 11 19>;
- PL111 TFT 5:6:5 panel:
    arm,pl11x,tft-r0g0b0-pads = <3 10 19>;
- PL110 and PL111 TFT 8:8:8 panel:
    arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
- PL110 and PL111 TFT 8:8:8 panel, R & B components swapped:
    arm,pl11x,tft-r0g0b0-pads = <16 8 0>;

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clock-names", "clocks", "port"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

interrupts — required here

Minimum number of items (minItems): 2

Required in this object (required): "interrupts"

When the condition matches (then) #

Required in this object (required): "interrupt-names"

Examples (examples) #

clcd@10020000 {
    compatible = "arm,pl111", "arm,primecell";
    reg = <0x10020000 0x1000>;
    interrupt-names = "combined";
    interrupts = <44>;
    clocks = <&oscclk1>, <&oscclk2>;
    clock-names = "clcdclk", "apb_pclk";
    max-memory-bandwidth = <94371840>; /* Bps, 1024x768@60 16bpp */

    port {
        clcd_pads: endpoint {
            remote-endpoint = <&clcd_panel>;
        };
    };
};

panel {
    compatible = "arm,rtsm-display";

    port {
        clcd_panel: endpoint {
            remote-endpoint = <&clcd_pads>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 18: We need a select here so we don't match all nodes with 'arm,primecell'

Line 48: CLCDMBEINTR

Line 49: CLCDVCOMPINTR

Line 50: CLCDLNBUINTR

Line 51: CLCDFUFINTR

Microchip's LCDC Display

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/atmel,lcdc-display.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>", "Dharma Balasubiramani <dharma.b@microchip.com>"

The LCD Controller (LCDC) consists of logic for transferring LCD image data from an external display buffer to a TFT LCD panel. The LCDC has one display input buffer per layer that fetches pixels through the single bus host interface and a look-up table to allow palletized display configurations. The LCDC is programmable on a per layer basis, and supports different LCD resolutions, window sizes, image formats and pixel depths.

Automatic schema selection (select) #

At least one of these rules must match (anyOf) #

Rule 1 #

Required in this object (required): "atmel,dmacon"

Rule 2 #

Required in this object (required): "atmel,lcdcon2"

Rule 3 #

Required in this object (required): "atmel,guard-time"

Properties and child nodes (properties) #

atmel,dmacon — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

dma controller configuration

atmel,lcdcon2 — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

lcd controller configuration

atmel,guard-time — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

lcd guard time (Delay in frame periods)

Maximum value (maximum): 127

bits-per-pixel — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

lcd panel bit-depth.

Allowed values (enum): 1, 2, 4, 8, 16, 24, 32

atmel,lcdcon-backlight — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

enable backlight

atmel,lcdcon-backlight-inverted — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

invert backlight PWM polarity

atmel,lcd-wiring-mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

lcd wiring mode "RGB" or "BRG"

Allowed values (enum): "RGB", "BRG"

atmel,power-control-gpio — not listed as required here #

gpio to power on or off the LCD (as many as needed)

Maximum number of items (maxItems): 1

display-timings — not listed as required here #

Shared schema rule ($ref): panel/display-timings.yaml#

Required in this object (required): "atmel,dmacon", "atmel,lcdcon2", "atmel,guard-time", "bits-per-pixel"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

display: panel {
  bits-per-pixel = <32>;
  atmel,lcdcon-backlight;
  atmel,dmacon = <0x1>;
  atmel,lcdcon2 = <0x80008002>;
  atmel,guard-time = <9>;
  atmel,lcd-wiring-mode = "RGB";

  display-timings {
    native-mode = <&timing0>;
    timing0: timing0 {
      clock-frequency = <9000000>;
      hactive = <480>;
      vactive = <272>;
      hback-porch = <1>;
      hfront-porch = <1>;
      vback-porch = <40>;
      vfront-porch = <1>;
      hsync-len = <45>;
      vsync-len = <1>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 21: We need a select here since this schema is applicable only for nodes with the

Line 22: following properties

Microchip's LCDC Framebuffer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/atmel,lcdc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>", "Dharma Balasubiramani <dharma.b@microchip.com>"

The LCDC works with a framebuffer, which is a section of memory that contains a complete frame of data representing pixel values for the display. The LCDC reads the pixel data from the framebuffer and sends it to the LCD panel to render the image.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "atmel,at91sam9261-lcdc", "atmel,at91sam9263-lcdc", "atmel,at91sam9g10-lcdc", "atmel,at91sam9g45-lcdc", "atmel,at91sam9g45es-lcdc", "atmel,at91sam9rl-lcdc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "hclk"

Item 2

Exact value (const): "lcdc_clk"

display — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

A phandle pointing to the display node.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "display"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
fb@500000 {
  compatible = "atmel,at91sam9g45-lcdc";
  reg = <0x00500000 0x1000>;
  interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
  pinctrl-names = "default";
  pinctrl-0 = <&pinctrl_fb>;
  clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_PERIPHERAL 23>;
  clock-names = "hclk", "lcdc_clk";
  display = <&display>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Broadcom BCM2711 HDMI Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2711-hdmi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2711-hdmi0", "brcm,bcm2711-hdmi1", "brcm,bcm2712-hdmi0", "brcm,bcm2712-hdmi1"

reg — required here #

Array item rules (items) #

Item 1

HDMI controller register range

Item 2

DVP register range

Item 3

HDMI PHY register range

Item 4

Rate Manager register range

Item 5

Packet RAM register range

Item 6

Metadata RAM register range

Item 7

CSC register range

Item 8

CEC register range

Item 9

HD register range

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "hdmi"

Item 2

Exact value (const): "dvp"

Item 3

Exact value (const): "phy"

Item 4

Exact value (const): "rm"

Item 5

Exact value (const): "packet"

Item 6

Exact value (const): "metadata"

Item 7

Exact value (const): "csc"

Item 8

Exact value (const): "cec"

Item 9

Exact value (const): "hd"

clocks — required here #

Array item rules (items) #

Item 1

The HDMI state machine clock

Item 2

The Pixel BVB clock

Item 3

The HDMI Audio parent clock

Item 4

The HDMI CEC parent clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "hdmi"

Item 2

Exact value (const): "bvb"

Item 3

Exact value (const): "audio"

Item 4

Exact value (const): "cec"

interrupts — not listed as required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 6

interrupt-names — not listed as required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 6

ddc — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle of the I2C controller used for DDC EDID probing

hpd-gpios — not listed as required here #

Maximum number of items (maxItems): 1

The GPIO pin for the HDMI hotplug detect (if it doesn't appear as an interrupt/status bit in the HDMI controller itself)

dmas — not listed as required here #

Maximum number of items (maxItems): 1

Should contain one entry pointing to the DMA channel used to transfer audio data.

dma-names — not listed as required here #

Exact value (const): "audio-rx"

resets — required here #

Maximum number of items (maxItems): 1

wifi-2.4ghz-coexistence — not listed as required here #

Value type (type): "boolean"

Should the pixel frequencies in the WiFi frequencies range be avoided?

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "resets", "ddc"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,bcm2711-hdmi0", "brcm,bcm2711-hdmi1"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Array item rules (items)

Item 1

CEC TX interrupt

Item 2

CEC RX interrupt

Item 3

CEC stuck at low interrupt

Item 4

Wake-up interrupt

Item 5

Hotplug connected interrupt

Item 6

Hotplug removed interrupt

interrupt-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "cec-tx"

Item 2

Exact value (const): "cec-rx"

Item 3

Exact value (const): "cec-low"

Item 4

Exact value (const): "wakeup"

Item 5

Exact value (const): "hpd-connected"

Item 6

Exact value (const): "hpd-removed"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,bcm2712-hdmi0", "brcm,bcm2712-hdmi1"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — required here

Array item rules (items)

Item 1

CEC TX interrupt

Item 2

CEC RX interrupt

Item 3

CEC stuck at low interrupt

Item 4

Hotplug connected interrupt

Item 5

Hotplug removed interrupt

interrupts-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "cec-tx"

Item 2

Exact value (const): "cec-rx"

Item 3

Exact value (const): "cec-low"

Item 4

Exact value (const): "hpd-connected"

Item 5

Exact value (const): "hpd-removed"

Required in this object (required): "interrupts", "interrupt-names"

Examples (examples) #

hdmi0: hdmi@7ef00700 {
    compatible = "brcm,bcm2711-hdmi0";
    reg = <0x7ef00700 0x300>,
          <0x7ef00300 0x200>,
          <0x7ef00f00 0x80>,
          <0x7ef00f80 0x80>,
          <0x7ef01b00 0x200>,
          <0x7ef01f00 0x400>,
          <0x7ef00200 0x80>,
          <0x7ef04300 0x100>,
          <0x7ef20000 0x100>;
    reg-names = "hdmi",
                "dvp",
                "phy",
                "rm",
                "packet",
                "metadata",
                "csc",
                "cec",
                "hd";
    clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>;
    clock-names = "hdmi", "bvb", "audio", "cec";
    interrupts = <0>, <1>, <2>, <3>, <4>, <5>;
    interrupt-names = "cec-tx", "cec-rx", "cec-low", "wakeup",
                      "hpd-connected", "hpd-removed";
    resets = <&dvp 0>;
    ddc = <&ddc0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Broadcom VC4 (VideoCore4) DPI Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2835-dpi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "brcm,bcm2835-dpi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

The core clock the unit runs on

Item 2

The pixel clock that feeds the pixelvalve

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "pixel"

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Port node with a single endpoint connecting to the panel.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/bcm2835.h>

dpi: dpi@7e208000 {
    compatible = "brcm,bcm2835-dpi";
    reg = <0x7e208000 0x8c>;
    clocks = <&clocks BCM2835_CLOCK_VPU>,
             <&clocks BCM2835_CLOCK_DPI>;
    clock-names = "core", "pixel";

    port {
        dpi_out: endpoint {
            remote-endpoint = <&panel_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Broadcom VC4 (VideoCore4) DSI Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2835-dsi0.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dsi-controller.yaml#

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "brcm,bcm2711-dsi1", "brcm,bcm2835-dsi0", "brcm,bcm2835-dsi1"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

The DSI PLL clock feeding the DSI analog PHY

Item 2

The DSI ESC clock

Item 3

The DSI pixel clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "phy"

Item 2

Exact value (const): "escape"

Item 3

Exact value (const): "pixel"

clock-output-names — required here #

true — No constraints added by this property rule.

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-names", "clock-output-names", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/bcm2835.h>

dsi1: dsi@7e700000 {
    compatible = "brcm,bcm2835-dsi1";
    reg = <0x7e700000 0x8c>;
    interrupts = <2 12>;
    #address-cells = <1>;
    #size-cells = <0>;
    #clock-cells = <1>;

    clocks = <&clocks BCM2835_PLLD_DSI1>,
             <&clocks BCM2835_CLOCK_DSI1E>,
             <&clocks BCM2835_CLOCK_DSI1P>;
    clock-names = "phy", "escape", "pixel";

    clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";

};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 41: FIXME: The meta-schemas don't seem to allow it for now

Line 42: items:

Line 43: - description: The DSI byte clock for the PHY

Line 44: - description: The DSI DDR2 clock

Line 45: - description: The DSI DDR clock

Broadcom VC4 (VideoCore4) HDMI Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2835-hdmi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "brcm,bcm2835-hdmi"

reg — required here #

Array item rules (items) #

Item 1

HDMI register range

Item 2

HD register range

interrupts — required here #

Minimum number of items (minItems): 2

clocks — required here #

Array item rules (items) #

Item 1

The pixel clock

Item 2

The HDMI state machine clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "pixel"

Item 2

Exact value (const): "hdmi"

ddc — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle of the I2C controller used for DDC EDID probing

hpd-gpios — not listed as required here #

Maximum number of items (maxItems): 1

The GPIO pin for the HDMI hotplug detect (if it doesn't appear as an interrupt/status bit in the HDMI controller itself)

dmas — not listed as required here #

Maximum number of items (maxItems): 1

Should contain one entry pointing to the DMA channel used to transfer audio data.

dma-names — not listed as required here #

Exact value (const): "audio-rx"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "ddc"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/bcm2835.h>
#include <dt-bindings/gpio/gpio.h>

hdmi: hdmi@7e902000 {
    compatible = "brcm,bcm2835-hdmi";
    reg = <0x7e902000 0x600>,
          <0x7e808000 0x100>;
    interrupts = <2 8>, <2 9>;
    ddc = <&i2c2>;
    hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
    clocks = <&clocks BCM2835_PLLH_PIX>,
             <&clocks BCM2835_CLOCK_HSM>;
    clock-names = "pixel", "hdmi";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Broadcom VC4 (VideoCore4) Hardware Video Scaler

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2835-hvs.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2711-hvs", "brcm,bcm2712-hvs", "brcm,bcm2835-hvs"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

interrupt-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm2711-hvs"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Array item rules (items)

Item 1

Core Clock

interrupts — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

false — Not permitted by this property rule.

interrupt-names — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "clocks"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm2712-hvs"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "disp"

interrupts — not listed as required here

Array item rules (items)

Item 1

Channel 0 End of frame

Item 2

Channel 1 End of frame

Item 3

Channel 2 End of frame

interrupt-names — required here

Array item rules (items)

Item 1

Exact value (const): "ch0-eof"

Item 2

Exact value (const): "ch1-eof"

Item 3

Exact value (const): "ch2-eof"

Required in this object (required): "clocks", "clock-names", "interrupt-names"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm2835-hvs"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

false — Not permitted by this property rule.

interrupt-names — not listed as required here

false — Not permitted by this property rule.

Examples (examples) #

hvs@7e400000 {
    compatible = "brcm,bcm2835-hvs";
    reg = <0x7e400000 0x6000>;
    interrupts = <2 1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Broadcom VC4 (VideoCore4) PixelValve

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2835-pixelvalve0.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2835-pixelvalve0", "brcm,bcm2835-pixelvalve1", "brcm,bcm2835-pixelvalve2", "brcm,bcm2711-pixelvalve0", "brcm,bcm2711-pixelvalve1", "brcm,bcm2711-pixelvalve2", "brcm,bcm2711-pixelvalve3", "brcm,bcm2711-pixelvalve4", "brcm,bcm2712-pixelvalve0", "brcm,bcm2712-pixelvalve1", "brcm,bcm2712-pixelvalve2"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pixelvalve@7e807000 {
    compatible = "brcm,bcm2835-pixelvalve2";
    reg = <0x7e807000 0x100>;
    interrupts = <2 10>; /* pixelvalve */
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Broadcom VC4 (VideoCore4) TXP (writeback) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2835-txp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2712-mop", "brcm,bcm2712-moplet", "brcm,bcm2835-txp"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

txp: txp@7e004000 {
    compatible = "brcm,bcm2835-txp";
    reg = <0x7e004000 0x20>;
    interrupts = <1 11>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Broadcom VC4 (VideoCore4) V3D GPU

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2835-v3d.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2835-v3d", "brcm,cygnus-v3d"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

v3d: v3d@7ec00000 {
    compatible = "brcm,bcm2835-v3d";
    reg = <0x7ec00000 0x1000>;
    interrupts = <1 10>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Broadcom VC4 (VideoCore4) GPU

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2835-vc4.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

The VC4 device present on the Raspberry Pi includes a display system with HDMI output and the HVS (Hardware Video Scaler) for compositing display planes.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2711-vc5", "brcm,bcm2712-vc6", "brcm,bcm2835-vc4", "brcm,cygnus-vc4"

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

vc4: gpu {
    compatible = "brcm,bcm2835-vc4";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Broadcom VC4 (VideoCore4) VEC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2835-vec.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2711-vec", "brcm,bcm2835-vec"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/bcm2835.h>

vec: vec@7e806000 {
    compatible = "brcm,bcm2835-vec";
    reg = <0x7e806000 0x1000>;
    clocks = <&clocks BCM2835_CLOCK_VEC>;
    interrupts = <2 27>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

DisplayPort AUX bus

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/dp-aux-bus.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Douglas Anderson <dianders@chromium.org>"

DisplayPort controllers provide a control channel to the sinks that are hooked up to them. This is the DP AUX bus. Over the DP AUX bus we can query properties about a sink and also configure it. In particular, DP sinks support DDC over DP AUX which allows tunneling a standard I2C DDC connection over the AUX channel. To model this relationship, DP sinks should be placed as children of the DP controller under the "aux-bus" node. At the moment, this binding only handles the eDP case. It is possible it will be extended in the future to handle the DP case. For DP, presumably a connector would be listed under the DP AUX bus instead of a panel.

Properties and child nodes (properties) #

$nodename — not listed as required here #

Exact value (const): "aux-bus"

panel — required here #

Shared schema rule ($ref): panel/panel-common.yaml#

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "panel"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Common Properties for DSI Display Panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/dsi-controller.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

This document defines device tree properties common to DSI, Display Serial Interface controllers and attached panels. It doesn't constitute a device tree binding specification by itself but is meant to be referenced by device tree bindings.

When referenced from panel device tree bindings the properties defined in this document are defined as follows. The panel device tree bindings are responsible for defining whether each property is required or optional.

Notice: this binding concerns DSI panels connected directly to a master without any intermediate port graph to the panel. Each DSI master can control one to four virtual channels to one panel. Each virtual channel should have a node "panel" for their virtual channel with their reg-property set to the virtual channel number, usually there is just one virtual channel, number 0.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^dsi(@.*)?$"

clock-master — not listed as required here #

Value type (type): "boolean"

Should be enabled if the host is being used in conjunction with another DSI host to drive the same peripheral. Hardware supporting such a configuration generally requires the data on both the busses to be driven by the same clock. Only the DSI host instance controlling this clock should contain this property.

#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) #

^(panel|bridge)@[0-3]$ — name matches this regular expression #

Panels connected to the DSI link

Value type (type): "object"

Properties and child nodes (properties) #

reg — required here

Minimum value (minimum): 0

Maximum value (maximum): 3

The virtual channel number of a DSI peripheral. Must be in the range from 0 to 3, as DSI uses a 2-bit addressing scheme. Some DSI peripherals respond to more than a single virtual channel. In that case the reg property can take multiple entries, one for each virtual channel that the peripheral responds to.

enforce-video-mode — not listed as required here

Value type (type): "boolean"

The best option is usually to run a panel in command mode, as this gives better control over the panel hardware. However for different reasons like broken hardware, missing features or testing, it may be useful to be able to force a command mode-capable panel into video mode.

Required in this object (required): "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
dsi@a0351000 {
    reg = <0xa0351000 0x1000>;
    #address-cells = <1>;
    #size-cells = <0>;
    panel@0 {
        compatible = "sony,acx424akp";
        reg = <0>;
        vddi-supply = <&ab8500_ldo_aux1_reg>;
        reset-gpios = <&gpio2 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)

Elgin JG10309-01 SPI-controlled display

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/elgin,jg10309-01.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"

The Elgin JG10309-01 SPI-controlled display is used on the RV1108-Elgin-r1 board and is a custom display.

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): "elgin,jg10309-01"

reg — required here #

Maximum number of items (maxItems): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 24000000

spi-cpha — required here #

true — No constraints added by this property rule.

spi-cpol — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "spi-cpha", "spi-cpol"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    display@0 {
        compatible = "elgin,jg10309-01";
        reg = <0>;
        spi-max-frequency = <24000000>;
        spi-cpha;
        spi-cpol;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Faraday TV Encoder TVE200

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/faraday,tve200.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "faraday,tve200"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "cortina,gemini-tvc"

Item 2

Exact value (const): "faraday,tve200"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "PCLK"

Item 2

Exact value (const): "TVE"

clocks — required here #

Minimum number of items (minItems): 2

resets — not listed as required here #

Minimum number of items (minItems): 1

port — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Required in this object (required): "compatible", "reg", "interrupts", "clock-names", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/cortina,gemini-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/reset/cortina,gemini-reset.h>
display-controller@6a000000 {
  compatible = "faraday,tve200";
  reg = <0x6a000000 0x1000>;
  interrupts = <13 IRQ_TYPE_EDGE_RISING>;
  resets = <&syscon GEMINI_RESET_TVC>;
  clocks = <&syscon GEMINI_CLK_GATE_TVC>,
           <&syscon GEMINI_CLK_TVC>;
  clock-names = "PCLK", "TVE";

  port {
    display_out: endpoint {
      remote-endpoint = <&panel_in>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale/NXP i.MX LCD Interface (LCDIF)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/fsl,lcdif.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Marek Vasut <marex@denx.de>", "Stefan Agner <stefan@agner.ch>"

(e)LCDIF display controller found in the Freescale/NXP i.MX SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "fsl,imx23-lcdif", "fsl,imx28-lcdif", "fsl,imx6sx-lcdif", "fsl,imx8mp-lcdif", "fsl,imx93-lcdif"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx6sl-lcdif", "fsl,imx6sll-lcdif", "fsl,imx6ul-lcdif", "fsl,imx7d-lcdif", "fsl,imx8mm-lcdif", "fsl,imx8mn-lcdif", "fsl,imx8mq-lcdif"

Item 2

Exact value (const): "fsl,imx6sx-lcdif"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Pixel clock

Item 2

Bus clock

Item 3

Display AXI clock

Minimum number of items (minItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "pix"

Item 2

Exact value (const): "axi"

Item 3

Exact value (const): "disp_axi"

Minimum number of items (minItems): 1

dmas — not listed as required here #

Array item rules (items) #

Item 1

DMA specifier for the RX DMA channel.

dma-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

interrupts — required here #

Array item rules (items) #

Item 1

LCDIF DMA interrupt

Item 2

LCDIF Error interrupt

Minimum number of items (minItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

port — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The LCDIF output port

display — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to display panel

Deprecated (deprecated): true

display0 — not listed as required here #

Shared schema rule ($ref): panel/panel-common.yaml#

Deprecated (deprecated): true

lcd-supply — not listed as required here #

Deprecated (deprecated): true

Required in this object (required): "compatible", "reg", "clocks", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx6sx-lcdif"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

clock-names — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

Required in this object (required): "clock-names"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx8mp-lcdif", "fsl,imx93-lcdif"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Required in this object (required): "clock-names"

Rule 3 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx6sx-lcdif", "fsl,imx8mp-lcdif", "fsl,imx93-lcdif"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Maximum number of items (maxItems): 1

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "fsl,imx6sx-lcdif"

When the condition matches (then) #

Required in this object (required): "power-domains"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx6sl-lcdif", "fsl,imx8mm-lcdif", "fsl,imx8mn-lcdif", "fsl,imx8mp-lcdif", "fsl,imx93-lcdif"

When the condition matches (then) #

Required in this object (required): "power-domains"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx23-lcdif"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

Rule 7 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx28-lcdif"

When the condition matches (then) #

Properties and child nodes (properties)

dmas — not listed as required here

false — Not permitted by this property rule.

dma-names — not listed as required here

false — Not permitted by this property rule.

display — not listed as required here

false — Not permitted by this property rule.

display0 — not listed as required here

false — Not permitted by this property rule.

lcd-supply — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port"

Examples (examples) #

#include <dt-bindings/clock/imx6sx-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

display-controller@2220000 {
    compatible = "fsl,imx6sx-lcdif";
    reg = <0x02220000 0x4000>;
    interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,
             <&clks IMX6SX_CLK_LCDIF_APB>,
             <&clks IMX6SX_CLK_DISPLAY_AXI>;
    clock-names = "pix", "axi", "disp_axi";
    power-domains = <&pd_disp>;

    port {
        endpoint {
            remote-endpoint = <&panel_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale DCU DRM Driver

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/fsl,ls1021a-dcu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,ls1021a-dcu", "fsl,vf610-dcu"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dcu"

Item 2

Exact value (const): "pix"

big-endian — not listed as required here #

true — No constraints added by this property rule.

port — not listed as 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 the panel output

Properties and child nodes (properties) #

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

fsl,tcon — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

The phandle to the timing controller node.

Required in this object (required): "compatible", "reg", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

display-controller@2ce0000 {
    compatible = "fsl,ls1021a-dcu";
    reg = <0x2ce0000 0x10000>;
    clocks = <&platform_clk 0>, <&platform_clk 0>;
    clock-names = "dcu", "pix";
    big-endian;
    fsl,tcon = <&tcon>;

    port {
        endpoint {
            remote-endpoint = <&panel_out>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale TCON

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/fsl,vf610-tcon.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,vf610-tcon"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ipg"

Required in this object (required): "compatible", "reg", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/vf610-clock.h>

timing-controller@4003d000 {
    compatible = "fsl,vf610-tcon";
    reg = <0x4003d000 0x1000>;
    clocks = <&clks VF610_CLK_TCON0>;
    clock-names = "ipg";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Android Goldfish Framebuffer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/google,goldfish-fb.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kuan-Wei Chiu <visitorckw@gmail.com>"

Android Goldfish framebuffer device used by Android emulator.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "google,goldfish-fb"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

display@1f008000 {
    compatible = "google,goldfish-fb";
    reg = <0x1f008000 0x100>;
    interrupts = <16>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Himax HX8357D display panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/himax,hx8357.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Display panels using a Himax HX8357D controller in SPI mode, such as the Adafruit 3.5" TFT for Raspberry Pi.

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "adafruit,yx350hv15", "himax,hx8357b"

Item 2

Exact value (const): "himax,hx8357"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "himax,hx8369a"

Item 2

Exact value (const): "himax,hx8369"

reg — required here #

Maximum number of items (maxItems): 1

dc-gpios — not listed as required here #

Maximum number of items (maxItems): 1

D/C pin

rotation — not listed as required here #

Allowed values (enum): 0, 90, 180, 270

backlight — not listed as required here #

phandle of the backlight device attached to the panel

im-gpios — not listed as required here #

Maximum number of items (maxItems): 3

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

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.

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    display@0 {
        compatible = "adafruit,yx350hv15", "himax,hx8357";
        reg = <0>;
        spi-max-frequency = <32000000>;
        dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
        rotation = <90>;
        backlight = <&backlight>;
   };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Ilitek ILI9486 display panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/ilitek,ili9486.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kamlesh Gurudasani <kamlesh.gurudasani@gmail.com>"

This binding is for display panels using an Ilitek ILI9486 controller in SPI mode.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel/panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "waveshare,rpi-lcd-35", "ozzmaker,piscreen"

Item 2

Exact value (const): "ilitek,ili9486"

spi-max-frequency — not listed as required here #

Maximum value (maximum): 32000000

dc-gpios — required here #

Maximum number of items (maxItems): 1

Display data/command selection (D/CX)

backlight — not listed as required here #

true — No constraints added by this property rule.

reg — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "dc-gpios", "reset-gpios"

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>;

        display@0{
                compatible = "waveshare,rpi-lcd-35", "ilitek,ili9486";
                reg = <0>;
                spi-max-frequency = <32000000>;
                dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
                rotation = <180>;
                backlight = <&backlight>;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 23: Waveshare 3.5" 320x480 Color TFT LCD

Line 25: Ozzmaker 3.5" 320x480 Color TFT LCD

Ingenic SoCs Image Processing Unit (IPU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/ingenic,ipu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "ingenic,jz4725b-ipu", "ingenic,jz4760-ipu"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "ingenic,jz4770-ipu"

Item 2

Exact value (const): "ingenic,jz4760-ipu"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "ipu"

port — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/ingenic,jz4770-cgu.h>
ipu@13080000 {
  compatible = "ingenic,jz4770-ipu", "ingenic,jz4760-ipu";
  reg = <0x13080000 0x800>;

  interrupt-parent = <&intc>;
  interrupts = <29>;

  clocks = <&cgu JZ4770_CLK_IPU>;
  clock-names = "ipu";

  port {
    ipu_ep: endpoint {
      remote-endpoint = <&lcdc_ep>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Ingenic SoCs LCD controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/ingenic,lcd.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^lcd-controller@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "ingenic,jz4740-lcd", "ingenic,jz4725b-lcd", "ingenic,jz4760-lcd", "ingenic,jz4760b-lcd", "ingenic,jz4770-lcd", "ingenic,jz4780-lcd"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Pixel clock

Item 2

Module clock

Minimum number of items (minItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "lcd_pclk"

Item 2

Exact value (const): "lcd"

Minimum number of items (minItems): 1

port — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

ports — not listed as 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#/properties/port

DPI output, to interface with TFT panels.

port@8 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Link to the Image Processing Unit (IPU). (See ingenic,ipu.yaml).

Required in this object (required): "port@0"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "ingenic,jz4740-lcd", "ingenic,jz4780-lcd"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Minimum number of items (minItems): 2

clock-names — not listed as required here #

Minimum number of items (minItems): 2

When the condition does not match (else) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
lcd-controller@13050000 {
  compatible = "ingenic,jz4740-lcd";
  reg = <0x13050000 0x1000>;

  interrupt-parent = <&intc>;
  interrupts = <30>;

  clocks = <&cgu JZ4740_CLK_LCD_PCLK>, <&cgu JZ4740_CLK_LCD>;
  clock-names = "lcd_pclk", "lcd";

  port {
    endpoint {
      remote-endpoint = <&panel_input>;
    };
  };
};
#include <dt-bindings/clock/ingenic,jz4725b-cgu.h>
lcd-controller@13050000 {
  compatible = "ingenic,jz4725b-lcd";
  reg = <0x13050000 0x1000>;

  interrupt-parent = <&intc>;
  interrupts = <31>;

  clocks = <&cgu JZ4725B_CLK_LCD>;
  clock-names = "lcd_pclk";

  port {
    endpoint {
      remote-endpoint = <&panel_input>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Intel Keem Bay display controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/intel,keembay-display.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Anitha Chrisanthus <anitha.chrisanthus@intel.com>", "Edmond J Dea <edmund.j.dea@intel.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,keembay-display"

reg — required here #

Array item rules (items) #

Item 1

LCD registers range

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "lcd"

clocks — required here #

Array item rules (items) #

Item 1

LCD controller clock

Item 2

pll0 clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "clk_lcd"

Item 2

Exact value (const): "clk_pll0"

interrupts — required here #

Maximum number of items (maxItems): 1

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Display output node to DSI.

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

display@20930000 {
    compatible = "intel,keembay-display";
    reg = <0x20930000 0x3000>;
    reg-names = "lcd";
    interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&scmi_clk 0x83>,
             <&scmi_clk 0x0>;
    clock-names = "clk_lcd", "clk_pll0";

    port {
        disp_out: endpoint {
            remote-endpoint = <&dsi_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Intel Keem Bay MSSCAM

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/intel,keembay-msscam.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Anitha Chrisanthus <anitha.chrisanthus@intel.com>", "Edmond J Dea <edmund.j.dea@intel.com>"

MSSCAM controls local clocks in the display subsystem namely LCD clocks and MIPI DSI clocks. It also configures the interconnect between LCD and MIPI DSI.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "intel,keembay-msscam"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

reg-io-width — required here #

Exact value (const): 4

Required in this object (required): "compatible", "reg", "reg-io-width"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

msscam:msscam@20910000 {
    compatible = "intel,keembay-msscam", "syscon";
    reg = <0x20910000 0x30>;
    reg-io-width = <4>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

LVDS Data Mapping

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/lvds-data-mapping.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>", "Thierry Reding <thierry.reding@gmail.com>"

LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple incompatible data link layers have been used over time to transmit image data to LVDS devices. This bindings supports devices compatible with the following specifications.

[JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February 1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA) [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National Semiconductor [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video Electronics Standards Association (VESA)

Device compatible with those specifications have been marketed under the FPD-Link and FlatLink brands.

This bindings also supports 30-bit data mapping compatible with JEIDA and VESA.

Properties and child nodes (properties) #

data-mapping — not listed as required here #

Allowed values (enum): "jeida-18", "jeida-24", "jeida-30", "vesa-24", "vesa-30"

The color signals mapping order.

LVDS data mappings are defined as follows.

- "jeida-18" - 18-bit data mapping compatible with the [JEIDA], [LDI] and
  [VESA] specifications. Data are transferred as follows on 3 LVDS lanes.
Slot          0       1       2       3       4       5       6
          ________________                         _________________
Clock                     \_______________________/
            ______  ______  ______  ______  ______  ______  ______
DATA0     ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
DATA1     ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
DATA2     ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
- "jeida-24" - 24-bit data mapping compatible with the [DSIM] and [LDI]
  specifications. Data are transferred as follows on 4 LVDS lanes.
Slot          0       1       2       3       4       5       6
          ________________                         _________________
Clock                     \_______________________/
            ______  ______  ______  ______  ______  ______  ______
DATA0     ><__G2__><__R7__><__R6__><__R5__><__R4__><__R3__><__R2__><
DATA1     ><__B3__><__B2__><__G7__><__G6__><__G5__><__G4__><__G3__><
DATA2     ><_CTL2_><_CTL1_><_CTL0_><__B7__><__B6__><__B5__><__B4__><
DATA3     ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__><
- "jeida-30" - 30-bit data mapping compatible with JEIDA and VESA. Data
  are transferred as follows on 5 LVDS lanes.
Slot          0       1       2       3       4       5       6
          ________________                         _________________
Clock                     \_______________________/
            ______  ______  ______  ______  ______  ______  ______
DATA0     ><__G4__><__R9__><__R8__><__R7__><__R6__><__R5__><__R4__><
DATA1     ><__B5__><__B4__><__G9__><__G8__><__G7__><__G6__><__G5__><
DATA2     ><_CTL2_><_CTL1_><_CTL0_><__B9__><__B8__><__B7__><__B6__><
DATA3     ><_CTL3_><__B3__><__B2__><__G3__><__G2__><__R3__><__R2__><
DATA4     ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__><
- "vesa-24" - 24-bit data mapping compatible with the [VESA] specification.
  Data are transferred as follows on 4 LVDS lanes.
Slot          0       1       2       3       4       5       6
          ________________                         _________________
Clock                     \_______________________/
            ______  ______  ______  ______  ______  ______  ______
DATA0     ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
DATA1     ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
DATA2     ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
DATA3     ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__><
- "vesa-30" - 30-bit data mapping compatible with VESA. Data are
  transferred as follows on 5 LVDS lanes.
Slot          0       1       2       3       4       5       6
          ________________                         _________________
Clock                     \_______________________/
            ______  ______  ______  ______  ______  ______  ______
DATA0     ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
DATA1     ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
DATA2     ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
DATA3     ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__><
DATA4     ><_CTL3_><__B9__><__B8__><__G9__><__G8__><__R9__><__R8__><

Control signals are mapped as follows.

CTL0: HSync CTL1: VSync CTL2: Data Enable CTL3: 0

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Dual-link LVDS Display Common Properties

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/lvds-dual-ports.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"

Common properties for LVDS displays with dual LVDS links. Extend LVDS display common properties defined in lvds.yaml.

Dual-link LVDS displays receive odd pixels and even pixels separately from the dual LVDS links. One link receives odd pixels and the other receives even pixels. Some of those displays may also use only one LVDS link to receive all pixels, being odd and even agnostic.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): lvds.yaml#

Properties and child nodes (properties) #

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties matching a name pattern (patternProperties) #

^port@[01]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

port@0 represents the first LVDS input link. port@1 represents the second LVDS input link.

Properties and child nodes (properties)

dual-lvds-odd-pixels — not listed as required here

Value type (type): "boolean"

LVDS input link for odd pixels

dual-lvds-even-pixels — not listed as required here

Value type (type): "boolean"

LVDS input link for even pixels

Exactly one of these rules must match (oneOf)

Rule 1

Required in this object (required): "dual-lvds-odd-pixels"

Rule 2

Required in this object (required): "dual-lvds-even-pixels"

Rule 3

Properties and child nodes (properties)

dual-lvds-odd-pixels — not listed as required here

false — Not permitted by this property rule.

dual-lvds-even-pixels — not listed as required here

false — Not permitted by this property rule.

At least one of these rules must match (anyOf) #

Rule 1

Required in this object (required): "port@0"

Rule 2

Required in this object (required): "port@1"

Required in this object (required): "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

LVDS Display Common Properties

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/lvds.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): lvds-data-mapping.yaml#

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>", "Thierry Reding <thierry.reding@gmail.com>"

This binding extends the data mapping defined in lvds-data-mapping.yaml. It supports reversing the bit order on the formats defined there in order to accommodate for even more specialized data formats, since a variety of data formats and layouts is used to drive LVDS displays.

Properties and child nodes (properties) #

data-mirror — not listed as required here #

Value type (type): "boolean"

If set, reverse the bit order described in the data mappings on all data lanes, transmitting bits for slots 6 to 0 instead of 0 to 6.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Mayqueen Pixpaper e-ink display panel

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/mayqueen,pixpaper.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "LiangCheng Wang <zaq14760@gmail.com>"

The Pixpaper is an e-ink display panel controlled via an SPI interface. The panel has a resolution of 122x250 pixels and requires GPIO pins for reset, busy, and data/command control.

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): "mayqueen,pixpaper"

reg — required here #

Maximum number of items (maxItems): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 1000000

Default value (default): 1000000

reset-gpios — required here #

Maximum number of items (maxItems): 1

busy-gpios — required here #

Maximum number of items (maxItems): 1

dc-gpios — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "reset-gpios", "busy-gpios", "dc-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
spi {
    #address-cells = <1>;
    #size-cells = <0>;
    display@0 {
        compatible = "mayqueen,pixpaper";
        reg = <0>;
        spi-max-frequency = <1000000>;
        reset-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
        busy-gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
        dc-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Renesas R-Car Color Management Module (CMM)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/renesas,cmm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>", "Jacopo Mondi <jacopo+renesas@jmondi.org>"

Renesas R-Car color management module connected to R-Car DU video channels. It provides image enhancement functions such as 1-D look-up tables (LUT), 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color space conversion (CSC).

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r8a7795-cmm", "renesas,r8a7796-cmm", "renesas,r8a77965-cmm", "renesas,r8a77990-cmm", "renesas,r8a77995-cmm"

Item 2

Exact value (const): "renesas,rcar-gen3-cmm"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "renesas,rcar-gen2-cmm"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "resets", "power-domains"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a7796-cpg-mssr.h>
#include <dt-bindings/power/r8a7796-sysc.h>

cmm0: cmm@fea40000 {
    compatible = "renesas,r8a7796-cmm",
                 "renesas,rcar-gen3-cmm";
    reg = <0xfea40000 0x1000>;
    power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
    clocks = <&cpg CPG_MOD 711>;
    resets = <&cpg 711>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Renesas R-Car Display Unit (DU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/renesas,du.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

These DT bindings describe the Display Unit embedded in the Renesas R-Car Gen1, R-Car Gen2, R-Car Gen3, RZ/G1 and RZ/G2 SoCs.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,du-r8a7742", "renesas,du-r8a7743", "renesas,du-r8a7744", "renesas,du-r8a7745", "renesas,du-r8a77470", "renesas,du-r8a774a1", "renesas,du-r8a774b1", "renesas,du-r8a774c0", "renesas,du-r8a774e1", "renesas,du-r8a7779", "renesas,du-r8a7790", "renesas,du-r8a7791", "renesas,du-r8a7792", "renesas,du-r8a7793", "renesas,du-r8a7794", "renesas,du-r8a7795", "renesas,du-r8a7796", "renesas,du-r8a77961", "renesas,du-r8a77965", "renesas,du-r8a77970", "renesas,du-r8a77980", "renesas,du-r8a77990", "renesas,du-r8a77995", "renesas,du-r8a779a0", "renesas,du-r8a779g0", "renesas,du-r8a779h0"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Interrupt specifiers, one per DU channel

resets — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reset-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

The connections to the DU output video ports are modeled using the OF graph bindings specified in Documentation/devicetree/bindings/graph.txt. The number of ports and their assignment are model-dependent. Each port shall have a single endpoint.

Properties matching a name pattern (patternProperties) #

^port@[0-3]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

renesas,cmms — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

Array item rules (items) #

Maximum number of items (maxItems): 1

A list of phandles to the CMM instances present in the SoC, one for each available DU channel.

renesas,vsps — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Array item rules (items) #

Array item rules (items)

Item 1

phandle to VSP instance that serves the DU channel

Item 2

Channel index identifying the LIF instance in that VSP

A list of phandle and channel index tuples to the VSPs that handle the memory interfaces for the DU channels.

Required in this object (required): "compatible", "reg", "clocks", "interrupts", "ports"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,du-r8a7779"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Functional clock

Item 2

DU_DOTCLKIN0 input clock

Item 3

DU_DOTCLKIN1 input clock

clock-names — not listed as required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

String pattern (pattern): "^dclkin\\.[01]$"

Item 3

String pattern (pattern): "^dclkin\\.[01]$"

interrupts — required here

Maximum number of items (maxItems): 1

resets — not listed as required here

Maximum number of items (maxItems): 1

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

DPAD 1

port@2 — not listed as required here

false — Not permitted by this property rule.

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "interrupts"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a7743", "renesas,du-r8a7744", "renesas,du-r8a7791", "renesas,du-r8a7793"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Functional clock for DU0

Item 2

Functional clock for DU1

Item 3

DU_DOTCLKIN0 input clock

Item 4

DU_DOTCLKIN1 input clock

clock-names — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.1"

Item 3

String pattern (pattern): "^dclkin\\.[01]$"

Item 4

String pattern (pattern): "^dclkin\\.[01]$"

interrupts — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

resets — required here

Maximum number of items (maxItems): 1

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

LVDS 0

port@2 — not listed as required here

false — Not permitted by this property rule.

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a7745", "renesas,du-r8a7792"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Functional clock for DU0

Item 2

Functional clock for DU1

Item 3

DU_DOTCLKIN0 input clock

Item 4

DU_DOTCLKIN1 input clock

clock-names — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.1"

Item 3

String pattern (pattern): "^dclkin\\.[01]$"

Item 4

String pattern (pattern): "^dclkin\\.[01]$"

interrupts — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

resets — required here

Maximum number of items (maxItems): 1

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

DPAD 1

port@2 — not listed as required here

false — Not permitted by this property rule.

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a7794"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Functional clock for DU0

Item 2

Functional clock for DU1

Item 3

DU_DOTCLKIN0 input clock

Item 4

DU_DOTCLKIN1 input clock

clock-names — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.1"

Item 3

String pattern (pattern): "^dclkin\\.[01]$"

Item 4

String pattern (pattern): "^dclkin\\.[01]$"

interrupts — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

resets — required here

Maximum number of items (maxItems): 1

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

DPAD 1

port@2 — not listed as required here

false — Not permitted by this property rule.

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a77470"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Functional clock for DU0

Item 2

Functional clock for DU1

Item 3

DU_DOTCLKIN0 input clock

Item 4

DU_DOTCLKIN1 input clock

clock-names — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.1"

Item 3

String pattern (pattern): "^dclkin\\.[01]$"

Item 4

String pattern (pattern): "^dclkin\\.[01]$"

interrupts — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

resets — required here

Maximum number of items (maxItems): 1

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

DPAD 1

port@2 — required here

LVDS 0

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1", "port@2"

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a7742", "renesas,du-r8a7790"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Functional clock for DU0

Item 2

Functional clock for DU1

Item 3

Functional clock for DU2

Item 4

DU_DOTCLKIN0 input clock

Item 5

DU_DOTCLKIN1 input clock

Item 6

DU_DOTCLKIN2 input clock

clock-names — required here

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.1"

Item 3

Exact value (const): "du.2"

Item 4

String pattern (pattern): "^dclkin\\.[012]$"

Item 5

String pattern (pattern): "^dclkin\\.[012]$"

Item 6

String pattern (pattern): "^dclkin\\.[012]$"

interrupts — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

resets — required here

Maximum number of items (maxItems): 1

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

LVDS 0

port@2 — required here

LVDS 1

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1", "port@2"

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a7795"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

Array item rules (items)

Item 1

Functional clock for DU0

Item 2

Functional clock for DU1

Item 3

Functional clock for DU2

Item 4

Functional clock for DU4

Item 5

DU_DOTCLKIN0 input clock

Item 6

DU_DOTCLKIN1 input clock

Item 7

DU_DOTCLKIN2 input clock

Item 8

DU_DOTCLKIN3 input clock

clock-names — required here

Minimum number of items (minItems): 4

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.1"

Item 3

Exact value (const): "du.2"

Item 4

Exact value (const): "du.3"

Item 5

String pattern (pattern): "^dclkin\\.[0123]$"

Item 6

String pattern (pattern): "^dclkin\\.[0123]$"

Item 7

String pattern (pattern): "^dclkin\\.[0123]$"

Item 8

String pattern (pattern): "^dclkin\\.[0123]$"

interrupts — required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

resets — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.2"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

HDMI 0

port@2 — required here

HDMI 1

port@3 — required here

LVDS 0

Required in this object (required): "port@0", "port@1", "port@2", "port@3"

renesas,cmms — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

renesas,vsps — required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names", "renesas,vsps"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a774a1", "renesas,du-r8a7796", "renesas,du-r8a77961"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Functional clock for DU0

Item 2

Functional clock for DU1

Item 3

Functional clock for DU2

Item 4

DU_DOTCLKIN0 input clock

Item 5

DU_DOTCLKIN1 input clock

Item 6

DU_DOTCLKIN2 input clock

clock-names — required here

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.1"

Item 3

Exact value (const): "du.2"

Item 4

String pattern (pattern): "^dclkin\\.[012]$"

Item 5

String pattern (pattern): "^dclkin\\.[012]$"

Item 6

String pattern (pattern): "^dclkin\\.[012]$"

interrupts — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

resets — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.2"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

HDMI 0

port@2 — required here

LVDS 0

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1", "port@2"

renesas,cmms — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

renesas,vsps — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names", "renesas,vsps"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a774b1", "renesas,du-r8a774e1", "renesas,du-r8a77965"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Functional clock for DU0

Item 2

Functional clock for DU1

Item 3

Functional clock for DU3

Item 4

DU_DOTCLKIN0 input clock

Item 5

DU_DOTCLKIN1 input clock

Item 6

DU_DOTCLKIN3 input clock

clock-names — required here

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.1"

Item 3

Exact value (const): "du.3"

Item 4

String pattern (pattern): "^dclkin\\.[013]$"

Item 5

String pattern (pattern): "^dclkin\\.[013]$"

Item 6

String pattern (pattern): "^dclkin\\.[013]$"

interrupts — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

resets — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.3"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

HDMI 0

port@2 — required here

LVDS 0

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1", "port@2"

renesas,cmms — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

renesas,vsps — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names", "renesas,vsps"

Rule 10 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a77970", "renesas,du-r8a77980"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Functional clock for DU0

Item 2

DU_DOTCLKIN0 input clock

clock-names — required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "dclkin.0"

interrupts — required here

Maximum number of items (maxItems): 1

resets — required here

Maximum number of items (maxItems): 1

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

LVDS 0

port@2 — not listed as required here

false — Not permitted by this property rule.

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1"

renesas,vsps — required here

Maximum number of items (maxItems): 1

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names", "renesas,vsps"

Rule 11 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a774c0", "renesas,du-r8a77990", "renesas,du-r8a77995"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Functional clock for DU0

Item 2

Functional clock for DU1

Item 3

DU_DOTCLKIN0 input clock

Item 4

DU_DOTCLKIN1 input clock

clock-names — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "du.0"

Item 2

Exact value (const): "du.1"

Item 3

String pattern (pattern): "^dclkin\\.[01]$"

Item 4

String pattern (pattern): "^dclkin\\.[01]$"

interrupts — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

resets — required here

Maximum number of items (maxItems): 1

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPAD 0

port@1 — required here

LVDS 0

port@2 — required here

LVDS 1

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1", "port@2"

renesas,cmms — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

renesas,vsps — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names", "renesas,vsps"

Rule 12 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a779a0", "renesas,du-r8a779g0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Functional clock

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

interrupts — required here

Maximum number of items (maxItems): 2

resets — required here

Maximum number of items (maxItems): 1

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DSI 0

port@1 — required here

DSI 1

port@2 — not listed as required here

false — Not permitted by this property rule.

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0", "port@1"

renesas,vsps — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names", "renesas,vsps"

Rule 13 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,du-r8a779h0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Functional clock

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

interrupts — required here

Maximum number of items (maxItems): 1

resets — required here

Maximum number of items (maxItems): 1

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "du.0"

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DSI 0

port@1 — not listed as required here

false — Not permitted by this property rule.

port@2 — not listed as required here

false — Not permitted by this property rule.

port@3 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0"

renesas,vsps — required here

Maximum number of items (maxItems): 1

Required in this object (required): "clock-names", "interrupts", "resets", "reset-names", "renesas,vsps"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/renesas-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

display@feb00000 {
    compatible = "renesas,du-r8a7795";
    reg = <0xfeb00000 0x80000>;
    interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cpg CPG_MOD 724>,
             <&cpg CPG_MOD 723>,
             <&cpg CPG_MOD 722>,
             <&cpg CPG_MOD 721>;
    clock-names = "du.0", "du.1", "du.2", "du.3";
    resets = <&cpg 724>, <&cpg 722>;
    reset-names = "du.0", "du.2";

    renesas,cmms = <&cmm0>, <&cmm1>, <&cmm2>, <&cmm3>;
    renesas,vsps = <&vspd0 0>, <&vspd1 0>, <&vspd2 0>, <&vspd0 1>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&adv7123_in>;
            };
        };
        port@1 {
            reg = <1>;
            endpoint {
                remote-endpoint = <&dw_hdmi0_in>;
            };
        };
        port@2 {
            reg = <2>;
            endpoint {
                remote-endpoint = <&dw_hdmi1_in>;
            };
        };
        port@3 {
            reg = <3>;
            endpoint {
                remote-endpoint = <&lvds0_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 19: for RZ/G1H compatible DU

Line 20: for RZ/G1M compatible DU

Line 21: for RZ/G1N compatible DU

Line 22: for RZ/G1E compatible DU

Line 23: for RZ/G1C compatible DU

Line 24: for RZ/G2M compatible DU

Line 25: for RZ/G2N compatible DU

Line 26: for RZ/G2E compatible DU

Line 27: for RZ/G2H compatible DU

Line 28: for R-Car H1 compatible DU

Line 29: for R-Car H2 compatible DU

Line 30: for R-Car M2-W compatible DU

Line 31: for R-Car V2H compatible DU

Line 32: for R-Car M2-N compatible DU

Line 33: for R-Car E2 compatible DU

Line 34: for R-Car H3 compatible DU

Line 35: for R-Car M3-W compatible DU

Line 36: for R-Car M3-W+ compatible DU

Line 37: for R-Car M3-N compatible DU

Line 38: for R-Car V3M compatible DU

Line 39: for R-Car V3H compatible DU

Line 40: for R-Car E3 compatible DU

Line 41: for R-Car D3 compatible DU

Line 42: for R-Car V3U compatible DU

Line 43: for R-Car V4H compatible DU

Line 44: for R-Car V4M compatible DU

Line 49: See compatible-specific constraints below.

Line 152: port@2 is TCON, not supported yet

Line 207: port@2 is TCON, not supported yet

Line 317: port@2 is TCON, not supported yet

Line 374: port@3 is DVENC, not supported yet

Line 436: port@3 is TCON, not supported yet

Line 772: port@3 is TCON, not supported yet

Line 896: R-Car H3 ES2.0 DU

Renesas RZ/G2L Display Unit (DU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/renesas,rzg2l-du.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>", "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

These DT bindings describe the Display Unit embedded in the Renesas RZ/G2L and RZ/V2L SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "renesas,r9a07g043u-du", "renesas,r9a07g044-du", "renesas,r9a09g057-du"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r9a07g054-du"

Item 2

Exact value (const): "renesas,r9a07g044-du"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "renesas,r9a09g056-du"

Item 2

Exact value (const): "renesas,r9a09g057-du"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Main clock

Item 2

Register access clock

Item 3

Video clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "aclk"

Item 2

Exact value (const): "pclk"

Item 3

Exact value (const): "vclk"

resets — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

The connections to the DU output video ports are modeled using the OF graph bindings. The number of ports and their assignment are model-dependent. Each port shall have a single endpoint.

Properties matching a name pattern (patternProperties) #

^port@[0-1]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

renesas,vsps — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Array item rules (items)

Item 1

phandle to VSP instance that serves the DU channel

Item 2

Channel index identifying the LIF instance in that VSP

A list of phandle and channel index tuples to the VSPs that handle the memory interfaces for the DU channels.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "power-domains", "ports", "renesas,vsps"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r9a07g043u-du"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPI

Required in this object (required): "port@0"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r9a07g044-du"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DSI

port@1 — required here

DPI

Required in this object (required): "port@0", "port@1"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r9a09g057-du"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DSI

port@1 — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port@0"

Examples (examples) #

#include <dt-bindings/clock/r9a07g044-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

display@10890000 {
    compatible = "renesas,r9a07g044-du";
    reg = <0x10890000 0x10000>;
    interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cpg CPG_MOD R9A07G044_LCDC_CLK_A>,
             <&cpg CPG_MOD R9A07G044_LCDC_CLK_P>,
             <&cpg CPG_MOD R9A07G044_LCDC_CLK_D>;
    clock-names = "aclk", "pclk", "vclk";
    resets = <&cpg R9A07G044_LCDC_RESET_N>;
    power-domains = <&cpg>;

    renesas,vsps = <&vspd0 0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };
        port@1 {
            reg = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 21: RZ/G2UL

Line 22: RZ/G2{L,LC}

Line 23: RZ/V2H(P)

Line 26: RZ/V2L

Line 27: RZ/G2L fallback

Line 29: RZ/V2N

Line 30: RZ/V2H(P) fallback

Line 142: RZ/G2L DU

Renesas SH-Mobile LCD Controller (LCDC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/renesas,shmobile-lcdc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>", "Geert Uytterhoeven <geert+renesas@glider.be>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,r8a7740-lcdc", "renesas,sh73a0-lcdc"

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

Maximum number of items (maxItems): 5

Only the functional clock is mandatory. Some of the optional clocks are model-dependent (e.g. "video" (a.k.a. "vou" or "dv_clk") is available on R-Mobile A1 only).

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "fck"

Item 2

Allowed values (enum): "media", "lclk", "hdmi", "video"

Item 3

Allowed values (enum): "media", "lclk", "hdmi", "video"

Item 4

Allowed values (enum): "media", "lclk", "hdmi", "video"

Item 5

Allowed values (enum): "media", "lclk", "hdmi", "video"

power-domains — required here #

Maximum number of items (maxItems): 1

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#/properties/port

LCD port (R-Mobile A1 and SH-Mobile AG5)

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

port@1 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

HDMI port (R-Mobile A1 LCDC1 and SH-Mobile AG5)

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

port@2 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

MIPI-DSI port (SH-Mobile AG5)

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "port@0"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r8a7740-lcdc"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@2 — 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 here

Rule for matching array elements (contains)

Exact value (const): "renesas,sh73a0-lcdc"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Required in this object (required): "port@1", "port@2"

Examples (examples) #

#include <dt-bindings/clock/r8a7740-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

lcd-controller@fe940000 {
    compatible = "renesas,r8a7740-lcdc";
    reg = <0xfe940000 0x4000>;
    interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&mstp1_clks R8A7740_CLK_LCDC0>,
             <&cpg_clocks R8A7740_CLK_M3>, <&lcdlclk0_clk>,
             <&vou_clk>;
    clock-names = "fck", "media", "lclk", "video";
    power-domains = <&pd_a4lc>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;

            lcdc0_rgb: endpoint {
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 16: R-Mobile A1

Line 17: SH-Mobile AG5

Sharp Memory LCD panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/sharp,ls010b7dh04.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alex Lanzano <lanzano.alex@gmail.com>"

Sharp Memory LCDs are a series of monochrome displays that operate over a SPI bus. The displays require a signal (VCOM) to be generated to prevent DC bias build up resulting in pixels being unable to change. Three modes can be used to provide the VCOM signal ("software", "external", "pwm").

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "sharp,ls010b7dh04", "sharp,ls011b7dh03", "sharp,ls012b7dd01", "sharp,ls013b7dh03", "sharp,ls013b7dh05", "sharp,ls018b7dh02", "sharp,ls027b7dh01", "sharp,ls027b7dh01a", "sharp,ls032b7dd02", "sharp,ls044q7dh01"

reg — required here #

Maximum number of items (maxItems): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 2000000

sharp,vcom-mode — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

software - This mode relies on a software operation to send a "maintain display" message to the display, toggling the vcom bit on and off with each message

external - This mode relies on an external clock to generate the signal on the EXTCOMM pin

pwm - This mode relies on a pwm device to generate the signal on the EXTCOMM pin

Allowed values (enum): "software", "external", "pwm"

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

pwms — not listed as required here #

Maximum number of items (maxItems): 1

External VCOM signal

Required in this object (required): "compatible", "reg", "sharp,vcom-mode"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel/panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

sharp,vcom-mode — not listed as required here

Exact value (const): "pwm"

When the condition matches (then) #

Required in this object (required): "pwms"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    display@0 {
        compatible = "sharp,ls013b7dh03";
        reg = <0>;
        spi-cs-high;
        spi-max-frequency = <1000000>;
        sharp,vcom-mode = "software";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Simple Framebuffer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/simple-framebuffer.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Hans de Goede <hdegoede@redhat.com>"

A simple frame-buffer describes a frame-buffer setup by firmware or the bootloader, with the assumption that the display hardware has already been set up to scan out from the memory pointed to by the reg property.

Since simplefb nodes represent runtime information they must be sub-nodes of the chosen node (*). Simplefb nodes must be named framebuffer@<address>.

If the devicetree contains nodes for the display hardware used by a simplefb, then the simplefb node must contain a property called display, which contains a phandle pointing to the primary display hw node, so that the OS knows which simplefb to disable when handing over control to a driver for the real hardware. The bindings for the hw nodes must specify which node is considered the primary node.

If a panel node is given, then the driver uses this to configure the physical width and height of the display. If no panel node is given, then the driver uses the width and height properties of the simplefb node to estimate it.

It is advised to add display# aliases to help the OS determine how to number things. If display# aliases are used, then if the simplefb node contains a display property then the /aliases/display# path must point to the display hw node the display property points to, otherwise it must point directly to the simplefb node.

If a simplefb node represents the preferred console for user interaction, then the chosen node stdout-path property should point to it, or to the primary display hw node, as with display# aliases. If display aliases are used then it should be set to the alias instead.

It is advised that devicetree files contain pre-filled, disabled framebuffer nodes, so that the firmware only needs to update the mode information and enable them. This way if e.g. later on support for more display clocks get added, the simplefb nodes will already contain this info and the firmware does not need to be updated.

If pre-filled framebuffer nodes are used, the firmware may need extra information to find the right node. In that case an extra platform specific compatible and platform specific properties should be used and documented.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "apple,simple-framebuffer", "allwinner,simple-framebuffer", "amlogic,simple-framebuffer"

Item 2

Exact value (const): "simple-framebuffer"

Rule 2

Exact value (const): "simple-framebuffer"

reg — not listed as required here #

Location and size of the framebuffer memory

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

Phandle to a node describing the memory to be used for the framebuffer. If present, overrides the "reg" property (if one exists).

clocks — not listed as required here #

List of clocks used by the framebuffer.

power-domains — not listed as required here #

List of power domains used by the framebuffer.

width — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Width of the framebuffer in pixels

height — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Height of the framebuffer in pixels

stride — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Number of bytes of a line in the framebuffer

format — not listed as required here #

Format of the framebuffer:
  * `a1r5g5b5` - 16-bit pixels, d[15]=a, d[14:10]=r, d[9:5]=g, d[4:0]=b
  * `a2r10g10b10` - 32-bit pixels, d[31:30]=a, d[29:20]=r, d[19:10]=g, d[9:0]=b
  * `a8b8g8r8` - 32-bit pixels, d[31:24]=a, d[23:16]=b, d[15:8]=g, d[7:0]=r
  * `a8r8g8b8` - 32-bit pixels, d[31:24]=a, d[23:16]=r, d[15:8]=g, d[7:0]=b
  * `r5g6b5` - 16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b
  * `r5g5b5a1` - 16-bit pixels, d[15:11]=r, d[10:6]=g, d[5:1]=b d[1:0]=a
  * `r8g8b8` - 24-bit pixels, d[23:16]=r, d[15:8]=g, d[7:0]=b
  * `x1r5g5b5` - 16-bit pixels, d[14:10]=r, d[9:5]=g, d[4:0]=b
  * `x2r10g10b10` - 32-bit pixels, d[29:20]=r, d[19:10]=g, d[9:0]=b
  * `x8r8g8b8` - 32-bit pixels, d[23:16]=r, d[15:8]=g, d[7:0]=b
  * `x8b8g8r8` - 32-bit pixels, d[23:16]=b, d[15:8]=g, d[7:0]=r

Allowed values (enum): "a1r5g5b5", "a2r10g10b10", "a8b8g8r8", "a8r8g8b8", "r5g6b5", "r5g5b5a1", "r8g8b8", "x1r5g5b5", "x2r10g10b10", "x8r8g8b8", "x8b8g8r8"

display — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Primary display hardware node

panel — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Display panel node

allwinner,pipeline — not listed as required here #

Pipeline used by the framebuffer on Allwinner SoCs

Allowed values (enum): "de_be0-lcd0", "de_be0-lcd0-hdmi", "de_be0-lcd0-tve0", "de_be1-lcd0", "de_be1-lcd1-hdmi", "de_fe0-de_be0-lcd0", "de_fe0-de_be0-lcd0-hdmi", "de_fe0-de_be0-lcd0-tve0", "mixer0-lcd0", "mixer0-lcd0-hdmi", "mixer1-lcd1-hdmi", "mixer1-lcd1-tve"

amlogic,pipeline — not listed as required here #

Pipeline used by the framebuffer on Amlogic SoCs

Allowed values (enum): "vpu-cvbs", "vpu-hdmi"

Properties matching a name pattern (patternProperties) #

^[a-zA-Z0-9-]+-supply$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Regulators used by the framebuffer. These should be named according to the names in the device design.

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,simple-framebuffer"

When the condition matches (then) #

Required in this object (required): "allwinner,pipeline"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "amlogic,simple-framebuffer"

When the condition matches (then) #

Required in this object (required): "amlogic,pipeline"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

/ {
    compatible = "foo";
    model = "foo";
    #address-cells = <1>;
    #size-cells = <1>;

    chosen {
        #address-cells = <1>;
        #size-cells = <1>;
        framebuffer0: framebuffer@1d385000 {
            compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
            allwinner,pipeline = "de_be0-lcd0";
            reg = <0x1d385000 3840000>;
            width = <1600>;
            height = <1200>;
            stride = <3200>;
            format = "r5g6b5";
            clocks = <&ahb_gates 36>, <&ahb_gates 43>, <&ahb_gates 44>;
            lcd-supply = <&reg_dc1sw>;
            display = <&lcdc0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 159: The binding requires also reg, width, height, stride and format,

Line 160: but usually they will be filled by the bootloader.

Sitronix ST7567 Display Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/sitronix,st7567.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Javier Martinez Canillas <javierm@redhat.com>"

Sitronix ST7567 is a driver and controller for monochrome dot matrix LCD panels.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel/panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sitronix,st7567"

reg — required here #

Maximum number of items (maxItems): 1

sitronix,inverted — not listed as required here #

Value type (type): "boolean"

Display pixels are inverted, i.e. 0 is white and 1 is black.

width-mm — required here #

true — No constraints added by this property rule.

height-mm — required here #

true — No constraints added by this property rule.

panel-timing — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "width-mm", "height-mm", "panel-timing"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    display@3f {
        compatible = "sitronix,st7567";
        reg = <0x3f>;
        width-mm = <37>;
        height-mm = <27>;

        panel-timing {
            hactive = <128>;
            vactive = <64>;
            hback-porch = <0>;
            vback-porch = <0>;
            clock-frequency = <0>;
            hfront-porch = <0>;
            hsync-len = <0>;
            vfront-porch = <0>;
            vsync-len = <0>;
        };
      };
 };

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Sitronix ST7571 Display Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/sitronix,st7571.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Marcus Folkesson <marcus.folkesson@gmail.com>"

Sitronix ST7571 is a driver and controller for 4-level gray scale and monochrome dot matrix LCD panels.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel/panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sitronix,st7571"

reg — required here #

Maximum number of items (maxItems): 1

sitronix,grayscale — not listed as required here #

Value type (type): "boolean"

Display supports 4-level grayscale.

sitronix,inverted — not listed as required here #

Value type (type): "boolean"

Display pixels are inverted, i.e. 0 is white and 1 is black.

reset-gpios — required here #

true — No constraints added by this property rule.

width-mm — required here #

true — No constraints added by this property rule.

height-mm — required here #

true — No constraints added by this property rule.

panel-timing — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "reset-gpios", "width-mm", "height-mm", "panel-timing"

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>

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  display@3f {
    compatible = "sitronix,st7571";
    reg = <0x3f>;
    reset-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
    width-mm = <37>;
    height-mm = <27>;

    panel-timing {
      hactive = <128>;
      vactive = <96>;
      hback-porch = <0>;
      vback-porch = <0>;
      clock-frequency = <0>;
      hfront-porch = <0>;
      hsync-len = <0>;
      vfront-porch = <0>;
      vsync-len = <0>;
    };
  };
};

spi {
  #address-cells = <1>;
  #size-cells = <0>;

  display@0 {
    compatible = "sitronix,st7571";
    reg = <0>;
    reset-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
    width-mm = <37>;
    height-mm = <27>;

    panel-timing {
      hactive = <128>;
      vactive = <96>;
      hback-porch = <0>;
      vback-porch = <0>;
      clock-frequency = <0>;
      hfront-porch = <0>;
      hsync-len = <0>;
      vfront-porch = <0>;
      vsync-len = <0>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Sitronix ST7586 Display Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/sitronix,st7586.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "David Lechner <david@lechnology.com>"

Sitronix ST7586 is a driver and controller for 4-level gray scale and monochrome dot matrix LCD panels. https://topwaydisplay.com/sites/default/files/2020-04/ST7586S.pdf

Shared schema rule ($ref): panel/panel-common.yaml#

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "lego,ev3-lcd"

reg — required here #

Maximum number of items (maxItems): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 50000000

a0-gpios — required here #

The A0 signal (for serial mode, this is the pin labeled D1 on the controller, not the pin labeled A0)

Maximum number of items (maxItems): 1

reset-gpios — required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "a0-gpios", "reset-gpios"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    display@0 {
        compatible = "lego,ev3-lcd";
        reg = <0>;
        spi-max-frequency = <10000000>;
        a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Sitronix ST7735R Display Panels

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/sitronix,st7735r.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "David Lechner <david@lechnology.com>"

This binding is for display panels using a Sitronix ST7715R or ST7735R controller in SPI mode.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel/panel-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Adafruit 1.8" 160x128 Color TFT LCD (Product ID 358 or 618)

Array item rules (items)

Item 1

Allowed values (enum): "jianda,jd-t18003-t01"

Item 2

Exact value (const): "sitronix,st7735r"

Rule 2

Okaya 1.44" 128x128 Color TFT LCD (E.g. Renesas YRSK-LCD-PMOD)

Array item rules (items)

Item 1

Allowed values (enum): "okaya,rh128128t"

Item 2

Exact value (const): "sitronix,st7715r"

dc-gpios — required here #

Maximum number of items (maxItems): 1

Display data/command selection (D/CX)

backlight — not listed as required here #

true — No constraints added by this property rule.

reg — required here #

true — No constraints added by this property rule.

spi-max-frequency — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "dc-gpios"

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>;

        display@0{
                compatible = "jianda,jd-t18003-t01", "sitronix,st7735r";
                reg = <0>;
                spi-max-frequency = <32000000>;
                dc-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
                rotation = <270>;
                backlight = <&backlight>;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Sitronix ST7920 LCD Display Controllers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/sitronix,st7920.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Iker Pedrosa <ikerpedrosam@gmail.com>"

The Sitronix ST7920 is a controller for monochrome dot-matrix graphical LCDs, most commonly used for 128x64 pixel displays.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sitronix,st7920"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

Regulator that provides 5V Vdd power supply

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

spi-max-frequency — required here #

Maximum value (maximum): 600000

Required in this object (required): "compatible", "reg", "spi-max-frequency"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    display@0 {
        compatible = "sitronix,st7920";
        reg = <0>;
        vdd-supply = <&reg_5v>;
        reset-gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
        spi-max-frequency = <600000>;
        spi-cs-high;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Common properties for Solomon OLED Display Controllers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/solomon,ssd-common.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Javier Martinez Canillas <javierm@redhat.com>"

Properties and child nodes (properties) #

reg — not listed as required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

dc-gpios — not listed as required here #

GPIO connected to the controller's D/C# (Data/Command) pin, that is needed for 4-wire SPI to tell the controller if the data sent is for a command register or the display data RAM

Maximum number of items (maxItems): 1

solomon,height — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Height in pixel of the screen driven by the controller. The default value is controller-dependent.

solomon,width — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Width in pixel of the screen driven by the controller. The default value is controller-dependent.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 19: Only required for SPI

Solomon SSD1307 OLED Controller Framebuffer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/solomon,ssd1307fb.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Maxime Ripard <mripard@kernel.org>", "Javier Martinez Canillas <javierm@redhat.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "solomon,ssd1305fb-i2c", "solomon,ssd1306fb-i2c", "solomon,ssd1307fb-i2c", "solomon,ssd1309fb-i2c"

Deprecated (deprecated): true

Rule 2

Allowed values (enum): "sinowealth,sh1106", "solomon,ssd1305", "solomon,ssd1306", "solomon,ssd1307", "solomon,ssd1309"

pwms — not listed as required here #

Maximum number of items (maxItems): 1

vbat-supply — not listed as required here #

The supply for VBAT

solomon,page-offset — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 1

Offset of pages (band of 8 pixels) that the screen is mapped to

solomon,segment-no-remap — not listed as required here #

Value type (type): "boolean"

Display needs normal (non-inverted) data column to segment mapping

solomon,col-offset — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 0

Offset of columns (COL/SEG) that the screen is mapped to

solomon,com-seq — not listed as required here #

Value type (type): "boolean"

Display uses sequential COM pin configuration

solomon,com-lrremap — not listed as required here #

Value type (type): "boolean"

Display uses left-right COM pin remap

solomon,com-invdir — not listed as required here #

Value type (type): "boolean"

Display uses inverted COM pin scan direction

solomon,com-offset — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 0

Number of the COM pin wired to the first display line

solomon,prechargep1 — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 2

Length of deselect period (phase 1) in clock cycles

solomon,prechargep2 — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 2

Length of precharge period (phase 2) in clock cycles. This needs to be the higher, the higher the capacitance of the OLED's pixels is.

solomon,dclk-div — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 1

Maximum value (maximum): 16

Clock divisor. The default value is controller-dependent.

solomon,dclk-frq — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 15

Clock frequency, higher value means higher frequency. The default value is controller-dependent.

solomon,lookup-table — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array

Maximum number of items (maxItems): 4

8 bit value array of current drive pulse widths for BANK0, and colors A, B, and C. Each value in range of 31 to 63 for pulse widths of 32 to 64. Color D is always width 64.

solomon,area-color-enable — not listed as required here #

Value type (type): "boolean"

Display uses color mode

solomon,low-power — not listed as required here #

Value type (type): "boolean"

Display runs in low power mode

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): solomon,ssd-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "sinowealth,sh1106"

When the condition matches (then) #

Properties and child nodes (properties)

solomon,width — not listed as required here

Default value (default): 132

solomon,height — not listed as required here

Default value (default): 64

solomon,dclk-div — not listed as required here

Default value (default): 1

solomon,dclk-frq — not listed as required here

Default value (default): 5

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "solomon,ssd1305-i2c", "solomon,ssd1305"

When the condition matches (then) #

Properties and child nodes (properties)

solomon,width — not listed as required here

Default value (default): 132

solomon,height — not listed as required here

Default value (default): 64

solomon,dclk-div — not listed as required here

Default value (default): 1

solomon,dclk-frq — not listed as required here

Default value (default): 7

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "solomon,ssd1306-i2c", "solomon,ssd1306"

When the condition matches (then) #

Properties and child nodes (properties)

solomon,width — not listed as required here

Default value (default): 128

solomon,height — not listed as required here

Default value (default): 64

solomon,dclk-div — not listed as required here

Default value (default): 1

solomon,dclk-frq — not listed as required here

Default value (default): 8

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "solomon,ssd1307-i2c", "solomon,ssd1307"

When the condition matches (then) #

Properties and child nodes (properties)

solomon,width — not listed as required here

Default value (default): 128

solomon,height — not listed as required here

Default value (default): 39

solomon,dclk-div — not listed as required here

Default value (default): 2

solomon,dclk-frq — not listed as required here

Default value (default): 12

Required in this object (required): "pwms"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "solomon,ssd1309-i2c", "solomon,ssd1309"

When the condition matches (then) #

Properties and child nodes (properties)

solomon,width — not listed as required here

Default value (default): 128

solomon,height — not listed as required here

Default value (default): 64

solomon,dclk-div — not listed as required here

Default value (default): 1

solomon,dclk-frq — not listed as required here

Default value (default): 10

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        ssd1307_i2c: oled@3c {
                compatible = "solomon,ssd1307";
                reg = <0x3c>;
                pwms = <&pwm 4 3000>;
                reset-gpios = <&gpio2 7>;
        };

        ssd1306_i2c: oled@3d {
                compatible = "solomon,ssd1306";
                reg = <0x3d>;
                pwms = <&pwm 4 3000>;
                reset-gpios = <&gpio2 7>;
                solomon,com-lrremap;
                solomon,com-invdir;
                solomon,com-offset = <32>;
                solomon,lookup-table = /bits/ 8 <0x3f 0x3f 0x3f 0x3f>;
        };
};
spi {
        #address-cells = <1>;
        #size-cells = <0>;

        ssd1307_spi: oled@0 {
                compatible = "solomon,ssd1307";
                reg = <0x0>;
                pwms = <&pwm 4 3000>;
                reset-gpios = <&gpio2 7>;
                dc-gpios = <&gpio2 8>;
                spi-max-frequency = <10000000>;
        };

        ssd1306_spi: oled@1 {
                compatible = "solomon,ssd1306";
                reg = <0x1>;
                pwms = <&pwm 4 3000>;
                reset-gpios = <&gpio2 7>;
                dc-gpios = <&gpio2 8>;
                spi-max-frequency = <10000000>;
                solomon,com-lrremap;
                solomon,com-invdir;
                solomon,com-offset = <32>;
                solomon,lookup-table = /bits/ 8 <0x3f 0x3f 0x3f 0x3f>;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 16: Deprecated compatible strings

Solomon SSD132x OLED Display Controllers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/solomon,ssd132x.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Javier Martinez Canillas <javierm@redhat.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "solomon,ssd1322", "solomon,ssd1325", "solomon,ssd1327"

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): solomon,ssd-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "solomon,ssd1322"

When the condition matches (then) #

Properties and child nodes (properties)

solomon,width — not listed as required here

Default value (default): 480

solomon,height — not listed as required here

Default value (default): 128

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "solomon,ssd1325"

When the condition matches (then) #

Properties and child nodes (properties)

solomon,width — not listed as required here

Default value (default): 128

solomon,height — not listed as required here

Default value (default): 80

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "solomon,ssd1327"

When the condition matches (then) #

Properties and child nodes (properties)

solomon,width — not listed as required here

Default value (default): 128

solomon,height — not listed as required here

Default value (default): 128

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        oled@3c {
                compatible = "solomon,ssd1327";
                reg = <0x3c>;
                reset-gpios = <&gpio2 7>;
        };

};
spi {
        #address-cells = <1>;
        #size-cells = <0>;

        oled@0 {
                compatible = "solomon,ssd1327";
                reg = <0x0>;
                reset-gpios = <&gpio2 7>;
                dc-gpios = <&gpio2 8>;
                spi-max-frequency = <10000000>;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Solomon SSD133x OLED Display Controllers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/solomon,ssd133x.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Javier Martinez Canillas <javierm@redhat.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): solomon,ssd-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "solomon,ssd1331"

solomon,width — not listed as required here #

Default value (default): 96

solomon,height — not listed as required here #

Default value (default): 64

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    oled@0 {
        compatible = "solomon,ssd1331";
        reg = <0x0>;
        reset-gpios = <&gpio2 7>;
        dc-gpios = <&gpio2 8>;
        spi-max-frequency = <10000000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

STMicroelectronics STM32 DSI host controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/st,stm32-dsi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Philippe Cornu <philippe.cornu@foss.st.com>", "Yannick Fertre <yannick.fertre@foss.st.com>"

The STMicroelectronics STM32 DSI controller uses the Synopsys DesignWare MIPI-DSI host controller.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dsi-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,stm32-dsi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Module Clock

Item 2

DSI bus clock

Item 3

Pixel clock

Minimum number of items (minItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "ref"

Item 3

Exact value (const): "px_clk"

Minimum number of items (minItems): 2

resets — not listed as required here #

Maximum number of items (maxItems): 1

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "apb"

phy-dsi-supply — not listed as required here #

Phandle of the regulator that provides the supply voltage.

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

DSI input port node, connected to the ltdc rgb output port.

port@1 — not listed as 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.

DSI output port node, connected to a panel or a bridge input port.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
#include <dt-bindings/reset/stm32mp1-resets.h>
#include <dt-bindings/gpio/gpio.h>
dsi: dsi@5a000000 {
    compatible = "st,stm32-dsi";
    reg = <0x5a000000 0x800>;
    clocks = <&rcc DSI_K>, <&clk_hse>, <&rcc DSI_PX>;
    clock-names = "pclk", "ref", "px_clk";
    resets = <&rcc DSI_R>;
    reset-names = "apb";
    phy-dsi-supply = <&reg18>;

    #address-cells = <1>;
    #size-cells = <0>;

    ports {
          #address-cells = <1>;
          #size-cells = <0>;

          port@0 {
                reg = <0>;
                dsi_in: endpoint {
                    remote-endpoint = <&ltdc_ep1_out>;
                };
          };

          port@1 {
                reg = <1>;
                dsi_out: endpoint {
                    remote-endpoint = <&panel_in>;
                };
          };
    };

    panel@0 {
          compatible = "orisetech,otm8009a";
          reg = <0>;
          reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;
          power-supply = <&v3v3>;

          port {
                panel_in: endpoint {
                    remote-endpoint = <&dsi_out>;
                };
          };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

STMicroelectronics STM32 lcd-tft display controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/st,stm32-ltdc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Philippe Cornu <philippe.cornu@foss.st.com>", "Yannick Fertre <yannick.fertre@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "st,stm32-ltdc", "st,stm32mp251-ltdc", "st,stm32mp255-ltdc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

events interrupt line.

Item 2

errors interrupt line.

Minimum number of items (minItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "lcd"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "ref"

Item 4

Exact value (const): "lvds"

Minimum number of items (minItems): 1

resets — required here #

Maximum number of items (maxItems): 1

access-controllers — not listed as required here #

Maximum number of items (maxItems): 1

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Video port for DPI RGB output. ltdc has one video port with up to 2 endpoints: - for external dpi rgb panel or bridge, using gpios. - for internal dpi input of the MIPI DSI host controller. Note: These 2 endpoints cannot be activated simultaneously.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "port"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "st,stm32-ltdc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Maximum number of items (maxItems): 1

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "st,stm32mp251-ltdc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "st,stm32mp255-ltdc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

clock-names — not listed as required here

Minimum number of items (minItems): 4

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/clock/stm32mp1-clks.h>
#include <dt-bindings/reset/stm32mp1-resets.h>
ltdc: display-controller@40016800 {
    compatible = "st,stm32-ltdc";
    reg = <0x5a001000 0x400>;
    interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&rcc LTDC_PX>;
    clock-names = "lcd";
    resets = <&rcc LTDC_R>;

    port {
         ltdc_out_dsi: endpoint {
                 remote-endpoint = <&dsi_in>;
         };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

STMicroelectronics STM32 LVDS Display Interface Transmitter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/st,stm32mp25-lvds.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>", "Yannick Fertre <yannick.fertre@foss.st.com>"

The STMicroelectronics STM32 LVDS Display Interface Transmitter handles the LVDS protocol: it maps the pixels received from the upstream Pixel-DMA (LTDC) onto the LVDS PHY.

It is composed of three sub blocks:
  - LVDS host: handles the LVDS protocol (FPD / OpenLDI) and maps its input
    pixels onto the data lanes of the PHY
  - LVDS PHY: parallelize the data and drives the LVDS data lanes
  - LVDS wrapper: handles top-level settings
The LVDS controller driver supports the following high-level features:
  - FDP-Link-I and OpenLDI (v0.95) protocols
  - Single-Link or Dual-Link operation
  - Single-Display or Double-Display (with the same content duplicated on both)
  - Flexible Bit-Mapping, including JEIDA and VESA
  - RGB888 or RGB666 output
  - Synchronous design, with one input pixel per clock cycle

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "st,stm32mp255-lvds"

Item 2

Exact value (const): "st,stm32mp25-lvds"

Rule 2

Exact value (const): "st,stm32mp25-lvds"

#clock-cells — required here #

Exact value (const): 0

Provides the internal LVDS PHY clock to the framework.

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

APB peripheral clock

Item 2

Reference clock for the internal PLL

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "ref"

resets — required here #

Maximum number of items (maxItems): 1

access-controllers — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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#/properties/port

LVDS input port node, connected to the LTDC RGB output port.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

LVDS output port node, connected to a panel or bridge input port.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "#clock-cells", "reg", "clocks", "clock-names", "resets", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/st,stm32mp25-rcc.h>
#include <dt-bindings/reset/st,stm32mp25-rcc.h>

lvds: lvds@48060000 {
    compatible = "st,stm32mp25-lvds";
    reg = <0x48060000 0x2000>;
    #clock-cells = <0>;
    clocks = <&rcc CK_BUS_LVDS>, <&rcc CK_KER_LVDSPHY>;
    clock-names = "pclk", "ref";
    resets = <&rcc LVDS_R>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            lvds_in: endpoint {
               remote-endpoint = <&ltdc_ep1_out>;
            };
        };

        port@1 {
            reg = <1>;
            lvds_out0: endpoint {
               remote-endpoint = <&lvds_panel_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

ST-Ericsson Multi Channel Display Engine MCDE

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/ste,mcde.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ste,mcde"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

an array of the MCDE clocks

Array item rules (items) #

Item 1

MCDECLK (main MCDE clock)

Item 2

LCDCLK (LCD clock)

Item 3

PLLDSI (HDMI clock)

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mcde"

Item 2

Exact value (const): "lcd"

Item 3

Exact value (const): "hdmi"

resets — not listed as required here #

Maximum number of items (maxItems): 1

epod-supply — required here #

a phandle to the EPOD regulator

vana-supply — required here #

a phandle to the analog voltage regulator

port — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

A DPI port node

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^dsi@[0-9a-f]+$ — name matches this regular expression #

subnodes for the three DSI host adapters

Value type (type): "object"

Shared schema rule ($ref): dsi-controller.yaml#

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "ste,mcde-dsi"

reg — required here

Maximum number of items (maxItems): 1

vana-supply — required here

a phandle to the analog voltage regulator

clocks — required here

phandles to the high speed and low power (energy save) clocks the high speed clock is not present on the third (dsi2) block, so it should only have the "lp" clock

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): "hs"

Item 2

Exact value (const): "lp"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "lp"

Required in this object (required): "compatible", "reg", "vana-supply", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "epod-supply", "vana-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/mfd/dbx500-prcmu.h>
#include <dt-bindings/gpio/gpio.h>

mcde@a0350000 {
  compatible = "ste,mcde";
  reg = <0xa0350000 0x1000>;
  interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
  epod-supply = <&db8500_b2r2_mcde_reg>;
  vana-supply = <&ab8500_ldo_ana_reg>;
  clocks = <&prcmu_clk PRCMU_MCDECLK>,
           <&prcmu_clk PRCMU_LCDCLK>,
           <&prcmu_clk PRCMU_PLLDSI>;
  clock-names = "mcde", "lcd", "hdmi";
  #address-cells = <1>;
  #size-cells = <1>;
  ranges;

  dsi0: dsi@a0351000 {
    compatible = "ste,mcde-dsi";
    reg = <0xa0351000 0x1000>;
    vana-supply = <&ab8500_ldo_ana_reg>;
    clocks = <&prcmu_clk PRCMU_DSI0CLK>, <&prcmu_clk PRCMU_DSI0ESCCLK>;
    clock-names = "hs", "lp";
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
      compatible = "samsung,s6d16d0";
      reg = <0>;
      vdd1-supply = <&ab8500_ldo_aux1_reg>;
      reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
    };
  };

  dsi1: dsi@a0352000 {
    compatible = "ste,mcde-dsi";
    reg = <0xa0352000 0x1000>;
    vana-supply = <&ab8500_ldo_ana_reg>;
    clocks = <&prcmu_clk PRCMU_DSI1CLK>, <&prcmu_clk PRCMU_DSI1ESCCLK>;
    clock-names = "hs", "lp";
    #address-cells = <1>;
    #size-cells = <0>;
  };

  dsi2: dsi@a0353000 {
    compatible = "ste,mcde-dsi";
    reg = <0xa0353000 0x1000>;
    vana-supply = <&ab8500_ldo_ana_reg>;
    /* This DSI port only has the Low Power / Energy Save clock */
    clocks = <&prcmu_clk PRCMU_DSI2ESCCLK>;
    clock-names = "lp";
    #address-cells = <1>;
    #size-cells = <0>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Xylon LogiCVC display controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings

Schema identifier ($id): "http://devicetree.org/schemas/display/xylon,logicvc-display.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Kocialkowski <paul.kocialkowski@bootlin.com>"

The Xylon LogiCVC is a display controller that supports multiple layers. It is usually implemented as programmable logic and was optimized for use with Xilinx Zynq-7000 SoCs and Xilinx FPGAs.

Because the controller is intended for use in a FPGA, most of the configuration of the controller takes place at logic configuration bitstream synthesis time. As a result, many of the device-tree bindings are meant to reflect the synthesis configuration and must not be configured differently. Matching synthesis parameters are provided when applicable.

Layers are declared in the "layers" sub-node and have dedicated configuration. In version 3 of the controller, each layer has fixed memory offset and address starting from the video memory base address for its framebuffer. In version 4, framebuffers are configured with a direct memory address instead.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "xylon,logicvc-3.02.a-display", "xylon,logicvc-4.01.a-display"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "vclk"

Item 2

Allowed values (enum): "vclk2", "lvdsclk", "lvdsclkn"

Item 3

Allowed values (enum): "vclk2", "lvdsclk", "lvdsclkn"

Item 4

Allowed values (enum): "vclk2", "lvdsclk", "lvdsclkn"

interrupts — required here #

Maximum number of items (maxItems): 1

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

xylon,display-interface — required here #

Allowed values (enum): "parallel-rgb", "bt656", "lvds-4bits", "lvds-3bits", "dvi"

Display output interface (C_DISPLAY_INTERFACE).

xylon,display-colorspace — required here #

Allowed values (enum): "rgb", "yuv422", "yuv444"

Display output colorspace (C_DISPLAY_COLOR_SPACE).

xylon,display-depth — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Display output depth (C_PIXEL_DATA_WIDTH).

xylon,row-stride — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Fixed number of pixels in a framebuffer row (C_ROW_STRIDE).

xylon,dithering — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Dithering module is enabled (C_XCOLOR)

xylon,background-layer — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

The last layer is used to display a black background (C_USE_BACKGROUND). The layer must still be registered.

xylon,layers-configurable — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Configuration of layers' size, position and offset is enabled (C_USE_SIZE_POSITION).

layers — required here #

Value type (type): "object"

Properties and child nodes (properties) #

#address-cells — required here

Exact value (const): 1

#size-cells — required here

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^layer@[0-9]+$ — name matches this regular expression

Value type (type): "object"

Properties and child nodes (properties)

reg — required here

Maximum number of items (maxItems): 1

xylon,layer-depth — required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Layer depth (C_LAYER_X_DATA_WIDTH).

xylon,layer-colorspace — required here

Allowed values (enum): "rgb", "yuv"

Layer colorspace (C_LAYER_X_TYPE).

xylon,layer-alpha-mode — required here

Allowed values (enum): "layer", "pixel"

Alpha mode for the layer (C_LAYER_X_ALPHA_MODE).

xylon,layer-base-offset — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Offset in number of lines (C_LAYER_X_OFFSET) starting from the video RAM base (C_VMEM_BASEADDR), only for version 3.

xylon,layer-buffer-offset — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Offset in number of lines (C_BUFFER_*_OFFSET) starting from the layer base offset for the second buffer used in double-buffering.

xylon,layer-primary — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Layer should be registered as a primary plane (exactly one is required).

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Required in this object (required): "reg", "xylon,layer-depth", "xylon,layer-colorspace", "xylon,layer-alpha-mode"

Required in this object (required): "#address-cells", "#size-cells", "layer@0"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

The description of the display controller layers, containing layer sub-nodes that each describe a registered layer.

port — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Video output port, typically connected to a panel or bridge.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "xylon,display-interface", "xylon,display-colorspace", "xylon,display-depth", "xylon,row-stride", "layers", "port"

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

logicvc: logicvc@43c00000 {
  compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
  reg = <0x43c00000 0x6000>;

  #address-cells = <1>;
  #size-cells = <1>;

  logicvc_display: display@0 {
    compatible = "xylon,logicvc-3.02.a-display";
    reg = <0x0 0x6000>;

    memory-region = <&logicvc_cma>;

    clocks = <&logicvc_vclk 0>, <&logicvc_lvdsclk 0>;
    clock-names = "vclk", "lvdsclk";

    interrupt-parent = <&intc>;
    interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;

    xylon,display-interface = "lvds-4bits";
    xylon,display-colorspace = "rgb";
    xylon,display-depth = <16>;
    xylon,row-stride = <1024>;

    xylon,layers-configurable;

    layers {
      #address-cells = <1>;
      #size-cells = <0>;

      layer@0 {
        reg = <0>;
        xylon,layer-depth = <16>;
        xylon,layer-colorspace = "rgb";
        xylon,layer-alpha-mode = "layer";
        xylon,layer-base-offset = <0>;
        xylon,layer-buffer-offset = <480>;
        xylon,layer-primary;
      };

      layer@1 {
        reg = <1>;
        xylon,layer-depth = <16>;
        xylon,layer-colorspace = "rgb";
        xylon,layer-alpha-mode = "layer";
        xylon,layer-base-offset = <2400>;
        xylon,layer-buffer-offset = <480>;
      };

      layer@2 {
        reg = <2>;
        xylon,layer-depth = <16>;
        xylon,layer-colorspace = "rgb";
        xylon,layer-alpha-mode = "layer";
        xylon,layer-base-offset = <960>;
        xylon,layer-buffer-offset = <480>;
      };

      layer@3 {
        reg = <3>;
        xylon,layer-depth = <16>;
        xylon,layer-colorspace = "rgb";
        xylon,layer-alpha-mode = "layer";
        xylon,layer-base-offset = <480>;
        xylon,layer-buffer-offset = <480>;
      };

      layer@4 {
        reg = <4>;
        xylon,layer-depth = <16>;
        xylon,layer-colorspace = "rgb";
        xylon,layer-alpha-mode = "layer";
        xylon,layer-base-offset = <8192>;
        xylon,layer-buffer-offset = <480>;
      };
    };

    port {
      #address-cells = <1>;
      #size-cells = <0>;

      logicvc_output: endpoint@0 {
        reg = <0>;
        remote-endpoint = <&panel_input>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 2: Copyright 2019 Bootlin

Line 45: vclk is required and must be provided as first item.

Line 47: Other clocks are optional and can be provided in any order.

Line 69: Parallel RGB interface (C_DISPLAY_INTERFACE == 0)

Line 71: ITU-T BR656 interface (C_DISPLAY_INTERFACE == 1)

Line 73: 4-bit LVDS interface (C_DISPLAY_INTERFACE == 2)

Line 75: 3-bit LVDS interface (C_DISPLAY_INTERFACE == 4)

Line 77: DVI interface (C_DISPLAY_INTERFACE == 5)

Line 83: RGB colorspace (C_DISPLAY_COLOR_SPACE == 0)

Line 85: YUV 4:2:2 colorspace (C_DISPLAY_COLOR_SPACE == 1)

Line 87: YUV 4:4:4 colorspace (C_DISPLAY_COLOR_SPACE == 2)

Line 139: RGB colorspace (C_LAYER_X_TYPE == 0)

Line 141: YUV packed colorspace (C_LAYER_X_TYPE == 0)

Line 147: Alpha is configured layer-wide (C_LAYER_X_ALPHA_MODE == 0)

Line 149: Alpha is configured per-pixel (C_LAYER_X_ALPHA_MODE == 1)

Peios Learn — documentation for Peios software.

Built with Trail.