pinctrl: mvebu: update use "nand" function for "rb" pin
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Fri, 4 May 2018 03:06:37 +0000 (15:06 +1200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 23 May 2018 09:09:09 +0000 (11:09 +0200)
The Armada 98dx3236 SoCs don't have a different MPP sel value for nand
specific pins so "dev" was technically correct. But all the other Armada
SoCs use "nand" in their dts and the pin is specific to the nand
interface so use "nand" for the function name.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-armada-xp.c

index e732f3a..5e82846 100644 (file)
@@ -431,7 +431,7 @@ static struct mvebu_mpp_mode mv98dx3236_mpp_modes[] = {
        MPP_MODE(19,
                 MPP_VAR_FUNCTION(0x0, "gpio", NULL,         V_98DX3236_PLUS),
                 MPP_VAR_FUNCTION(0x3, "uart1", "rxd",       V_98DX3236_PLUS),
-                MPP_VAR_FUNCTION(0x4, "dev", "rb",          V_98DX3236_PLUS)),
+                MPP_VAR_FUNCTION(0x4, "nand", "rb",         V_98DX3236_PLUS)),
        MPP_MODE(20,
                 MPP_VAR_FUNCTION(0x0, "gpo", NULL,          V_98DX3236_PLUS),
                 MPP_VAR_FUNCTION(0x4, "dev", "we0",         V_98DX3236_PLUS)),