<div><br></div> Hi Laurent,<div><br><div>Thanks for the reply. </div><div><br></div><div>On 17 December 2012 20:55, Laurent Pinchart <span dir="ltr"><<a href="mailto:laurent.pinchart@ideasonboard.com" target="_blank">laurent.pinchart@ideasonboard.com</a>></span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vikas,<br>
<br>
Sorry for the late reply. I now have more time to work on CDF, so delays<br>
should be much shorter.<br>
<div class="im"><br>
On Thursday 06 December 2012 10:51:15 Vikas Sajjan wrote:<br>
> Hi Laurent,<br>
><br>
> I was thinking of porting CDF to samsung EXYNOS 5250 platform, what I found<br>
> is that, the exynos display controller is MIPI DSI based controller.<br>
><br>
> But if I look at CDF patches, it has only support for MIPI DBI based Display<br>
> controller.<br>
><br>
> So my question is, do we have any generic framework for MIPI DSI based<br>
> display controller? basically I wanted to know, how to go about porting CDF<br>
> for such kind of display controller.<br>
<br>
</div>MIPI DSI support is not available yet. The only reason for that is that I<br>
don't have any MIPI DSI hardware to write and test the code with :-)<br>
<br>
The common display framework should definitely support MIPI DSI. I think the<br>
existing MIPI DBI code could be used as a base, so the implementation<br>
shouldn't be too high.<br>
<br></blockquote><div>Yeah, i was also thinking in similar lines, below is my though for MIPI DSI support in CDF.</div><div><pre style="margin-left:1.0in;background:white"><span style="font-size:13.0pt">o<span style="font-size:7pt;font-family:'Times New Roman'">   </span></span><span style="font-size:13.0pt;font-family:"Calibri","sans-serif"">MIPI DSI support as part of CDF framework will expose </span></pre>
<pre style="margin-left:1.5in;background:white"><span style="font-size:13.0pt;font-family:Wingdings">§<span style="font-size:7pt;font-family:'Times New Roman'">  </span></span><span style="font-size:13.0pt;font-family:"Calibri","sans-serif"">mipi_dsi_register_device(mpi_device) (will be called mach-xxx-dt.c file )</span></pre>
<pre style="margin-left:1.5in;background:white"><span style="font-size:13.0pt;font-family:Wingdings">§<span style="font-size:7pt;font-family:'Times New Roman'">  </span></span><span style="font-size:13.0pt;font-family:"Calibri","sans-serif"">mipi_dsi_register_driver(mipi_driver, bus ops) (will be called from platform specific init driver call )</span></pre>
<pre style="margin-left:2.0in;background:white"><span style="font-size:13.0pt;font-family:Symbol">·<span style="font-size:7pt;font-family:'Times New Roman'">    </span></span><span style="font-size:13.0pt;font-family:"Calibri","sans-serif"">bus ops will be</span></pre>
<pre style="margin-left:2.5in;background:white"><span style="font-size:13.0pt">o<span style="font-size:7pt;font-family:'Times New Roman'">   </span></span><span style="font-size:13.0pt;font-family:"Calibri","sans-serif"">read data</span></pre>
<pre style="margin-left:2.5in;background:white"><span style="font-size:13.0pt">o<span style="font-size:7pt;font-family:'Times New Roman'">   </span></span><span style="font-size:13.0pt;font-family:"Calibri","sans-serif"">write data</span></pre>
<pre style="margin-left:2.5in;background:white"><span style="font-size:13.0pt">o<span style="font-size:7pt;font-family:'Times New Roman'">   </span></span><span style="font-size:13.0pt;font-family:"Calibri","sans-serif"">write command</span></pre>
<pre style="margin-left:1.5in;background:white"><span style="font-size:13.0pt;font-family:Wingdings">§<span style="font-size:7pt;font-family:'Times New Roman'">  </span></span><span style="font-size:13.0pt;font-family:"Calibri","sans-serif"">MIPI DSI will be registered as bus_register()</span></pre>
<pre style="background:white"><span style="font-size:13.0pt;font-family:"Calibri","sans-serif"">When MIPI DSI probe is called, it (e.g., Exynos or OMAP MIPI DSI) will initialize the MIPI DSI HW IP.</span></pre>
<pre style="background:white"><span style="font-size:13.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-family:Calibri,sans-serif;font-size:13pt">This probe will also parse the DT file for MIPI DSI based panel, add the panel device (device_add() ) to kernel and register the display entity with its control and  video ops with CDF.</span></pre>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can give this a try. Does the existing Exynos 5250 driver support MIPI DSI ?<br>
Is the device documentation publicly available ? Can you point me to a MIPI<br>
DSI panel with public documentation (preferably with an existing mainline<br>
driver if possible) ?<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div> yeah, existing Exynos 5250 driver support MIPI DSI ass well as eDP.</div><div> i think device documentation is NOT available publicly.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">--<br>
Regards,<br>
<br>
Laurent Pinchart<br>
<br>
</font></span></blockquote></div><div>-- </div>Thanks and Regards<div> Vikas Sajjan</div><br>
</div></div>