[PULL] Pull request: u-boot-stm32 for v2020.10= u-boot-stm32-20200707

Patrick DELAUNAY patrick.delaunay at st.com
Tue Jul 7 18:20:12 CEST 2020


Hi Tom,

Please pull the STM32 related patches for v2020.10:  u-boot-stm32-20200707

With the following changes:
- arch and board update for stm32mp15:
  - use OPP information in device tree for 800MHz/650MHz support
  - ram: inprovments of test command
  - solve boot on closed chip when access to DBGMCU_IDC is protected
  - stm32prog command: Add "device anme" during USB enumeration
  - update configs: activate WATCHDOG and 'env erase' command,
    increase teed partition, support SD card after NOR boot by default and
    use env info in env_check
  - some sboard cleanups: gpio hog in dh board, specific driver for
    type-c stusb1600 controller code in a driver move part of code in spl.c
    and in common directory
- fix STM32 compatible for dwc_eth_qos driver
- support of new pinctrl ops get_dir_flags/set_dir_flags in stm32 and stmfx
  drivers
- vrefbuf: fix a possible overshoot when re-enabling

CI status:
    https://gitlab.denx.de/u-boot/custodians/u-boot-stm/pipelines/3917

Thanks,
Patrick

The following changes since commit 23da3c682a84a2ad67a67287979dd4f5259ff607:

  Revert "riscv: sifive: fu540: Add gpio-restart support" (2020-07-06 17:57:47 -0400)

are available in the Git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-stm.git tags/u-boot-stm32-20200707

for you to fetch changes up to 6c393e8c0fae98a3a6e2909fc79697075552a152:

  ram: stm32mp1: add size and addr parameter to test all (2020-07-07 16:01:23 +0200)

----------------------------------------------------------------
- arch and board update for stm32mp15:
  - use OPP information in device tree for 800MHz/650MHz support
  - ram: inprovments of test command
  - solve boot on closed chip when access to DBGMCU_IDC is protected
  - stm32prog command: Add "device anme" during USB enumeration
  - update configs: activate WATCHDOG and 'env erase' command,
    increase teed partition, support SD card after NOR boot by default and
    use env info in env_check
  - some sboard cleanups: gpio hog in dh board, specific driver for
    type-c stusb1600 controller code in a driver move part of code in spl.c
    and in common directory
- fix STM32 compatible for dwc_eth_qos driver
- support of new pinctrl ops get_dir_flags/set_dir_flags in stm32 and stmfx
  drivers
- vrefbuf: fix a possible overshoot when re-enabling

----------------------------------------------------------------
Fabrice Gasnier (1):
      power: regulator: stm32: vrefbuf: fix a possible overshoot when re-enabling

Patrick Delaunay (35):
      net: dwc_eth_qos: update the compatible supported for STM32
      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
      configs: stm32mp1: activate CONFIG_GPIO_HOG
      board: stm32mp1: update the gpio hog support
      gpio: stm32: add ops set_dir_flags
      gpio: stm32: add ops get_dir_flags
      gpio: stmfx: move function to prepare new ops introduction
      gpio: stmfx: rename function used to change pin configuration
      gpio: stmfx: add function stmfx_read_reg and stmfx_write_reg
      gpio: stmfx: add ops set_dir_flag
      gpio: stmfx: add ops get_dir_flags
      pinctrl: stmfx: add information on pin configuration
      pinctrl: stm32: add information on pin configuration
      configs: stm32mp1: activate WATCHDOG
      stm32mp1: configs: activate CMD_ERASEENV
      board: st: stm32mp1: increase teed partition
      arm: stm32mp: stm32prog: add "Device Name" in iproduct during DFU USB enumeration
      arm: stm32mp: protect DBGMCU_IDC access with BSEC
      configs: stm32mp1: only support SD card after NOR in bootcmd_stm32mp
      board: st: move type-c stusb1600 controller code in a driver
      board: dh_stm32mp1: update the gpio hog support
      cmd: env: use ENV_IS_IN_DEVICE in env info
      stm32mp1: use the command env info in env_check
      ram: stm32mp1: protect minimum value in get_bufsize
      ram: stm32mp1: add parameter addr in test FrequencySelectivePattern
      ram: stm32mp1: use the DDR size by default in the test addressBus
      ram: stm32mp1: add size and addr parameter to test all

 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                       |   2 +-
 arch/arm/mach-stm32mp/Makefile                      |   2 +-
 arch/arm/mach-stm32mp/bsec.c                        |  36 +++++++++++++---
 arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c |   6 ++-
 arch/arm/mach-stm32mp/cpu.c                         |  22 ++++++++--
 arch/arm/mach-stm32mp/include/mach/bsec.h           |   7 +++
 arch/arm/mach-stm32mp/include/mach/sys_proto.h      |   3 ++
 board/dhelectronics/dh_stm32mp1/Makefile            |   6 +--
 board/dhelectronics/dh_stm32mp1/board.c             |  20 +++++----
 board/st/common/Kconfig                             |   9 +++-
 board/st/common/Makefile                            |   3 ++
 board/st/common/stpmic1.c                           | 216 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 board/st/common/stpmic1.h                           |   6 +++
 board/st/common/stusb160x.c                         |  46 ++++++++++++++++++++
 board/st/common/stusb160x.h                         |  10 +++++
 board/st/stm32mp1/Makefile                          |   2 -
 board/st/stm32mp1/board.c                           | 158 -------------------------------------------------------------------
 board/st/stm32mp1/spl.c                             |  76 ++++++++++++++++++--------------
 board/st/stm32mp1/stm32mp1.c                        |  74 ++++++--------------------------
 cmd/nvedit.c                                        |   2 +-
 configs/stm32mp15_basic_defconfig                   |   6 +++
 configs/stm32mp15_trusted_defconfig                 |   5 +++
 doc/device-tree-bindings/clock/st,stm32mp1.txt      |   4 ++
 drivers/clk/clk_stm32mp1.c                          | 295 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
 drivers/gpio/stm32_gpio.c                           | 149 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 drivers/net/dwc_eth_qos.c                           |   2 +-
 drivers/pinctrl/pinctrl-stmfx.c                     | 225 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------
 drivers/pinctrl/pinctrl_stm32.c                     |  27 ++++++++++--
 drivers/power/regulator/stm32-vrefbuf.c             |  16 ++++++-
 drivers/ram/stm32mp1/stm32mp1_tests.c               |  98 ++++++++++++++++++++++++++++++------------
 include/configs/stm32mp1.h                          |   8 ++--
 39 files changed, 1166 insertions(+), 460 deletions(-)
 create mode 100644 arch/arm/mach-stm32mp/include/mach/bsec.h
 create mode 100644 board/st/common/stpmic1.c
 create mode 100644 board/st/common/stpmic1.h
 create mode 100644 board/st/common/stusb160x.c
 create mode 100644 board/st/common/stusb160x.h


More information about the U-Boot mailing list