All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/16] stm32mp: add STM32MP13x support
@ 2022-05-20 16:24 Patrick Delaunay
  2022-05-20 16:24 ` [PATCH v2 01/16] ARM: dts: stm32: add STM32MP13 SoCs support Patrick Delaunay
                   ` (15 more replies)
  0 siblings, 16 replies; 21+ messages in thread
From: Patrick Delaunay @ 2022-05-20 16:24 UTC (permalink / raw)
  To: u-boot
  Cc: Patrick Delaunay, Andre Przywara, Bharat Gooty, Christian Hewitt,
	Dillon Min, Fabio Estevam, Jaehoon Chung, Kamil Lulko,
	Marek Vasut, Neil Armstrong, Patrice Chotard, Peng Fan,
	Rayagonda Kokatanur, Simon Glass, Sinthu Raja, Tim Harvey,
	Tom Rini, U-Boot STM32, Vikas Manocha, Ying-Chun Liu (PaulLiu)


Add the minimal support of the new STM32MP13x in mach-stm32mp
to allow boot from SD Card.

STM32MP13x is a single Cortex-A7 MPU aimed at various applications.
The discovery board is supported with stm32mp13_defconfig and the
device tree stm32mp135f-dk.dts.

The supported boot sequence is:
- TF-A BL2
- OP-TEE
- U-Boot
- Linux Kernel

The console over UART and boot from SD Card is functional
with this serie.

The RCC driver, with support of reset and clock, is not yet provided
today and the SCMI is not yet activated in device tree as in Linux
kernel.


Changes in v2:
- fix commit message
- fix several typo issue in comments reported by Patrice and Marek
- fix typo in commit message
- fix typo error in commit message and in rst file

Patrick Delaunay (16):
  ARM: dts: stm32: add STM32MP13 SoCs support
  configs: stm32mp1: move SUPPORT_SPL in STM32MP15x
  arm: stm32mp: move the get_otp helper function in bsec
  arm: stm32mp: move code for STM32MP15x
  arm: stm32mp: add choice for STM32MP SOC family
  arm: stm32mp: add sub config Kconfig.15x
  arm: stm32mp: add CONFIG_STM32MP15_PWR
  arm: stm32mp: add support of STM32MP13x
  arm: stm32mp: support 2 MAC address for STM32MP13
  pinctrl: stm32: add support of STM32MP135
  board: stm32pm1: add stm32mp13 board support
  ram: stm32mp1: add support of STM32MP13x
  mmc: stm32_sdmmc2: make reset property optional
  arm: dts: stm32mp: add stm32mp13 device tree for U-Boot
  configs: add stm32mp13 defconfig
  doc: st: stm32mp1: add STM32MP13x support

 arch/arm/Kconfig                              |   1 -
 arch/arm/dts/Makefile                         |   3 +
 arch/arm/dts/stm32mp13-pinctrl.dtsi           | 123 ++++++
 arch/arm/dts/stm32mp13-u-boot.dtsi            |  91 ++++
 arch/arm/dts/stm32mp131.dtsi                  | 358 ++++++++++++++++
 arch/arm/dts/stm32mp133.dtsi                  |  37 ++
 arch/arm/dts/stm32mp135.dtsi                  |  12 +
 arch/arm/dts/stm32mp135f-dk-u-boot.dtsi       |  30 ++
 arch/arm/dts/stm32mp135f-dk.dts               |  57 +++
 arch/arm/dts/stm32mp13xc.dtsi                 |  17 +
 arch/arm/dts/stm32mp13xf.dtsi                 |  17 +
 arch/arm/mach-stm32mp/Kconfig                 | 146 ++-----
 arch/arm/mach-stm32mp/Kconfig.13x             |  57 +++
 arch/arm/mach-stm32mp/Kconfig.15x             | 135 ++++++
 arch/arm/mach-stm32mp/Makefile                |   5 +-
 arch/arm/mach-stm32mp/bsec.c                  |  17 +
 arch/arm/mach-stm32mp/cpu.c                   | 392 ++----------------
 arch/arm/mach-stm32mp/fdt.c                   |  11 +-
 arch/arm/mach-stm32mp/include/mach/stm32.h    |  26 ++
 .../arm/mach-stm32mp/include/mach/sys_proto.h |  34 +-
 arch/arm/mach-stm32mp/spl.c                   |   1 +
 arch/arm/mach-stm32mp/stm32mp13x.c            | 135 ++++++
 arch/arm/mach-stm32mp/stm32mp15x.c            | 350 ++++++++++++++++
 board/st/stm32mp1/Kconfig                     |  15 +
 board/st/stm32mp1/MAINTAINERS                 |   4 +
 board/st/stm32mp1/stm32mp1.c                  |  27 +-
 configs/stm32mp13_defconfig                   |  54 +++
 configs/stm32mp15_basic_defconfig             |   6 +-
 configs/stm32mp15_defconfig                   |   6 +-
 configs/stm32mp15_trusted_defconfig           |   8 +-
 doc/board/st/stm32mp1.rst                     | 183 +++++---
 .../memory-controllers/st,stm32mp1-ddr.txt    |  49 ++-
 drivers/mmc/stm32_sdmmc2.c                    |  14 +-
 drivers/pinctrl/pinctrl_stm32.c               |   1 +
 drivers/ram/stm32mp1/stm32mp1_ram.c           |  28 +-
 include/configs/stm32mp13_common.h            | 106 +++++
 include/configs/stm32mp13_st_common.h         |  17 +
 include/configs/stm32mp15_common.h            |   4 +-
 38 files changed, 1993 insertions(+), 584 deletions(-)
 create mode 100644 arch/arm/dts/stm32mp13-pinctrl.dtsi
 create mode 100644 arch/arm/dts/stm32mp13-u-boot.dtsi
 create mode 100644 arch/arm/dts/stm32mp131.dtsi
 create mode 100644 arch/arm/dts/stm32mp133.dtsi
 create mode 100644 arch/arm/dts/stm32mp135.dtsi
 create mode 100644 arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
 create mode 100644 arch/arm/dts/stm32mp135f-dk.dts
 create mode 100644 arch/arm/dts/stm32mp13xc.dtsi
 create mode 100644 arch/arm/dts/stm32mp13xf.dtsi
 create mode 100644 arch/arm/mach-stm32mp/Kconfig.13x
 create mode 100644 arch/arm/mach-stm32mp/Kconfig.15x
 create mode 100644 arch/arm/mach-stm32mp/stm32mp13x.c
 create mode 100644 arch/arm/mach-stm32mp/stm32mp15x.c
 create mode 100644 configs/stm32mp13_defconfig
 create mode 100644 include/configs/stm32mp13_common.h
 create mode 100644 include/configs/stm32mp13_st_common.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-05-23  7:04 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20 16:24 [PATCH v2 00/16] stm32mp: add STM32MP13x support Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 01/16] ARM: dts: stm32: add STM32MP13 SoCs support Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 02/16] configs: stm32mp1: move SUPPORT_SPL in STM32MP15x Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 03/16] arm: stm32mp: move the get_otp helper function in bsec Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 04/16] arm: stm32mp: move code for STM32MP15x Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 05/16] arm: stm32mp: add choice for STM32MP SOC family Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 06/16] arm: stm32mp: add sub config Kconfig.15x Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 07/16] arm: stm32mp: add CONFIG_STM32MP15_PWR Patrick Delaunay
2022-05-23  7:04   ` Patrice CHOTARD
2022-05-20 16:24 ` [PATCH v2 08/16] arm: stm32mp: add support of STM32MP13x Patrick Delaunay
2022-05-23  7:00   ` Patrice CHOTARD
2022-05-20 16:24 ` [PATCH v2 09/16] arm: stm32mp: support 2 MAC address for STM32MP13 Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 10/16] pinctrl: stm32: add support of STM32MP135 Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 11/16] board: stm32pm1: add stm32mp13 board support Patrick Delaunay
2022-05-23  6:58   ` Patrice CHOTARD
2022-05-20 16:24 ` [PATCH v2 12/16] ram: stm32mp1: add support of STM32MP13x Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 13/16] mmc: stm32_sdmmc2: make reset property optional Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 14/16] arm: dts: stm32mp: add stm32mp13 device tree for U-Boot Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 15/16] configs: add stm32mp13 defconfig Patrick Delaunay
2022-05-20 16:24 ` [PATCH v2 16/16] doc: st: stm32mp1: add STM32MP13x support Patrick Delaunay
2022-05-23  6:55   ` Patrice CHOTARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.