[RFC/PATCH 0/5] Add Video Processing Front End Support

Felipe Balbi balbi at ti.com
Tue Jul 15 10:56:47 PDT 2014


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

-- 
2.0.0.390.gcb682f8




More information about the linux-arm-kernel mailing list