media: rkisp1: Add version enum for i.MX8MP ISP
authorPaul Elder <paul.elder@ideasonboard.com>
Fri, 16 Feb 2024 09:54:52 +0000 (18:54 +0900)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 23 Feb 2024 12:23:23 +0000 (14:23 +0200)
commit6e6822893fa913f8573da21c693e8edc250ca0c8
tree33259199ec6baa18c07b44f1916e32107c374b13
parent716f9748963922c205e7696d2cbc4ee50f0743e9
media: rkisp1: Add version enum for i.MX8MP ISP

The NXP i.MX8MP integrates an ISP8000Nano from VeriSilicon, which is a
derivative of the ISP found in earlier Rockchip SoCs. It isn't clear at
which exact point the two product lines have diverged, and there is no
public information regarding the version numbering scheme of the
ISP8000Nano. Nonetheless, this ISP is close enough to the V10 found in
the RK3399 to be supported by the same driver.

Add an entry for the ISP found in the NXP i.MX8MP to the version enum.
Given the lack of information on the version numbering scheme, and on
whether or not the version in the i.MX8MP is identical to other
ISP8000Nano versions or has been customized for the i.MX8MP, depart from
the number-based versions and name this new version V_IMX8MP.

Update comments for the other versions and for relevant parameters
blocks to clearly indicate the size of grids and histogram for the
different versions.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
include/uapi/linux/rkisp1-config.h