xref: /freebsd-src/sys/contrib/device-tree/Bindings/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2d5b0e70fSEmmanuel Vadot%YAML 1.2
3d5b0e70fSEmmanuel Vadot---
4d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml#
5d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6d5b0e70fSEmmanuel Vadot
7d5b0e70fSEmmanuel Vadottitle: NXP i.MX8MP HDMI blk-ctrl
8d5b0e70fSEmmanuel Vadot
9d5b0e70fSEmmanuel Vadotmaintainers:
10d5b0e70fSEmmanuel Vadot  - Lucas Stach <l.stach@pengutronix.de>
11d5b0e70fSEmmanuel Vadot
12d5b0e70fSEmmanuel Vadotdescription:
13d5b0e70fSEmmanuel Vadot  The i.MX8MP HDMMI blk-ctrl is a top-level peripheral providing access to
14d5b0e70fSEmmanuel Vadot  the NoC and ensuring proper power sequencing of the display pipeline
15d5b0e70fSEmmanuel Vadot  peripherals located in the HDMI domain of the SoC.
16d5b0e70fSEmmanuel Vadot
17d5b0e70fSEmmanuel Vadotproperties:
18d5b0e70fSEmmanuel Vadot  compatible:
19d5b0e70fSEmmanuel Vadot    items:
20d5b0e70fSEmmanuel Vadot      - const: fsl,imx8mp-hdmi-blk-ctrl
21d5b0e70fSEmmanuel Vadot      - const: syscon
22d5b0e70fSEmmanuel Vadot
23d5b0e70fSEmmanuel Vadot  reg:
24d5b0e70fSEmmanuel Vadot    maxItems: 1
25d5b0e70fSEmmanuel Vadot
26d5b0e70fSEmmanuel Vadot  '#power-domain-cells':
27d5b0e70fSEmmanuel Vadot    const: 1
28d5b0e70fSEmmanuel Vadot
29d5b0e70fSEmmanuel Vadot  power-domains:
30*01950c46SEmmanuel Vadot    minItems: 10
31*01950c46SEmmanuel Vadot    maxItems: 10
32d5b0e70fSEmmanuel Vadot
33d5b0e70fSEmmanuel Vadot  power-domain-names:
34d5b0e70fSEmmanuel Vadot    items:
35d5b0e70fSEmmanuel Vadot      - const: bus
36d5b0e70fSEmmanuel Vadot      - const: irqsteer
37d5b0e70fSEmmanuel Vadot      - const: lcdif
38d5b0e70fSEmmanuel Vadot      - const: pai
39d5b0e70fSEmmanuel Vadot      - const: pvi
40d5b0e70fSEmmanuel Vadot      - const: trng
41d5b0e70fSEmmanuel Vadot      - const: hdmi-tx
42d5b0e70fSEmmanuel Vadot      - const: hdmi-tx-phy
43*01950c46SEmmanuel Vadot      - const: hdcp
44*01950c46SEmmanuel Vadot      - const: hrv
45d5b0e70fSEmmanuel Vadot
46d5b0e70fSEmmanuel Vadot  clocks:
47*01950c46SEmmanuel Vadot    minItems: 5
48*01950c46SEmmanuel Vadot    maxItems: 5
49d5b0e70fSEmmanuel Vadot
50d5b0e70fSEmmanuel Vadot  clock-names:
51d5b0e70fSEmmanuel Vadot    items:
52d5b0e70fSEmmanuel Vadot      - const: apb
53d5b0e70fSEmmanuel Vadot      - const: axi
54d5b0e70fSEmmanuel Vadot      - const: ref_266m
55d5b0e70fSEmmanuel Vadot      - const: ref_24m
56*01950c46SEmmanuel Vadot      - const: fdcc
57d5b0e70fSEmmanuel Vadot
587ef62cebSEmmanuel Vadot  interconnects:
597ef62cebSEmmanuel Vadot    maxItems: 3
607ef62cebSEmmanuel Vadot
617ef62cebSEmmanuel Vadot  interconnect-names:
627ef62cebSEmmanuel Vadot    items:
637ef62cebSEmmanuel Vadot      - const: hrv
647ef62cebSEmmanuel Vadot      - const: lcdif-hdmi
657ef62cebSEmmanuel Vadot      - const: hdcp
667ef62cebSEmmanuel Vadot
67d5b0e70fSEmmanuel Vadotrequired:
68d5b0e70fSEmmanuel Vadot  - compatible
69d5b0e70fSEmmanuel Vadot  - reg
70d5b0e70fSEmmanuel Vadot  - power-domains
71d5b0e70fSEmmanuel Vadot  - power-domain-names
72d5b0e70fSEmmanuel Vadot  - clocks
73d5b0e70fSEmmanuel Vadot  - clock-names
74d5b0e70fSEmmanuel Vadot
75d5b0e70fSEmmanuel VadotadditionalProperties: false
76d5b0e70fSEmmanuel Vadot
77d5b0e70fSEmmanuel Vadotexamples:
78d5b0e70fSEmmanuel Vadot  - |
79d5b0e70fSEmmanuel Vadot    #include <dt-bindings/clock/imx8mp-clock.h>
80d5b0e70fSEmmanuel Vadot    #include <dt-bindings/power/imx8mp-power.h>
81d5b0e70fSEmmanuel Vadot
82d5b0e70fSEmmanuel Vadot    blk-ctrl@32fc0000 {
83d5b0e70fSEmmanuel Vadot        compatible = "fsl,imx8mp-hdmi-blk-ctrl", "syscon";
84d5b0e70fSEmmanuel Vadot        reg = <0x32fc0000 0x23c>;
85d5b0e70fSEmmanuel Vadot        clocks = <&clk IMX8MP_CLK_HDMI_APB>,
86d5b0e70fSEmmanuel Vadot                 <&clk IMX8MP_CLK_HDMI_ROOT>,
87d5b0e70fSEmmanuel Vadot                 <&clk IMX8MP_CLK_HDMI_REF_266M>,
88*01950c46SEmmanuel Vadot                 <&clk IMX8MP_CLK_HDMI_24M>,
89*01950c46SEmmanuel Vadot                 <&clk IMX8MP_CLK_HDMI_FDCC_TST>;
90*01950c46SEmmanuel Vadot        clock-names = "apb", "axi", "ref_266m", "ref_24m", "fdcc";
91d5b0e70fSEmmanuel Vadot        power-domains = <&pgc_hdmimix>, <&pgc_hdmimix>, <&pgc_hdmimix>,
92d5b0e70fSEmmanuel Vadot                        <&pgc_hdmimix>, <&pgc_hdmimix>, <&pgc_hdmimix>,
93*01950c46SEmmanuel Vadot                        <&pgc_hdmimix>, <&pgc_hdmi_phy>,
94*01950c46SEmmanuel Vadot                        <&pgc_hdmimix>, <&pgc_hdmimix>;
95d5b0e70fSEmmanuel Vadot        power-domain-names = "bus", "irqsteer", "lcdif", "pai", "pvi", "trng",
96*01950c46SEmmanuel Vadot                             "hdmi-tx", "hdmi-tx-phy",
97*01950c46SEmmanuel Vadot                             "hdcp", "hrv";
98d5b0e70fSEmmanuel Vadot        #power-domain-cells = <1>;
99d5b0e70fSEmmanuel Vadot    };
100