[PATCH v2 0/3] nvmem: stm32: several minor improvements

From: Patrick Delaunay
Date: Mon Oct 17 2022 - 11:50:55 EST



Several minor improvement for BSEC driver = nvmem stm32 romem
- move STM32MP15_BSEC_NUM_LOWER in config, to prepare introduction
of next STM32MP products with more OTP
- add warning when upper OTPs are updated to indicate possible ECC issue
for second update
- add nvmem type attribute so userspace is able to know how the data is
stored in OTPs

Changes in v2:
- Add patch "move STM32MP15_BSEC_NUM_LOWER in config" in the serie,
solve dependency issue for "priv->lower" in patch "nvmem: stm32:
add warning when upper OTPs are updated"

Patrick Delaunay (3):
nvmem: stm32: move STM32MP15_BSEC_NUM_LOWER in config
nvmem: stm32: add warning when upper OTPs are updated
nvmem: stm32: add nvmem type attribute

drivers/nvmem/stm32-romem.c | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)

--
2.25.1