From: "David Müller (ELSOFT AG)" <d.mueller@elsoft.ch>
To: Jean-Michel Hautbois <jhautbois@gmail.com>
Cc: "linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>
Subject: Re: "Card stuck in programming state! __mmc_switch" problem on i.MX6 + eMMC
Date: Wed, 17 Sep 2014 09:45:57 +0200 [thread overview]
Message-ID: <54193C35.8060104@elsoft.ch> (raw)
In-Reply-To: <CAL8zT=hahrDA++0Y3K=m5XXvwRBNRyfW2NWfQWjFV0cg6sHS2A@mail.gmail.com>
Hi Jean-Michel
Jean-Michel Hautbois wrote:
> Can you show your DT (at least pinmux part and usdhc3 node) ?
pinctrl_usdhc3: usdhc3grp {
fsl,pins = <
MX6QDL_PAD_SD3_CMD__SD3_CMD 0x1b0b1
MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100b1
MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x1b0b1
MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x1b0b1
MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x1b0b1
MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x1b0b1
MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x1b0b1
MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x1b0b1
MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x1b0b1
MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x1b0b1
MX6QDL_PAD_SD3_RST__SD3_RESET 0x1b070
>;
};
&usdhc3 { /* eMMC */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc3>;
vmmc-supply = <®_3v15>;
non-removable;
no-1-8-v;
bus-width = <8>;
status = "okay";
};
I've tracked the problem down to the point were the MMC code tries to
switch the eMMC to 8bit bus width (mmc_select_bus_width()).
next prev parent reply other threads:[~2014-09-17 7:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-16 14:37 "Card stuck in programming state! __mmc_switch" problem on i.MX6 + eMMC David Müller (ELSOFT AG)
2014-09-16 15:14 ` Jean-Michel Hautbois
2014-09-17 7:45 ` David Müller (ELSOFT AG) [this message]
2014-09-30 0:35 ` Fabio Estevam
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=54193C35.8060104@elsoft.ch \
--to=d.mueller@elsoft.ch \
--cc=jhautbois@gmail.com \
--cc=linux-mmc@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox