On Thu, Jun 14, 2012 at 03:43:24PM +0200, Sascha Hauer wrote:
+static const struct of_device_id imx_pd_dt_ids[] = {
+ { .compatible = fsl,imx-parallel-display, .data = NULL, },
Can we use particular soc name to define the compatible string? Also,
the .data initialization seems not needed.
On Thu, Jun 21, 2012 at 01:35:56PM +0800, Shawn Guo wrote:
On Thu, Jun 14, 2012 at 03:43:24PM +0200, Sascha Hauer wrote:
+static const struct of_device_id imx_pd_dt_ids[] = {
+ { .compatible = fsl,imx-parallel-display, .data = NULL, },
Can we use particular soc name to define the
On Thu, Jun 21, 2012 at 02:07:32PM +0800, Shawn Guo wrote:
On Thu, Jun 21, 2012 at 01:35:56PM +0800, Shawn Guo wrote:
On Thu, Jun 14, 2012 at 03:43:24PM +0200, Sascha Hauer wrote:
+static const struct of_device_id imx_pd_dt_ids[] = {
+ { .compatible = fsl,imx-parallel-display, .data =
On Thu, Jun 14, 2012 at 03:43:24PM +0200, Sascha Hauer wrote:
+static int __devinit imx_pd_probe(struct platform_device *pdev)
+{
+ struct device_node *np = pdev-dev.of_node;
+ const u8 *edidp;
+ struct imx_parallel_display *imxpd;
+ int ret;
+ u32 crtcs[2];
It seems