u-boot-brain/drivers/pinctrl/mvebu
Ken Ma 23626cac4b arm64: a37xx: pinctrl: Fix the pin 23 on south bridge
Pin 23 on South bridge does not belong to the rgmii group. It belongs to
a separate group which can have 3 functions.

Due to this the fix also have to update the way the functions are
managed. Until now each groups used NB_FUNCS(which was 2) functions. For
the mpp23, 3 functions are available but it is the only group which needs
it, so on the loop involving NB_FUNCS an extra test was added to handle
only the functions added.

The bug was visible when the gpio regulator used the gpio 23, the whole
rgmii group was setup to gpio which broke the Ethernet support on the
Armada 3720 DB board. Thanks to this patch, the UHS SD cards (which need
the vqmmc) _and_ the Ethernet work again.

Reviewed-on: http://vgitil04.il.marvell.com:8080/43284
Reviewed-by: Hua Jing <jinghua@marvell.com>
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Ken Ma <make@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
2018-03-30 12:52:48 +02:00
..
Kconfig pinctrl: mvebu: Make drivers depend on the pinctrl framework 2018-01-09 16:41:00 +01:00
Makefile pinctrl: mvebu: Enable support for the Armada 37xx pinctrl driver 2017-05-31 07:33:50 +02:00
pinctrl-armada-37xx.c arm64: a37xx: pinctrl: Fix the pin 23 on south bridge 2018-03-30 12:52:48 +02:00
pinctrl-mvebu.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
pinctrl-mvebu.h arm64: mvebu: pinctrl: Add pin control driver for A8K family 2016-12-12 09:04:52 +01:00