mbox series

[0/2] Add ONIE NVMEM provider

Message ID 20200921235237.7980-1-vadym.kochan@plvision.eu
Headers show
Series Add ONIE NVMEM provider | expand

Message

Vadym Kochan Sept. 21, 2020, 11:52 p.m. UTC
This series adds NVMEM 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.

Vadym Kochan (2):
  nvmem: add ONIE nvmem provider
  dt-bindings: nvmem: add description for ONIE provider

 .../devicetree/bindings/nvmem/onie-nvmem.txt  |  11 +
 drivers/nvmem/Kconfig                         |   9 +
 drivers/nvmem/Makefile                        |   2 +
 drivers/nvmem/onie.c                          | 357 ++++++++++++++++++
 4 files changed, 379 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/onie-nvmem.txt
 create mode 100644 drivers/nvmem/onie.c