提交 a7db796b 编写于 作者: K Konstantin Porotchkin 提交者: Linus Walleij

pinctrl: armada-cp110 - fix MPP54/MPP55 functions

The function name is used for selecting MPP functionality and
should be unique within function names of the same pin.
This patch fixes function names for MPP54 and MPP55 that
have two different functions named the same.
Signed-off-by: NKonstantin Porotchkin <kostap@marvell.com>
Link: https://lore.kernel.org/r/20210216113118.17484-3-kostap@marvell.comSigned-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 b24236f5
...@@ -519,13 +519,13 @@ static struct mvebu_mpp_mode armada_cp110_mpp_modes[] = { ...@@ -519,13 +519,13 @@ static struct mvebu_mpp_mode armada_cp110_mpp_modes[] = {
MPP_FUNCTION(4, "synce1", "clk"), MPP_FUNCTION(4, "synce1", "clk"),
MPP_FUNCTION(8, "led", "data"), MPP_FUNCTION(8, "led", "data"),
MPP_FUNCTION(10, "sdio", "hw_rst"), MPP_FUNCTION(10, "sdio", "hw_rst"),
MPP_FUNCTION(11, "sdio", "wr_protect")), MPP_FUNCTION(11, "sdio_wp", "wr_protect")),
MPP_MODE(55, MPP_MODE(55,
MPP_FUNCTION(0, "gpio", NULL), MPP_FUNCTION(0, "gpio", NULL),
MPP_FUNCTION(1, "ge1", "rxctl_rxdv"), MPP_FUNCTION(1, "ge1", "rxctl_rxdv"),
MPP_FUNCTION(3, "ptp", "pulse"), MPP_FUNCTION(3, "ptp", "pulse"),
MPP_FUNCTION(10, "sdio", "led"), MPP_FUNCTION(10, "sdio", "led"),
MPP_FUNCTION(11, "sdio", "card_detect")), MPP_FUNCTION(11, "sdio_cd", "card_detect")),
MPP_MODE(56, MPP_MODE(56,
MPP_FUNCTION(0, "gpio", NULL), MPP_FUNCTION(0, "gpio", NULL),
MPP_FUNCTION(4, "tdm", "drx"), MPP_FUNCTION(4, "tdm", "drx"),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册