[PATCH v2 0/9] stm32mp1: use OPP information for PLL1 settings in SPL
Patrick Delaunay
patrick.delaunay at st.com
Mon May 25 12:19:40 CEST 2020
This serie allows to switch the CPU frequency to the max frequency
supported in OPP device tree nodes and supported by STM32MP SOC
(800MHz is supported by STM32MP15xD and STM32MP15xF).
Board also increases the VDDCore voltage to support this new
operation point.
This V2 version of [1] is rebased on top of custodian stm32 and solve
issue with dh_stm32mp1 (because spl.c was shared between stm32mp1 and
dh_stm32mp1).
[1] http://patchwork.ozlabs.org/project/uboot/list/?series=171767&state=*
Changes in v2:
- add stpmic1_init function, called in board_early_init_f for
dh_stm32mp1 board support (and no more use spl.c from stm32mp1)
- remove CONFIG_SPL_BOARD_INIT
- stmpic_buck1_set is a static function called in stpmic1_init
(with new parameter for vddcore value)
- update also dh_stm32mp1 board
- update stm32mp15xx-dhcor and dhcom device tree
- NEW: merge spl.c and board.c to avoid a file with only one function
Patrick Delaunay (9):
arm: stm32mp: spl: add bsec driver in SPL
ARM: dts: stm32: add cpufreq support on stm32mp15x
board: st: create common file stpmic1.c
stm32mp1: clk: configure pll1 with OPP
arm: stm32mp: add weak function to save vddcore
board: st: stpmic1: add function stpmic1_init
board: stm32mp1: update vddcore in SPL
ARM: dts: stm32mp1: use OPP information for PLL1 settings in SPL
board: stm32mp1: move the function board_debug_uart_init in spl.c
arch/arm/dts/stm32mp15-u-boot.dtsi | 12 +-
arch/arm/dts/stm32mp151.dtsi | 21 ++
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 9 -
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 9 -
arch/arm/dts/stm32mp157c-ed1.dts | 8 +
arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 9 -
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 9 -
arch/arm/dts/stm32mp15xx-dkx.dtsi | 8 +
arch/arm/mach-stm32mp/Kconfig | 1 -
arch/arm/mach-stm32mp/Makefile | 2 +-
arch/arm/mach-stm32mp/bsec.c | 11 +-
.../arm/mach-stm32mp/include/mach/sys_proto.h | 3 +
board/dhelectronics/dh_stm32mp1/Makefile | 6 +-
board/dhelectronics/dh_stm32mp1/board.c | 10 +
board/st/common/Makefile | 1 +
.../st/{stm32mp1/board.c => common/stpmic1.c} | 82 +++--
board/st/common/stpmic1.h | 6 +
board/st/stm32mp1/Makefile | 2 -
board/st/stm32mp1/spl.c | 72 +++--
board/st/stm32mp1/stm32mp1.c | 6 +
configs/stm32mp15_basic_defconfig | 1 +
.../clock/st,stm32mp1.txt | 4 +
drivers/clk/clk_stm32mp1.c | 295 ++++++++++++++++--
23 files changed, 445 insertions(+), 142 deletions(-)
rename board/st/{stm32mp1/board.c => common/stpmic1.c} (74%)
create mode 100644 board/st/common/stpmic1.h
--
2.17.1
More information about the U-Boot
mailing list