Path: blob/master/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Freescale/NXP i.MX LCD Interface (LCDIF)78maintainers:9- Marek Vasut <marex@denx.de>10- Stefan Agner <stefan@agner.ch>1112description: |13(e)LCDIF display controller found in the Freescale/NXP i.MX SoCs.1415properties:16compatible:17oneOf:18- enum:19- fsl,imx23-lcdif20- fsl,imx28-lcdif21- fsl,imx6sx-lcdif22- fsl,imx8mp-lcdif23- fsl,imx93-lcdif24- items:25- enum:26- fsl,imx6sl-lcdif27- fsl,imx6sll-lcdif28- fsl,imx6ul-lcdif29- fsl,imx7d-lcdif30- fsl,imx8mm-lcdif31- fsl,imx8mn-lcdif32- fsl,imx8mq-lcdif33- const: fsl,imx6sx-lcdif3435reg:36maxItems: 13738clocks:39items:40- description: Pixel clock41- description: Bus clock42- description: Display AXI clock43minItems: 14445clock-names:46items:47- const: pix48- const: axi49- const: disp_axi50minItems: 15152dmas:53items:54- description: DMA specifier for the RX DMA channel.5556dma-names:57items:58- const: rx5960interrupts:61items:62- description: LCDIF DMA interrupt63- description: LCDIF Error interrupt64minItems: 16566power-domains:67maxItems: 16869port:70$ref: /schemas/graph.yaml#/properties/port71description: The LCDIF output port7273display:74$ref: /schemas/types.yaml#/definitions/phandle75description: phandle to display panel76deprecated: true7778display0:79$ref: panel/panel-common.yaml#80deprecated: true8182lcd-supply:83deprecated: true8485required:86- compatible87- reg88- clocks89- interrupts9091additionalProperties: false9293allOf:94- if:95properties:96compatible:97contains:98const: fsl,imx6sx-lcdif99then:100properties:101clocks:102minItems: 2103maxItems: 3104clock-names:105minItems: 2106maxItems: 3107required:108- clock-names109- if:110properties:111compatible:112contains:113enum:114- fsl,imx8mp-lcdif115- fsl,imx93-lcdif116then:117properties:118clocks:119minItems: 3120maxItems: 3121clock-names:122minItems: 3123maxItems: 3124required:125- clock-names126- if:127not:128properties:129compatible:130contains:131enum:132- fsl,imx6sx-lcdif133- fsl,imx8mp-lcdif134- fsl,imx93-lcdif135then:136properties:137clocks:138maxItems: 1139clock-names:140maxItems: 1141- if:142properties:143compatible:144const: fsl,imx6sx-lcdif145then:146required:147- power-domains148- if:149properties:150compatible:151contains:152enum:153- fsl,imx6sl-lcdif154- fsl,imx8mm-lcdif155- fsl,imx8mn-lcdif156- fsl,imx8mp-lcdif157- fsl,imx93-lcdif158then:159required:160- power-domains161- if:162properties:163compatible:164contains:165enum:166- fsl,imx23-lcdif167then:168properties:169interrupts:170minItems: 2171maxItems: 2172else:173properties:174interrupts:175maxItems: 1176177- if:178not:179properties:180compatible:181contains:182enum:183- fsl,imx28-lcdif184then:185properties:186dmas: false187dma-names: false188display: false189display0: false190lcd-supply: false191192required:193- port194195examples:196- |197#include <dt-bindings/clock/imx6sx-clock.h>198#include <dt-bindings/interrupt-controller/arm-gic.h>199200display-controller@2220000 {201compatible = "fsl,imx6sx-lcdif";202reg = <0x02220000 0x4000>;203interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;204clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,205<&clks IMX6SX_CLK_LCDIF_APB>,206<&clks IMX6SX_CLK_DISPLAY_AXI>;207clock-names = "pix", "axi", "disp_axi";208power-domains = <&pd_disp>;209210port {211endpoint {212remote-endpoint = <&panel_in>;213};214};215};216217...218219220