Skip to content

RFC OMAP1: CAMERA: Converts omap1 camera to use v4l2-int-device api

Eduardo Valentin linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6OMAP1: CAMERA: Changed omap16xxcam.c to the coding style standarddrivers/media/video/omap/omap16xxcam.c+215 -2260 replies
2/6OMAP: Update ov9640 ifparm for H3 board.arch/arm/mach-omap1/board-h3.c+140 -04 replies
2/6OMAP: Update ov9640 ifparm for H3 board.arch/arm/mach-omap1/board-h3.c+113 -00 replies
3/6OMAP: Update gpio expander code to the corret i2c adapter iddrivers/i2c/chips/gpio_expander_omap.c+2 -20 replies
4/6OMAP1: CAMERA: Convert camera_core.c to use v4l2-int-device APIdrivers/media/video/omap/camera_core.c drivers/media/video/omap/camera_core.h+279 -1410 replies
5/6OMAP1: CAMERA: Changed camera_core.c to the coding style standarddrivers/media/video/omap/camera_core.c+191 -2120 replies
6/6OMAP1: CAMERA: Remove unecessary files from Makefile and Kconfig.drivers/media/video/omap/Kconfig drivers/media/video/omap/Makefile+0 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/6] OMAP1: CAMERA: Converts omap1 camera to use v4l2-int-device api

Hi all,

This patch set converts omap1 camera to use v4l2-int-device api. It was tested on H3 with ov9640 sensor, so board-h3.c was modified to add ov9640 specific initializations. The gpio-expander code was modified also to use the i2c adapter id configured with i2c board specific info. Currently, it is working only with read method. To work with MMAP, camera_core.c needs more re-work.

Here is the overall diffstat:

 b/arch/arm/mach-omap1/board-h3.c         |  141 +++++++++
 b/drivers/i2c/chips/gpio_expander_omap.c |    5
 b/drivers/media/video/omap/Kconfig       |    6
 b/drivers/media/video/omap/Makefile      |    4
 b/drivers/media/video/omap/camera_core.c |  394 ++++++++++++++++++---------
 b/drivers/media/video/omap/camera_core.h |   27 -
 b/drivers/media/video/omap/omap16xxcam.c |  442 +++++++++++++++----------------
 drivers/media/video/omap/camera_core.c   |  404 +++++++++++++---------------
 8 files changed, 827 insertions(+), 596 deletions(-)

BR,

Eduardo Valentin