f5419cb074
Add compatible string for i.MX8MP LCDIF variant. This is called LCDIFv3 and is completely different from the LCDIFv3 found in i.MX23 in that it has a completely scrambled register layout compared to all previous LCDIF variants. The new LCDIFv3 also supports 36bit address space. However, except for the complete bit reshuffling, this is still LCDIF and it still works like one. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexander Stein <alexander.stein@ew.tq-group.com> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Lucas Stach <l.stach@pengutronix.de> Cc: Peng Fan <peng.fan@nxp.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Robby Cai <robby.cai@nxp.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Stefan Agner <stefan@agner.ch> Cc: devicetree@vger.kernel.org Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220628174152.167284-1-marex@denx.de
113 lines
2.3 KiB
YAML
113 lines
2.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Freescale/NXP i.MX LCD Interface (LCDIF)
|
|
|
|
maintainers:
|
|
- Marek Vasut <marex@denx.de>
|
|
- Stefan Agner <stefan@agner.ch>
|
|
|
|
description: |
|
|
(e)LCDIF display controller found in the Freescale/NXP i.MX SoCs.
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- enum:
|
|
- fsl,imx23-lcdif
|
|
- fsl,imx28-lcdif
|
|
- fsl,imx6sx-lcdif
|
|
- fsl,imx8mp-lcdif
|
|
- items:
|
|
- enum:
|
|
- fsl,imx6sl-lcdif
|
|
- fsl,imx6sll-lcdif
|
|
- fsl,imx6ul-lcdif
|
|
- fsl,imx7d-lcdif
|
|
- fsl,imx8mm-lcdif
|
|
- fsl,imx8mn-lcdif
|
|
- fsl,imx8mq-lcdif
|
|
- const: fsl,imx6sx-lcdif
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: Pixel clock
|
|
- description: Bus clock
|
|
- description: Display AXI clock
|
|
minItems: 1
|
|
|
|
clock-names:
|
|
items:
|
|
- const: pix
|
|
- const: axi
|
|
- const: disp_axi
|
|
minItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
port:
|
|
$ref: /schemas/graph.yaml#/properties/port
|
|
description: The LCDIF output port
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- interrupts
|
|
- port
|
|
|
|
additionalProperties: false
|
|
|
|
allOf:
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
const: fsl,imx6sx-lcdif
|
|
then:
|
|
properties:
|
|
clocks:
|
|
minItems: 2
|
|
maxItems: 3
|
|
clock-names:
|
|
minItems: 2
|
|
maxItems: 3
|
|
required:
|
|
- clock-names
|
|
else:
|
|
properties:
|
|
clocks:
|
|
maxItems: 1
|
|
clock-names:
|
|
maxItems: 1
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/imx6sx-clock.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
display-controller@2220000 {
|
|
compatible = "fsl,imx6sx-lcdif";
|
|
reg = <0x02220000 0x4000>;
|
|
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,
|
|
<&clks IMX6SX_CLK_LCDIF_APB>,
|
|
<&clks IMX6SX_CLK_DISPLAY_AXI>;
|
|
clock-names = "pix", "axi", "disp_axi";
|
|
|
|
port {
|
|
endpoint {
|
|
remote-endpoint = <&panel_in>;
|
|
};
|
|
};
|
|
};
|
|
|
|
...
|