Skip to content

v2021.10-stm32mp-r1

Compare
Choose a tag to compare
@patrickdelaunay patrickdelaunay released this 05 Jul 08:35
· 52 commits to v2021.10-stm32mp since this release
v2021.10-stm32mp-r1

The following changes since commit d80bb74:

Prepare v2021.10 (2021-10-04 11:09:26 -0400)

are available in the Git repository at:

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

for you to fetch changes up to ef9715e:

Prepare v2021.10-stm32mp-r1 (2022-05-25 16:01:02 +0200)


  • Rebase OpenSTLinux delivery on U-Boot v2021.10
  • Device tree alignment with Linux kernel v5.15-stm32mp-r1
  • Add STM32MP13x family support
  • DDR tuning support removed
  • Activate CONFIG_OF_LIVE
  • Activate CONFIG_LOG
  • Deactivate IPCC driver
  • Add Uclass USB typeC and driver for UCSI
  • Add USB phy tuning support
  • Add NAND Write Protect support
  • Add ADC calibration support
  • Add TF-A firmware update support
  • Update SCMI support for OP-TEE transport
  • Add BSEC and stm32prog support with OP-TEE and TA
  • Other minor updates

Warning: SPL and STM32Image is no more supported in OpenSTLinux U-Boot
Please migrate to TF-A with FIP support instead.

The U-Boot defconfig to use for ecosystem release ≥ v4.0.0
change to "stm32mp15_defconfig".


Arnaud Pouliquen (6):
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
remoteproc: tee: return an error if tee session can be opened
remoteproc: tee: deinit rproc_optee struct on session close
remoteproc: stm32: update to dynamically detect the OPTEE support

Christophe Kerello (1):
mtd: rawnand: stm32_fmc2: add NAND Write Protect support

Christophe Roullier (2):
net: dwc_eth_qos: add support of stm32mp13 platform
net: dwc_eth_qos: Support the phy-supply regulator binding

Clément Léger (1):
firmware: scmi: fix struct layout for scmi_clk_rate_set_in

Etienne Carriere (15):
firmware: scmi: fix description of an API function
firmware: scmi: mailbox transport: fix probe failure implementation
firmware: scmi: mailbox transport: use plat data, not priv data
firmware: scmi: smccc transport: use plat data, not priv data
firmware: scmi: smccc transport: simplify probe sequence
tee: define session login identifiers
tee: optee: remove unused duplicated login Id macros
tee: optee: define TEE error code TEE_ERROR_SHORT_BUFFER
dt-bindings: arm: scmi: OP-TEE as transport channel for SCMI messages
firmware: scmi: Add OP-TEE transport
doc: binding: scmi: link to latest Linux kernel binding
sandbox: scmi: test against a single scmi agent
scmi: change parameter dev in devm_scmi_process_msg
firmware: scmi: fix sandbox and related tests for clock discovery
clk: scmi: register scmi clock with CCF

Fabien Dessenne (2):
gpio: stm32-gpio: prevent the use of the secure protected pins
pinctrl: pinctrl_stm32: prevent the use of the secure protected pins

Gabriel Fernandez (3):
video: stm32: stm32_ltdc: fix the check of return value of clk_set_rate()
clk: stm32-core: introduce stm32-clk-core
clk: manage CLK_SET_RATE_PARENT flags on clk_set_rate()

Heinrich Schuchardt (1):
stm32mp: fix board_get_alt_info_mmc()

Lionel Debieve (1):
rng: stm32mp1_rng: add conditional reset feature

Marek Behún (10):
mtd: spi-nor-core: Try cleaning up in case writing BAR failed
mtd: spi-nor-core: Check return value of write_enable() in spi_nor_erase()
mtd: spi-nor-core: Don't overwrite return value if it is non-zero
mtd: spi-nor-core: Check return value of write_disable() in spi_nor_erase()
mtd: spi-flash: Check for zero length in legacy spi_flash_*()
mtd: spi-nor-core: Don't check for zero length in spi_nor_write() / spi_nor_erase()
mtd: spi-nor-core: Call mtd_erase_callback() from spi_nor_erase()
mtd: spi-nor-core: Check for ctrlc() in spi_nor_erase()
mtd: mtdpart: Make mtdpart's _erase method sane
mtd: Remove mtd_erase_callback() entirely

Marek Vasut (15):
Revert "configs: stm32mp1: only support SD card after NOR in bootcmd_stm32mp"
ARM: stm32: Enable DFU MTD support on DHSOM
ARM: dts: stm32: Drop nWP GPIO hog on DHSOM
ARM: stm32: Increase default SF bus frequency to 50 MHz and enable SFDP
ARM: stm32: Disable EFI on DHSOM
ARM: stm32: Disable video output on DHSOM
ARM: stm32: Align mtdparts with SPI NOR layout on DHSOM
ARM: stm32: Increase USB power-good delay on DHSOM
ARM: stm32: Add update_sf script to install U-Boot into SF on DHSOM
ARM: stm32: Increase PHY auto-negotiation timeout to 20s on DHSOM
ARM: stm32: Fix SoM and board coding strap GPIO handling on DHSOM
ARM: dts: stm32: Add custom PHY reset bindings on AV96
ARM: stm32: Enable KSZ90x1 PHY driver on DHCOR
mmc: stm32_sdmmc2: Add support for probing bus voltage level translator
ARM: dts: stm32: Auto-detect DHSOM with uSD level translator

Olivier Moysan (8):
adc: stm32mp15: add calibration support
adc: stm32mp15: add check in power down exit
adc: add support of adc to stm32mp13
adc: stm32: add smart calibration support
adc: stm32mp15: probe all adc for calibration on stm32mp15x-dkx
adc: manage pcsel on end of conversion
stm32: adc: split channel init into several routines
iio: adc: stm32-adc: add support of generic channels binding

Pascal Paillet (1):
power: regulator: stm32-verfbuf: add support from mp13

Patrice Chotard (39):
spi: stm32: Add ofdata_to_platdata() callback
arm: dts: stm32: Add i2c-analog-filter property in I2C nodes for stm32f746
arm: dts: stm32: Add i2c-analog-filter property in I2C nodes for stm32h743
board: stm32mp1: Remove gpio_hog_probe_all() from board
board: dh_stm32mp1: Remove gpio_hog_probe_all() from board
cmd: bind: Fix driver binding on a device
usb: gadget: Add bcdDevice for the DWC2 USB Gadget Controller
usb: sandbox: Add gadget callbacks
configs: sandbox: add USB_ETHER and GADGET_DOWNLOAD gadget support
test/py: Add usb gadget binding test
ARM: dts: stm32: Use lower-case hex for address for stm32f769-disco-u-boot.dtsi
ARM: dts: stm32: Use lower-case hex for address for stm32746-disco-u-boot.dtsi
ARM: dts: stm32: Use lower-case hex for address for stm32f7-u-boot.dtsi
ARM: dts: stm32: Use lower-case hex for address for stm32f469-disco-u-boot.dtsi
ARM: dts: stm32: Use lower-case hex for address for stm32f429-disco-u-boot.dtsi
ARM: dts: stm32: Use lower-case hex for address for stm32f746g-eval-u-boot.dtsi
ARM: dts: stm32: Use lower-case hex for address for stm32429i-eval-u-boot.dtsi
dm: Fix OF_BAD_ADDR definition
Revert "spi: Update speed/mode on change"
phy: stm32-usbphyc: stm32-usbphyc: Add DT phy tuning support
pinctrl: Add MPC23017 support
board: st: stm32mp1: Consider USB cable connected when boot device is USB
usb: Add USB_TYPEC uclass
board: stm32mp1; Remove TYPEC_STUB160X config from Kconfig
usb: typec: Add support for STUSB160x Type-C controller family
configs: stm32mp15: Enable Type-C STUSB160x relative flags
board: stm32mp1: Update USB Type-C STUSB160x management
usb: typec: ucsi: Add UCSI uclass support
configs: stm32mp13: Enable STM32G0 relative flags
usb: typec: Add typec_get_driver_from_usb() API
usb: gadget: dwc2_udc_otg: Make usage of typec_get_driver_from_usb()
ARM: dts: stm32: Remove u-boot,force-b-session-valid property for stm32mp135f-dk-u-boot.dtsi
ARM: dts: stm32: Remove u-boot,force-b-session-valid property for stm32mp157a-dk1-u-boot.dtsi
ARM: stm32mp: add usb_pgood_delay for ST boards
gpio: stm32_gpio: Rework GPIO hole management
pinctrl: pinctrl_stm32: Use GPIOF_UNKNOWN to indicate not mapped pins
pinctrl: pinctrl_stm32: Update pinmux_mode definition
spi: stm32_qspi: Always check SR_TCF flags in stm32_qspi_wait_cmd()
spi: stm32_qspi: Remove SR_BUSY bit check before sending command

Patrick Delaunay (142):
CONTRIBUTING: add contributing guide to STMicroelectronics/u-boot repository
SECURITY: add security guide to STMicroelectronics/u-boot repository
arm: stm32: Disable ATAGs support
board: stm32: Remove the bi_boot_params initialization
phy: stm32-usbphyc: use connector for vbus-supply with phy-stm32-usbphyc
phy: stm32-usbphyc: stm32: usbphyc: add protection on phy sub-node
Convert CONFIG_STM32_FLASH to Kconfig
configs: Move some usb config in defconfig
stm32f429: move CONFIG_BOOTCOMMAND in defconfig
stv0991: remove specific CONFIG_STV0991 configs
pm9263: Remove unused CONFIG_USER_LOWLEVEL_INIT
i2c: stm32f7: move driver data of each instance in a privdata
i2c: stm32f7: support DT binding i2c-analog-filter
i2c: stm32f7: fix configuration of the digital filter
i2c: stm32f7: add support for DNF i2c-digital-filter binding
i2c: stm32f7: compute i2cclk only one time
remoteproc: migrate uclass to livetree
demo: migrate uclass to livetree
reboot-mode: migrate uclass to livetree
lib: uuid: fix the test on RNG device presence
stm32mp: add binman support for STM32MP15x
arm: dts: stm32mp15: alignment with v5.15-rc6
board: stmp32mp1: split board and SOC STM32MP15 configuration
gpio: stm32: create include file for driver private data
arm: stm32mp: bsec: Update OTP shadow registers in SPL
stm32mp15: remove configs dependency on CONFIG_TFABOOT
stm32mp15: replace CONFIG_TFABOOT when it is possible
stm32mp15: tidy up #ifdefs in cpu.c
pinctrl: stmfx: define LOG_CATEGORY
stm32mp1: ram: add read valid training support
stm32mp1: ram: remove the support of calibration result
stm32mp1: ram: remove tuning support
Convert CONFIG_LCD_DT_SIMPLEFB to Kconfig
common: rename lcd_simplefb.c file to fdt_simplefb.c
common: rename functions lcd_dt_simplefb to fdt_simplefb
video: Add video_is_active function
common: add fdt_simplefb_enable_and_mem_rsv function
video: stm32: stm32_ltdc: align framebuffer on 2MB
board: stm32mp1: enable simple framebuffer node for splashscreen
configs: stm32mp15: deactivate the CONFIG_STM32_IPCC
ram: stm32mp1: compute DDR size from DDRCTL registers
ram: stm32mp1: remove __maybe_unused on stm32mp1_ddr_setup
board: stm32mp1: add support of nor1 device in dfu command
clk: scmi: define LOG_CATEGORY
power: regulator: scmi: define LOG_CATEGORY
reset: scmi: define LOG_CATEGORY
firmware: scmi: add configs to select the supported agents
stm32mp15: deactivate CONFIG_SCMI_AGENT_MAILBOX
clk: cosmetic: reorder include files
clk: define LOG_CATEGORY for generic and ccf clocks
stm32mp: remove the bootcount activation
stm32mp: correct the dependency for bootcount configs
arm: dts: stm32mp15: alignment with v5.16
board: stm32mp1: solve compilation issue when ENV_IS_IN_MMC is deactivated
stm32prog: add partition name in treat_partition_list error messages
dfu: handle short frame result of UPLOAD in state_dfu_idle
dfu: mtd: skip empty pages when writing page for UBI partition
board: st: common: update test on misc_read result in command stboard
clk: ccf: correct the test on the parent uclass in clk_enable/clk_disable
cmd: clk: test the number of argument in setfreq command
cmd: clk: replace clk_lookup by uclass_get_device_by_name
cmd: clk: update result of do_clk_setfreq
cmd: clk: fix long help message
stm32mp: bsec: add permanent lock write support
stm32mp1: bsec: add missing dev in function comment
arm: dts: stm32mp15: alignment with v5.17
configs: stm32mp: Resync with moveconfig
phy: usbphyc: use regulator_set_enable_if_allowed for disabling vbus supply
sandox: test: reactivate tests for the command LOG
rng: add OP-TEE based Random Number Generator
tee: optee: bind rng optee driver
configs: add support of OPTEE RNG in stm32mp15 defconfig
stm32mp1: Add STMicroelectronics proprietary SMC
stm32mp1: pwr: use SMC to access secure resources
dts: stm32mp1: alignment with v5.15-stm32mp-r1
dts: reduce device tree for trusted boot
doc: add new board in documentation stm32mp1.rst
stm32mp1: mark deprecated CONFIG_STM32MP15x_STM32IMAGE
stm32mp: add TEE support in bsec driver
stm32mp: stm32prog: add TEE support in stm32prog command
stm32mp15: increase CONFIG_SYS_MALLOC_F_LEN
regulator: scmi regulators can bind with scmi voltage domain names
regulator: scmi: scmi regulator supports supply regulator
stm32mp: stm32prog: add support of STM32IMAGE version 2
phy: stm32-usbphyc: add counter of PLL consumer
phy: stm32-usbphyc: usbphyc is a clock provider of ck_usbo_48m clock
clk: stm32mp: handle ck_usbo_48m clock provided by USBPHYC
dts: stm32mp1: update DDR node
configs: stm32mp1: move SUPPORT_SPL in STM32MP15x
arm: stm32mp: move code for STM32MP15x
stm32mp: correctly handle Silicon revision
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: dts: stm32mp: add support of STM32MP13x
stm32mp: fdt: update etpzc for STM32MP15x
stm32mp: fdt: update etpzc for STM32MP13x
stm32mp: bsec: add support of STM32MP13x
clk: stm32mp13: introduce STM32MP13 RCC driver
pinctrl: stm32: add support of STM32MP135
i2c: stm32: add support for the st,stm32mp13 SOC
board: stm32pm1: add stm32mp13 board support
net: dwc_eth_qos: add rate parameter in board_interface_eth_init
board: stm32pm1: add support of ethernet2 for stm32mp13 platform
board: st: cmd stboard: Add support of STM32MP13x boards
ram: stm32mp1: add support of STM32MP13x
arm: dts: stm32mp: add stm32mp13 device tree for U-Boot
configs: add stm32mp13 defconfig
configs: stm32mp13: activate support of Microchip MPC23017
doc: st: stm32mp1: add STM32MP13x support
stm32mp13: add support of touchscreen goodix gt911 used on DK board
stm32mp: simplify the package parsing code
arm: stm32mp: introduced read_close_status function in stm32key command
arm: stm32mp: support several key in command stm32key
arm: stm32mp: adapt the command stm32key for STM32MP13x
configs: stm32mp15: increase CONFIG_SYS_MALLOC_F_LEN
board: stm32mp1: update OP-TEE nodes in Linux device tree for SP-MIN
usb: typec: ucsi: Add STM32G0 UCSI driver support
clk: update clk_clean_rate_cache to use private clk struct
net: dwc_eth_qos: restore support of not cache-aligned descriptor
mmc: stm32_sdmmc2: cosmetic: rename stm32_sdmmc_bind
mmc: stm32_sdmmc2: remove privdata
mmc: stm32_sdmmc2: introduce of_to_plat ops
ARM: dts: stm32mp15: remove addon for st,stm32-sdmmc2 compatible
usb: hub: introduce HUB_DEBOUNCE_TIMEOUT
usb: husb: increase HUB_DEBOUNCE_TIMEOUT
stm32mp1: Add support for baudrates higher than 115200 for st-link
mmc: fix error message for unaligned erase request
env: mmc : align erase address and size on erase_grp_size
stm32mp: stm32prog: add support of UUID for FIP partition
stm32mp: update MTD partitions for TF-A firmware update support
dts: stm32mp1: use a specific GPT partition for environment
stm32mp: stm32prog: handle interruption during the first enumeration
stm32mp: stm32prog: handle U-Boot script in flashlayout alternate
stm32mp: stm32prog: handle flashlayout without STM32 image header
configs: stm32mp1: set the console variable for extlinux.conf
board: stm32mp1: add detection of GC2145 camera sensor
board: st: common: fix the error messages in stboard command
stm32mp: add support of STM32MP13x Rev.Y
dt-bindings: rtc: stm32: add default value to output property
Prepare v2021.10-stm32mp-r1

Sebastien Pasdeloup (1):
ARM: stm32mp: skip ft_system_setup when the soc node is absent

William Grant (1):
stm32mp: stm32prog: Normalise newlines

Yannick FERTRE (4):
video: stm32: stm32_ltdc: fix data enable polarity
board: st: stm32mp1: touchscreen detection for stm32mp15 dk2 board
configs: stm32mp1: add panel Rocktech HX8394
board: st: stm32mp1: panel detection for stm32mp15 ev1 board

Yannick Fertre (4):
video: stm32: stm32_ltdc: support several hardware versions
arm: dts: stm32: update panel node of DK for U-Boot
configs: stm32mp13: activate support of display
video: add support of panel Rocktech HX8394

CONTRIBUTING.md | 30 +
MAINTAINERS | 1 +
Makefile | 10 +-
SECURITY.md | 8 +
arch/arm/Kconfig | 3 -
arch/arm/cpu/armv7/stv0991/timer.c | 6 +-
arch/arm/dts/Makefile | 14 +-
arch/arm/dts/stm32429i-eval-u-boot.dtsi | 2 +-
arch/arm/dts/stm32746g-eval-u-boot.dtsi | 2 +-
arch/arm/dts/stm32f429-disco-u-boot.dtsi | 2 +-
arch/arm/dts/stm32f469-disco-u-boot.dtsi | 6 +-
arch/arm/dts/stm32f7-u-boot.dtsi | 4 +-
arch/arm/dts/stm32f746-disco-u-boot.dtsi | 2 +-
arch/arm/dts/stm32f746.dtsi | 4 +
arch/arm/dts/stm32f769-disco-u-boot.dtsi | 6 +-
arch/arm/dts/stm32h743.dtsi | 4 +
arch/arm/dts/stm32mp13-pinctrl.dtsi | 644 +++++++
arch/arm/dts/stm32mp13-u-boot.dtsi | 131 ++
arch/arm/dts/stm32mp131.dtsi | 1664 +++++++++++++++++++
arch/arm/dts/stm32mp133.dtsi | 87 +
arch/arm/dts/stm32mp135.dtsi | 32 +
arch/arm/dts/stm32mp135d-dk-u-boot.dtsi | 70 +
arch/arm/dts/stm32mp135d-dk.dts | 687 ++++++++
arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp135f-dk.dts | 689 ++++++++
arch/arm/dts/stm32mp13xa.dtsi | 5 +
arch/arm/dts/stm32mp13xc.dtsi | 18 +
arch/arm/dts/stm32mp13xd.dtsi | 5 +
arch/arm/dts/stm32mp13xf.dtsi | 18 +
arch/arm/dts/stm32mp15-ddr.dtsi | 47 +-
arch/arm/dts/stm32mp15-ddr3-1x4Gb-1066-binG.dtsi | 12 -
arch/arm/dts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi | 12 -
.../dts/stm32mp15-ddr3-dhsom-2x1Gb-1066-binG.dtsi | 12 -
.../dts/stm32mp15-ddr3-dhsom-2x2Gb-1066-binG.dtsi | 12 -
.../dts/stm32mp15-ddr3-dhsom-2x4Gb-1066-binG.dtsi | 12 -
.../dts/stm32mp15-ddr3-icore-1x4Gb-1066-binG.dtsi | 12 -
arch/arm/dts/stm32mp15-m4-srm-pinctrl.dtsi | 524 ++++++
arch/arm/dts/stm32mp15-m4-srm.dtsi | 447 +++++
arch/arm/dts/stm32mp15-no-scmi.dtsi | 152 ++
arch/arm/dts/stm32mp15-pinctrl.dtsi | 184 +-
arch/arm/dts/stm32mp15-u-boot.dtsi | 181 +-
arch/arm/dts/stm32mp151.dtsi | 576 ++++---
arch/arm/dts/stm32mp153.dtsi | 15 +-
arch/arm/dts/stm32mp157.dtsi | 3 +-
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 29 +-
arch/arm/dts/stm32mp157a-dk1.dts | 8 +-
arch/arm/dts/stm32mp157a-ed1-u-boot.dtsi | 211 +++
arch/arm/dts/stm32mp157a-ed1.dts | 32 +
arch/arm/dts/stm32mp157a-ev1-u-boot.dtsi | 61 +
arch/arm/dts/stm32mp157a-ev1.dts | 103 ++
.../arm/dts/stm32mp157a-icore-stm32mp1-u-boot.dtsi | 2 +
.../dts/stm32mp157a-microgea-stm32mp1-u-boot.dtsi | 2 +
arch/arm/dts/stm32mp157c-dk2.dts | 65 +-
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 222 +--
arch/arm/dts/stm32mp157c-ed1.dts | 382 +----
arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 49 +-
arch/arm/dts/stm32mp157c-ev1.dts | 326 +---
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 | 26 +
arch/arm/dts/stm32mp157d-ed1-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157d-ed1.dts | 32 +
arch/arm/dts/stm32mp157d-ev1-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157d-ev1.dts | 103 ++
arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157f-dk2.dts | 152 ++
arch/arm/dts/stm32mp157f-ed1-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157f-ed1.dts | 36 +
arch/arm/dts/stm32mp157f-ev1-u-boot.dtsi | 6 +
arch/arm/dts/stm32mp157f-ev1.dts | 99 ++
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 | 15 +-
.../dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi | 15 +
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 11 +-
arch/arm/dts/stm32mp15xx-dkx.dtsi | 144 +-
arch/arm/dts/stm32mp15xx-edx.dtsi | 419 +++++
arch/arm/dts/stm32mp15xx-evx.dtsi | 690 ++++++++
arch/arm/include/asm/arch-stm32f4/gpio.h | 15 -
arch/arm/include/asm/arch-stm32f7/gpio.h | 12 -
arch/arm/include/asm/arch-stm32h7/gpio.h | 12 -
arch/arm/include/asm/arch-stv0991/stv0991_gpt.h | 4 +-
arch/arm/mach-stm32mp/Kconfig | 162 +-
arch/arm/mach-stm32mp/Kconfig.13x | 57 +
arch/arm/mach-stm32mp/Kconfig.15x | 134 ++
arch/arm/mach-stm32mp/Makefile | 5 +-
arch/arm/mach-stm32mp/bsec.c | 293 +++-
arch/arm/mach-stm32mp/cmd_stm32key.c | 329 +++-
arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig | 10 +-
.../arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 13 +-
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 431 +++--
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | 47 +-
.../arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c | 9 +-
arch/arm/mach-stm32mp/config.mk | 29 -
arch/arm/mach-stm32mp/cpu.c | 398 +----
arch/arm/mach-stm32mp/fdt.c | 274 ++-
arch/arm/mach-stm32mp/include/mach/bsec.h | 8 +
arch/arm/mach-stm32mp/include/mach/gpio.h | 87 -
arch/arm/mach-stm32mp/include/mach/stm32.h | 28 +
arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h | 50 +-
arch/arm/mach-stm32mp/include/mach/sys_proto.h | 44 +-
arch/arm/mach-stm32mp/pwr_regulator.c | 5 +
arch/arm/mach-stm32mp/spl.c | 1 +
arch/arm/mach-stm32mp/stm32mp13x.c | 123 ++
arch/arm/mach-stm32mp/stm32mp15x.c | 330 ++++
arch/sandbox/dts/test.dts | 42 +-
arch/sandbox/include/asm/scmi_test.h | 13 +-
board/congatec/cgtqmx8/spl.c | 2 +-
board/dhelectronics/dh_stm32mp1/Kconfig | 2 +-
board/dhelectronics/dh_stm32mp1/MAINTAINERS | 2 +-
board/dhelectronics/dh_stm32mp1/Makefile | 1 -
board/dhelectronics/dh_stm32mp1/board.c | 22 +-
board/engicam/stm32mp1/Kconfig | 2 +-
board/engicam/stm32mp1/stm32mp1.c | 3 -
board/raspberrypi/rpi/rpi.c | 2 +-
board/st/common/Kconfig | 14 +-
board/st/common/Makefile | 1 -
board/st/common/cmd_stboard.c | 22 +-
board/st/common/stm32mp_dfu.c | 6 +-
board/st/common/stusb160x.c | 48 -
board/st/common/stusb160x.h | 10 -
board/st/stm32f429-discovery/stm32f429-discovery.c | 2 -
.../st/stm32f429-evaluation/stm32f429-evaluation.c | 2 -
board/st/stm32f469-discovery/stm32f469-discovery.c | 2 -
board/st/stm32f746-disco/stm32f746-disco.c | 3 -
board/st/stm32h743-disco/stm32h743-disco.c | 1 -
board/st/stm32h743-eval/stm32h743-eval.c | 1 -
board/st/stm32h750-art-pi/stm32h750-art-pi.c | 1 -
board/st/stm32mp1/Kconfig | 15 +
board/st/stm32mp1/MAINTAINERS | 5 +-
board/st/stm32mp1/stm32mp1.c | 692 +++++++-
cmd/bind.c | 2 +-
cmd/clk.c | 25 +-
cmd/onenand.c | 9 +-
common/Kconfig | 9 +
common/Makefile | 2 +-
common/{lcd_simplefb.c => fdt_simplefb.c} | 36 +-
common/usb_hub.c | 6 +-
configs/dh_imx6_defconfig | 2 +
configs/kp_imx6q_tpc_defconfig | 2 +
configs/mx53ppd_defconfig | 4 +
configs/rpi_0_w_defconfig | 1 +
configs/rpi_2_defconfig | 1 +
configs/rpi_3_32b_defconfig | 1 +
configs/rpi_3_b_plus_defconfig | 1 +
configs/rpi_3_defconfig | 1 +
configs/rpi_4_32b_defconfig | 1 +
configs/rpi_4_defconfig | 1 +
configs/rpi_arm64_defconfig | 1 +
configs/rpi_defconfig | 1 +
configs/sandbox_defconfig | 6 +-
configs/stih410-b2260_defconfig | 4 +
configs/stm32f429-discovery_defconfig | 2 +
configs/stm32f429-evaluation_defconfig | 1 +
configs/stm32f469-discovery_defconfig | 1 +
configs/stm32f746-disco_defconfig | 1 +
configs/stm32f769-disco_defconfig | 1 +
configs/stm32mp13_defconfig | 143 ++
configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig | 4 +-
.../stm32mp15-icore-stm32mp1-edimm2.2_defconfig | 4 +-
...2mp15-microgea-stm32mp1-microdev2-of7_defconfig | 4 +-
...stm32mp15-microgea-stm32mp1-microdev2_defconfig | 4 +-
configs/stm32mp15_basic_defconfig | 15 +-
configs/stm32mp15_defconfig | 21 +-
configs/stm32mp15_dhcom_basic_defconfig | 31 +-
configs/stm32mp15_dhcor_basic_defconfig | 32 +-
configs/stm32mp15_trusted_defconfig | 19 +-
configs/stv0991_defconfig | 1 -
doc/board/st/stm32mp1.rst | 223 ++-
doc/device-tree-bindings/arm/arm,scmi.txt | 233 +--
.../memory-controllers/st,stm32mp1-ddr.txt | 69 +-
drivers/adc/stm32-adc-core.c | 1 +
drivers/adc/stm32-adc.c | 493 +++++-
drivers/clk/Kconfig | 17 +-
drivers/clk/Makefile | 2 +
drivers/clk/clk-composite.c | 9 +-
drivers/clk/clk-divider.c | 6 +-
drivers/clk/clk-fixed-factor.c | 13 +-
drivers/clk/clk-gate.c | 15 +-
drivers/clk/clk-mux.c | 13 +-
drivers/clk/clk-stm32-core.c | 372 +++++
drivers/clk/clk-stm32-core.h | 153 ++
drivers/clk/clk-stm32mp13.c | 844 ++++++++++
drivers/clk/clk-uclass.c | 49 +-
drivers/clk/clk.c | 20 +-
drivers/clk/clk_fixed_factor.c | 3 +
drivers/clk/clk_fixed_rate.c | 3 +
drivers/clk/clk_scmi.c | 99 +-
drivers/clk/clk_stm32mp1.c | 39 +-
drivers/clk/stm32mp13_rcc.h | 1750 ++++++++++++++++++++
drivers/core/device.c | 2 +-
drivers/core/lists.c | 4 +-
drivers/core/root.c | 2 +-
drivers/demo/demo-uclass.c | 9 +-
drivers/dfu/dfu_mtd.c | 22 +-
drivers/firmware/scmi/Kconfig | 28 +-
drivers/firmware/scmi/Makefile | 5 +-
drivers/firmware/scmi/mailbox_agent.c | 16 +-
drivers/firmware/scmi/optee_agent.c | 312 ++++
drivers/firmware/scmi/sandbox-scmi_agent.c | 255 +--
drivers/firmware/scmi/sandbox-scmi_devices.c | 4 +-
drivers/firmware/scmi/scmi_agent-uclass.c | 17 +-
drivers/firmware/scmi/smccc_agent.c | 16 +-
drivers/gpio/stm32_gpio.c | 129 +-
.../gpio.h => drivers/gpio/stm32_gpio_priv.h | 13 +-
drivers/i2c/stm32f7_i2c.c | 96 +-
drivers/misc/imx8/scu.c | 2 +-
drivers/misc/stm32_rcc.c | 6 +
drivers/mmc/mmc_write.c | 2 +-
drivers/mmc/stm32_sdmmc2.c | 245 ++-
drivers/mtd/Kconfig | 7 +
drivers/mtd/altera_qspi.c | 3 -
drivers/mtd/cfi_mtd.c | 1 -
drivers/mtd/mtdconcat.c | 11 -
drivers/mtd/mtdcore.c | 8 -
drivers/mtd/mtdpart.c | 23 +-
drivers/mtd/nand/raw/nand_base.c | 4 -
drivers/mtd/nand/raw/stm32_fmc2_nand.c | 9 +
drivers/mtd/onenand/onenand_base.c | 3 -
drivers/mtd/spi/sf_mtd.c | 1 -
drivers/mtd/spi/spi-nor-core.c | 46 +-
drivers/mtd/ubi/io.c | 13 -
drivers/net/dwc_eth_qos.c | 154 +-
drivers/phy/phy-stm32-usbphyc.c | 355 +++-
drivers/pinctrl/Kconfig | 8 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-mcp23017.c | 411 +++++
drivers/pinctrl/pinctrl-stmfx.c | 4 +
drivers/pinctrl/pinctrl_stm32.c | 103 +-
drivers/power/regulator/scmi_regulator.c | 125 +-
drivers/power/regulator/stm32-vrefbuf.c | 25 +-
drivers/ram/stm32mp1/Makefile | 1 -
drivers/ram/stm32mp1/stm32mp1_ddr.c | 69 +-
drivers/ram/stm32mp1/stm32mp1_ddr.h | 22 -
drivers/ram/stm32mp1/stm32mp1_ddr_regs.h | 66 +-
drivers/ram/stm32mp1/stm32mp1_interactive.c | 37 +-
drivers/ram/stm32mp1/stm32mp1_ram.c | 238 ++-
drivers/ram/stm32mp1/stm32mp1_tests.h | 3 -
drivers/ram/stm32mp1/stm32mp1_tuning.c | 1540 -----------------
drivers/reboot-mode/reboot-mode-uclass.c | 20 +-
drivers/remoteproc/Kconfig | 8 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/rproc-optee.c | 235 +++
drivers/remoteproc/rproc-uclass.c | 16 +-
drivers/remoteproc/stm32_copro.c | 118 +-
drivers/reset/reset-scmi.c | 7 +-
drivers/rng/Kconfig | 9 +
drivers/rng/Makefile | 1 +
drivers/rng/optee_rng.c | 184 ++
drivers/rng/stm32mp1_rng.c | 61 +-
drivers/serial/serial-uclass.c | 2 +-
drivers/spi/spi-uclass.c | 12 -
drivers/spi/stm32_qspi.c | 27 +-
drivers/spi/stm32_spi.c | 224 ++-
drivers/tee/optee/core.c | 13 +
drivers/tee/optee/optee_msg.h | 12 +-
drivers/timer/timer-uclass.c | 2 +-
drivers/usb/Kconfig | 2 +
drivers/usb/gadget/dwc2_udc_otg.c | 21 +-
drivers/usb/gadget/f_dfu.c | 2 +
drivers/usb/gadget/gadget_chips.h | 8 +
drivers/usb/host/usb-sandbox.c | 28 +
drivers/usb/typec/Kconfig | 24 +
drivers/usb/typec/Makefile | 5 +
drivers/usb/typec/typec-stusb160x.c | 130 ++
drivers/usb/typec/typec-uclass.c | 127 ++
drivers/usb/typec/ucsi/Kconfig | 26 +
drivers/usb/typec/ucsi/Makefile | 4 +
drivers/usb/typec/ucsi/ucsi-stm32g0.c | 117 ++
drivers/usb/typec/ucsi/ucsi-uclass.c | 393 +++++
drivers/video/Kconfig | 9 +
drivers/video/Makefile | 1 +
drivers/video/dw_mipi_dsi.c | 1 -
drivers/video/rocktech-hx8394.c | 250 +++
drivers/video/stm32/stm32_dsi.c | 1 -
drivers/video/stm32/stm32_ltdc.c | 264 ++-
drivers/video/video-uclass.c | 14 +
env/mmc.c | 10 +-
env/onenand.c | 4 +-
fs/yaffs2/yaffs_mtdif.c | 1 -
include/configs/dh_imx6.h | 2 -
include/configs/dh_stm32mp1.h | 15 -
include/configs/kp_imx6q_tpc.h | 2 -
include/configs/mx53ppd.h | 4 -
include/configs/pm9263.h | 1 -
include/configs/rpi.h | 1 -
include/configs/stih410-b2260.h | 5 -
include/configs/stm32f429-discovery.h | 10 -
include/configs/stm32f429-evaluation.h | 7 -
include/configs/stm32f469-discovery.h | 7 -
include/configs/stm32f746-disco.h | 7 -
include/configs/stm32h743-disco.h | 5 -
include/configs/stm32h743-eval.h | 5 -
include/configs/stm32h750-art-pi.h | 5 -
include/configs/stm32mp13_common.h | 151 ++
include/configs/stm32mp13_st_common.h | 55 +
include/configs/{stm32mp1.h => stm32mp15_common.h} | 66 +-
include/configs/stm32mp15_dh_dhsom.h | 31 +
include/configs/stm32mp15_st_common.h | 56 +
include/dm/lists.h | 3 +-
include/dm/pinctrl.h | 2 +-
include/dm/uclass-id.h | 2 +
include/dt-bindings/clock/stm32mp1-clks.h | 29 +
include/dt-bindings/clock/stm32mp13-clks.h | 229 +++
include/dt-bindings/pinctrl/stm32-pinfunc.h | 1 +
include/dt-bindings/reset/stm32mp1-resets.h | 14 +
include/dt-bindings/reset/stm32mp13-resets.h | 100 ++
include/dt-bindings/rtc/rtc-stm32.h | 14 +
include/dt-bindings/soc/stm32-hdp.h | 108 ++
include/dt-bindings/soc/stm32mp13-hdp.h | 133 ++
include/fdt_simplefb.h | 5 +-
include/fdtdec.h | 5 +-
include/linux/mtd/mtd.h | 11 -
include/nand.h | 1 -
include/netdev.h | 2 +-
include/rproc_optee.h | 127 ++
include/scmi_agent.h | 6 +-
include/scmi_protocols.h | 57 +-
include/spi_flash.h | 9 +
include/tee.h | 24 +-
include/typec.h | 154 ++
include/ucsi.h | 112 ++
include/video.h | 7 +
lib/uuid.c | 2 +-
scripts/config_whitelist.txt | 6 -
test/cmd/pinmux.c | 4 +-
test/dm/nop.c | 2 +-
test/dm/ofnode.c | 2 +-
test/dm/pci.c | 4 +-
test/dm/scmi.c | 132 +-
test/dm/test-fdt.c | 2 +-
test/py/tests/test_bind.py | 7 +
test/py/tests/test_log.py | 8 +-
test/py/tests/test_pinmux.py | 40 +-
336 files changed, 21160 insertions(+), 5877 deletions(-)
create mode 100644 CONTRIBUTING.md
create mode 100644 SECURITY.md
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/stm32mp135d-dk-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp135d-dk.dts
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/stm32mp13xa.dtsi
create mode 100644 arch/arm/dts/stm32mp13xc.dtsi
create mode 100644 arch/arm/dts/stm32mp13xd.dtsi
create mode 100644 arch/arm/dts/stm32mp13xf.dtsi
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
delete mode 100644 arch/arm/include/asm/arch-stm32f4/gpio.h
delete mode 100644 arch/arm/include/asm/arch-stm32f7/gpio.h
delete mode 100644 arch/arm/include/asm/arch-stm32h7/gpio.h
create mode 100644 arch/arm/mach-stm32mp/Kconfig.13x
create mode 100644 arch/arm/mach-stm32mp/Kconfig.15x
delete mode 100644 arch/arm/mach-stm32mp/config.mk
delete mode 100644 arch/arm/mach-stm32mp/include/mach/gpio.h
create mode 100644 arch/arm/mach-stm32mp/stm32mp13x.c
create mode 100644 arch/arm/mach-stm32mp/stm32mp15x.c
delete mode 100644 board/st/common/stusb160x.c
delete mode 100644 board/st/common/stusb160x.h
rename common/{lcd_simplefb.c => fdt_simplefb.c} (66%)
create mode 100644 configs/stm32mp13_defconfig
create mode 100644 drivers/clk/clk-stm32-core.c
create mode 100644 drivers/clk/clk-stm32-core.h
create mode 100644 drivers/clk/clk-stm32mp13.c
create mode 100644 drivers/clk/stm32mp13_rcc.h
create mode 100644 drivers/firmware/scmi/optee_agent.c
rename arch/arm/include/asm/arch-stm32/gpio.h => drivers/gpio/stm32_gpio_priv.h (87%)
create mode 100644 drivers/pinctrl/pinctrl-mcp23017.c
delete mode 100644 drivers/ram/stm32mp1/stm32mp1_tuning.c
create mode 100644 drivers/remoteproc/rproc-optee.c
create mode 100644 drivers/rng/optee_rng.c
create mode 100644 drivers/usb/typec/Kconfig
create mode 100644 drivers/usb/typec/Makefile
create mode 100644 drivers/usb/typec/typec-stusb160x.c
create mode 100644 drivers/usb/typec/typec-uclass.c
create mode 100644 drivers/usb/typec/ucsi/Kconfig
create mode 100644 drivers/usb/typec/ucsi/Makefile
create mode 100644 drivers/usb/typec/ucsi/ucsi-stm32g0.c
create mode 100644 drivers/usb/typec/ucsi/ucsi-uclass.c
create mode 100644 drivers/video/rocktech-hx8394.c
delete mode 100644 include/configs/dh_stm32mp1.h
create mode 100644 include/configs/stm32mp13_common.h
create mode 100644 include/configs/stm32mp13_st_common.h
rename include/configs/{stm32mp1.h => stm32mp15_common.h} (76%)
create mode 100644 include/configs/stm32mp15_dh_dhsom.h
create mode 100644 include/configs/stm32mp15_st_common.h
create mode 100644 include/dt-bindings/clock/stm32mp13-clks.h
create mode 100644 include/dt-bindings/reset/stm32mp13-resets.h
create mode 100644 include/dt-bindings/rtc/rtc-stm32.h
create mode 100644 include/dt-bindings/soc/stm32-hdp.h
create mode 100644 include/dt-bindings/soc/stm32mp13-hdp.h
create mode 100644 include/rproc_optee.h
create mode 100644 include/typec.h
create mode 100644 include/ucsi.h