mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] nvmem: add Microchip OTP controller
@ 2022-05-17 12:58 Claudiu Beznea
  2022-05-17 12:58 ` [PATCH v2 1/2] dt-bindings: microchip-otpc: document Microchip OTPC Claudiu Beznea
  2022-05-17 12:58 ` [PATCH v2 2/2] nvmem: microchip-otpc: add support Claudiu Beznea
  0 siblings, 2 replies; 5+ messages in thread
From: Claudiu Beznea @ 2022-05-17 12:58 UTC (permalink / raw)
  To: srinivas.kandagatla, robh+dt, krzk+dt
  Cc: linux-arm-kernel, linux-kernel, devicetree, Claudiu Beznea

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


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

end of thread, other threads:[~2022-05-17 14:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-17 12:58 [PATCH v2 0/2] nvmem: add Microchip OTP controller Claudiu Beznea
2022-05-17 12:58 ` [PATCH v2 1/2] dt-bindings: microchip-otpc: document Microchip OTPC Claudiu Beznea
2022-05-17 14:08   ` Krzysztof Kozlowski
2022-05-17 12:58 ` [PATCH v2 2/2] nvmem: microchip-otpc: add support Claudiu Beznea
2022-05-17 14:08   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®