]> git.baikalelectronics.ru Git - kernel.git/commit
media: ov2740: add NVMEM interface to read customized OTP data
authorQingwu Zhang <qingwu.zhang@intel.com>
Fri, 12 Jun 2020 09:42:02 +0000 (11:42 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 23 Jun 2020 13:19:16 +0000 (15:19 +0200)
commit478d8242b47fc56ade183ce9994ab0bbd424e0cd
treeec26e2e3bdf65cd6d57675f81693eb9917dd76f4
parent3781892eed631b35e16d1750170ae6524f567a10
media: ov2740: add NVMEM interface to read customized OTP data

ov2740 includes 512bytes of one-time programmable memory and
256 bytes are reserved for customers which can be used to store
customized information. This patch provide an NVMEM interface
to support read out the customized data in OTP.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Qingwu Zhang <qingwu.zhang@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov2740.c