Skip to contentSkip to conversation

Patch "pinctrl: mvebu: armada-38x: fix incorrect total number of GPIOs" has been added to the 4.1-stable tree

PATCH [email protected] 1 participant 1 message Jul 26, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

pinctrl: mvebu: armada-38x: fix incorrect total number of GPIOs

to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
pinctrl-mvebu-armada-38x-fix-incorrect-total-number-of-gpios.patch
and it can be found in the queue-4.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 27e7cd016558bf787b128fd882cdd90409ae4036 Mon Sep 17 00:00:00 2001

From: Thomas Petazzoni <[email protected]>
Date: Tue, 9 Jun 2015 18:47:00 +0200
Subject: pinctrl: mvebu: armada-38x: fix incorrect total number of GPIOs

From: Thomas Petazzoni <[email protected]>

commit 27e7cd016558bf787b128fd882cdd90409ae4036 upstream.

The pinctrl_gpio_range[] array described a first bank of 32 GPIOs and a second one of 27 GPIOs. However, since there is a total of 60 MPP pins that can be muxed as GPIOs, the second bank really has 28 GPIOs.

Fixes ca6d9a084b56f ("pinctrl: mvebu: add pin-muxing driver for the Marvell Armada 380/385")
---
 drivers/pinctrl/mvebu/pinctrl-armada-38x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/mvebu/pinctrl-armada-38x.c +1 -1
@@ -402,7 +402,7 @@ static struct mvebu_mpp_ctrl armada_38x_
 
 static struct pinctrl_gpio_range armada_38x_mpp_gpio_ranges[] = {
 	MPP_GPIO_RANGE(0,   0,  0, 32),
-	MPP_GPIO_RANGE(1,  32, 32, 27),
+	MPP_GPIO_RANGE(1,  32, 32, 28),
 };
 
 static int armada_38x_pinctrl_probe(struct platform_device *pdev)

Patches currently in stable-queue which might be from [email protected] are

queue-4.1/pinctrl-mvebu-armada-xp-fix-functions-of-mpp48.patch queue-4.1/pinctrl-mvebu-armada-xp-remove-non-existing-nand-pins.patch queue-4.1/pinctrl-mvebu-armada-38x-fix-pcie-functions.patch queue-4.1/pinctrl-mvebu-armada-38x-fix-incorrect-total-number-of-gpios.patch queue-4.1/pinctrl-mvebu-armada-375-remove-incorrect-space-in-pin-description.patch queue-4.1/pinctrl-mvebu-armada-xp-remove-non-existing-vdd-cpu_pd-functions.patch queue-4.1/pinctrl-mvebu-armada-39x-fix-incorrect-total-number-of-gpios.patch queue-4.1/pinctrl-mvebu-armada-370-fix-spi0-pin-description.patch queue-4.1/pinctrl-mvebu-armada-375-remove-non-existing-nand-re-we-pins.patch