aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-09 12:46:54 -0400
committerLinus Walleij <linus.walleij@linaro.org>2015-06-10 04:51:45 -0400
commit438881dfddb9107ef0eb30b49368e91e092f0b3e (patch)
tree786ad4dc2052752fa529a43232a4f51d032d3cff
parent331642fbf24a1c16b2669ca0a6479b5fcd6dd5b2 (diff)
pinctrl: mvebu: armada-370: fix spi0 pin description
Due to a mistake, the CS0 and CS1 SPI0 functions were incorrectly named "spi0-1" instead of just "spi0". This commit fixes that. This DT binding change does not affect any of the in-tree users. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: <stable@vger.kernel.org> # v3.7+ Fixes: 5f597bb2be57 ("pinctrl: mvebu: add pinctrl driver for Armada 370") Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/pinctrl/marvell,armada-370-pinctrl.txt4
-rw-r--r--drivers/pinctrl/mvebu/pinctrl-armada-370.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/marvell,armada-370-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/marvell,armada-370-pinctrl.txt
index adda2a8d1d52..e357b020861d 100644
--- a/Documentation/devicetree/bindings/pinctrl/marvell,armada-370-pinctrl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/marvell,armada-370-pinctrl.txt
@@ -92,5 +92,5 @@ mpp61 61 gpo, dev(wen1), uart1(txd), audio(rclk)
92mpp62 62 gpio, dev(a2), uart1(cts), tdm(drx), pcie(clkreq0), 92mpp62 62 gpio, dev(a2), uart1(cts), tdm(drx), pcie(clkreq0),
93 audio(mclk), uart0(cts) 93 audio(mclk), uart0(cts)
94mpp63 63 gpo, spi0(sck), tclk 94mpp63 63 gpo, spi0(sck), tclk
95mpp64 64 gpio, spi0(miso), spi0-1(cs1) 95mpp64 64 gpio, spi0(miso), spi0(cs1)
96mpp65 65 gpio, spi0(mosi), spi0-1(cs2) 96mpp65 65 gpio, spi0(mosi), spi0(cs2)
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-370.c b/drivers/pinctrl/mvebu/pinctrl-armada-370.c
index 42f930f70de3..8516cadcb9a9 100644
--- a/drivers/pinctrl/mvebu/pinctrl-armada-370.c
+++ b/drivers/pinctrl/mvebu/pinctrl-armada-370.c
@@ -370,11 +370,11 @@ static struct mvebu_mpp_mode mv88f6710_mpp_modes[] = {
370 MPP_MODE(64, 370 MPP_MODE(64,
371 MPP_FUNCTION(0x0, "gpio", NULL), 371 MPP_FUNCTION(0x0, "gpio", NULL),
372 MPP_FUNCTION(0x1, "spi0", "miso"), 372 MPP_FUNCTION(0x1, "spi0", "miso"),
373 MPP_FUNCTION(0x2, "spi0-1", "cs1")), 373 MPP_FUNCTION(0x2, "spi0", "cs1")),
374 MPP_MODE(65, 374 MPP_MODE(65,
375 MPP_FUNCTION(0x0, "gpio", NULL), 375 MPP_FUNCTION(0x0, "gpio", NULL),
376 MPP_FUNCTION(0x1, "spi0", "mosi"), 376 MPP_FUNCTION(0x1, "spi0", "mosi"),
377 MPP_FUNCTION(0x2, "spi0-1", "cs2")), 377 MPP_FUNCTION(0x2, "spi0", "cs2")),
378}; 378};
379 379
380static struct mvebu_pinctrl_soc_info armada_370_pinctrl_info; 380static struct mvebu_pinctrl_soc_info armada_370_pinctrl_info;