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 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] What's the potential issue of this? Most of the IPs > > need the platform i

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

2014-03-26 Thread Timur Tabi
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] What's the potential issue of this? Most of the IPs need the platform initialization in u-boot. For exam

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

2014-03-26 Thread Timur Tabi
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 support. I think you

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

2014-03-26 Thread Jason Jin
make the diu driver work without platform hooks. So far the DIU driver does not have a mechanism to do the board specific initialization. So on some platforms, such as P1022, 8610 and 5121, The board specific initialization is implmented in the platform file such p10222_ds. This board sepecific i