From: Anand Moon <linux.amoon@gmail.com>
To: Doug Anderson <dianders@chromium.org>
Cc: Alim Akhtar <alim.akhtar@gmail.com>,
Krzysztof Kozlowski <k.kozlowski@samsung.com>,
Kukjin Kim <kgene@kernel.org>,
Javier Martinez Canillas <javier@osg.samsung.com>,
Lukasz Majewski <l.majewski@samsung.com>,
Jaehoon Chung <jh80.chung@samsung.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-samsung-soc@vger.kernel.org"
<linux-samsung-soc@vger.kernel.org>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support
Date: Mon, 19 Oct 2015 15:41:44 +0530 [thread overview]
Message-ID: <CANAwSgSd8sHDcmGmck=Em2H5WJzVWM28cbvs9z6CFgpuTY_Juw@mail.gmail.com> (raw)
In-Reply-To: <CAD=FV=Voh6Xh_naWQTaRPP8YUS2xJh7jfA+zYbH9QdVhmyZz9A@mail.gmail.com>
Hi Doug/ Krzysztof ,
On 15 October 2015 at 04:10, Doug Anderson <dianders@chromium.org> wrote:
> Hi,
>
> On Tue, Oct 13, 2015 at 6:06 PM, Alim Akhtar <alim.akhtar@gmail.com> wrote:
>> +Doug
>> Hello,
>> AFAIR, dw_mmc host controller does support UHS-I [1], specially SDR50
>> and SDR104 modes.
>>
>> [1]: http://www.spinics.net/lists/linux-mmc/msg28186.html
>>
>> What I remember is, one need to set "broken-cd" property also in order
>> to make it work because of the vqmmc and vmmc connection on board. I
>> didn't find the link right now, but you can search on the web, there
>> was a long discussion about handling this.
>> Have not checked it recently, so not sure if this got broken somehow.
>
> Right. It _shouldn't_ be possible to add "vmmc/vqmmc" supplies to
> your DTS (which you do in patch 2/3) and also to use the "gpc2-2" pin
> for card detect (even if you configure it as a GPIO). Once you add
> "vmmc/vqmmc" then Linux ought to be turning these regulators off when
> no card is plugged in. Presumably the "vqmmc" regulator is hooked up
> to the "VDDQ_MMC2". If you look in the user manual for 5422 you can
> see that "GPC2[2]/SD_2_CDn" has power domain "VDDQ_MMC2". Thus you
> really shouldn't be using that pin when vqmmc is off. I think at some
> point someone claimed that it still worked for them, but nobody could
> ever explain why. Full discussion at
> <https://patchwork.kernel.org/patch/4763881/>
>
> ---
>
> In case it matters, comments on stuff from earlier in the thread:
>
> * As people pointed out, exynos5422 certainly supports all these modes
> (including DDR50) in the SoC.
>
> * Just because the SoC supports these modes doesn't mean that the
> boards do, which is why the SoC .dtsi doesn't include them. Thus,
> this patch is "right" in that it changes a board-specific file.
>
> * As Krzysztof points out this board doesn't "add" support but rather
> "enables" support. The distinction is subtle.
>
> * You might be able to get DDR50 working, but probably better to just
> start with SDR modes. Previously I never attempted to get DDR50 cards
> working, so possibly the software needs extra work?
>
Thanks for clarifying all the background details on the mmc changes.
Here is what I would conclude from the previous mail chain's.
1 Drop the cd-gpios changes. pinctrl-0 changes.
2 Fix the regulator changes for vmmc/vqmmc with disable of regulator-always-on;
3 Drop this UHS-I changes as if now.
Is this ok with you.
-Anand Moon
>
> -Doug
next prev parent reply other threads:[~2015-10-19 10:11 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-11 15:46 [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card Anand Moon
2015-10-11 15:46 ` [PATCH 2/3] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3 Anand Moon
2015-10-12 4:42 ` Krzysztof Kozlowski
2015-10-12 5:49 ` Krzysztof Kozlowski
2015-10-12 11:08 ` Anand Moon
2015-10-12 12:13 ` Krzysztof Kozlowski
2015-10-12 14:33 ` Anand Moon
2015-10-13 0:10 ` Krzysztof Kozlowski
2015-10-13 2:29 ` Anand Moon
2015-10-13 2:39 ` Jaehoon Chung
[not found] ` <561C6ED3.4090101-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-10-13 2:45 ` Anand Moon
2015-10-11 15:46 ` [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Anand Moon
[not found] ` <1444578364-1384-3-git-send-email-linux.amoon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-10-12 5:44 ` Krzysztof Kozlowski
2015-10-12 10:46 ` Anand Moon
2015-10-12 10:51 ` Jaehoon Chung
2015-10-12 11:23 ` Anand Moon
2015-10-12 12:42 ` Krzysztof Kozlowski
2015-10-12 13:04 ` Jaehoon Chung
2015-10-12 13:16 ` Krzysztof Kozlowski
2015-10-13 2:28 ` Jaehoon Chung
2015-10-12 15:32 ` Anand Moon
2015-10-13 0:14 ` Krzysztof Kozlowski
2015-10-13 3:08 ` Anand Moon
2015-10-13 3:43 ` Krzysztof Kozlowski
[not found] ` <561C7DF1.6000609-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-10-13 3:49 ` Anand Moon
2015-10-13 16:27 ` Anand Moon
2015-10-13 23:59 ` Krzysztof Kozlowski
2015-10-14 1:06 ` Alim Akhtar
2015-10-14 1:15 ` Krzysztof Kozlowski
2015-10-14 1:40 ` Jaehoon Chung
2015-10-14 1:52 ` Krzysztof Kozlowski
2015-10-14 2:08 ` Alim Akhtar
2015-10-14 2:13 ` Alim Akhtar
2015-10-14 2:20 ` Krzysztof Kozlowski
2015-10-14 2:26 ` Alim Akhtar
2015-10-14 22:40 ` Doug Anderson
2015-10-19 10:11 ` Anand Moon [this message]
2015-10-19 13:43 ` Krzysztof Kozlowski
[not found] ` <CANAwSgSd8sHDcmGmck=Em2H5WJzVWM28cbvs9z6CFgpuTY_Juw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-19 15:11 ` Doug Anderson
2015-10-14 3:58 ` Anand Moon
2015-10-14 4:18 ` Krzysztof Kozlowski
2015-10-21 10:28 ` Jaehoon Chung
2015-10-12 4:29 ` [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card Krzysztof Kozlowski
2015-10-12 4:43 ` Jaehoon Chung
2015-10-12 14:47 ` Anand Moon
2015-10-13 0:12 ` Krzysztof Kozlowski
[not found] ` <561C4C88.2040004-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-10-13 2:06 ` Jaehoon Chung
2015-10-13 3:21 ` Anand Moon
[not found] ` <561C6713.1070508-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-10-13 4:07 ` Anand Moon
2015-10-13 2:41 ` Anand Moon
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='CANAwSgSd8sHDcmGmck=Em2H5WJzVWM28cbvs9z6CFgpuTY_Juw@mail.gmail.com' \
--to=linux.amoon@gmail.com \
--cc=alim.akhtar@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=javier@osg.samsung.com \
--cc=jh80.chung@samsung.com \
--cc=k.kozlowski@samsung.com \
--cc=kgene@kernel.org \
--cc=l.majewski@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@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;
as well as URLs for NNTP newsgroup(s).