From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f195.google.com ([209.85.192.195]:34819 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754832AbcJRCzO (ORCPT ); Mon, 17 Oct 2016 22:55:14 -0400 Received: by mail-pf0-f195.google.com with SMTP id s8so13896841pfj.2 for ; Mon, 17 Oct 2016 19:55:14 -0700 (PDT) Date: Mon, 17 Oct 2016 13:46:03 -0700 From: Olof Johansson To: Linus Walleij Cc: arm@kernel.org, linux-arm-kernel@lists.infradead.org, daniel.lezcano@linaro.org, stable@vger.kernel.org, Ulf Hansson Subject: Re: [PATCH] ARM: dts: fix the SD card on the Snowball Message-ID: <20161017204603.GA3264@localhost> References: <1475830337-13016-1-git-send-email-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1475830337-13016-1-git-send-email-linus.walleij@linaro.org> Sender: stable-owner@vger.kernel.org List-ID: On Fri, Oct 07, 2016 at 10:52:17AM +0200, Linus Walleij wrote: > This fixes a very annoying regression on the Snowball SD card > that has been around for a while. It turns out that the device > tree does not configure the direction pins properly, nor sets > up the pins for the voltage converter properly at boot. Unless > all things are correctly set up, the feedback clock will not > work, and makes the driver spew messages in the console (but > it works, very slowly): > > root@Ux500:/ mount /dev/mmcblk0p2 /mnt/ > [ 9.953460] mmci-pl18x 80126000.sdi0_per1: error during DMA transfer! > [ 9.960296] mmcblk0: error -110 sending status command, retrying > [ 9.966461] mmcblk0: error -110 sending status command, retrying > [ 9.972534] mmcblk0: error -110 sending status command, aborting > > Fix this by rectifying the device tree to correspond to that of > the Ux500 HREF boards plus the DAT31DIR setting that is unique for > the Snowball, and things start working smoothly. Add in the SDR12 > and SDR25 modes which this host can do without any problems. > > I don't know if this has ever been correct, sadly. It works after > this patch. > > Cc: stable@vger.kernel.org > Reported-by: Daniel Lezcano > Cc: Ulf Hansson > Signed-off-by: Linus Walleij > --- > ARM SoC folks: please apply this directly for fixes. Applied, thanks. -Olof