[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220518115129.908787-1-claudiu.beznea@microchip.com>
Date: Wed, 18 May 2022 14:51:27 +0300
From: Claudiu Beznea <claudiu.beznea@...rochip.com>
To: <srinivas.kandagatla@...aro.org>, <robh+dt@...nel.org>,
<krzk+dt@...nel.org>
CC: <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Claudiu Beznea <claudiu.beznea@...rochip.com>
Subject: [PATCH v3 0/2] nvmem: add Microchip OTP controller
Hi,
This series adds support for Microchip OTP controller available on
SAMA7G5. The driver gives access to a non-volatile memory which
keeps (at the moment) information like booting media and temperature
calibration data used for thermal measurements.
Thank you,
Claudiu Beznea
Changes in v3:
- fixed Documentation and binding files names
- used __maybe_unused for mchp_otpc_ids
Changes in v2:
- updated the bindings (patch 1/2) as follows:
- included the device name in files names and updated binding
content accordingly
- updated the description
- removed address-cells, size-cells
- removed clock include
- use GPL-2.0 OR BSD-2-Clause license
- removed OTP_PKT_SAMA7G5_TEMP_CALIB_LEN and keep hardcoded
value in examples
- updated MAINTAINERS file with new naming of bindings
Claudiu Beznea (2):
dt-bindings: microchip-otpc: document Microchip OTPC
nvmem: microchip-otpc: add support
.../nvmem/microchip,sama7g5-otpc.yaml | 50 +++
MAINTAINERS | 8 +
drivers/nvmem/Kconfig | 7 +
drivers/nvmem/Makefile | 2 +
drivers/nvmem/microchip-otpc.c | 288 ++++++++++++++++++
.../nvmem/microchip,sama7g5-otpc.h | 12 +
6 files changed, 367 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nvmem/microchip,sama7g5-otpc.yaml
create mode 100644 drivers/nvmem/microchip-otpc.c
create mode 040000 include/dt-bindings/nvmem
create mode 100644 include/dt-bindings/nvmem/microchip,sama7g5-otpc.h
--
2.34.1
Powered by blists - more mailing lists