[PATCH v2 0/4] gpio: update gpio_get_status()

Patrice Chotard patrice.chotard at foss.st.com
Tue Aug 9 09:14:11 CEST 2022


Currently, if pin's function is GPIOF_FUNC, only "func" if displayed
without any other information. It would be interesting, if information is
available, to indicate which pinmuxing's name is used.


Changes in v2:
   - add gpio test

Patrice Chotard (4):
  gpio: Allow to print pin's label even for pin with GPIOF_FUNC function
  gpio: Fix pin's status display for pin with GPIOF_UNUSED function
  pinctrl: pinctrl_stm32: Populate uc_priv->name[] with pinmux node's
    name
  gpio: sandbox: Add GPIOD_IS_AF for gpio configured in alternate
    function

 drivers/gpio/gpio-uclass.c              | 18 ++++++++++-----
 drivers/gpio/sandbox.c                  |  5 +++++
 drivers/pinctrl/pinctrl_stm32.c         |  8 +++++--
 include/asm-generic/gpio.h              |  1 +
 include/dt-bindings/gpio/sandbox-gpio.h |  3 +++
 test/dm/gpio.c                          | 30 +++++++++++++++++++++++++
 6 files changed, 57 insertions(+), 8 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list