|
|
Log in / Subscribe / Register

nvmem: lan966x-otpc: add support

From:  Horatiu Vultur <horatiu.vultur-AT-microchip.com>
To:  <devicetree-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>
Subject:  [PATCH 0/2] nvmem: lan966x-otpc: add support
Date:  Thu, 18 Aug 2022 18:44:03 +0200
Message-ID:  <20220818164405.1953698-1-horatiu.vultur@microchip.com>
Cc:  <srinivas.kandagatla-AT-linaro.org>, <robh+dt-AT-kernel.org>, <krzysztof.kozlowski+dt-AT-linaro.org>, Horatiu Vultur <horatiu.vultur-AT-microchip.com>
Archive-link:  Article

Add support for lan966x OTP controller that is available on lan966x.
The driver gives access to non-volatile memory. It allows both write
and read access to it.

Horatiu Vultur (2):
  dt-bindings: lan966x-otpc: document Lan966X OTPC
  nvmem: lan966x-otpc: add support

 .../nvmem/microchip,lan966x-otpc.yaml         |  42 +++
 drivers/nvmem/Kconfig                         |   8 +
 drivers/nvmem/Makefile                        |   2 +
 drivers/nvmem/lan966x-otpc.c                  | 248 ++++++++++++++++++
 4 files changed, 300 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/microchip,lan966x-otpc.yaml
 create mode 100644 drivers/nvmem/lan966x-otpc.c

-- 
2.33.0



Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds