[PATCH 0/6] arm64: a37xx: pinctrl: Fix requesting GPIOs and pinmux command

Pali Rohár pali at kernel.org
Mon Jul 25 14:08:57 CEST 2022


This patch series cleanup pinctrl-armada-37xx.c driver, add missing pin
muxes into the list to allow usage all MPP pins as GPIOs, implement
gpio_request_enable callback for correctly setting MPP pins to GPIO
mode.

For debugging purposes are implemented also get_pins_count, get_pin_name
and get_pin_muxing functions which are required for U-Boot command:
pinmux status -a

Pali Rohár (6):
  arm64: a37xx: pinctrl: Remove unused grp->pins fields
  arm64: a37xx: pinctrl: Remove duplicate info->groups and info->ngroups
    fields
  arm64: a37xx: pinctrl: Mark all functions and structures as static
  arm64: a37xx: pinctrl: Add missing pinmuxes into the list
  arm64: a37xx: pinctrl: Implement gpio_request_enable for gpio
    functionality
  arm64: a37xx: pinctrl: Implement get_pins_count, get_pin_name and
    get_pin_muxing functions

 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 189 ++++++++++++++++----
 1 file changed, 153 insertions(+), 36 deletions(-)

-- 
2.20.1



More information about the U-Boot mailing list