linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] nvmem: Add cell post processing support
@ 2021-10-06 14:47 Srinivas Kandagatla
  2021-10-06 14:47 ` [PATCH 1/3] nvmem: core: rework nvmem cell instance creation Srinivas Kandagatla
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Srinivas Kandagatla @ 2021-10-06 14:47 UTC (permalink / raw)
  To: srini; +Cc: linux-kernel, qiangqing.zhang, linux-imx, Srinivas Kandagatla

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


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH 0/3] nvmem: patches (set 1) for 5.16
@ 2021-10-13 13:19 Srinivas Kandagatla
  2021-10-13 13:19 ` [PATCH 1/3] nvmem: core: rework nvmem cell instance creation Srinivas Kandagatla
  0 siblings, 1 reply; 5+ messages in thread
From: Srinivas Kandagatla @ 2021-10-13 13:19 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, Srinivas Kandagatla

Hi Greg,

Here are some nvmem patches for 5.16 mainly to add support for nvmem
cell data post processing in the provider drivers.
This is to help post process data like mac-address which are stored
in a vendor specific format that is not directly understood by the
nvmem consumer drivers.

Can you please queue them up for 5.16.

thanks for you help,
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           | 174 +++++++++++++++++++++------------
 drivers/nvmem/imx-ocotp.c      |  25 +++++
 include/linux/nvmem-provider.h |   5 +
 3 files changed, 144 insertions(+), 60 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-13 13:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 14:47 [PATCH 0/3] nvmem: Add cell post processing support Srinivas Kandagatla
2021-10-06 14:47 ` [PATCH 1/3] nvmem: core: rework nvmem cell instance creation Srinivas Kandagatla
2021-10-06 14:47 ` [PATCH 2/3] nvmem: core: add nvmem cell post processing callback Srinivas Kandagatla
2021-10-06 14:47 ` [PATCH 3/3] nvmem: imx-ocotp: add support for post processing Srinivas Kandagatla
2021-10-13 13:19 [PATCH 0/3] nvmem: patches (set 1) for 5.16 Srinivas Kandagatla
2021-10-13 13:19 ` [PATCH 1/3] nvmem: core: rework nvmem cell instance creation Srinivas Kandagatla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).