MediaTek DSI Controller
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
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 #
Rule 2 #
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)