media: atmel: atmel-isc: add SUB422 and SUB420 to register offsets
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 13 Apr 2021 10:57:09 +0000 (12:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jun 2021 10:58:27 +0000 (12:58 +0200)
commit87b62b6d55dd78597b95f3df8111e3d533357b89
tree196f0c0bbd18dcc4d547c401276efe0ab8c85129
parent4fc9e8a775d4b3630d1bab6ad58a02dae943787f
media: atmel: atmel-isc: add SUB422 and SUB420 to register offsets

The SUB submodules are a part of the atmel-isc pipeline, and stand for
Subsampling. They are used to subsample the original YUV 4:4:4 pixel ratio
aspect to either 4:2:2 or 4:2:0.
Add sub420 and sub422 to the reg offsets struct.
This will allow different products to have a different reg offset for these
particular modules.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/atmel/atmel-isc-base.c
drivers/media/platform/atmel/atmel-isc-regs.h
drivers/media/platform/atmel/atmel-isc.h
drivers/media/platform/atmel/atmel-sama5d2-isc.c