<div dir="ltr"><div dir="ltr">Hi folks,</div><div dir="ltr"><br></div><div dir="ltr">(plus Madhavan)<br><div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 10 Jun 2020 at 00:48, Laurent Pinchart <<a href="mailto:laurent.pinchart@ideasonboard.com">laurent.pinchart@ideasonboard.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Khem,<br>
<br>
On Tue, Jun 09, 2020 at 11:34:59PM +0000, Raj, Khem wrote:<br>
> Is it specific to soc ? We can also use rpi0 as reference<br>
<br>
The overall camera stack architecture shouldn't depend on a particular<br>
platform, but libcamera has SoC-specific support. We do support<br>
Raspberry Pi platforms, but out team has only tested Raspberry Pi 3 and<br>
4. I believe the Raspberry Pi 0 should be supported in theory, but if I<br>
recall correctly the slower ARM core may make it a bit more challenging<br>
in practice.<br>
<br>
That being said, enabling libcamera support for the Ambarella SoCs would<br>
be interesting. It would require Ambarella-specific code in libcamera,<br>
which in turns would require kernel drivers to be submitted to the<br>
linux-media mailing list for upstream.<br></blockquote><div><br></div><div>I did a quick bit of research into current Ambrella SoC support. It is used in quite</div><div>a few products like Nest Camera, so the GPL kernel source is available from</div><div>here for example <a href="https://nest.com/legal/compliance/">https://nest.com/legal/compliance/</a>.</div><div><br></div><div>But it is a rather ancient 2.6.38 kernel. So a fair bit of work would be required</div><div>just to port & upstream basic SoC support, migrate to DT etc, before starting to</div><div>look at anything camera/media related. </div><div><br></div><div>Starting the RDKC integration of libcamera on the RPi3/4 platform where much</div><div>of the kernel, media drivers and libcamera work already exists would be much</div><div>quicker.</div><div><br></div><div>at *@<a href="http://comcast.com">comcast.com</a> guys - meet Madhavan who is also working on RDKC topics</div><div>on RPi platform. It seems it maybe worth a sync with you folks to avoid duplicating</div><div>effort.</div><div><br></div><div>Thanks,</div><div><br></div><div>Peter.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> On Tuesday, June 9, 2020 8:44:32 AM, Dubey, Vijayanand wrote:<br>
> ><br>
> > Hi Laurent<br>
> > It's my bad, Ambarella does not have Upstream Linux Kernel Support.<br>
> ><br>
> > On 6/8/20, 1:06 PM, "Dubey, Vijayanand" wrote:<br>
> >> Hi Laurent<br>
> >> As per my understanding it does.. I posted the same question to SoC vendor<br>
> >> and will get back to you as soon as I get the answer from them.<br>
> >><br>
> >> On 6/8/20, 11:02 AM, "Laurent Pinchart" wrote:<br>
> >>> On Mon, Jun 08, 2020 at 02:56:05PM +0000, Dubey, Vijayanand wrote:<br>
> >>>> Hi Laurent<br>
> >>>> Here are the current  RDKC cameras' SoC datasheets.<br>
> >>>> <a href="https://urldefense.com/v3/__https://www.ambarella.com/wp-content/uploads/S2Lm-Product-Brief-Final.pdf__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWcxau11N$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://www.ambarella.com/wp-content/uploads/S2Lm-Product-Brief-Final.pdf__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWcxau11N$</a>  (xCAM/iCAM2)<br>
> >>>> <a href="https://urldefense.com/v3/__http://www.ambarella.com/wp-content/uploads/S3L-Product-Brief.pdf(xCAM2)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWUHTZhNc$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__http://www.ambarella.com/wp-content/uploads/S3L-Product-Brief.pdf(xCAM2)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWUHTZhNc$</a><br>
> >>>> <a href="https://urldefense.com/v3/__https://www.ambarella.com/wp-content/uploads/S5L-Product-Brief.pdf(doorbell)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWRqWEeYb$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://www.ambarella.com/wp-content/uploads/S5L-Product-Brief.pdf(doorbell)__;!!CQl3mcHX2A!ROSmZUzjossuIm3lDwqxahUsd2HOVTGF_wZhzZsaJbZxOCNCdhBvBmGPTRsYWRqWEeYb$</a><br>
> >>><br>
> >>> Thank you.<br>
> >>><br>
> >>>> They are fully ARM SoCs and we do have upstream Linux kernel support<br>
> >>>> for these products.<br>
> >>><br>
> >>> I don't see any device tree file for these SoCs in the upstream kernel.<br>
> >>> Am I missing something obvious ?<br>
<br>
-- <br>
Regards,<br>
<br>
Laurent Pinchart<br>
_______________________________________________<br>
libcamera-devel mailing list<br>
<a href="mailto:libcamera-devel@lists.libcamera.org" target="_blank">libcamera-devel@lists.libcamera.org</a><br>
<a href="https://lists.libcamera.org/listinfo/libcamera-devel" rel="noreferrer" target="_blank">https://lists.libcamera.org/listinfo/libcamera-devel</a><br>
</blockquote></div></div>