nvmem: sec-qfprom: Add Qualcomm secure QFPROM support
authorKomal Bajaj <quic_kbajaj@quicinc.com>
Wed, 23 Aug 2023 13:27:39 +0000 (14:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2023 14:34:01 +0000 (16:34 +0200)
commitc471245bd9f25152e398fb49f65cf6e1ed7febbd
tree523118b3b3a9e44dc004c6c3d967445d8246c352
parentfcdc6d7699f5650018b91374d7121e4df11f39a1
nvmem: sec-qfprom: Add Qualcomm secure QFPROM support

For some of the Qualcomm SoC's, it is possible that
some of the fuse regions or entire qfprom region is
protected from non-secure access. In such situations,
the OS will have to use secure calls to read the region.
With that motivation, add secure qfprom driver.

Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230823132744.350618-18-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/Kconfig
drivers/nvmem/Makefile
drivers/nvmem/sec-qfprom.c [new file with mode: 0644]