RE: [PATCH 2/2] Make the diu driver work without board level initilization

2014-04-01 Thread jason....@freescale.com
> > Thanks, This has been fixed in the update version, please help to > review it at: > > http://patchwork.ozlabs.org/patch/335225/ > > I forgot to add the V2 information in the subject in the update patch > so this may confuse the reviewer, sorry for that. > > It is not fixed in that patch (or d

RE: [PATCH 2/2] Make the diu driver work without board level initilization

2014-04-01 Thread jason....@freescale.com
> > + if (!diu_ops.set_pixel_clock) { > > + data->pixelclk_reg = of_iomap(np, 1); > > + if (!data->pixelclk_reg) { > > + dev_err(&pdev->dev, "Cannot map pixelclk registers, > please \ > > + provide the diu_ops for pixclk setting > in

RE: [PATCH 2/2] video/fsl: Fix the sleep function for FSL DIU module

2014-03-26 Thread jason....@freescale.com
> jason....@freescale.com wrote: > > [Jason Jin-R64188] It's not hackish, we can provide the pixel clock > register in the DIU node, I did not provide the dts update as this is > only tested on T1040 platform. For other platforms such as p1022 and 8610, > we still can use

RE: [PATCH 1/2] video/fsl: make the diu driver work without platform hooks

2014-03-26 Thread jason....@freescale.com
> On 03/26/2014 12:41 PM, Jason Jin wrote: > > This board sepecific initialization mechanism is not feasible i for > > corenet platform as the corenet platform file is a abstraction of > > serveral platforms. > > You can't make it 100% abstract. The DIU driver requires some sort of > board suppor

RE: [PATCH 2/2] video/fsl: Fix the sleep function for FSL DIU module

2014-03-26 Thread jason....@freescale.com
> > On 03/26/2014 12:41 PM, Jason Jin wrote: > > + if (!diu_ops.set_pixel_clock) { > > + data->saved_pixel_clock = 0; > > + if (of_address_to_resource(ofdev->dev.of_node, 1, &res)) > > + pr_err(KERN_ERR "No pixel clock set func and no pixel > node!\n"); > >

RE: [PATCH 1/2] video/fsl: make the diu driver work without platform hooks

2014-03-26 Thread jason....@freescale.com
> jason....@freescale.com wrote: > >>>>> However, the DIU is already initialized in u-boot and we can rely > >>>>> on the settings in u-boot for corenet platform, > >>> > >>> I don't like that at all. > > [Jason Jin-R64188]