* [PATCH] MIPS: ralink: Fix mt7620 nd_sd pinmux
@ 2018-11-26 10:25 Mathias Kresin
2018-11-26 18:22 ` Paul Burton
0 siblings, 1 reply; 2+ messages in thread
From: Mathias Kresin @ 2018-11-26 10:25 UTC (permalink / raw)
To: John Crispin, Ralf Baechle, Paul Burton, James Hogan
Cc: linux-mips, linux-kernel, stable
In case the nd_sd group is set to the sd-card function, Pins 45 + 46 are
configured as GPIOs. If they are blocked by the sd function, they can't
be used as GPIOs.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Reported-by: Kristian Evensen <kristian.evensen@gmail.com>
Fixes: f576fb6a0700 ("MIPS: ralink: cleanup the soc specific pinmux
data")
Cc: stable@vger.kernel.org # v3.18+
---
arch/mips/ralink/mt7620.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c
index 41b71c4352c2..c1ce6f43642b 100644
--- a/arch/mips/ralink/mt7620.c
+++ b/arch/mips/ralink/mt7620.c
@@ -84,7 +84,7 @@ static struct rt2880_pmx_func pcie_rst_grp[] = {
};
static struct rt2880_pmx_func nd_sd_grp[] = {
FUNC("nand", MT7620_GPIO_MODE_NAND, 45, 15),
- FUNC("sd", MT7620_GPIO_MODE_SD, 45, 15)
+ FUNC("sd", MT7620_GPIO_MODE_SD, 47, 13)
};
static struct rt2880_pmx_group mt7620a_pinmux_data[] = {
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] MIPS: ralink: Fix mt7620 nd_sd pinmux
2018-11-26 10:25 [PATCH] MIPS: ralink: Fix mt7620 nd_sd pinmux Mathias Kresin
@ 2018-11-26 18:22 ` Paul Burton
0 siblings, 0 replies; 2+ messages in thread
From: Paul Burton @ 2018-11-26 18:22 UTC (permalink / raw)
To: Mathias Kresin
Cc: John Crispin, Ralf Baechle, Paul Burton, James Hogan, linux-mips,
linux-kernel, stable, linux-mips
Hello,
Mathias Kresin wrote:
> In case the nd_sd group is set to the sd-card function, Pins 45 + 46 are
> configured as GPIOs. If they are blocked by the sd function, they can't
> be used as GPIOs.
>
> Signed-off-by: Mathias Kresin <dev@kresin.me>
> Reported-by: Kristian Evensen <kristian.evensen@gmail.com>
> Fixes: f576fb6a0700 ("MIPS: ralink: cleanup the soc specific pinmux
> data")
> Cc: stable@vger.kernel.org # v3.18+
Applied to mips-fixes.
Thanks,
Paul
[ This message was auto-generated; if you believe anything is incorrect
then please email paul.burton@mips.com to report it. ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-26 18:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-26 10:25 [PATCH] MIPS: ralink: Fix mt7620 nd_sd pinmux Mathias Kresin
2018-11-26 18:22 ` Paul Burton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®