Re: [PULL] soc-camera: bulk of the v4l2-subdev conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Tue, 25 Aug 2009 17:11:26 +0200 (CEST)
Guennadi Liakhovetski <g.liakhovetski@xxxxxx> escreveu:

> Hi Mauro
> 
> Here they come... The first one is a kernel-sync, I skipped two more 
> similar patches for other ARM platforms, because they are not in hg at 
> all. The rest are marked "Priority: low" as you requested to stress, that 
> they should go in after those three ARM (PXA) patches. I still have a 
> couple more patches, which I will also try to prepare and push for 2.6.32, 
> but let's get these ones first in. Some patches do not pass checkpatch 
> cleanly, but if you check the cumulative diff, it should be clean apart 
> from a couple false positives. The last patch in the series does the clean 
> up.
> 
> Please pull from http://linuxtv.org/hg/~gliakhovetski/v4l-dvb
> 
> for the following 35 changesets:
> 
> 01/35: ARM: convert pcm990 to soc-camera as platform-device
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=cb9ee7c01539
> 
> 02/35: soc-camera: prepare soc_camera_platform.c and its users for conversion
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=40ec4e1efdd9
> 
> 03/35: soc_camera_platform: pass device pointer from soc-camera core on .add_device()
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=6f770bc40c0b
> 
> 04/35: soc-camera: convert to platform device
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=7680ccc3648f
> 
> 05/35: sh: soc-camera updates
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=486875c55292
> 
> 06/35: soc-camera: remove unused .iface from struct soc_camera_platform_info
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=b7abe7166bfc
> 
> 07/35: sh: prepare board-ap325rxa.c for v4l2-subdev conversion
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=5e369345b368
> 
> 08/35: soc-camera: (partially) convert to v4l2-(sub)dev API
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=f42f5e2e597c
> 
> 09/35: V4L2: add a new V4L2_CID_BAND_STOP_FILTER integer control
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=72d0944d0719
> 
> 10/35: ov772x: implement a band-stop filter support
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=f99b9969d595
> 
> 11/35: soc-camera: add support for camera-host controls
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=61a632559248
> 
> 12/35: sh_mobile_ceu_camera: add a control for the camera low-pass filter
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=0430b951922f
> 
> 13/35: soc-camera: use struct v4l2_rect in struct soc_camera_device
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=da64d476d5b7
> 
> 14/35: ov772x: successful S_FMT and S_CROP must update user-provided rectangle
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=bfd0e0c2d6b2
> 
> 15/35: mt9t031: improve rectangle placement in invalid S_CROP
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=92ed31cfd804
> 
> 16/35: ov772x: S_CROP must return actually configured geometry
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=4e8ec66419e0
> 
> 17/35: soc-camera: put pixel format initialisation back in probe, add .put_formats()
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=4e76725be10a
> 
> 18/35: sh-mobile-ceu-camera: do not wait for interrupt when releasing buffers
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=cf545ef4a467
> 
> 19/35: soc-camera: use .s_std() from struct v4l2_subdev_core_ops
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=536712d29113
> 
> 20/35: sh-mobile-ceu-camera: implement host-side cropping
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=745078c8d3e5
> 
> 21/35: tw9910: return updated geometry on successful S_FMT and S_CROP
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=753aa9b053a9
> 
> 22/35: soc-camera: S_CROP V4L2 API compliance fix
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=9cf65e96baad
> 
> 23/35: soc-camera: prohibit geometry change with initialised buffers
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=57bfc379502c
> 
> 24/35: ov772x: do not use scaling for cropping
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=961d09f77dc3
> 
> 25/35: tw9910: do not lie about cropping abilities
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=757a4a5bc636
> 
> 26/35: sh_mobile_ceu_camera: implement host-side image scaling
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=18a911e151f3
> 
> 27/35: soc-camera: switch to s_crop v4l2-subdev video operation
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=898b879e81bb
> 
> 28/35: soc-camera: switch to using v4l2_subdev_call()
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=5182997cd21f
> 
> 29/35: soc-camera: Use I2C device for dev_{dbg,info,...} output in all clients
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=e88885780812
> 
> 30/35: soc-camera: Use camera device object for core output
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=b2bd5545571b
> 
> 31/35: soc-camera: Use video device object for output in host drivers
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=57bde22d2bf2
> 
> 32/35: soc-camera: V4L2 API compliant scaling (S_FMT) and cropping (S_CROP)
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=a81dd6394e63
> 
> 33/35: soc-camera: remove .init() and .release() methods from struct soc_camera_ops
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=587285cb473b
> 
> 34/35: soc-camera: remove .gain and .exposure struct soc_camera_device members
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=0573ed7ae7bb
> 
> 35/35: soc-camera: fix recently introduced overlong lines
> http://linuxtv.org/hg/~gliakhovetski/v4l-dvb?cmd=changeset;node=3489b2efe4b0
> 
> 
>  Documentation/video4linux/soc-camera.txt   |   40 
>  arch/arm/mach-pxa/pcm990-baseboard.c       |   54 
>  arch/sh/boards/board-ap325rxa.c            |   64 
>  drivers/media/video/mt9m001.c              |  551 ++++----
>  drivers/media/video/mt9m111.c              |  682 +++++-----
>  drivers/media/video/mt9t031.c              |  673 +++++-----
>  drivers/media/video/mt9v022.c              |  536 ++++----
>  drivers/media/video/mx1_camera.c           |  112 -
>  drivers/media/video/mx3_camera.c           |  283 ++--
>  drivers/media/video/ov772x.c               |  537 ++++----
>  drivers/media/video/pxa_camera.c           |  484 ++++---
>  drivers/media/video/sh_mobile_ceu_camera.c | 1934 ++++++++++++++++++++---------
>  drivers/media/video/soc_camera.c           | 1178 +++++++++--------
>  drivers/media/video/soc_camera_platform.c  |  240 +--
>  drivers/media/video/tw9910.c               |  479 +++----
>  include/linux/videodev2.h                  |    3 
>  include/media/soc_camera.h                 |  137 +-
>  include/media/soc_camera_platform.h        |    9 
>  18 files changed, 4785 insertions(+), 3211 deletions(-)

There are some compilation troubles now on x86_64 compilation:

/home/v4l/master/v4l/soc_camera_platform.c: In function 'soc_camera_platform_probe':
/home/v4l/master/v4l/soc_camera_platform.c:140: warning: cast from pointer to integer of different size
/home/v4l/master/v4l/soc_camera.c: In function 'soc_camera_init_i2c':
/home/v4l/master/v4l/soc_camera.c:860: warning: cast from pointer to integer of different size

I'll take a look later and try to fix.



Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux