linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: at91: fix at91sam9263ek DT mmc pinmuxing settings
@ 2014-09-23 11:42 Andreas Henriksson
  2014-09-23 11:47 ` Boris BREZILLON
  2014-09-23 12:06 ` Nicolas Ferre
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Henriksson @ 2014-09-23 11:42 UTC (permalink / raw)
  To: linux-arm-kernel

As discovered on a custom board similar to at91sam9263ek and basing
its devicetree on that one apparently the pin muxing doesn't get
set up properly. This was discovered since the custom boards u-boot
does funky stuff with the pin muxing and leaved it set to SPI
which made the MMC driver not work under Linux.
The fix is simply to define the given configuration as the default.
This probably worked by pure luck before, but it's better to
make the muxing explicitly set.

CC: Boris BREZILLON <boris.brezillon@free-electrons.com>
Signed-off-by: Andreas Henriksson <andreas.henriksson@endian.se>
---
 arch/arm/boot/dts/at91sam9263ek.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot/dts/at91sam9263ek.dts
index 5cf93ee..33a4f9a 100644
--- a/arch/arm/boot/dts/at91sam9263ek.dts
+++ b/arch/arm/boot/dts/at91sam9263ek.dts
@@ -64,6 +64,7 @@
 			};
 
 			mmc0: mmc at fff80000 {
+				pinctrl-names = "default";
 				pinctrl-0 = <
 					&pinctrl_board_mmc0
 					&pinctrl_mmc0_clk
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-24 16:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 11:42 [PATCH] ARM: at91: fix at91sam9263ek DT mmc pinmuxing settings Andreas Henriksson
2014-09-23 11:47 ` Boris BREZILLON
2014-09-23 12:06 ` Nicolas Ferre
2014-09-23 15:12   ` [PATCH v2] " Andreas Henriksson
2014-09-23 15:43     ` Boris BREZILLON
2014-09-24 16:11     ` Nicolas Ferre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).