Skip to content

Add Video Processing Front End Support

Felipe Balbi linux-arm-kernel linux-devicetree linux-media linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Media: platform: Add ti-vpfe driver for AM437x devicedrivers/media/platform/Kconfig drivers/media/platform/Makefile drivers/media/platform/ti-vpfe/Kconfig +6 more+4310 -02 replies
2/5arm: omap: hwmod: add hwmod entries for AM437x VPFEarch/arm/mach-omap2/omap_hwmod_43xx_data.c arch/arm/mach-omap2/prcm43xx.h+58 -10 replies
3/5arm: boot: dts: am4372: add vpfe DTS entriesarch/arm/boot/dts/am4372.dtsi+16 -00 replies
4/5arm: dts: am43x-epos: Add VPFE DTS entriesarch/arm/boot/dts/am43x-epos-evm.dts+54 -00 replies
5/5ARM: dts: am437x-sk-evm: add vpfe support and ov2659 sensorarch/arm/boot/dts/am437x-sk-evm.dts+59 -00 replies
5/5ARM: dts: am437x-sk-evm: add vpfe support and ov2659 sensor+0 -00 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/5] Add Video Processing Front End Support

Hi all,

the following patches add suport for AM43xx's Video Processing Front End (VPFE). Full documentation is available at [1] chapter 14.

This driver has been tested with linux-next from yesterday, plus my (already queued) am437x starter kit patches, plus these patches, plus the sensor driver which, saddly enough, we're not allowed to release :-(

This driver has almost full v4l2-compliance with only 2 failures (I'll take hints on how to properly fix them) as below:

		fail: v4l2-compliance.cpp(419): !doioctl(node2,
			VIDIOC_S_PRIORITY, &prio)
	test VIDIOC_G/S_PRIORITY: FAIL

		fail: v4l2-test-formats.cpp(319): pixelformat !=
				V4L2_PIX_FMT_JPEG && colorspace ==
				V4L2_COLORSPACE_JPEG
		fail: v4l2-test-formats.cpp(418):
				testColorspace(pix.pixelformat, pix.colorspace)
	test VIDIOC_G_FMT: FAIL

I have also tested with gst-launch using fbdevsink and I can see my ugly mug just fine.

Please give this a thorough review and let me know of any problems which need to be sorted out and I'll try to help out as time allows.

cheers

[1] http://www.ti.com/lit/pdf/spruhl7

Benoit Parrot (4):
Media: platform: Add ti-vpfe driver for AM437x device
arm: omap: hwmod: add hwmod entries for AM437x VPFE
arm: boot: dts: am4372: add vpfe DTS entries
arm: dts: am43x-epos: Add VPFE DTS entries

Darren Etheridge (1):
ARM: dts: am437x-sk-evm: add vpfe support and ov2659 sensor

 arch/arm/boot/dts/am4372.dtsi                     |   16 +
 arch/arm/boot/dts/am437x-sk-evm.dts               |   63 +
 arch/arm/boot/dts/am43x-epos-evm.dts              |   54 +
 arch/arm/mach-omap2/omap_hwmod_43xx_data.c        |   56 +
 arch/arm/mach-omap2/prcm43xx.h                    |    3 +-
 drivers/media/platform/Kconfig                    |    1 +
 drivers/media/platform/Makefile                   |    2 +
 drivers/media/platform/ti-vpfe/Kconfig            |   12 +
 drivers/media/platform/ti-vpfe/Makefile           |    2 +
 drivers/media/platform/ti-vpfe/am437x_isif.c      | 1053 +++++++++
 drivers/media/platform/ti-vpfe/am437x_isif.h      |  355 +++
 drivers/media/platform/ti-vpfe/am437x_isif_regs.h |  144 ++
 drivers/media/platform/ti-vpfe/vpfe_capture.c     | 2478 +++++++++++++++++++++
 drivers/media/platform/ti-vpfe/vpfe_capture.h     |  263 +++
 14 files changed, 4501 insertions(+), 1 deletion(-)
 create mode 100644 drivers/media/platform/ti-vpfe/Kconfig
 create mode 100644 drivers/media/platform/ti-vpfe/Makefile
 create mode 100644 drivers/media/platform/ti-vpfe/am437x_isif.c
 create mode 100644 drivers/media/platform/ti-vpfe/am437x_isif.h
 create mode 100644 drivers/media/platform/ti-vpfe/am437x_isif_regs.h
 create mode 100644 drivers/media/platform/ti-vpfe/vpfe_capture.c
 create mode 100644 drivers/media/platform/ti-vpfe/vpfe_capture.h
Signature · 1 line
2.0.0.390.gcb682f8