2018-08-30 22:20:04 +08:00
|
|
|
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
2016-07-18 05:31:51 +08:00
|
|
|
.. include:: <isonum.txt>
|
|
|
|
|
2011-03-08 01:20:52 +08:00
|
|
|
OMAP 3 Image Signal Processor (ISP) driver
|
2016-07-18 05:31:51 +08:00
|
|
|
==========================================
|
|
|
|
|
|
|
|
Copyright |copy| 2010 Nokia Corporation
|
2011-03-08 01:20:52 +08:00
|
|
|
|
2016-07-18 05:31:51 +08:00
|
|
|
Copyright |copy| 2009 Texas Instruments, Inc.
|
2011-03-08 01:20:52 +08:00
|
|
|
|
2016-07-18 05:31:51 +08:00
|
|
|
Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
|
|
|
|
Sakari Ailus <sakari.ailus@iki.fi>, David Cohen <dacohen@gmail.com>
|
2011-03-08 01:20:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
Introduction
|
2016-07-18 05:31:51 +08:00
|
|
|
------------
|
2011-03-08 01:20:52 +08:00
|
|
|
|
|
|
|
This file documents the Texas Instruments OMAP 3 Image Signal Processor (ISP)
|
2022-03-13 18:18:20 +08:00
|
|
|
driver located under drivers/media/platform/ti/omap3isp. The original driver was
|
2011-03-08 01:20:52 +08:00
|
|
|
written by Texas Instruments but since that it has been rewritten (twice) at
|
|
|
|
Nokia.
|
|
|
|
|
|
|
|
The driver has been successfully used on the following versions of OMAP 3:
|
|
|
|
|
2016-07-18 05:31:51 +08:00
|
|
|
- 3430
|
|
|
|
- 3530
|
|
|
|
- 3630
|
2011-03-08 01:20:52 +08:00
|
|
|
|
|
|
|
The driver implements V4L2, Media controller and v4l2_subdev interfaces.
|
|
|
|
Sensor, lens and flash drivers using the v4l2_subdev interface in the kernel
|
|
|
|
are supported.
|
|
|
|
|
|
|
|
|
|
|
|
Split to subdevs
|
2016-07-18 05:31:51 +08:00
|
|
|
----------------
|
2011-03-08 01:20:52 +08:00
|
|
|
|
|
|
|
The OMAP 3 ISP is split into V4L2 subdevs, each of the blocks inside the ISP
|
|
|
|
having one subdev to represent it. Each of the subdevs provide a V4L2 subdev
|
|
|
|
interface to userspace.
|
|
|
|
|
2016-07-18 05:31:51 +08:00
|
|
|
- OMAP3 ISP CCP2
|
|
|
|
- OMAP3 ISP CSI2a
|
|
|
|
- OMAP3 ISP CCDC
|
|
|
|
- OMAP3 ISP preview
|
|
|
|
- OMAP3 ISP resizer
|
|
|
|
- OMAP3 ISP AEWB
|
|
|
|
- OMAP3 ISP AF
|
|
|
|
- OMAP3 ISP histogram
|
2011-03-08 01:20:52 +08:00
|
|
|
|
|
|
|
Each possible link in the ISP is modelled by a link in the Media controller
|
2020-03-05 14:59:19 +08:00
|
|
|
interface. For an example program see [#]_.
|
2011-03-08 01:20:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
Controlling the OMAP 3 ISP
|
2016-07-18 05:31:51 +08:00
|
|
|
--------------------------
|
2011-03-08 01:20:52 +08:00
|
|
|
|
|
|
|
In general, the settings given to the OMAP 3 ISP take effect at the beginning
|
|
|
|
of the following frame. This is done when the module becomes idle during the
|
|
|
|
vertical blanking period on the sensor. In memory-to-memory operation the pipe
|
|
|
|
is run one frame at a time. Applying the settings is done between the frames.
|
|
|
|
|
|
|
|
All the blocks in the ISP, excluding the CSI-2 and possibly the CCP2 receiver,
|
|
|
|
insist on receiving complete frames. Sensors must thus never send the ISP
|
|
|
|
partial frames.
|
|
|
|
|
|
|
|
Autoidle does have issues with some ISP blocks on the 3430, at least.
|
|
|
|
Autoidle is only enabled on 3630 when the omap3isp module parameter autoidle
|
|
|
|
is non-zero.
|
|
|
|
|
|
|
|
Technical reference manuals (TRMs) and other documentation
|
2016-07-18 05:31:51 +08:00
|
|
|
----------------------------------------------------------
|
2011-03-08 01:20:52 +08:00
|
|
|
|
|
|
|
OMAP 3430 TRM:
|
|
|
|
<URL:http://focus.ti.com/pdfs/wtbu/OMAP34xx_ES3.1.x_PUBLIC_TRM_vZM.zip>
|
|
|
|
Referenced 2011-03-05.
|
|
|
|
|
|
|
|
OMAP 35xx TRM:
|
|
|
|
<URL:http://www.ti.com/litv/pdf/spruf98o> Referenced 2011-03-05.
|
|
|
|
|
|
|
|
OMAP 3630 TRM:
|
|
|
|
<URL:http://focus.ti.com/pdfs/wtbu/OMAP36xx_ES1.x_PUBLIC_TRM_vQ.zip>
|
|
|
|
Referenced 2011-03-05.
|
|
|
|
|
|
|
|
DM 3730 TRM:
|
|
|
|
<URL:http://www.ti.com/litv/pdf/sprugn4h> Referenced 2011-03-06.
|
|
|
|
|
|
|
|
|
|
|
|
References
|
2016-07-18 05:31:51 +08:00
|
|
|
----------
|
2011-03-08 01:20:52 +08:00
|
|
|
|
2020-03-05 14:59:19 +08:00
|
|
|
.. [#] http://git.ideasonboard.org/?p=media-ctl.git;a=summary
|