summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/smiapp
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2019-09-24 09:58:01 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-24 23:52:15 +0200
commitd5e550cf9f292ac889d9a686c4cb5fa040eeab7b (patch)
tree2faa2b62f03e93b813acf4dd5480353b6d033e5c /drivers/media/i2c/smiapp
parentmedia: smiapp: Refactor reading NVM page (diff)
downloadlinux-d5e550cf9f292ac889d9a686c4cb5fa040eeab7b.tar.xz
linux-d5e550cf9f292ac889d9a686c4cb5fa040eeab7b.zip
media: smiapp: Add definitions for data transfer if capability bits
The data transfer capability register was defined but its bits were not. Do that now. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c/smiapp')
-rw-r--r--drivers/media/i2c/smiapp/smiapp-reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-reg.h b/drivers/media/i2c/smiapp/smiapp-reg.h
index 02b0abef6a22..43505cd0616e 100644
--- a/drivers/media/i2c/smiapp/smiapp-reg.h
+++ b/drivers/media/i2c/smiapp/smiapp-reg.h
@@ -27,6 +27,9 @@
#define SMIAPP_DATA_TRANSFER_IF_1_STATUS_EDATA BIT(2)
#define SMIAPP_DATA_TRANSFER_IF_1_STATUS_EUSAGE BIT(3)
+#define SMIAPP_DATA_TRANSFER_IF_CAPABILITY_SUPPORTED BIT(0)
+#define SMIAPP_DATA_TRANSFER_IF_CAPABILITY_POLL BIT(2)
+
#define SMIAPP_SOFTWARE_RESET BIT(0)
#define SMIAPP_FLASH_MODE_CAPABILITY_SINGLE_STROBE BIT(0)