[PATCH 2/2] imx-drm: imx-ldb: Use OF graph to find connected panel
Russell King - ARM Linux
linux at arm.linux.org.uk
Fri Mar 7 12:06:09 EST 2014
On Thu, Mar 06, 2014 at 02:54:40PM +0100, Philipp Zabel wrote:
> @@ -566,9 +566,18 @@ static int imx_ldb_bind(struct device *dev, struct device *master, void *data)
> return -EINVAL;
> }
>
> - panel_node = of_parse_phandle(child, "fsl,panel", 0);
> - if (panel_node)
> - channel->panel = of_drm_find_panel(panel_node);
> + /* The output port is port at 4 with mux or port at 1 without mux */
> + port = of_graph_get_port_by_id(child, imx_ldb->lvds_mux ? 4 : 1);
I guess we're holding off on these two patches while the last bits of
the of-graph get sorted - the above function doesn't currently exist
so causes a build failure.
Thanks.
--
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.
More information about the linux-arm-kernel
mailing list