public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/6] arm64: a37xx: pinctrl: Fix requesting GPIOs and pinmux command
@ 2022-07-25 12:08 Pali Rohár
  2022-07-25 12:08 ` [PATCH 1/6] arm64: a37xx: pinctrl: Remove unused grp->pins fields Pali Rohár
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Pali Rohár @ 2022-07-25 12:08 UTC (permalink / raw)
  To: Stefan Roese; +Cc: Marek Behun, u-boot

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-07-29 12:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-25 12:08 [PATCH 0/6] arm64: a37xx: pinctrl: Fix requesting GPIOs and pinmux command Pali Rohár
2022-07-25 12:08 ` [PATCH 1/6] arm64: a37xx: pinctrl: Remove unused grp->pins fields Pali Rohár
2022-07-28  6:30   ` Stefan Roese
2022-07-25 12:08 ` [PATCH 2/6] arm64: a37xx: pinctrl: Remove duplicate info->groups and info->ngroups fields Pali Rohár
2022-07-28  6:30   ` Stefan Roese
2022-07-25 12:09 ` [PATCH 3/6] arm64: a37xx: pinctrl: Mark all functions and structures as static Pali Rohár
2022-07-28  6:30   ` Stefan Roese
2022-07-25 12:09 ` [PATCH 4/6] arm64: a37xx: pinctrl: Add missing pinmuxes into the list Pali Rohár
2022-07-28  6:31   ` Stefan Roese
2022-07-25 12:09 ` [PATCH 5/6] arm64: a37xx: pinctrl: Implement gpio_request_enable for gpio functionality Pali Rohár
2022-07-28  6:32   ` Stefan Roese
2022-07-25 12:09 ` [PATCH 6/6] arm64: a37xx: pinctrl: Implement get_pins_count, get_pin_name and get_pin_muxing functions Pali Rohár
2022-07-28  6:32   ` Stefan Roese
2022-07-29 12:00 ` [PATCH 0/6] arm64: a37xx: pinctrl: Fix requesting GPIOs and pinmux command Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox