linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/19 v4] s5p-fimc driver conversion to media controller and control framework
@ 2011-09-01 15:30 Sylwester Nawrocki
  2011-09-01 15:30 ` [PATCH 01/19 v4] s5p-fimc: Remove registration of video nodes from probe() Sylwester Nawrocki
                   ` (19 more replies)
  0 siblings, 20 replies; 24+ messages in thread
From: Sylwester Nawrocki @ 2011-09-01 15:30 UTC (permalink / raw)
  To: linux-media, linux-samsung-soc
  Cc: mchehab, m.szyprowski, kyungmin.park, s.nawrocki, sw0312.kim,
	riverful.kim

Hello,

following is a fourth version of the patchset converting s5p-fimc driver
to the media controller API and the new control framework.

Mauro, could you please have a look at the patches and let me know of any doubts?
I tried to provide possibly detailed description of what each patch does and why.

The changeset is available at:
  http://git.infradead.org/users/kmpark/linux-2.6-samsung
  branch: v4l_fimc_for_mauro

on top of patches from Marek's 'Videobuf2 & FIMC fixes" pull request
which this series depends on.

Changes since v3:
 - more detailed commit descriptions
 - add missing dependency on EXPERIMENTAL and mark the driver as experimental
   in the config menu
 - removed the first patch as of v3 series, it has been posted separately
 - added 2 new patches: 18/19, 19/19
 - moved the link_setup capture video node media entity operation to the capture
   subdev entity; the link_setup op prevented having 2 active source attached to
   single data sink, there is no need for this at the video node entity as it
   has only an immutable link; Instead we guard the number of sources being 
   connected to the FIMC capture subdev
 - rebased onto recent vb2 modifications changing the queue initialization order
 - s/fimc_start_capture/fimc_init_capture, 
   s/fimc_capture_apply_cfg/fimc_capture_config_update
 - slightly improved the comments and fixed typos 

Changes since v2:
- reworked (runtime) power management;
- added pm_runtime_get_sync/pm_runtime_put around sensor registration
  code so the clock for sensors is enabled during host driver's probe();
- reworked try_crop operation handler to support multiple of the prescaler
  ratio relationship constraint for format at the sink pad;
- corrected fimc_md_unregister_entities() function


Sylwester Nawrocki (19):
  s5p-fimc: Remove registration of video nodes from probe()
  s5p-fimc: Remove sclk_cam clock handling
  s5p-fimc: Limit number of available inputs to one
  s5p-fimc: Remove sensor management code from FIMC capture driver
  s5p-fimc: Remove v4l2_device from video capture and m2m driver
  s5p-fimc: Add the media device driver
  s5p-fimc: Conversion to use struct v4l2_fh
  s5p-fimc: Convert to the new control framework
  s5p-fimc: Add media operations in the capture entity driver
  s5p-fimc: Add PM helper function for streaming control
  s5p-fimc: Correct color format enumeration
  s5p-fimc: Convert to use media pipeline operations
  s5p-fimc: Add subdev for the FIMC processing block
  s5p-fimc: Add support for JPEG capture
  s5p-fimc: Add v4l2_device notification support for single frame
    capture
  s5p-fimc: Use consistent names for the buffer list functions
  s5p-fimc: Add runtime PM support in the camera capture driver
  s5p-fimc: Correct crop offset alignment on exynos4
  s5p-fimc: Remove single-planar capability flags

 drivers/media/video/Kconfig                 |    5 +-
 drivers/media/video/s5p-fimc/Makefile       |    2 +-
 drivers/media/video/s5p-fimc/fimc-capture.c | 1416 ++++++++++++++++++--------
 drivers/media/video/s5p-fimc/fimc-core.c    |  884 ++++++++---------
 drivers/media/video/s5p-fimc/fimc-core.h    |  201 +++--
 drivers/media/video/s5p-fimc/fimc-mdevice.c |  857 ++++++++++++++++
 drivers/media/video/s5p-fimc/fimc-mdevice.h |  118 +++
 drivers/media/video/s5p-fimc/fimc-reg.c     |   74 +-
 drivers/media/video/s5p-fimc/regs-fimc.h    |    8 +-
 include/media/s5p_fimc.h                    |   11 +
 10 files changed, 2551 insertions(+), 1025 deletions(-)
 create mode 100644 drivers/media/video/s5p-fimc/fimc-mdevice.c
 create mode 100644 drivers/media/video/s5p-fimc/fimc-mdevice.h


Regards,
--
Sylwester Nawrocki
Samsung Poland R&D Center


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

end of thread, other threads:[~2011-09-08  8:24 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-01 15:30 [PATCH 0/19 v4] s5p-fimc driver conversion to media controller and control framework Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 01/19 v4] s5p-fimc: Remove registration of video nodes from probe() Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 02/19 v4] s5p-fimc: Remove sclk_cam clock handling Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 03/19 v4] s5p-fimc: Limit number of available inputs to one Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 04/19 v4] s5p-fimc: Remove sensor management code from FIMC capture driver Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 05/19 v4] s5p-fimc: Remove v4l2_device from video capture and m2m driver Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 06/19 v4] s5p-fimc: Add the media device driver Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 07/19 v4] s5p-fimc: Conversion to use struct v4l2_fh Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 08/19 v4] s5p-fimc: Convert to the new control framework Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 09/19 v4] s5p-fimc: Add media operations in the capture entity driver Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 10/19 v4] s5p-fimc: Add PM helper function for streaming control Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 11/19 v4] s5p-fimc: Correct color format enumeration Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 12/19 v4] s5p-fimc: Convert to use media pipeline operations Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 13/19 v4] s5p-fimc: Add subdev for the FIMC processing block Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 14/19 v4] s5p-fimc: Add support for JPEG capture Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 15/19 v4] s5p-fimc: Add v4l2_device notification support for single frame capture Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 16/19 v4] s5p-fimc: Use consistent names for the buffer list functions Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 17/19 v4] s5p-fimc: Add runtime PM support in the camera capture driver Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 18/19 v4] s5p-fimc: Correct crop offset alignment on exynos4 Sylwester Nawrocki
2011-09-01 15:30 ` [PATCH 19/19 v4] s5p-fimc: Remove single-planar capability flags Sylwester Nawrocki
2011-09-03 16:32 ` [PATCH 0/19 v4] s5p-fimc driver conversion to media controller and control framework Sylwester Nawrocki
2011-09-06 20:52   ` Mauro Carvalho Chehab
2011-09-08  6:48     ` Sylwester Nawrocki
2011-09-08  8:23       ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).