summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/atmel/atmel-isc-regs.h
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2021-04-13 12:57:14 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-06-08 13:08:42 +0200
commit629de518e6f3b81bc1d7486a9b2e0a8fb100e18e (patch)
tree08a3186625c155d93a980d6c0e008b9d8fb55ea5 /drivers/media/platform/atmel/atmel-isc-regs.h
parentd51470069eb169d54f2b14d07d613b69f62615b8 (diff)
downloadlinux-629de518e6f3b81bc1d7486a9b2e0a8fb100e18e.tar.bz2
media: atmel: atmel-isc: add his_entry to register offsets
Add his_entry to the reg offsets struct. This will allow different products to have a different reg offset for this particular module. 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>
Diffstat (limited to 'drivers/media/platform/atmel/atmel-isc-regs.h')
-rw-r--r--drivers/media/platform/atmel/atmel-isc-regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/atmel/atmel-isc-regs.h b/drivers/media/platform/atmel/atmel-isc-regs.h
index 344668dcfcf4..a15c13e1a833 100644
--- a/drivers/media/platform/atmel/atmel-isc-regs.h
+++ b/drivers/media/platform/atmel/atmel-isc-regs.h
@@ -300,6 +300,8 @@
/* Version Register */
#define ISC_VERSION 0x0000040c
+/* Offset for version register specific to sama5d2 product */
+#define ISC_SAMA5D2_HIS_ENTRY_OFFSET 0
/* Histogram Entry */
#define ISC_HIS_ENTRY 0x00000410