stm32mp1: use OPP information for PLL1 settings in SPL
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 0 repliesNew
- v19 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- 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
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | arm: stm32mp: spl: add bsec driver in SPLarch/ arch/ arch/ | +8 | 1 reply | |
| 2/9 | ARM: dts: stm32: add cpufreq support on stm32mp15xarch/ arch/ arch/ | +37 | 0 replies | |
| 3/9 | board: st: create common file stpmic1.cboard/ board/ board/ +1 more | +164 | 0 replies | |
| 4/9 | stm32mp1: clk: configure pll1 with OPPdoc/ drivers/ | +266 | 0 replies | |
| 5/9 | arm: stm32mp: add weak function to save vddcorearch/ drivers/ | +8 | 0 replies | |
| 6/9 | board: st: stpmic1: add function stpmic1_initarch/ board/ board/ +5 more | +52 | 1 reply | |
| 7/9 | board: stm32mp1: update vddcore in SPLboard/ board/ board/ +1 more | +41 | 1 reply | |
| 8/9 | ARM: dts: stm32mp1: use OPP information for PLL1 settings in SPLarch/ arch/ arch/ +2 more | +10 | 1 reply | |
| 9/9 | board: stm32mp1: move the function board_debug_uart_init in spl.cboard/ board/ board/ | +26 | 1 reply |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Patrice Chotard |
|---|---|
| 1/9 | R-b R-b |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/9] stm32mp1: use OPP information for PLL1 settings in SPL
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.hSignature · 1 line
2.17.1