lkml.org 
[lkml]   [2019]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/6] Add nvmem support on STM32
Date
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

\
 
 \ /
  Last update: 2019-02-28 11:23    [W:0.755 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site