archive mirror
 help / color / mirror / Atom feed
From: Vadym Kochan <>
To: Srinivas Kandagatla <>,
Cc: Taras Chornyi <>,
	Vadym Kochan <>
Subject: [PATCH 0/2] nvmem: add ONIE NVMEM cells provider
Date: Wed, 27 May 2020 23:17:13 +0300	[thread overview]
Message-ID: <> (raw)

This series adds cells provider for the ONIE TLV attributes which are
stored on NVMEM device. It adds possibility to read the mac address (and
other info) by other drivers.

Driver needs to register NVMEM cells table for already registered
NVMEM device, this requires additional change to the core logic because
current logic only allows to add additional cells only before nvmem
device registration.

Vadym Kochan (2):
  nvmem: core: allow to register cells for existing device
  nvmem: add ONIE NVMEM cells support

 drivers/nvmem/Kconfig      |   9 ++
 drivers/nvmem/Makefile     |   3 +
 drivers/nvmem/core.c       |  61 ++++---
 drivers/nvmem/onie-cells.c | 324 +++++++++++++++++++++++++++++++++++++
 4 files changed, 375 insertions(+), 22 deletions(-)
 create mode 100644 drivers/nvmem/onie-cells.c


             reply	other threads:[~2020-05-27 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-27 20:17 Vadym Kochan [this message]
2020-05-27 20:17 ` [PATCH 1/2] nvmem: core: allow to register cells for existing device Vadym Kochan
2020-05-27 20:17 ` [PATCH 2/2] nvmem: add ONIE NVMEM cells support Vadym Kochan
2020-05-29 20:52   ` kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH 0/2] nvmem: add ONIE NVMEM cells provider' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).