public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@cam.ac.uk>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
	laurent.pinchart@ideasonboard.com
Subject: Re: omap3isp: known causes of "CCDC won't become idle!
Date: Tue, 05 Jul 2011 14:48:57 +0100	[thread overview]
Message-ID: <4E131649.5030906@cam.ac.uk> (raw)
In-Reply-To: <20110705121916.GP12671@valkosipuli.localdomain>

On 07/05/11 13:19, Sakari Ailus wrote:
> On Tue, Jul 05, 2011 at 12:22:06PM +0100, Jonathan Cameron wrote:
>> Hi Laurent,
>>
>> I'm just trying to get an mt9v034 sensor working on a beagle xm.
>> Everything more or less works, except that after a random number
>> of frames of capture, I tend to get won't become idle messages
>> and the vd0 and vd1 interrupts tend to turn up at same time.
>>
>> I was just wondering if there are any known issues with the ccdc
>> driver / silicon that might explain this?
>>
>> I also note that it appears to be impossible to disable HS_VS_IRQarch/arm/mach-s3c2410/Kconfig:# cpu frequency scaling support

>> despite the datasheet claiming this can be done.  Is this a known
>> issue?
> 
> The same interrupt may be used to produce an interrupt per horizontal sync
> but the driver doesn't use that. I remember of a case where the two sync
> signals had enough crosstalk to cause vertical sync interrupt per every
> horizontal sync. (It's been discussed on this list.) This might not be the
> case here, though: you should be flooded with HS_VS interrupts.
As far as I can tell, the driver doesn't use either interrupt (except to pass
it up as an event). Hence I was trying to mask it purely to cut down on the
interrupt load.
> 
> The VD* counters are counting and interrupts are produced (AFAIR) even if
> the CCDC is disabled.
Oh goody...
> 
> Once the CCDC starts receiving a frame, it becomes busy, and becomes idle
> only when it has received the full frame. For this reason it's important
> that the full frame is actually received by the CCDC, otherwise this is due
> to happen when the CCDC is being stopped at the end of the stream.
Fair enough.  Is there any software reason why it might think it hasn't received
the whole frame?  Obviously it could in theory be a hardware issue, but it's
a bit odd that it can reliably do a certain number of frames before falling over.







  parent reply	other threads:[~2011-07-05 13:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-05 11:22 omap3isp: known causes of "CCDC won't become idle! Jonathan Cameron
2011-07-05 12:19 ` Sakari Ailus
2011-07-05 12:25   ` Laurent Pinchart
2011-07-05 13:48   ` Jonathan Cameron [this message]
2011-07-05 14:38     ` Sakari Ailus
2011-07-05 15:02       ` Laurent Pinchart
2011-07-05 15:22         ` Jonathan Cameron
2011-07-05 16:35           ` Jonathan Cameron
2011-07-06 16:30             ` Jonathan Cameron
2011-07-05 16:16         ` Sakari Ailus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E131649.5030906@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=sakari.ailus@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox