media: atmel: atmel-isc: create register offsets struct
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 13 Apr 2021 10:57:06 +0000 (12:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jun 2021 10:57:07 +0000 (12:57 +0200)
commitffeeb01d11397bdeac0f5a1e1462eba440c23dc3
tree600768a4240fc49af2c21671a5dc4cb8c733daab
parentc59744de8a536130eba7916a010bba00bccee74b
media: atmel: atmel-isc: create register offsets struct

Create a struct that holds register offsets that are product specific.
Add initially the CSC register.
This allows each product that contains a variant of the ISC to add their
own register offset.

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