Skip to content

arm64: a37xx: pinctrl: Fix requesting GPIOs and pinmux command

Pali Rohár u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6arm64: a37xx: pinctrl: Remove unused grp->pins fieldsdrivers/pinctrl/mvebu/pinctrl-armada-37xx.c+1 -151 reply
2/6arm64: a37xx: pinctrl: Remove duplicate info->groups and info->ngroups fieldsdrivers/pinctrl/mvebu/pinctrl-armada-37xx.c+8 -131 reply
3/6arm64: a37xx: pinctrl: Mark all functions and structures as staticdrivers/pinctrl/mvebu/pinctrl-armada-37xx.c+4 -41 reply
4/6arm64: a37xx: pinctrl: Add missing pinmuxes into the listdrivers/pinctrl/mvebu/pinctrl-armada-37xx.c+15 -11 reply
5/6arm64: a37xx: pinctrl: Implement gpio_request_enable for gpio functionalitydrivers/pinctrl/mvebu/pinctrl-armada-37xx.c+47 -31 reply
6/6arm64: a37xx: pinctrl: Implement get_pins_count, get_pin_name and get_pin_muxing functionsdrivers/pinctrl/mvebu/pinctrl-armada-37xx.c+78 -01 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchStefan Roese
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.20.1