linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Add nvmem support on STM32
@ 2019-02-28 10:19 Fabrice Gasnier
  2019-02-28 10:19 ` [PATCH v2 1/6] dt-bindings: nvmem: Add STM32 factory-programmed romem Fabrice Gasnier
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Fabrice Gasnier @ 2019-02-28 10:19 UTC (permalink / raw)
  To: srinivas.kandagatla, robh+dt, alexandre.torgue
  Cc: mark.rutland, mcoquelin.stm32, fabrice.gasnier, lionel.debieve,
	devicetree, linux-stm32, linux-arm-kernel, linux-kernel

Non volatile memory area is available on STM32. It contains various
factory programmed information such as unique device ID, analog calibration...
This patchset adds:
- NVMEM support to access stm32 data cells
- helper to read 16 bits cells.

---
Changes in v2:
- update "st,stm32f4-otp" compatible as discussed with Rob
- add stm32f429 dts
- add core helper to read 16 bits cells

Fabrice Gasnier (6):
  dt-bindings: nvmem: Add STM32 factory-programmed romem
  nvmem: Add driver for STM32 factory-programmed read only mem
  nvmem: stm32: add support for STM32MP15 BSEC to control OTP data
  nvmem: core: add nvmem_cell_read_u16
  ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c
  ARM: dts: stm32: Add romem and temperature calibration on stm32f429

 .../devicetree/bindings/nvmem/st,stm32-romem.txt   |  31 ++++
 arch/arm/boot/dts/stm32f429.dtsi                   |  13 ++
 arch/arm/boot/dts/stm32mp157c.dtsi                 |  13 ++
 drivers/nvmem/Kconfig                              |  10 +
 drivers/nvmem/Makefile                             |   2 +
 drivers/nvmem/core.c                               |  37 ++++
 drivers/nvmem/stm32-romem.c                        | 202 +++++++++++++++++++++
 include/linux/nvmem-consumer.h                     |   7 +
 8 files changed, 315 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/st,stm32-romem.txt
 create mode 100644 drivers/nvmem/stm32-romem.c

-- 
2.7.4


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

end of thread, other threads:[~2019-03-26 12:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-28 10:19 [PATCH v2 0/6] Add nvmem support on STM32 Fabrice Gasnier
2019-02-28 10:19 ` [PATCH v2 1/6] dt-bindings: nvmem: Add STM32 factory-programmed romem Fabrice Gasnier
2019-03-12 16:12   ` Rob Herring
2019-02-28 10:19 ` [PATCH v2 2/6] nvmem: Add driver for STM32 factory-programmed read only mem Fabrice Gasnier
2019-02-28 10:19 ` [PATCH v2 3/6] nvmem: stm32: add support for STM32MP15 BSEC to control OTP data Fabrice Gasnier
2019-02-28 10:19 ` [PATCH v2 4/6] nvmem: core: add nvmem_cell_read_u16 Fabrice Gasnier
2019-02-28 10:19 ` [PATCH v2 5/6] ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c Fabrice Gasnier
2019-02-28 10:19 ` [PATCH v2 6/6] ARM: dts: stm32: Add romem and temperature calibration on stm32f429 Fabrice Gasnier
2019-03-20 14:25 ` [PATCH v2 0/6] Add nvmem support on STM32 Srinivas Kandagatla
2019-03-26 12:27 ` Alexandre Torgue

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