From patchwork Thu Jun 4 12:30:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 241646 List-Id: U-Boot discussion From: patrick.delaunay at st.com (Patrick Delaunay) Date: Thu, 4 Jun 2020 14:30:22 +0200 Subject: [PATCH v2 00/11] stm32mp1: activate gpio hog support and add new pinctrl ops Message-ID: <20200604123033.25499-1-patrick.delaunay@st.com> 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(-)