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

Message ID 20221017154957.277120-1-patrick.delaunay@foss.st.com
Headers
Series nvmem: stm32: several minor improvements |

Message

Patrick Delaunay Oct. 17, 2022, 3:49 p.m. UTC
  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(-)
  

Comments

Srinivas Kandagatla Oct. 31, 2022, 5:41 p.m. UTC | #1
On 17/10/2022 16:49, Patrick Delaunay wrote:
> 
> 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
> 
Applied thanks,
--srini

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