[PATCH V3] Add camera (CSI) driver for MX1

2009-04-03 Thread Darius Augulis
removed - Added missed clk_put() - pdata test added - CSI device renamed - Platform flags fixed - i.MX replaced by MX1 in debug prints Signed-off-by: Darius Augulis augulis.dar...@gmail.com Signed-off-by: Paulius Zaleckas paulius.zalec...@teltonika.lt --- arch/arm/mach-mx1/Makefile

Re: [PATCH V3] Add camera (CSI) driver for MX1

2009-04-03 Thread Darius Augulis
Guennadi Liakhovetski wrote: Ok, we're almost there:-) Should be the last iteration. On Fri, 3 Apr 2009, Darius Augulis wrote: From: Paulius Zaleckas paulius.zalec...@teltonika.lt Changelog since V2: - My signed-off line added - Makefile updated - .init and .exit removed from pdata

Re: [PATCH V4] Add camera (CSI) driver for MX1

2009-04-03 Thread Darius Augulis
Changelog since V3: - DMA buffer size decreased to 4Mbytes - Added pdata test in set_bus_param() -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH V4] Add camera (CSI) driver for MX1

2009-04-03 Thread Darius Augulis
Sascha Hauer wrote: On Fri, Apr 03, 2009 at 02:15:34PM +0200, Guennadi Liakhovetski wrote: On Fri, 3 Apr 2009, Darius Augulis wrote: From: Paulius Zaleckas paulius.zalec...@teltonika.lt Signed-off-by: Darius Augulis augulis.dar...@gmail.com Signed-off-by: Paulius Zaleckas paulius.zalec

Re: [PATCH V4] Add camera (CSI) driver for MX1

2009-04-03 Thread Darius Augulis
Guennadi Liakhovetski wrote: On Fri, 3 Apr 2009, Sascha Hauer wrote: On Fri, Apr 03, 2009 at 02:15:34PM +0200, Guennadi Liakhovetski wrote: Wondering, if it still will work then... At least it compiles. BTW, should it really also work with IMX? Then you might want to change this

Re: soc_camera_open() not called

2009-04-02 Thread Darius Augulis
Guennadi Liakhovetski wrote: On Wed, 1 Apr 2009, Robert Jarzmik wrote: Darius Augulis augulis.dar...@gmail.com writes: Darius Augulis wrote: Hi, I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback

Re: [PATCH] mt9t031: use platform power hook

2009-04-02 Thread Darius Augulis
Guennadi Liakhovetski wrote: Use platform power hook to turn the camera on and off. Signed-off-by: Guennadi Liakhovetski l...@denx.de --- diff --git a/drivers/media/video/mt9t031.c b/drivers/media/video/mt9t031.c index 23f9ce9..2b0927b 100644 --- a/drivers/media/video/mt9t031.c +++

Re: [RFC PATCH V2] Add camera (CSI) driver for MX1

2009-04-02 Thread Darius Augulis
+ * struct mx1_camera_pdata - i.MX1/i.MXL camera platform data + * @init: Init board resources + * @exit: Release board resources + * @mclk_10khz:master clock frequency in 10kHz units + * @flags: MX1 camera platform flags + */ +struct mx1_camera_pdata { + int

soc_camera_open() not called

2009-04-01 Thread Darius Augulis
Hi, I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called. In debug log I see that soc_camera_open() is not called too. What should call this function? Is this my driver problem? p.s. loading sensor driver

Re: soc_camera_open() not called

2009-04-01 Thread Darius Augulis
Darius Augulis wrote: Hi, I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called. In debug log I see that soc_camera_open() is not called too. What should call this function? Is this my driver problem? p.s

Re: soc_camera_open() not called

2009-04-01 Thread Darius Augulis
Robert Jarzmik wrote: Darius Augulis augulis.dar...@gmail.com writes: Darius Augulis wrote: Hi, I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called. In debug log I see that soc_camera_open

Re: [RFC PATCH V2] Add camera (CSI) driver for MX1

2009-03-31 Thread Darius Augulis
(if (!*count) *count = 32;). Don't know how to fix correctly. - Suspend and resume are almost redundant. Maybe remove them at all? - Several WARN_ON warning still here, not sure about removing them. Waiting for further comments and recommendations. Darius Augulis wrote: From: Paulius Zaleckas

suspend and resume in MX3_CAMERA are missing

2009-03-31 Thread Darius Augulis
subj. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[RFC PATCH V2] Add camera (CSI) driver for MX1

2009-03-30 Thread Darius Augulis
/ksym_mx1.c @@ -0,0 +1,20 @@ +/* + * Exported ksyms of ARCH_MX1 + * + * Copyright (C) 2008, Darius Augulis augulis.dar...@gmail.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published

Re: [PATCH 1/5] CSI camera interface driver for MX1

2009-03-27 Thread Darius Augulis
Mauro Carvalho Chehab wrote: Hi Darius, Please always base your patches against the last v4l-dvb tree or linux-next. This is specially important those days, where v4l core is suffering several changes. Hi, could you please advice which v4l-dvb Git repository I should pull from? Because

Re: [PATCH 1/5] CSI camera interface driver for MX1

2009-03-27 Thread Darius Augulis
Mauro Carvalho Chehab wrote: On Fri, 27 Mar 2009 11:37:23 +0200 Darius Augulis augulis.dar...@gmail.com wrote: Mauro Carvalho Chehab wrote: Hi Darius, Please always base your patches against the last v4l-dvb tree or linux-next. This is specially important those days, where v4l core

Re: [PATCH 1/5] CSI camera interface driver for MX1

2009-03-27 Thread Darius Augulis
Hi Guennadi, +/* + * Videobuf operations + */ +static int imx_videobuf_setup(struct videobuf_queue *vq, unsigned int *count, + unsigned int *size) +{ + struct soc_camera_device *icd = vq-priv_data; + + *size = icd-width * icd-height * +

how to disable mail sending in this ML?

2009-03-25 Thread Darius Augulis
Hi All, subj. Want to still subscribed, but don't need all these posts in my mailbox. How to disable? Thanks. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH V2 5/9] New drivers for MXC: add CSI support for MX1

2009-03-25 Thread Darius Augulis
=== --- /dev/null +++ linux-2.6.29/arch/arm/mach-mx1/ksym_mx1.c @@ -0,0 +1,23 @@ +/* + * Exported ksyms of ARCH_MX1 + * + * Copyright (C) 2008, Darius Augulis augulis.dar...@gmail.com + * + * + * This program is free software; you can redistribute

Re: [PATCH V2 5/9] New drivers for MXC: add CSI support for MX1

2009-03-25 Thread Darius Augulis
Changes since prev. version: - Rebased on 2.6.29 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html