From patchwork Tue Sep 23 11:42:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Henriksson X-Patchwork-Id: 4955891 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CC103BEEA5 for ; Tue, 23 Sep 2014 11:46:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 99D35200E3 for ; Tue, 23 Sep 2014 11:46:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 13CC9200E9 for ; Tue, 23 Sep 2014 11:46:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XWOVC-0003Ko-Og; Tue, 23 Sep 2014 11:43:26 +0000 Received: from thor.iszerviz.hu ([62.77.131.9]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XWOVA-0003HD-0b for linux-arm-kernel@lists.infradead.org; Tue, 23 Sep 2014 11:43:24 +0000 Received: from mbpah (endian.se [88.131.41.130]) by thor.iszerviz.hu (Postfix) with ESMTPSA id 93CDF100CB1; Tue, 23 Sep 2014 13:42:52 +0200 (CEST) Received: from ah by mbpah with local (Exim 4.84) (envelope-from ) id 1XWOV4-0008Rw-FF; Tue, 23 Sep 2014 13:43:18 +0200 From: Andreas Henriksson To: Andrew Victor , Nicolas Ferre , Jean-Christophe Plagniol-Villard Subject: [PATCH] ARM: at91: fix at91sam9263ek DT mmc pinmuxing settings Date: Tue, 23 Sep 2014 13:42:44 +0200 Message-Id: <1411472564-32448-1-git-send-email-andreas.henriksson@endian.se> X-Mailer: git-send-email 2.1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140923_044324_239230_0B79DE5A X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) Cc: Boris BREZILLON , Andreas Henriksson , Andreas Henriksson , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Signed-off-by: Andreas Henriksson Acked-by: Boris Brezillon --- 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@fff80000 { + pinctrl-names = "default"; pinctrl-0 = < &pinctrl_board_mmc0 &pinctrl_mmc0_clk