Skip to content

stm32: add bsec and OTP support to stm32mp25

Patrick Delaunay u-boot 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 18 repliesIn review
  2. v112 patches 14 repliesSuperseded

Changes in v2 from the cover letter

- fix CONFIG name with 'x': TARGET_ST_STM32MP15x TARGET_ST_STM32MP13x
- add "arm: Rename STM32MP13x"
- add "arm: Rename STM32MP15x"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14arm64: dts: st: add bsec support to stm32mp25arch/arm/dts/stm32mp25-u-boot.dtsi arch/arm/dts/stm32mp251.dtsi+20 -01 reply
2/14arm: stm32mp: add Rev.B support for STM32MP25arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c+3 -01 reply
3/14stm32mp: bsec: add driver dataarch/arm/mach-stm32mp/bsec.c+30 -81 reply
4/14stm32mp: bsec: add support of stm32mp25arch/arm/mach-stm32mp/bsec.c arch/arm/mach-stm32mp/include/mach/stm32.h+9 -11 reply
5/14configs: stm32mp25: add support of fuse commandconfigs/stm32mp25_defconfig+1 -01 reply
6/14stm32mp: add soc.c filearch/arm/mach-stm32mp/Makefile arch/arm/mach-stm32mp/soc.c arch/arm/mach-stm32mp/stm32mp1/cpu.c +1 more+18 -222 replies
7/14stm32mp: add setup_serial_number for stm32mp25arch/arm/mach-stm32mp/include/mach/sys_proto.h arch/arm/mach-stm32mp/soc.c arch/arm/mach-stm32mp/stm32mp1/cpu.c +1 more+34 -272 replies
8/14smt32mp: add setup_mac_address for stm32mp25arch/arm/mach-stm32mp/soc.c arch/arm/mach-stm32mp/stm32mp1/cpu.c arch/arm/mach-stm32mp/stm32mp2/cpu.c+72 -571 reply
9/14stm32mp: stm32prog: add support of stm32mp25arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h+9 -11 reply
10/14stm32mp: activate the command stboard for stm32mp25 boardsarch/arm/mach-stm32mp/include/mach/stm32.h board/st/common/Kconfig board/st/common/cmd_stboard.c+4 -11 reply
11/14board: st: stm32mp2: add checkboardboard/st/stm32mp2/stm32mp2.c+14 -01 reply
12/14board: st: stm32mp2: display the board identificationboard/st/stm32mp2/stm32mp2.c+23 -01 reply
13/14arm: Rename STM32MP13xarch/arm/dts/Makefile arch/arm/mach-stm32mp/Kconfig arch/arm/mach-stm32mp/Kconfig.13x +10 more+24 -242 replies
14/14arm: Rename STM32MP15xarch/arm/dts/Makefile arch/arm/dts/stm32mp15-u-boot.dtsi arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +17 more+42 -422 replies

Reviews trailers per patch

All 14 patches have a Reviewed-by or Acked-by.

PatchPatrice ChotardIgor Opaniuk
1/14R-b
2/14R-b
3/14R-b
4/14R-b
5/14R-b
6/14R-b R-b
7/14R-b R-b
8/14R-b
9/14R-b
10/14R-b
11/14R-b
12/14R-b
13/14R-b
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/14] stm32: add bsec and OTP support to stm32mp25

Add BSEC support to STM32MP25 SoC family with SoC information:
- SERIAL number with UUID (BSEC_OTP_DATA5)
- RPN = Device part number (BSEC_OTP_DATA9)
- PKG = package data register (Bits 2:0 of BSEC_OTP_DATA122)

and with board information for STMicroelectronics boards
- BOARD identifier: OTP246
- MAC address: OTP247 and after

Changes in v2:
- fix CONFIG name with 'x': TARGET_ST_STM32MP15x TARGET_ST_STM32MP13x
- add "arm: Rename STM32MP13x"
- add "arm: Rename STM32MP15x"

Patrice Chotard (1):
stm32mp: add setup_serial_number for stm32mp25

Patrick Delaunay (12):
arm64: dts: st: add bsec support to stm32mp25
stm32mp: bsec: add driver data
stm32mp: bsec: add support of stm32mp25
configs: stm32mp25: add support of fuse command
stm32mp: add soc.c file
smt32mp: add setup_mac_address for stm32mp25
stm32mp: stm32prog: add support of stm32mp25
stm32mp: activate the command stboard for stm32mp25 boards
board: st: stm32mp2: add checkboard
board: st: stm32mp2: display the board identification
arm: Rename STM32MP13x
arm: Rename STM32MP15x

Yann Gautier (1):
arm: stm32mp: add Rev.B support for STM32MP25

 arch/arm/dts/Makefile                         |   4 +-
 arch/arm/dts/stm32mp15-u-boot.dtsi            |   2 +-
 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi      |   4 +-
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi      |   4 +-
 arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi      |   4 +-
 arch/arm/dts/stm32mp25-u-boot.dtsi            |   4 +
 arch/arm/dts/stm32mp251.dtsi                  |  16 +++
 arch/arm/mach-stm32mp/Kconfig                 |   8 +-
 arch/arm/mach-stm32mp/Kconfig.13x             |   4 +-
 arch/arm/mach-stm32mp/Kconfig.15x             |   6 +-
 arch/arm/mach-stm32mp/Makefile                |   5 +-
 arch/arm/mach-stm32mp/bsec.c                  |  45 +++++--
 arch/arm/mach-stm32mp/cmd_stm32key.c          |  20 +--
 .../mach-stm32mp/cmd_stm32prog/stm32prog.h    |  12 +-
 arch/arm/mach-stm32mp/include/mach/stm32.h    |  22 ++--
 .../arm/mach-stm32mp/include/mach/sys_proto.h |   1 +
 arch/arm/mach-stm32mp/soc.c                   | 118 ++++++++++++++++++
 arch/arm/mach-stm32mp/stm32mp1/Makefile       |   4 +-
 arch/arm/mach-stm32mp/stm32mp1/cpu.c          |  96 +-------------
 arch/arm/mach-stm32mp/stm32mp1/fdt.c          |  10 +-
 arch/arm/mach-stm32mp/stm32mp2/cpu.c          |  14 +--
 arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c   |   3 +
 board/st/common/Kconfig                       |   2 +-
 board/st/common/cmd_stboard.c                 |   2 +
 board/st/stm32mp1/Kconfig                     |   4 +-
 board/st/stm32mp1/stm32mp1.c                  |   6 +-
 board/st/stm32mp2/stm32mp2.c                  |  37 ++++++
 configs/stm32mp13_defconfig                   |   4 +-
 configs/stm32mp15_basic_defconfig             |   2 +-
 configs/stm32mp15_defconfig                   |   2 +-
 configs/stm32mp15_trusted_defconfig           |   4 +-
 configs/stm32mp25_defconfig                   |   1 +
 drivers/clk/stm32/Kconfig                     |   4 +-
 33 files changed, 297 insertions(+), 177 deletions(-)
 create mode 100644 arch/arm/mach-stm32mp/soc.c
Signature · 1 line
2.25.1