[lkml]   [2012]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: mx3-camera

From: Alex Gershgorin
Sent: Tuesday, March 06, 2012 3:22 PM
To: Guennadi Liakhovetski
Cc:; Linux Media Mailing List; Sascha Hauer
Subject: RE: mx3-camera

Thanks Guennadi,

>Hi Alex

>(adding v4l and Sascha to CC)

>On Tue, 6 Mar 2012, Alex Gershgorin wrote:

> Hi Guennadi,
> I'm working on I.MX35 PDK platform with use 3.3.0-rc6 version of the Linux Kernel.
> Here is my Kernel boot message
> "Linux video capture interface: v2.00
> mx3-camera: probe of mx3-camera.0 failed with error -2"
> This error comes from probe function of mx3 camera host driver.
> Precisely in this part of the code:
> mx3_cam->clk = clk_get(&pdev->dev, NULL);
> if (IS_ERR(mx3_cam->clk)) {
> err = PTR_ERR(mx3_cam->clk);
> goto eclkget;
> }

>I think, the reason is, that the i.MX35 platform doesn't register a camera
>clock, similar to i.MX31 (arch/arm/mach-imx/clock-imx31.c):

> _REGISTER_CLOCK("mx3-camera.0", NULL, csi_clk)

In i.MX35 (arch/arm/mach-imx/clock-imx35.c) it looks like this:
_REGISTER_CLOCK(NULL, "csi", csi_clk)

You were right, it should be _REGISTER_CLOCK("mx3-camera.0", NULL, csi_clk)
I checked, now this error not appear :-)

> I will be glad for any help.

Alex Gershgorin

 \ /
  Last update: 2012-03-06 14:43    [W:0.033 / U:46.660 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site