All of lore.kernel.org
 help / color / mirror / Atom feed
* CMOS camera interface on ARM
@ 2011-07-14 11:20 GIGIN JOSE
  2011-07-14 18:30 ` Guennadi Liakhovetski
  0 siblings, 1 reply; 2+ messages in thread
From: GIGIN JOSE @ 2011-07-14 11:20 UTC (permalink / raw)
  To: linux-arm-kernel

Hi, 

I am working on ARM9 based linux embedded system. I need to 
interface a CMOS camera on the SoC. The processor I use is 
samsung s3c2416, which does not have a camera interface. 
The linux version I use is 2.6.21

With the standard resolutions(640*480) and fps
 (~25 fps) configured on the camera, I am getting the 
clock rates as below:
Master clock: 24 MHz
Pixel Clock : 8MHz
HSYNC       : 20KHz
VSYNC       : 25Hz

The Bit Resolution I use is 8bpp. 

Using the regular interrupt lines (external interrupts),
 will I be able to read the 8 bit camera data coming 
with each pixel ? Can I do this with regular IRQ interrupt
 or should I configure my interrupts to be FIQ ? 
Is there any generic driver available for this 
kind of interface in linux. What is the interrupt
 latency if I configure the external interrupts in FIQ mode 
and IRQ mode ? 


Thank You

^ permalink raw reply	[flat|nested] 2+ messages in thread

* CMOS camera interface on ARM
  2011-07-14 11:20 CMOS camera interface on ARM GIGIN JOSE
@ 2011-07-14 18:30 ` Guennadi Liakhovetski
  0 siblings, 0 replies; 2+ messages in thread
From: Guennadi Liakhovetski @ 2011-07-14 18:30 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, 14 Jul 2011, GIGIN JOSE wrote:

> Hi, 
> 
> I am working on ARM9 based linux embedded system. I need to 
> interface a CMOS camera on the SoC. The processor I use is 
> samsung s3c2416, which does not have a camera interface. 
> The linux version I use is 2.6.21

You need to use the latest kernel.

> 
> With the standard resolutions(640*480) and fps
>  (~25 fps) configured on the camera, I am getting the 
> clock rates as below:
> Master clock: 24 MHz
> Pixel Clock : 8MHz
> HSYNC       : 20KHz
> VSYNC       : 25Hz
> 
> The Bit Resolution I use is 8bpp. 
> 
> Using the regular interrupt lines (external interrupts),
>  will I be able to read the 8 bit camera data coming 
> with each pixel ? Can I do this with regular IRQ interrupt
>  or should I configure my interrupts to be FIQ ? 
> Is there any generic driver available for this 
> kind of interface in linux.

See drivers/media/video/s5p-fimc/ for an example, as well as other drivers 
under drivers/media/video/

Thanks
Guennadi

> What is the interrupt
>  latency if I configure the external interrupts in FIQ mode 
> and IRQ mode ? 
> 
> 
> Thank You
> 
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-14 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-14 11:20 CMOS camera interface on ARM GIGIN JOSE
2011-07-14 18:30 ` Guennadi Liakhovetski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.