Skip to content

Commit aaefa29

Browse files
smaeullinusw
authored andcommitted
pinctrl: sunxi: a83t: Fix NAND function name for some pins
The other NAND pins on Port C use the "nand0" function name. "nand0" also matches all of the other Allwinner SoCs. Fixes: 4730f33 ("pinctrl: sunxi: add allwinner A83T PIO controller support") Signed-off-by: Samuel Holland <[email protected]> Acked-by: Jernej Skrabec <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 84a85d3 commit aaefa29

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,26 +158,26 @@ static const struct sunxi_desc_pin sun8i_a83t_pins[] = {
158158
SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 14),
159159
SUNXI_FUNCTION(0x0, "gpio_in"),
160160
SUNXI_FUNCTION(0x1, "gpio_out"),
161-
SUNXI_FUNCTION(0x2, "nand"), /* DQ6 */
161+
SUNXI_FUNCTION(0x2, "nand0"), /* DQ6 */
162162
SUNXI_FUNCTION(0x3, "mmc2")), /* D6 */
163163
SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 15),
164164
SUNXI_FUNCTION(0x0, "gpio_in"),
165165
SUNXI_FUNCTION(0x1, "gpio_out"),
166-
SUNXI_FUNCTION(0x2, "nand"), /* DQ7 */
166+
SUNXI_FUNCTION(0x2, "nand0"), /* DQ7 */
167167
SUNXI_FUNCTION(0x3, "mmc2")), /* D7 */
168168
SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 16),
169169
SUNXI_FUNCTION(0x0, "gpio_in"),
170170
SUNXI_FUNCTION(0x1, "gpio_out"),
171-
SUNXI_FUNCTION(0x2, "nand"), /* DQS */
171+
SUNXI_FUNCTION(0x2, "nand0"), /* DQS */
172172
SUNXI_FUNCTION(0x3, "mmc2")), /* RST */
173173
SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 17),
174174
SUNXI_FUNCTION(0x0, "gpio_in"),
175175
SUNXI_FUNCTION(0x1, "gpio_out"),
176-
SUNXI_FUNCTION(0x2, "nand")), /* CE2 */
176+
SUNXI_FUNCTION(0x2, "nand0")), /* CE2 */
177177
SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 18),
178178
SUNXI_FUNCTION(0x0, "gpio_in"),
179179
SUNXI_FUNCTION(0x1, "gpio_out"),
180-
SUNXI_FUNCTION(0x2, "nand")), /* CE3 */
180+
SUNXI_FUNCTION(0x2, "nand0")), /* CE3 */
181181
/* Hole */
182182
SUNXI_PIN(SUNXI_PINCTRL_PIN(D, 2),
183183
SUNXI_FUNCTION(0x0, "gpio_in"),

0 commit comments

Comments
 (0)