xref: /freebsd/sys/contrib/device-tree/Bindings/display/imx/fsl,imx8mp-hdmi-pvi.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*01950c46SEmmanuel Vadot%YAML 1.2
3*01950c46SEmmanuel Vadot---
4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/display/imx/fsl,imx8mp-hdmi-pvi.yaml#
5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*01950c46SEmmanuel Vadot
7*01950c46SEmmanuel Vadottitle: Freescale i.MX8MP HDMI Parallel Video Interface
8*01950c46SEmmanuel Vadot
9*01950c46SEmmanuel Vadotmaintainers:
10*01950c46SEmmanuel Vadot  - Lucas Stach <l.stach@pengutronix.de>
11*01950c46SEmmanuel Vadot
12*01950c46SEmmanuel Vadotdescription:
13*01950c46SEmmanuel Vadot  The HDMI parallel video interface is a timing and sync generator block in the
14*01950c46SEmmanuel Vadot  i.MX8MP SoC, that sits between the video source and the HDMI TX controller.
15*01950c46SEmmanuel Vadot
16*01950c46SEmmanuel Vadotproperties:
17*01950c46SEmmanuel Vadot  compatible:
18*01950c46SEmmanuel Vadot    const: fsl,imx8mp-hdmi-pvi
19*01950c46SEmmanuel Vadot
20*01950c46SEmmanuel Vadot  reg:
21*01950c46SEmmanuel Vadot    maxItems: 1
22*01950c46SEmmanuel Vadot
23*01950c46SEmmanuel Vadot  interrupts:
24*01950c46SEmmanuel Vadot    maxItems: 1
25*01950c46SEmmanuel Vadot
26*01950c46SEmmanuel Vadot  power-domains:
27*01950c46SEmmanuel Vadot    maxItems: 1
28*01950c46SEmmanuel Vadot
29*01950c46SEmmanuel Vadot  ports:
30*01950c46SEmmanuel Vadot    $ref: /schemas/graph.yaml#/properties/ports
31*01950c46SEmmanuel Vadot
32*01950c46SEmmanuel Vadot    properties:
33*01950c46SEmmanuel Vadot      port@0:
34*01950c46SEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
35*01950c46SEmmanuel Vadot        description: Input from the LCDIF controller.
36*01950c46SEmmanuel Vadot
37*01950c46SEmmanuel Vadot      port@1:
38*01950c46SEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
39*01950c46SEmmanuel Vadot        description: Output to the HDMI TX controller.
40*01950c46SEmmanuel Vadot
41*01950c46SEmmanuel Vadot    required:
42*01950c46SEmmanuel Vadot      - port@0
43*01950c46SEmmanuel Vadot      - port@1
44*01950c46SEmmanuel Vadot
45*01950c46SEmmanuel Vadotrequired:
46*01950c46SEmmanuel Vadot  - compatible
47*01950c46SEmmanuel Vadot  - reg
48*01950c46SEmmanuel Vadot  - interrupts
49*01950c46SEmmanuel Vadot  - power-domains
50*01950c46SEmmanuel Vadot  - ports
51*01950c46SEmmanuel Vadot
52*01950c46SEmmanuel VadotadditionalProperties: false
53*01950c46SEmmanuel Vadot
54*01950c46SEmmanuel Vadotexamples:
55*01950c46SEmmanuel Vadot  - |
56*01950c46SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
57*01950c46SEmmanuel Vadot    #include <dt-bindings/power/imx8mp-power.h>
58*01950c46SEmmanuel Vadot
59*01950c46SEmmanuel Vadot    display-bridge@32fc4000 {
60*01950c46SEmmanuel Vadot        compatible = "fsl,imx8mp-hdmi-pvi";
61*01950c46SEmmanuel Vadot        reg = <0x32fc4000 0x44>;
62*01950c46SEmmanuel Vadot        interrupt-parent = <&irqsteer_hdmi>;
63*01950c46SEmmanuel Vadot        interrupts = <12 IRQ_TYPE_LEVEL_HIGH>;
64*01950c46SEmmanuel Vadot        power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_PVI>;
65*01950c46SEmmanuel Vadot
66*01950c46SEmmanuel Vadot        ports {
67*01950c46SEmmanuel Vadot            #address-cells = <1>;
68*01950c46SEmmanuel Vadot            #size-cells = <0>;
69*01950c46SEmmanuel Vadot
70*01950c46SEmmanuel Vadot            port@0 {
71*01950c46SEmmanuel Vadot                reg = <0>;
72*01950c46SEmmanuel Vadot                pvi_from_lcdif3: endpoint {
73*01950c46SEmmanuel Vadot                    remote-endpoint = <&lcdif3_to_pvi>;
74*01950c46SEmmanuel Vadot                };
75*01950c46SEmmanuel Vadot            };
76*01950c46SEmmanuel Vadot
77*01950c46SEmmanuel Vadot            port@1 {
78*01950c46SEmmanuel Vadot                reg = <1>;
79*01950c46SEmmanuel Vadot                pvi_to_hdmi_tx: endpoint {
80*01950c46SEmmanuel Vadot                    remote-endpoint = <&hdmi_tx_from_pvi>;
81*01950c46SEmmanuel Vadot                };
82*01950c46SEmmanuel Vadot            };
83*01950c46SEmmanuel Vadot        };
84*01950c46SEmmanuel Vadot    };
85