13b1b42fdSLaurent Pinchart# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 23b1b42fdSLaurent Pinchart%YAML 1.2 33b1b42fdSLaurent Pinchart--- 43b1b42fdSLaurent Pinchart$id: http://devicetree.org/schemas/display/fsl,lcdif.yaml# 53b1b42fdSLaurent Pinchart$schema: http://devicetree.org/meta-schemas/core.yaml# 63b1b42fdSLaurent Pinchart 73b1b42fdSLaurent Pincharttitle: Freescale/NXP i.MX LCD Interface (LCDIF) 83b1b42fdSLaurent Pinchart 93b1b42fdSLaurent Pinchartmaintainers: 103b1b42fdSLaurent Pinchart - Marek Vasut <marex@denx.de> 113b1b42fdSLaurent Pinchart - Stefan Agner <stefan@agner.ch> 123b1b42fdSLaurent Pinchart 133b1b42fdSLaurent Pinchartdescription: | 143b1b42fdSLaurent Pinchart (e)LCDIF display controller found in the Freescale/NXP i.MX SoCs. 153b1b42fdSLaurent Pinchart 163b1b42fdSLaurent Pinchartproperties: 173b1b42fdSLaurent Pinchart compatible: 185d16e40dSLaurent Pinchart oneOf: 195d16e40dSLaurent Pinchart - enum: 203b1b42fdSLaurent Pinchart - fsl,imx23-lcdif 213b1b42fdSLaurent Pinchart - fsl,imx28-lcdif 223b1b42fdSLaurent Pinchart - fsl,imx6sx-lcdif 235d16e40dSLaurent Pinchart - items: 245d16e40dSLaurent Pinchart - enum: 255d16e40dSLaurent Pinchart - fsl,imx6sl-lcdif 265d16e40dSLaurent Pinchart - fsl,imx6sll-lcdif 275d16e40dSLaurent Pinchart - fsl,imx6ul-lcdif 285d16e40dSLaurent Pinchart - fsl,imx7d-lcdif 29*25e524bfSMarek Vasut - fsl,imx8mm-lcdif 303b1b42fdSLaurent Pinchart - fsl,imx8mq-lcdif 315d16e40dSLaurent Pinchart - const: fsl,imx6sx-lcdif 323b1b42fdSLaurent Pinchart 333b1b42fdSLaurent Pinchart reg: 343b1b42fdSLaurent Pinchart maxItems: 1 353b1b42fdSLaurent Pinchart 363b1b42fdSLaurent Pinchart clocks: 373b1b42fdSLaurent Pinchart items: 383b1b42fdSLaurent Pinchart - description: Pixel clock 393b1b42fdSLaurent Pinchart - description: Bus clock 403b1b42fdSLaurent Pinchart - description: Display AXI clock 413b1b42fdSLaurent Pinchart minItems: 1 423b1b42fdSLaurent Pinchart 433b1b42fdSLaurent Pinchart clock-names: 443b1b42fdSLaurent Pinchart items: 453b1b42fdSLaurent Pinchart - const: pix 463b1b42fdSLaurent Pinchart - const: axi 473b1b42fdSLaurent Pinchart - const: disp_axi 483b1b42fdSLaurent Pinchart minItems: 1 493b1b42fdSLaurent Pinchart 503b1b42fdSLaurent Pinchart interrupts: 513b1b42fdSLaurent Pinchart maxItems: 1 523b1b42fdSLaurent Pinchart 533b1b42fdSLaurent Pinchart port: 543b1b42fdSLaurent Pinchart $ref: /schemas/graph.yaml#/properties/port 553b1b42fdSLaurent Pinchart description: The LCDIF output port 563b1b42fdSLaurent Pinchart 573b1b42fdSLaurent Pinchartrequired: 583b1b42fdSLaurent Pinchart - compatible 593b1b42fdSLaurent Pinchart - reg 603b1b42fdSLaurent Pinchart - clocks 613b1b42fdSLaurent Pinchart - interrupts 623b1b42fdSLaurent Pinchart - port 633b1b42fdSLaurent Pinchart 643b1b42fdSLaurent PinchartadditionalProperties: false 653b1b42fdSLaurent Pinchart 663b1b42fdSLaurent PinchartallOf: 673b1b42fdSLaurent Pinchart - if: 683b1b42fdSLaurent Pinchart properties: 693b1b42fdSLaurent Pinchart compatible: 703b1b42fdSLaurent Pinchart contains: 713b1b42fdSLaurent Pinchart const: fsl,imx6sx-lcdif 723b1b42fdSLaurent Pinchart then: 733b1b42fdSLaurent Pinchart properties: 743b1b42fdSLaurent Pinchart clocks: 753b1b42fdSLaurent Pinchart minItems: 2 763b1b42fdSLaurent Pinchart maxItems: 3 773b1b42fdSLaurent Pinchart clock-names: 783b1b42fdSLaurent Pinchart minItems: 2 793b1b42fdSLaurent Pinchart maxItems: 3 803b1b42fdSLaurent Pinchart required: 813b1b42fdSLaurent Pinchart - clock-names 823b1b42fdSLaurent Pinchart else: 833b1b42fdSLaurent Pinchart properties: 843b1b42fdSLaurent Pinchart clocks: 853b1b42fdSLaurent Pinchart maxItems: 1 863b1b42fdSLaurent Pinchart clock-names: 873b1b42fdSLaurent Pinchart maxItems: 1 883b1b42fdSLaurent Pinchart 893b1b42fdSLaurent Pinchartexamples: 903b1b42fdSLaurent Pinchart - | 913b1b42fdSLaurent Pinchart #include <dt-bindings/clock/imx6sx-clock.h> 923b1b42fdSLaurent Pinchart #include <dt-bindings/interrupt-controller/arm-gic.h> 933b1b42fdSLaurent Pinchart 943b1b42fdSLaurent Pinchart display-controller@2220000 { 953b1b42fdSLaurent Pinchart compatible = "fsl,imx6sx-lcdif"; 963b1b42fdSLaurent Pinchart reg = <0x02220000 0x4000>; 973b1b42fdSLaurent Pinchart interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 983b1b42fdSLaurent Pinchart clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>, 993b1b42fdSLaurent Pinchart <&clks IMX6SX_CLK_LCDIF_APB>, 1003b1b42fdSLaurent Pinchart <&clks IMX6SX_CLK_DISPLAY_AXI>; 1013b1b42fdSLaurent Pinchart clock-names = "pix", "axi", "disp_axi"; 1023b1b42fdSLaurent Pinchart 1033b1b42fdSLaurent Pinchart port { 1043b1b42fdSLaurent Pinchart endpoint { 1053b1b42fdSLaurent Pinchart remote-endpoint = <&panel_in>; 1063b1b42fdSLaurent Pinchart }; 1073b1b42fdSLaurent Pinchart }; 1083b1b42fdSLaurent Pinchart }; 1093b1b42fdSLaurent Pinchart 1103b1b42fdSLaurent Pinchart... 111