brintos

brintos / linux-shallow public Read only

0
0
Text · 3.6 KiB · 4ae6328 Raw
108 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2019 NXP3%YAML 1.24---5$id: http://devicetree.org/schemas/display/imx/nxp,imx8mq-dcss.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: iMX8MQ Display Controller Subsystem (DCSS)9 10maintainers:11  - Laurentiu Palcu <laurentiu.palcu@nxp.com>12 13description:14 15  The DCSS (display controller sub system) is used to source up to three16  display buffers, compose them, and drive a display using HDMI 2.0a(with HDCP17  2.2) or MIPI-DSI. The DCSS is intended to support up to 4kp60 displays. HDR1018  image processing capabilities are included to provide a solution capable of19  driving next generation high dynamic range displays.20 21properties:22  compatible:23    const: nxp,imx8mq-dcss24 25  reg:26    items:27      - description: DCSS base address and size, up to IRQ steer start28      - description: DCSS BLKCTL base address and size29 30  interrupts:31    items:32      - description: Context loader completion and error interrupt33      - description: DTG interrupt used to signal context loader trigger time34      - description: DTG interrupt for Vblank35 36  interrupt-names:37    items:38      - const: ctxld39      - const: ctxld_kick40      - const: vblank41 42  clocks:43    items:44      - description: Display APB clock for all peripheral PIO access interfaces45      - description: Display AXI clock needed by DPR, Scaler, RTRAM_CTRL46      - description: RTRAM clock47      - description: Pixel clock, can be driven either by HDMI phy clock or MIPI48      - description: DTRC clock, needed by video decompressor49 50  clock-names:51    items:52      - const: apb53      - const: axi54      - const: rtrm55      - const: pix56      - const: dtrc57 58  assigned-clocks:59    items:60      - description: Phandle and clock specifier of IMX8MQ_CLK_DISP_AXI_ROOT61      - description: Phandle and clock specifier of IMX8MQ_CLK_DISP_RTRM62      - description: Phandle and clock specifier of either IMX8MQ_VIDEO2_PLL1_REF_SEL or63                     IMX8MQ_VIDEO_PLL1_REF_SEL64 65  assigned-clock-parents:66    items:67      - description: Phandle and clock specifier of IMX8MQ_SYS1_PLL_800M68      - description: Phandle and clock specifier of IMX8MQ_SYS1_PLL_800M69      - description: Phandle and clock specifier of IMX8MQ_CLK_27M70 71  assigned-clock-rates:72    items:73      - description: Must be 800 MHz74      - description: Must be 400 MHz75 76  port:77    $ref: /schemas/graph.yaml#/properties/port78    description:79      A port node pointing to the input port of a HDMI/DP or MIPI display bridge.80 81additionalProperties: false82 83examples:84  - |85    #include <dt-bindings/clock/imx8mq-clock.h>86    dcss: display-controller@32e00000 {87        compatible = "nxp,imx8mq-dcss";88        reg = <0x32e00000 0x2d000>, <0x32e2f000 0x1000>;89        interrupts = <6>, <8>, <9>;90        interrupt-names = "ctxld", "ctxld_kick", "vblank";91        interrupt-parent = <&irqsteer>;92        clocks = <&clk IMX8MQ_CLK_DISP_APB_ROOT>, <&clk IMX8MQ_CLK_DISP_AXI_ROOT>,93                 <&clk IMX8MQ_CLK_DISP_RTRM_ROOT>, <&clk IMX8MQ_VIDEO2_PLL_OUT>,94                 <&clk IMX8MQ_CLK_DISP_DTRC>;95        clock-names = "apb", "axi", "rtrm", "pix", "dtrc";96        assigned-clocks = <&clk IMX8MQ_CLK_DISP_AXI>, <&clk IMX8MQ_CLK_DISP_RTRM>,97                          <&clk IMX8MQ_VIDEO2_PLL1_REF_SEL>;98        assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_800M>, <&clk IMX8MQ_SYS1_PLL_800M>,99                                 <&clk IMX8MQ_CLK_27M>;100        assigned-clock-rates = <800000000>,101                               <400000000>;102        port {103            dcss_out: endpoint {104                remote-endpoint = <&hdmi_in>;105            };106        };107    };108