[PATCH v2 00/11] stm32mp1: activate gpio hog support and add new pinctrl ops

Patrick Delaunay patrick.delaunay at st.com
Thu Jun 4 14:30:22 CEST 2020


Hi,

This V2 serie of [1] updates the two pincontrol drivers for stm32mp1
and activates the gpio hog support.
It also adds pin information in pinmux command output for stm32 and
stmfx.

It is a rebased version, as dependency [2] is accepted merged.
I also split some patch for review.

[1] http://patchwork.ozlabs.org/project/uboot/list/?series=138122&state=*

[2] V3 "dm: add support of new binding in gpio and pincontrol"
    http://patchwork.ozlabs.org/project/uboot/list/?series=152777&state=*

Regards.

Patrick


Changes in v2:
- NEW: split previous patch [5/5] gpio: stmfx: add set_config ops
- NEW: split previous patch [5/5] gpio: stmfx: add set_config ops
- NEW: split previous patch [5/5] gpio: stmfx: add set_config ops

Patrick Delaunay (11):
  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

 board/st/stm32mp1/stm32mp1.c        |  10 +-
 configs/stm32mp15_basic_defconfig   |   1 +
 configs/stm32mp15_trusted_defconfig |   1 +
 drivers/gpio/stm32_gpio.c           | 149 ++++++++++++++++--
 drivers/pinctrl/pinctrl-stmfx.c     | 225 ++++++++++++++++++++--------
 drivers/pinctrl/pinctrl_stm32.c     |  27 +++-
 6 files changed, 325 insertions(+), 88 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list