[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211006144729.15268-1-srinivas.kandagatla@linaro.org>
Date: Wed, 6 Oct 2021 15:47:26 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: srini@...nel.org
Cc: linux-kernel@...r.kernel.org, qiangqing.zhang@....com,
linux-imx@....com,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Subject: [PATCH 0/3] nvmem: Add cell post processing support
This patch set aims at providing nvmem cell post processing support.
cell post processing is required on some provider drivers as the data
is stored in encoded format that is not what consumer drivers are expecting,
example mac-address is stored in ascii or with delimiter or in reverse order.
This is much specific to vendor, this patchset would allow nvmem provider
drivers to post-process this before consumers sees the data.
First patch is to rework nvmem cell instance creation, which will help in
creating nvmem cell instances dynamically and associate a name with it.
Next to patches are adding post-processing callback and using it in imx driver.
thanks,
srini
Srinivas Kandagatla (3):
nvmem: core: rework nvmem cell instance creation
nvmem: core: add nvmem cell post processing callback
nvmem: imx-ocotp: add support for post processing
drivers/nvmem/core.c | 149 ++++++++++++++++++++++-----------
drivers/nvmem/imx-ocotp.c | 25 ++++++
include/linux/nvmem-provider.h | 5 ++
3 files changed, 132 insertions(+), 47 deletions(-)
--
2.21.0
Powered by blists - more mailing lists