linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 00/26] i.MX5/6 IPUv3 CSI/IC
@ 2014-06-12 17:06 Philipp Zabel
  2014-06-12 17:06 ` [RFC PATCH 01/26] gpu: ipu-v3: Add IC support Philipp Zabel
                   ` (27 more replies)
  0 siblings, 28 replies; 33+ messages in thread
From: Philipp Zabel @ 2014-06-12 17:06 UTC (permalink / raw)
  To: linux-media; +Cc: Steve Longerbeam, Philipp Zabel

Hi,

attached is a series of our work in progress i.MX6 capture drivers.
I'm posting this now in reaction to Steve's i.MX6 Video capture series,
as a reference for further discussion.
Of the Image Converter (IC) we only use the postprocessor task, with
tiling for larger frames, to implement v4l2 mem2mem scaler/colorspace
converter and deinterlacer devices.
The capture code capture code already uses the media controller framework
and creates a subdevice representing the CSI, but the path to memory is
fixed to IDMAC via SMFC, which is the only possible path for grayscale
and  and anything with multiple output ports connected
to the CSIs (such as the CSI2IPU gasket on i.MX6) doesn't work yet. Also,
I think the CSI subdevice driver should be completely separate from the
capture driver.

regards
Philipp

Philipp Zabel (16):
  gpu: ipu-v3: Add function to setup CP channel as interlaced
  gpu: ipu-v3: Add ipu_cpmem_get_buffer function
  gpu: ipu-v3: Add support for partial interleaved YCbCr 4:2:0 (NV12)
    format
  gpu: ipu-v3: Add support for planar YUV 4:2:2 (YUV422P) format
  imx-drm: currently only IPUv3 is supported, make it mandatory
  [media] Add i.MX SoC wide media device driver
  [media] imx-ipu: Add i.MX IPUv3 capture driver
  [media] ipuv3-csi: Skip 3 lines for NTSC BT.656
  [media] imx-ipuv3-csi: Add support for temporarily stopping the stream
    on sync loss
  [media] imx-ipuv3-csi: Export sync lock event to userspace
  [media] v4l2-subdev.h: Add lock status notification
  [media] v4l2-subdev: Export v4l2_subdev_fops
  mfd: syscon: add child device support
  [media] imx: Add video switch
  ARM: dts: Add IPU aliases on i.MX6
  ARM: dts: imx6qdl: Add mipi_ipu1/2 multiplexers, mipi_csi, and their
    connections

Sascha Hauer (10):
  gpu: ipu-v3: Add IC support
  gpu: ipu-v3: Register IC with IPUv3
  [media] imx-ipu: add ipu media common code
  [media] imx-ipu: Add i.MX IPUv3 scaler driver
  [media] imx-ipu: Add i.MX IPUv3 deinterlacer driver
  [media] v4l2: subdev: Add v4l2_device_register_subdev_node function
  [media] v4l2: Fix V4L2_CID_PIXEL_RATE
  [media] v4l2 async: remove from notifier list
  [media] ipuv3-csi: Pass ipucsi to v4l2_media_subdev_s_power
  [media] ipuv3-csi: make subdev controls available on video device

 Documentation/devicetree/bindings/mfd/syscon.txt |   11 +
 arch/arm/boot/dts/imx6dl.dtsi                    |  182 +++
 arch/arm/boot/dts/imx6q.dtsi                     |  119 ++
 arch/arm/boot/dts/imx6qdl.dtsi                   |    9 +
 drivers/gpu/ipu-v3/Makefile                      |    2 +-
 drivers/gpu/ipu-v3/ipu-common.c                  |  119 ++
 drivers/gpu/ipu-v3/ipu-ic.c                      | 1227 +++++++++++++++
 drivers/gpu/ipu-v3/ipu-prv.h                     |    6 +
 drivers/media/platform/Kconfig                   |    4 +
 drivers/media/platform/Makefile                  |    1 +
 drivers/media/platform/imx/Kconfig               |   50 +
 drivers/media/platform/imx/Makefile              |    6 +
 drivers/media/platform/imx/imx-ipu-scaler.c      |  825 +++++++++++
 drivers/media/platform/imx/imx-ipu-vdic.c        |  716 +++++++++
 drivers/media/platform/imx/imx-ipu.c             |  313 ++++
 drivers/media/platform/imx/imx-ipu.h             |   36 +
 drivers/media/platform/imx/imx-ipuv3-csi.c       | 1729 ++++++++++++++++++++++
 drivers/media/platform/imx/imx-media.c           |  174 +++
 drivers/media/platform/imx/imx-video-switch.c    |  347 +++++
 drivers/media/v4l2-core/v4l2-async.c             |    1 +
 drivers/media/v4l2-core/v4l2-ctrls.c             |    8 +-
 drivers/media/v4l2-core/v4l2-device.c            |   63 +-
 drivers/media/v4l2-core/v4l2-subdev.c            |    1 +
 drivers/mfd/syscon.c                             |    3 +
 drivers/staging/imx-drm/Kconfig                  |    7 +-
 include/media/imx.h                              |   25 +
 include/media/v4l2-device.h                      |    5 +
 include/media/v4l2-subdev.h                      |    3 +
 include/video/imx-ipu-v3.h                       |   16 +
 29 files changed, 5976 insertions(+), 32 deletions(-)
 create mode 100644 drivers/gpu/ipu-v3/ipu-ic.c
 create mode 100644 drivers/media/platform/imx/Kconfig
 create mode 100644 drivers/media/platform/imx/Makefile
 create mode 100644 drivers/media/platform/imx/imx-ipu-scaler.c
 create mode 100644 drivers/media/platform/imx/imx-ipu-vdic.c
 create mode 100644 drivers/media/platform/imx/imx-ipu.c
 create mode 100644 drivers/media/platform/imx/imx-ipu.h
 create mode 100644 drivers/media/platform/imx/imx-ipuv3-csi.c
 create mode 100644 drivers/media/platform/imx/imx-media.c
 create mode 100644 drivers/media/platform/imx/imx-video-switch.c
 create mode 100644 include/media/imx.h

-- 
2.0.0.rc2


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

end of thread, other threads:[~2015-12-14 15:07 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 17:06 [RFC PATCH 00/26] i.MX5/6 IPUv3 CSI/IC Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 01/26] gpu: ipu-v3: Add IC support Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 02/26] gpu: ipu-v3: Register IC with IPUv3 Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 03/26] gpu: ipu-v3: Add function to setup CP channel as interlaced Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 04/26] gpu: ipu-v3: Add ipu_cpmem_get_buffer function Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 05/26] gpu: ipu-v3: Add support for partial interleaved YCbCr 4:2:0 (NV12) format Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 06/26] gpu: ipu-v3: Add support for planar YUV 4:2:2 (YUV422P) format Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 07/26] imx-drm: currently only IPUv3 is supported, make it mandatory Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 08/26] [media] imx-ipu: add ipu media common code Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 09/26] [media] imx-ipu: Add i.MX IPUv3 scaler driver Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 10/26] [media] imx-ipu: Add i.MX IPUv3 deinterlacer driver Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 11/26] [media] v4l2: subdev: Add v4l2_device_register_subdev_node function Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 12/26] [media] v4l2: Fix V4L2_CID_PIXEL_RATE Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 13/26] [media] v4l2 async: remove from notifier list Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 14/26] [media] Add i.MX SoC wide media device driver Philipp Zabel
2014-06-24 10:04   ` Dave Müller
2014-06-24 14:05   ` Dave Müller
2014-06-12 17:06 ` [RFC PATCH 15/26] [media] imx-ipu: Add i.MX IPUv3 capture driver Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 16/26] [media] ipuv3-csi: Skip 3 lines for NTSC BT.656 Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 17/26] [media] ipuv3-csi: Pass ipucsi to v4l2_media_subdev_s_power Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 18/26] [media] ipuv3-csi: make subdev controls available on video device Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 19/26] [media] imx-ipuv3-csi: Add support for temporarily stopping the stream on sync loss Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 20/26] [media] imx-ipuv3-csi: Export sync lock event to userspace Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 21/26] [media] v4l2-subdev.h: Add lock status notification Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 22/26] [media] v4l2-subdev: Export v4l2_subdev_fops Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 23/26] mfd: syscon: add child device support Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 24/26] [media] imx: Add video switch Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 25/26] ARM: dts: Add IPU aliases on i.MX6 Philipp Zabel
2014-06-12 17:06 ` [RFC PATCH 26/26] ARM: dts: imx6qdl: Add mipi_ipu1/2 multiplexers, mipi_csi, and their connections Philipp Zabel
2014-08-05  6:52 ` [RFC PATCH 00/26] i.MX5/6 IPUv3 CSI/IC Zahari Doychev
2015-10-27 13:10 ` Fabio Estevam
2015-12-01 12:08   ` Fabio Estevam
2015-12-14 15:07     ` Tim Harvey

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).