Skip to content

v2020.10-stm32mp-r1

Compare
Choose a tag to compare
@patrickdelaunay patrickdelaunay released this 22 Mar 12:45
· 303 commits to v2020.01-stm32mp since this release
v2020.10-stm32mp-r1

The following changes since commit 050acee:

Prepare v2020.10 (2020-10-05 11:15:32 -0400)

are available in the Git repository at:

https://github.com/STMicroelectronics/u-boot.git tags/v2020.10-stm32mp-r1

for you to fetch changes up to d2c99cb:

Prepare v2020.10-stm32mp-r1 (2021-03-08 17:19:32 +0100)


  • rebase on U-Boot v2020.10
  • support U-Boot load in FIP and associated DT management
  • increase the maximum number of supported reserved memory
  • rebase device tree with v5.10-stm32mp-r1
  • update SCMI support
  • other minor fixes

Arnaud Pouliquen (3):
remoteproc: Add remoteproc trusted application support
remoteproc: stm32: add support of the remote proc management by OP-TEE
stm32mp1: add remoteproc TEE support for trusted config

Etienne Carriere (12):
firmware: add SCMI agent uclass
firmware: scmi: mailbox/smt agent device
firmware: scmi: support Arm SMCCC transport
dt-bindings: arm: SCMI bindings documentation
clk: add clock driver for SCMI agents
firmware: scmi: sandbox test for SCMI clocks
reset: add reset controller driver for SCMI agents
firmware: smci: sandbox test for SCMI reset controllers
fdtdec: optionally add property no-map to created reserved memory node
optee: add property no-map to secure reserved memory
dts: stm32mp1: explicit clock reference needed by RCC clock driver
clk: stm32mp1 gets root clocks from fdt

Fabrice GIRARDOT (1):
ARM: dts: stm32: Fix cosmetic typo: use 'kHz' as kilohertz abbreviation

Guillermo Rodriguez (1):
dfu: Fix handling of UBI partitions in MTD backend

Neil Armstrong (2):
video: dw-mipi-dsi: driver-specific configuration of phy timings
video: dw-mipi-dsi: permit configuring the escape clock rate

Patrice Chotard (9):
test: fdtdec: Add test for new no-map fdtdec_add_reserved_memory() parameter
arm: stm32mp: Fix compilation issue when SYS_DCACHE_OFF and/or SYS_DCACHE_SYS are enabled
arch: cache: cp15: Add mmu_set_region_dcache_behaviour() when SYS_DCACHE_OFF is enable
board: stm32pm1: update USB-C power detection algorithm on DK boards
pinctrl: stmfx: Use PINNAME_SIZE for pin's name size
mtd: spi-nor: Add WATCHDOG_RESET() in spi_nor_core callbacks
spi: stm32_qspi: Add WATCHDOG_RESET _stm32_qspi_read_fifo()
mtd: nand: Add WATCHDOG_RESET() in nanddev_mtd_erase()
mtd: spinand: Add WATCHDOG_RESET() in spinand_mtd_read/write()

Patrick Delaunay (66):
CONTRIBUTING: add contributing guide to STMicroelectronics/u-boot repository
Add oe-* to .gitignore.
Remove default value of CONFIG_PREBOOT for CONFIG_USB_STORAGE
stm32mp: stm32prog: accept device without partition
configs: stm32mp15: activate CMD_IMPORTENV
configs: stm32mp15: activate CMD_EXPORTENV
board: stm32mp1: no MTD partitions fixup for serial boot
stm32mp: limit size of cacheable DDR in pre-reloc stage
reset: stm32: Add support of MCU HOLD BOOT
remoteproc: stm32: use reset for hold boot
remoteproc: stm32: update error management in stm32_copro_start
arm: stm32mp: correct the ALIGN macro usage
gpio: stm32: correct the bias management
pinctrl: stm32: display bias information for all pins
pinctrl: stmfx: update pincontrol and gpio device name
phy: stm32: usbphyc: manage optional vbus regulator on phy_power_on/off
board: st: stm32mp1: update load address for FIT examples
arm: stm32mp: stm32prog: always flush DFU on start command for uart
usb: dwc2: add "u-boot,force-vbus-detection" for stm32
clk: stm32mp1: add support of I2C6_K
pinctrl: stm32: correct management pin display of OTYPE
pinctrl: stm32: bind only the enabled GPIO subnode
configs: stm32mp15: move bootdelay configuration in defconfig
board: stm32mp1: use CONFIG_SYS_MMC_ENV_DEV when available
cli: deactivate some feature for SPL
stm32mp1: activated DDR interactive by default
stm32mp1: Add STMicroelectronics proprietary SMC
stm32mp1: pwr: use SMC to access secure resources
configs: stm32mp1_trusted_defconfig rely on SCMI support
arm: dts: stm32mp15: reorder uart node
dts: stm32mp1: alignment with v5.10-stm32mp-r1
arm: dts: stm32mp15 remove forced dr_mode for usbotg_hs
dts: reduce device tree for trusted boot
doc: add new board in documentation stm32mp1.rst
lmb: Add support of flags for no-map properties
lmb: add lmb_is_reserved_flags
lmb: remove lmb_region.size
lmb: add lmb_dump_region() function
test: lmb: add test for lmb_reserve_flags
image-fdt: save no-map parameter of reserve-memory
arm: cache: cp15: don't map the reserved region with no-map property
arm: stm32mp: add FIP and STM32IMAGE support
doc: st: stm32mp1: Add FIP support for trusted boot
ARM: dts: remove the OP-TEE nodes in U-boot device tree
board: st: add tee partition only when FIP is not used
stm32mp1: stm32prog: remove stm32prog_get_tee_partitions when FIP is used
stm32mp: stm32prog: add FIP header support
stm32mp: fdt: remove stm32_fdt_disable_optee for FIP
ARM: dts: stm32mp1: environment at the end of partition FIP
board: st: remove the nand MTD configuration for NOR boot in stm32mp1 board
video: stm32: remove all child of DSI bridge when its probe failed
stm32mp: stm32prog: Add Kconfig file for stm32prog command
stm32mp: stm32prog: Add CONFIG_CMD_STM32PROG_SERIAL and _USB
stm32mp: stm32prog: reactivate console and display serial error
stm32mp: stm32prog: replace alias by serial device sequence number
lmb: move CONFIG_LMB in Kconfig
lmb: Move lmb property arrays in struct lmb
lmb: Add 2 config to define the max number of regions
configs: stm32mp15: increase the number of reserved memory region in lmb
env: add ENV_ERASE_PTR macro
env: sf: update the use of macro ENV_SAVE_PTR
env: sf: add support of command env erase
dfu: dfu_mtd: set max_buf_size to erasesize also for NOR devices
dwc2: change compatible st,stm32mp1-hsotg to st,stm32mp15-hsotg
stm32mp: bsec: manage clock when present in device tree
Prepare v2020.10-stm32mp-r1

Richard Genoud (1):
SPL: stm32mp1: fix spl_mmc_boot_partition not defined

Sean Anderson (1):
video: stm32: Fix not calling dev_xxx with a device

Simon Glass (1):
dm: core: Add a livetree function to check node status

Yannick Fertre (2):
video: dw_mipi_dsi: missing device to log debug
video: dw_mipi_dsi: update log of dphy_enable

.gitignore | 3 +
CONTRIBUTING.md | 30 ++++
Makefile | 2 +-
arch/arc/include/asm/config.h | 2 -
arch/arm/dts/Makefile | 10 +-
arch/arm/dts/stm32mp15-ddr.dtsi | 3 +-
arch/arm/dts/stm32mp15-ddr3-1x4Gb-1066-binG.dtsi | 2 +-
arch/arm/dts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi | 2 +-
arch/arm/dts/stm32mp15-m4-srm-pinctrl.dtsi | 524 +++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/arm/dts/stm32mp15-m4-srm.dtsi | 442 +++++++++++++++++++++++++++++++++++++++++++++
arch/arm/dts/stm32mp15-no-scmi.dtsi | 157 ++++++++++++++++
arch/arm/dts/stm32mp15-pinctrl.dtsi | 428 +++++++++++++++++++++++++++++++++++++++-----
arch/arm/dts/stm32mp15-u-boot.dtsi | 141 ++++++++++-----
arch/arm/dts/stm32mp151.dtsi | 631 +++++++++++++++++++++++++++++++++++++++++++++-------------------
arch/arm/dts/stm32mp153.dtsi | 14 +-
arch/arm/dts/stm32mp157.dtsi | 3 +-
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 21 ++-
arch/arm/dts/stm32mp157a-dk1.dts | 4 +-
arch/arm/dts/stm32mp157a-ed1-u-boot.dtsi | 228 +++++++++++++++++++++++
arch/arm/dts/stm32mp157a-ed1.dts | 32 ++++
arch/arm/dts/stm32mp157a-ev1-u-boot.dtsi | 62 +++++++
arch/arm/dts/stm32mp157a-ev1.dts | 88 +++++++++
arch/arm/dts/stm32mp157c-dk2.dts | 77 +++++++-
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 215 +---------------------
arch/arm/dts/stm32mp157c-ed1.dts | 355 +-----------------------------------
arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 49 +----
arch/arm/dts/stm32mp157c-ev1.dts | 317 +++-----------------------------
arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi | 4 +
arch/arm/dts/stm32mp157d-dk1-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157d-dk1.dts | 28 +++
arch/arm/dts/stm32mp157d-ed1-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157d-ed1.dts | 33 ++++
arch/arm/dts/stm32mp157d-ev1-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157d-ev1.dts | 88 +++++++++
arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157f-dk2.dts | 157 ++++++++++++++++
arch/arm/dts/stm32mp157f-ed1-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157f-ed1.dts | 37 ++++
arch/arm/dts/stm32mp157f-ev1-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157f-ev1.dts | 89 +++++++++
arch/arm/dts/stm32mp15xa.dtsi | 13 ++
arch/arm/dts/stm32mp15xc.dtsi | 6 +-
arch/arm/dts/stm32mp15xd.dtsi | 42 +++++
arch/arm/dts/stm32mp15xf.dtsi | 20 +++
arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 2 +
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 2 +
arch/arm/dts/stm32mp15xx-dkx.dtsi | 165 ++++++++++++++---
arch/arm/dts/stm32mp15xx-edx.dtsi | 413 ++++++++++++++++++++++++++++++++++++++++++
arch/arm/dts/stm32mp15xx-evx.dtsi | 686 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/arm/include/asm/config.h | 1 -
arch/arm/include/asm/system.h | 3 +
arch/arm/lib/cache-cp15.c | 35 +++-
arch/arm/mach-stm32mp/Kconfig | 38 ++--
arch/arm/mach-stm32mp/Makefile | 2 +-
arch/arm/mach-stm32mp/bsec.c | 10 ++
arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig | 34 ++++
arch/arm/mach-stm32mp/cmd_stm32prog/Makefile | 8 +-
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 25 +--
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 66 ++++---
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | 36 +++-
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c | 53 ++----
arch/arm/mach-stm32mp/config.mk | 2 +-
arch/arm/mach-stm32mp/cpu.c | 30 ++--
arch/arm/mach-stm32mp/fdt.c | 11 +-
arch/arm/mach-stm32mp/include/mach/stm32.h | 2 +
arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h | 50 ++++--
arch/arm/mach-stm32mp/include/mach/stm32prog.h | 1 +
arch/arm/mach-stm32mp/pwr_regulator.c | 5 +
arch/arm/mach-stm32mp/spl.c | 5 +-
arch/m68k/include/asm/config.h | 1 -
arch/microblaze/include/asm/config.h | 2 -
arch/mips/include/asm/config.h | 1 -
arch/nds32/include/asm/config.h | 1 -
arch/powerpc/include/asm/config.h | 1 -
arch/riscv/include/asm/config.h | 1 -
arch/riscv/lib/fdt_fixup.c | 2 +-
arch/sandbox/dts/test.dts | 37 ++++
arch/sandbox/include/asm/scmi_test.h | 99 ++++++++++
arch/sh/include/asm/config.h | 2 -
arch/x86/include/asm/config.h | 1 -
arch/xtensa/include/asm/config.h | 2 -
board/st/common/Kconfig | 21 ++-
board/st/common/stm32mp_dfu.c | 9 +-
board/st/common/stm32mp_mtdparts.c | 47 +++--
board/st/stm32mp1/fit_copro_kernel_dtb.its | 18 +-
board/st/stm32mp1/fit_kernel_dtb.its | 6 +-
board/st/stm32mp1/stm32mp1.c | 134 ++++++++------
common/Kconfig | 2 +-
common/cli_readline.c | 6 +
common/image-fdt.c | 23 ++-
configs/sandbox_defconfig | 4 +
configs/stm32mp15_basic_defconfig | 6 +-
configs/stm32mp15_dhcom_basic_defconfig | 1 +
configs/stm32mp15_dhcor_basic_defconfig | 1 +
configs/stm32mp15_trusted_defconfig | 12 +-
doc/board/st/stm32mp1.rst | 124 ++++++++-----
doc/device-tree-bindings/arm/arm,scmi.txt | 197 ++++++++++++++++++++
doc/device-tree-bindings/phy/phy-stm32-usbphyc.txt | 2 +
drivers/clk/Kconfig | 8 +
drivers/clk/Makefile | 1 +
drivers/clk/clk_scmi.c | 99 ++++++++++
drivers/clk/clk_stm32mp1.c | 63 +++----
drivers/core/ofnode.c | 10 ++
drivers/dfu/dfu_mtd.c | 9 +-
drivers/firmware/Kconfig | 2 +
drivers/firmware/Makefile | 1 +
drivers/firmware/scmi/Kconfig | 19 ++
drivers/firmware/scmi/Makefile | 5 +
drivers/firmware/scmi/mailbox_agent.c | 102 +++++++++++
drivers/firmware/scmi/sandbox-scmi_agent.c | 410 ++++++++++++++++++++++++++++++++++++++++++
drivers/firmware/scmi/sandbox-scmi_devices.c | 113 ++++++++++++
drivers/firmware/scmi/scmi_agent-uclass.c | 119 ++++++++++++
drivers/firmware/scmi/smccc_agent.c | 89 +++++++++
drivers/firmware/scmi/smt.c | 139 ++++++++++++++
drivers/firmware/scmi/smt.h | 86 +++++++++
drivers/gpio/stm32_gpio.c | 28 +--
drivers/mtd/nand/core.c | 2 +
drivers/mtd/nand/spi/core.c | 3 +
drivers/mtd/spi/spi-nor-core.c | 3 +
drivers/phy/phy-stm32-usbphyc.c | 33 ++--
drivers/pinctrl/pinctrl-stmfx.c | 12 +-
drivers/pinctrl/pinctrl_stm32.c | 37 ++--
drivers/remoteproc/Kconfig | 8 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/rproc-optee.c | 219 +++++++++++++++++++++++
drivers/remoteproc/stm32_copro.c | 207 ++++++++++++++-------
drivers/reset/Kconfig | 8 +
drivers/reset/Makefile | 1 +
drivers/reset/reset-scmi.c | 81 +++++++++
drivers/reset/stm32-reset.c | 17 +-
drivers/spi/stm32_qspi.c | 2 +
drivers/usb/gadget/dwc2_udc_otg.c | 61 ++++---
drivers/usb/gadget/dwc2_udc_otg_regs.h | 2 +
drivers/video/dw_mipi_dsi.c | 62 ++++---
drivers/video/stm32/stm32_dsi.c | 3 +
env/ext4.c | 3 +-
env/mmc.c | 6 +-
env/sf.c | 32 +++-
include/configs/10m50_devboard.h | 5 -
include/configs/3c120_devboard.h | 5 -
include/configs/sandbox.h | 2 -
include/configs/stm32mp1.h | 1 -
include/configs/x86-common.h | 2 -
include/dm/ofnode.h | 11 ++
include/dm/uclass-id.h | 1 +
include/dt-bindings/clock/stm32mp1-clks.h | 33 ++++
include/dt-bindings/pinctrl/stm32-pinfunc.h | 1 +
include/dt-bindings/reset/stm32mp1-resets.h | 15 ++
include/dt-bindings/rtc/rtc-stm32.h | 13 ++
include/dt-bindings/soc/stm32-hdp.h | 108 +++++++++++
include/env_internal.h | 1 +
include/fdtdec.h | 5 +-
include/image.h | 2 +-
include/lmb.h | 29 ++-
include/mipi_dsi.h | 17 ++
include/rproc_optee.h | 127 +++++++++++++
include/scmi_agent-uclass.h | 24 +++
include/scmi_agent.h | 68 +++++++
include/scmi_protocols.h | 179 +++++++++++++++++++
include/usb/dwc2_udc.h | 1 +
lib/Kconfig | 23 +++
lib/fdtdec.c | 10 +-
lib/lmb.c | 108 +++++++----
lib/optee/optee.c | 2 +-
scripts/config_whitelist.txt | 1 -
test/dm/Makefile | 1 +
test/dm/fdtdec.c | 9 +-
test/dm/ofnode.c | 12 ++
test/dm/scmi.c | 203 +++++++++++++++++++++
test/lib/lmb.c | 89 +++++++++
170 files changed, 8274 insertions(+), 1783 deletions(-)
create mode 100644 CONTRIBUTING.md
create mode 100644 arch/arm/dts/stm32mp15-m4-srm-pinctrl.dtsi
create mode 100644 arch/arm/dts/stm32mp15-m4-srm.dtsi
create mode 100644 arch/arm/dts/stm32mp15-no-scmi.dtsi
create mode 100644 arch/arm/dts/stm32mp157a-ed1-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp157a-ed1.dts
create mode 100644 arch/arm/dts/stm32mp157a-ev1-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp157a-ev1.dts
create mode 100644 arch/arm/dts/stm32mp157d-dk1-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp157d-dk1.dts
create mode 100644 arch/arm/dts/stm32mp157d-ed1-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp157d-ed1.dts
create mode 100644 arch/arm/dts/stm32mp157d-ev1-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp157d-ev1.dts
create mode 100644 arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp157f-dk2.dts
create mode 100644 arch/arm/dts/stm32mp157f-ed1-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp157f-ed1.dts
create mode 100644 arch/arm/dts/stm32mp157f-ev1-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp157f-ev1.dts
create mode 100644 arch/arm/dts/stm32mp15xa.dtsi
create mode 100644 arch/arm/dts/stm32mp15xd.dtsi
create mode 100644 arch/arm/dts/stm32mp15xf.dtsi
create mode 100644 arch/arm/dts/stm32mp15xx-edx.dtsi
create mode 100644 arch/arm/dts/stm32mp15xx-evx.dtsi
create mode 100644 arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig
create mode 100644 arch/sandbox/include/asm/scmi_test.h
create mode 100644 doc/device-tree-bindings/arm/arm,scmi.txt
create mode 100644 drivers/clk/clk_scmi.c
create mode 100644 drivers/firmware/scmi/Kconfig
create mode 100644 drivers/firmware/scmi/Makefile
create mode 100644 drivers/firmware/scmi/mailbox_agent.c
create mode 100644 drivers/firmware/scmi/sandbox-scmi_agent.c
create mode 100644 drivers/firmware/scmi/sandbox-scmi_devices.c
create mode 100644 drivers/firmware/scmi/scmi_agent-uclass.c
create mode 100644 drivers/firmware/scmi/smccc_agent.c
create mode 100644 drivers/firmware/scmi/smt.c
create mode 100644 drivers/firmware/scmi/smt.h
create mode 100644 drivers/remoteproc/rproc-optee.c
create mode 100644 drivers/reset/reset-scmi.c
create mode 100644 include/dt-bindings/rtc/rtc-stm32.h
create mode 100644 include/dt-bindings/soc/stm32-hdp.h
create mode 100644 include/rproc_optee.h
create mode 100644 include/scmi_agent-uclass.h
create mode 100644 include/scmi_agent.h
create mode 100644 include/scmi_protocols.h
create mode 100644 test/dm/scmi.c