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

Stefan Roese sr at denx.de
Fri Jul 29 14:00:51 CEST 2022


On 25.07.22 14:08, Pali Rohár wrote:
> 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(-)
> 

Applied to u-boot-marvell/master

Thanks,
Stefan


More information about the U-Boot mailing list