drm/imx: parallel-display: fix drm_panel support
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 19 May 2015 14:28:12 +0000 (16:28 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 10 Jul 2015 09:02:31 +0000 (11:02 +0200)
commit553a59fc8f5d51c3824c0b7d4ca61e780157defa
treeb5b80b474ee5dfc990c129665aaa74be2f9a874e
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
drm/imx: parallel-display: fix drm_panel support

The parallel-display driver used an undocumented, non-standard property
"fsl,panel" to optionally associate with a drm_panel device. This patch
fixes the driver to use the same OF graph bindings as the LDB driver
instead:

    parallel-display {
            compatible = "fsl,imx-parallel-display";
            ...

            port@1 {
                    reg = <1>;

                    parallel_out: endpoint {
                            remote_endpoint = <&panel_in>;
                    };
            };
    };

    panel {
            ...

            port {
                    panel_in: endpoint {
                            remote-endpoint = <&parallel_out>;
                    };
            };
    };

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Documentation/devicetree/bindings/drm/imx/fsl-imx-drm.txt
drivers/gpu/drm/imx/parallel-display.c