aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-08-23 08:56:12 -0400
committerMarek Vasut <marex@denx.de>2016-12-05 21:02:25 -0500
commit7b920aae917da3486f0084fd1b77b2f59f521309 (patch)
treedf986c97fe727c87d02b9fd3ab31d9857503c150
parent9c8f2eed73939aedec3822d0ee776f61211cbb0c (diff)
dt-bindings: mxsfb: Add new bindings for the MXSFB driver
Add new DT bindings for new MXSFB driver that is using the OF graph to parse the video output structure instead of hard-coding the display properties into the MXSFB node. The old MXSFB fbdev driver bindings are preserved in the same file in the "Old bindings" section. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Rob Herring <robh@kernel.org> Cc: Lucas Stach <l.stach@pengutronix.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Shawn Guo <shawnguo@kernel.org> Acked-by: Rob Herring <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/display/mxsfb.txt41
1 files changed, 39 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/display/mxsfb.txt b/Documentation/devicetree/bindings/display/mxsfb.txt
index a4431f2e86ce..472e1ea6c591 100644
--- a/Documentation/devicetree/bindings/display/mxsfb.txt
+++ b/Documentation/devicetree/bindings/display/mxsfb.txt
@@ -1,10 +1,47 @@
1* Freescale MXS LCD Interface (LCDIF) 1* Freescale MXS LCD Interface (LCDIF)
2 2
3New bindings:
4=============
3Required properties: 5Required properties:
4- compatible: Should be "fsl,imx23-lcdif" for i.MX23. 6- compatible: Should be "fsl,imx23-lcdif" for i.MX23.
5 Should be "fsl,imx28-lcdif" for i.MX28. 7 Should be "fsl,imx28-lcdif" for i.MX28.
6- reg: Address and length of the register set for lcdif 8 Should be "fsl,imx6sx-lcdif" for i.MX6SX.
7- interrupts: Should contain lcdif interrupts 9- reg: Address and length of the register set for LCDIF
10- interrupts: Should contain LCDIF interrupt
11- clocks: A list of phandle + clock-specifier pairs, one for each
12 entry in 'clock-names'.
13- clock-names: A list of clock names. For MXSFB it should contain:
14 - "pix" for the LCDIF block clock
15 - (MX6SX-only) "axi", "disp_axi" for the bus interface clock
16
17Required sub-nodes:
18 - port: The connection to an encoder chip.
19
20Example:
21
22 lcdif1: display-controller@2220000 {
23 compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif";
24 reg = <0x02220000 0x4000>;
25 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
26 clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,
27 <&clks IMX6SX_CLK_LCDIF_APB>,
28 <&clks IMX6SX_CLK_DISPLAY_AXI>;
29 clock-names = "pix", "axi", "disp_axi";
30
31 port {
32 parallel_out: endpoint {
33 remote-endpoint = <&panel_in_parallel>;
34 };
35 };
36 };
37
38Deprecated bindings:
39====================
40Required properties:
41- compatible: Should be "fsl,imx23-lcdif" for i.MX23.
42 Should be "fsl,imx28-lcdif" for i.MX28.
43- reg: Address and length of the register set for LCDIF
44- interrupts: Should contain LCDIF interrupts
8- display: phandle to display node (see below for details) 45- display: phandle to display node (see below for details)
9 46
10* display node 47* display node