OSDN Git Service

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)
commit7b981288285f0e8b816ea7ba8f34d0973ee39e0d
treeec26e2e3bdf65cd6d57675f81693eb9917dd76f4
parenta270675875829b6d46eb9e38960fd6019555ebb8
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