xref: /freebsd/sys/contrib/device-tree/Bindings/display/imx/fsl,imx8qxp-dc-framegen.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*833e5d42SEmmanuel Vadot%YAML 1.2
3*833e5d42SEmmanuel Vadot---
4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-framegen.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Freescale i.MX8qxp Display Controller Frame Generator
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotdescription:
10*833e5d42SEmmanuel Vadot  The Frame Generator (FrameGen) module generates a programmable video timing
11*833e5d42SEmmanuel Vadot  and optionally allows to synchronize the generated video timing to external
12*833e5d42SEmmanuel Vadot  synchronization signals.
13*833e5d42SEmmanuel Vadot
14*833e5d42SEmmanuel Vadotmaintainers:
15*833e5d42SEmmanuel Vadot  - Liu Ying <victor.liu@nxp.com>
16*833e5d42SEmmanuel Vadot
17*833e5d42SEmmanuel Vadotproperties:
18*833e5d42SEmmanuel Vadot  compatible:
19*833e5d42SEmmanuel Vadot    const: fsl,imx8qxp-dc-framegen
20*833e5d42SEmmanuel Vadot
21*833e5d42SEmmanuel Vadot  reg:
22*833e5d42SEmmanuel Vadot    maxItems: 1
23*833e5d42SEmmanuel Vadot
24*833e5d42SEmmanuel Vadot  clocks:
25*833e5d42SEmmanuel Vadot    maxItems: 1
26*833e5d42SEmmanuel Vadot
27*833e5d42SEmmanuel Vadot  interrupts:
28*833e5d42SEmmanuel Vadot    maxItems: 8
29*833e5d42SEmmanuel Vadot
30*833e5d42SEmmanuel Vadot  interrupt-names:
31*833e5d42SEmmanuel Vadot    items:
32*833e5d42SEmmanuel Vadot      - const: int0
33*833e5d42SEmmanuel Vadot      - const: int1
34*833e5d42SEmmanuel Vadot      - const: int2
35*833e5d42SEmmanuel Vadot      - const: int3
36*833e5d42SEmmanuel Vadot      - const: primsync_on
37*833e5d42SEmmanuel Vadot      - const: primsync_off
38*833e5d42SEmmanuel Vadot      - const: secsync_on
39*833e5d42SEmmanuel Vadot      - const: secsync_off
40*833e5d42SEmmanuel Vadot
41*833e5d42SEmmanuel Vadotrequired:
42*833e5d42SEmmanuel Vadot  - compatible
43*833e5d42SEmmanuel Vadot  - reg
44*833e5d42SEmmanuel Vadot  - clocks
45*833e5d42SEmmanuel Vadot  - interrupts
46*833e5d42SEmmanuel Vadot  - interrupt-names
47*833e5d42SEmmanuel Vadot
48*833e5d42SEmmanuel VadotadditionalProperties: false
49*833e5d42SEmmanuel Vadot
50*833e5d42SEmmanuel Vadotexamples:
51*833e5d42SEmmanuel Vadot  - |
52*833e5d42SEmmanuel Vadot    #include <dt-bindings/clock/imx8-lpcg.h>
53*833e5d42SEmmanuel Vadot    #include <dt-bindings/firmware/imx/rsrc.h>
54*833e5d42SEmmanuel Vadot
55*833e5d42SEmmanuel Vadot    framegen@5618b800 {
56*833e5d42SEmmanuel Vadot        compatible = "fsl,imx8qxp-dc-framegen";
57*833e5d42SEmmanuel Vadot        reg = <0x5618b800 0x98>;
58*833e5d42SEmmanuel Vadot        clocks = <&dc0_disp_lpcg IMX_LPCG_CLK_0>;
59*833e5d42SEmmanuel Vadot        interrupt-parent = <&dc0_intc>;
60*833e5d42SEmmanuel Vadot        interrupts = <18>, <19>, <20>, <21>, <41>, <42>, <43>, <44>;
61*833e5d42SEmmanuel Vadot        interrupt-names = "int0", "int1", "int2", "int3",
62*833e5d42SEmmanuel Vadot                          "primsync_on", "primsync_off",
63*833e5d42SEmmanuel Vadot                          "secsync_on", "secsync_off";
64*833e5d42SEmmanuel Vadot    };
65