All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] soc-camera: setting the buswidth of camera sensors
@ 2009-03-11 10:06 Sascha Hauer
  2009-03-11 10:06 ` [PATCH 1/4] soc-camera: add board hook to specify the buswidth for " Sascha Hauer
  0 siblings, 1 reply; 16+ messages in thread
From: Sascha Hauer @ 2009-03-11 10:06 UTC (permalink / raw)
  To: linux-media; +Cc: Guennadi Liakhovetski, Sascha Hauer

Hi,

The following patches change the handling of the bus width
for camera sensors so that a board can overwrite a sensors
native bus width

Sascha

Sascha Hauer (4):
  soc-camera: add board hook to specify the buswidth for camera sensors
  pcm990 baseboard: add camera bus width switch setting
  mt9m001: allow setting of bus width from board code
  mt9v022: allow setting of bus width from board code

 arch/arm/mach-pxa/pcm990-baseboard.c |   50 +++++++++++---
 drivers/media/video/Kconfig          |   14 ----
 drivers/media/video/mt9m001.c        |  130 ++++++++--------------------------
 drivers/media/video/mt9v022.c        |   97 +++----------------------
 include/media/soc_camera.h           |    6 ++
 5 files changed, 88 insertions(+), 209 deletions(-)


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [PATCH 4/4] mt9v022: allow setting of bus width from board code
@ 2009-03-11 10:16 Hans Verkuil
  2009-03-11 10:20 ` Sascha Hauer
  0 siblings, 1 reply; 16+ messages in thread
From: Hans Verkuil @ 2009-03-11 10:16 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: linux-media, Guennadi Liakhovetski, Sascha Hauer


> This patch removes the phytec specific setting of the bus width
> and switches to the more generic query_bus_param/set_bus_param
> hooks
>
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  drivers/media/video/Kconfig   |    7 ---
>  drivers/media/video/mt9v022.c |   97
> +++++------------------------------------
>  2 files changed, 11 insertions(+), 93 deletions(-)
>
> diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
> index 5fc1531..071d66f 100644
> --- a/drivers/media/video/Kconfig
> +++ b/drivers/media/video/Kconfig
> @@ -729,6 +664,7 @@ static int mt9v022_video_probe(struct
> soc_camera_device *icd)
>  	/* Set monochrome or colour sensor type */
>  	if (sensor_type && (!strcmp("colour", sensor_type) ||
>  			    !strcmp("color", sensor_type))) {
> +	if (1) {
>  		ret = reg_write(icd, MT9V022_PIXEL_OPERATION_MODE, 4 | 0x11);
>  		mt9v022->model = V4L2_IDENT_MT9V022IX7ATC;
>  		icd->formats = mt9v022_colour_formats;

'if (1) {': some left-over debugging?

Regards,

     Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG


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

end of thread, other threads:[~2009-03-12  9:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-11 10:06 [PATCH 0/4] soc-camera: setting the buswidth of camera sensors Sascha Hauer
2009-03-11 10:06 ` [PATCH 1/4] soc-camera: add board hook to specify the buswidth for " Sascha Hauer
2009-03-11 10:06   ` [PATCH 2/4] pcm990 baseboard: add camera bus width switch setting Sascha Hauer
2009-03-11 10:06     ` [PATCH 3/4] mt9m001: allow setting of bus width from board code Sascha Hauer
2009-03-11 10:06       ` [PATCH 4/4] mt9v022: " Sascha Hauer
2009-03-12  9:43         ` Guennadi Liakhovetski
2009-03-12  9:21       ` [PATCH 3/4] mt9m001: " Guennadi Liakhovetski
2009-03-12  8:31     ` [PATCH 2/4] pcm990 baseboard: add camera bus width switch setting Guennadi Liakhovetski
2009-03-12  8:40       ` Sascha Hauer
2009-03-12  8:40     ` Guennadi Liakhovetski
2009-03-12  9:12       ` Sascha Hauer
2009-03-12  9:25         ` Guennadi Liakhovetski
2009-03-12  9:47           ` Sascha Hauer
2009-03-12  8:11   ` [PATCH 1/4] soc-camera: add board hook to specify the buswidth for camera sensors Guennadi Liakhovetski
2009-03-11 10:16 [PATCH 4/4] mt9v022: allow setting of bus width from board code Hans Verkuil
2009-03-11 10:20 ` Sascha Hauer

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.