From: olof@lixom.net (Olof Johansson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: fix the SD card on the Snowball
Date: Mon, 17 Oct 2016 13:46:03 -0700 [thread overview]
Message-ID: <20161017204603.GA3264@localhost> (raw)
In-Reply-To: <1475830337-13016-1-git-send-email-linus.walleij@linaro.org>
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 at 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 at vger.kernel.org
> Reported-by: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC folks: please apply this directly for fixes.
Applied, thanks.
-Olof
WARNING: multiple messages have this Message-ID (diff)
From: Olof Johansson <olof@lixom.net>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: arm@kernel.org, linux-arm-kernel@lists.infradead.org,
daniel.lezcano@linaro.org, stable@vger.kernel.org,
Ulf Hansson <ulf.hansson@linaro.org>
Subject: Re: [PATCH] ARM: dts: fix the SD card on the Snowball
Date: Mon, 17 Oct 2016 13:46:03 -0700 [thread overview]
Message-ID: <20161017204603.GA3264@localhost> (raw)
In-Reply-To: <1475830337-13016-1-git-send-email-linus.walleij@linaro.org>
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 <daniel.lezcano@linaro.org>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC folks: please apply this directly for fixes.
Applied, thanks.
-Olof
next prev parent reply other threads:[~2016-10-17 20:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-07 8:52 [PATCH] ARM: dts: fix the SD card on the Snowball Linus Walleij
2016-10-07 8:52 ` Linus Walleij
2016-10-17 20:46 ` Olof Johansson [this message]
2016-10-17 20:46 ` Olof Johansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161017204603.GA3264@localhost \
--to=olof@lixom.net \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.