1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,dpi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: mediatek DPI Controller Device Tree Bindings
10 - CK Hu <ck.hu@mediatek.com>
11 - Jitao shi <jitao.shi@mediatek.com>
14 The Mediatek DPI function block is a sink of the display subsystem and
15 provides 8-bit RGB/YUV444 or 8/10/10-bit YUV422 pixel data on a parallel
35 - description: Pixel Clock
36 - description: Engine Clock
37 - description: DPI PLL
54 $ref: /schemas/graph.yaml#/properties/port
56 Output port node. This port should be connected to the input port of an
57 attached HDMI or LVDS encoder chip.
67 additionalProperties: false
71 #include <dt-bindings/interrupt-controller/arm-gic.h>
72 #include <dt-bindings/clock/mt8173-clk.h>
73 #include <dt-bindings/interrupt-controller/arm-gic.h>
74 #include <dt-bindings/interrupt-controller/irq.h>
76 compatible = "mediatek,mt8173-dpi";
77 reg = <0x1401d000 0x1000>;
78 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_LOW>;
79 clocks = <&mmsys CLK_MM_DPI_PIXEL>,
80 <&mmsys CLK_MM_DPI_ENGINE>,
81 <&apmixedsys CLK_APMIXED_TVDPLL>;
82 clock-names = "pixel", "engine", "pll";
83 pinctrl-names = "default", "sleep";
84 pinctrl-0 = <&dpi_pin_func>;
85 pinctrl-1 = <&dpi_pin_idle>;
89 remote-endpoint = <&hdmi0_in>;