mbox series

[0/4] Add nvmem support on STM32

Message ID 1548866336-14765-1-git-send-email-fabrice.gasnier@st.com (mailing list archive)
Headers show
Series Add nvmem support on STM32 | expand

Message

Fabrice Gasnier Jan. 30, 2019, 4:38 p.m. UTC
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 these data.

Fabrice Gasnier (4):
  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
  ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c

 .../devicetree/bindings/nvmem/st,stm32-romem.txt   |  31 ++++
 arch/arm/boot/dts/stm32mp157c.dtsi                 |  13 ++
 drivers/nvmem/Kconfig                              |  10 +
 drivers/nvmem/Makefile                             |   2 +
 drivers/nvmem/stm32-romem.c                        | 202 +++++++++++++++++++++
 5 files changed, 258 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/st,stm32-romem.txt
 create mode 100644 drivers/nvmem/stm32-romem.c

Comments

Fabrice Gasnier Feb. 13, 2019, 10:15 a.m. UTC | #1
On 1/30/19 5:38 PM, Fabrice Gasnier wrote:
> 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 these data.

Hello,

Gentle reminder for this new driver review

Best Regards,
Fabrice

> 
> Fabrice Gasnier (4):
>   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
>   ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c
> 
>  .../devicetree/bindings/nvmem/st,stm32-romem.txt   |  31 ++++
>  arch/arm/boot/dts/stm32mp157c.dtsi                 |  13 ++
>  drivers/nvmem/Kconfig                              |  10 +
>  drivers/nvmem/Makefile                             |   2 +
>  drivers/nvmem/stm32-romem.c                        | 202 +++++++++++++++++++++
>  5 files changed, 258 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/nvmem/st,stm32-romem.txt
>  create mode 100644 drivers/nvmem/stm32-romem.c
>
Srinivas Kandagatla Feb. 13, 2019, 10:34 a.m. UTC | #2
On 13/02/2019 10:15, Fabrice Gasnier wrote:
> On 1/30/19 5:38 PM, Fabrice Gasnier wrote:
>> 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 these data.
> 
> Hello,
> 
> Gentle reminder for this new driver review
Nvmem provider driver itself looks fine for me, but I am unable to take 
this as 5.1 material, as I normally take nvmem patches which are 
reviewed and ready before rc5.

dt bindings patch needs an ack from DT maintainers.

Thanks,
srini
> 
> Best Regards,
> Fabrice
> 
>>
>> Fabrice Gasnier (4):
>>    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
>>    ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c
>>
>>   .../devicetree/bindings/nvmem/st,stm32-romem.txt   |  31 ++++
>>   arch/arm/boot/dts/stm32mp157c.dtsi                 |  13 ++
>>   drivers/nvmem/Kconfig                              |  10 +
>>   drivers/nvmem/Makefile                             |   2 +
>>   drivers/nvmem/stm32-romem.c                        | 202 +++++++++++++++++++++
>>   5 files changed, 258 insertions(+)
>>   create mode 100644 Documentation/devicetree/bindings/nvmem/st,stm32-romem.txt
>>   create mode 100644 drivers/nvmem/stm32-romem.c
>>
Fabrice Gasnier Feb. 14, 2019, 10:36 a.m. UTC | #3
On 2/13/19 11:34 AM, Srinivas Kandagatla wrote:
> 
> 
> On 13/02/2019 10:15, Fabrice Gasnier wrote:
>> On 1/30/19 5:38 PM, Fabrice Gasnier wrote:
>>> 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 these data.
>>
>> Hello,
>>
>> Gentle reminder for this new driver review
> Nvmem provider driver itself looks fine for me, but I am unable to take
> this as 5.1 material, as I normally take nvmem patches which are
> reviewed and ready before rc5.
> 

Hi Srini,
Thanks for the feedback.

> dt bindings patch needs an ack from DT maintainers.

I hope Rob cant take a look at it.

Best Regards,
Fabrice

> 
> Thanks,
> srini
>>
>> Best Regards,
>> Fabrice
>>
>>>
>>> Fabrice Gasnier (4):
>>>    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
>>>    ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c
>>>
>>>   .../devicetree/bindings/nvmem/st,stm32-romem.txt   |  31 ++++
>>>   arch/arm/boot/dts/stm32mp157c.dtsi                 |  13 ++
>>>   drivers/nvmem/Kconfig                              |  10 +
>>>   drivers/nvmem/Makefile                             |   2 +
>>>   drivers/nvmem/stm32-romem.c                        | 202
>>> +++++++++++++++++++++
>>>   5 files changed, 258 insertions(+)
>>>   create mode 100644
>>> Documentation/devicetree/bindings/nvmem/st,stm32-romem.txt
>>>   create mode 100644 drivers/nvmem/stm32-romem.c
>>>