summaryrefslogtreecommitdiff
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:13 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-06-08 13:06:41 +0200
commitd51470069eb169d54f2b14d07d613b69f62615b8 (patch)
treea9d2123545d99007eae9c13652aaf1d71836c60e /drivers/media/platform/atmel/atmel-isc-regs.h
parente891009857716e17129899fe6345e7968010917f (diff)
media: atmel: atmel-isc: add support for version register
Add support for version register and print it at probe time. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/platform/atmel/atmel-isc-regs.h b/drivers/media/platform/atmel/atmel-isc-regs.h
index 4940998c82a2..344668dcfcf4 100644
--- a/drivers/media/platform/atmel/atmel-isc-regs.h
+++ b/drivers/media/platform/atmel/atmel-isc-regs.h
@@ -295,6 +295,11 @@
/* DMA Address 2 Register */
#define ISC_DAD2 0x000003fc
+/* Offset for version register specific to sama5d2 product */
+#define ISC_SAMA5D2_VERSION_OFFSET 0
+/* Version Register */
+#define ISC_VERSION 0x0000040c
+
/* Histogram Entry */
#define ISC_HIS_ENTRY 0x00000410