Dear Philipp Zabel,

On Tue, 26 Mar 2013 15:13:56 +0100, Philipp Zabel wrote:

> +/*
> + * For a device declaring compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb",
> + * of_match_device will walk through this list and take the first entry
> + * matching any of its compatible values. Therefore, the more generic
> + * entries (in this case fsl,imx53-ldb) need to be ordered last.
> + */
> +static const struct of_device_id imx_ldb_dt_ids[] = {
> +     { .compatible = "fsl,imx6q-ldb", .data = imx6q_lvds_mux, },
> +     { .compatible = "fsl,imx53-ldb", .data = NULL, },
> +     { }
> +};

You probably want a new DT binding documentation in
Documentation/devicetree/bindings/.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to