Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1244609

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Anand Moon <linux.amoon@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support
Date Mon, 12 Oct 2015 13:30:03 +0200
Message-ID <qiJsL-5Ti-33@gated-at.bofh.it> (permalink)
References <qir2N-4ja-5@gated-at.bofh.it> <qir2N-4ja-11@gated-at.bofh.it> <qiE9H-6wD-7@gated-at.bofh.it> <qiIQ2-4TF-21@gated-at.bofh.it> <qiIZH-54Y-7@gated-at.bofh.it>
X-Original-To Jaehoon Chung <jh80.chung@samsung.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=WyoDi008oOlPKwJigGspb86bwu922WzQQ1RNB/ZNHeg=; b=T+rQawLXe+RWe8L0C4Sd+s8fbbL3cQsfLfbMbW1I3sBVAw0JCZs2Q6xhLaOgmETiRP 3yYSIOqDfeFV8zkhNgRbB4kvr5FjWYiSGCDKXu3fDIpPYjFozYneZQt1ZscvM67WItxs VsYvAo9Grzjd0VaP8rZr4xM5mgOUI3W2S3N/iFcPKrXLvUGUlXt3IH/mBQ2TTTZnDPmb Nn3Q8allDz0sPrALTtB2xnLjYz+UdtFEY1QKqS9PgOlYleM8VF86gwFTdkVv1drWY75Y taRAe8Nelob8j9FhYJA6mH2tK8XRZgUXJHDRgwXQ2I8xaE4D7lztSQukz1YntLA6LtQF MHBA==
X-Received by 10.194.10.162 with SMTP id j2mr29864458wjb.43.1444649057409; Mon, 12 Oct 2015 04:24:17 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 117
Organization linux.* mail to news gateway
X-Original-Cc Krzysztof Kozlowski <k.kozlowski@samsung.com>, Kukjin Kim <kgene@kernel.org>, Javier Martinez Canillas <javier@osg.samsung.com>, Lukasz Majewski <l.majewski@samsung.com>, devicetree@vger.kernel.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>
X-Original-Date Mon, 12 Oct 2015 16:53:57 +0530
X-Original-Message-ID <CANAwSgSS3Tv_CfX3s1f6VxZre86c66Eg=AdTkwQr6xtPF5WOfA@mail.gmail.com>
X-Original-References <1444578364-1384-1-git-send-email-linux.amoon@gmail.com> <1444578364-1384-3-git-send-email-linux.amoon@gmail.com> <561B48B7.1040201@samsung.com> <CANAwSgSk0yHGvnoVoTk9MnUqjyEw1+yzH=C-1s_wxVkpGRHCEg@mail.gmail.com> <561B90B1.1090100@samsung.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1244609

Show key headers only | View raw


Hi Jaehoon Chung

On 12 October 2015 at 16:21, Jaehoon Chung <jh80.chung@samsung.com> wrote:
> On 10/12/2015 07:46 PM, Anand Moon wrote:
>> Hi Krzysztof,
>>
>> On 12 October 2015 at 11:14, Krzysztof Kozlowski
>> <k.kozlowski@samsung.com> wrote:
>>> On 12.10.2015 00:46, Anand Moon wrote:
>>>> Added support for UHS-I bus speed 50MB/s (SDR50, DDR50) 104MB/s (SDR104)
>>>
>>> This description is not entirely correct. The MMC driver already
>>> supports these UHS speeds (you did not any code) so you rather enabled
>>> it (description of bindings says "is supported").
>>>
>>> You mentioned DDR50 but I don't see respective property below.
>> Looks like I missed it, I will add this in the next patch,
>>>
>>> How do you know that these modes are really supported? I don't know. Can
>>> you convince me?
>>>
>>
>>>>
>>>> Signed-off-by: Anand Moon <linux.amoon@gmail.com>
>>>>
>>>> ---
>>>> Changes based on git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git v4.4-next/dt-samsung branch
>>>>
>>>> Changes Fixed the UHS-I bus speed detedtion on cold boot.
>>>
>>> I don't get what is exactly fixed here. What was the error? What is the
>>> outcome of this fix? The log below is before or after?
>>>
>>> Best regards,
>>> Krzysztof
>>>
>>>>
>>>> [    2.439806] mmc_host mmc1: Bus speed (slot 0) = 100000000Hz (slot req 100000000Hz, actual 100000000HZ div = 0)
>>>> [    2.449729] mmc1: new ultra high speed SDR50 SDHC card at address aaaa
>>>> [    2.455984] mmcblk0: mmc1:aaaa SL32G 29.7 GiB
>>>> [    2.461743]  mmcblk0: p1 p2
>>>
>>>> ---
>>>>  arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 4 ++++
>>>>  1 file changed, 4 insertions(+)
>>>>
>>>> diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi
>>>> index 58c06d3..ba4a87b 100644
>>>> --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi
>>>> +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi
>>>> @@ -364,6 +364,10 @@
>>>>       pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
>>>>       bus-width = <4>;
>>>>       cap-sd-highspeed;
>>>> +     sd-uhs-sdr12;
>>>> +     sd-uhs-sdr25;
>>>> +     sd-uhs-sdr50;
>>>> +     sd-uhs-sdr104;
>>>>  };
>>>>
>>>>  &pinctrl_0 {
>>>>
>>>
>>
>> Changes were made to support Sandisk Ultra UHS-I class 10 card support.
>> OdroidXU3/XU4 board would not boot up using this card.
>>
>> Depending on the capability of the UHS-I card, the speed of the card
>> is selected.
>> I have just added the enhance capability feature to support them.
>>
>> On warm boot: i.e reboot of the board.
>> [    4.649073] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot
>> req 50000000Hz, actual 50000000HZ div = 0)
>> [    4.657555] mmc1: new high speed SDHC card at address aaaa
>> [    4.663787] mmcblk0: mmc1:aaaa SL32G 29.7 GiB
>> [    4.669206]  mmcblk0: p1 p2
>>
>> On cold boot:: ie: power on the board.
>>
>> [    4.630237] mmc_host mmc1: Bus speed (slot 0) = 100000000Hz (slot
>> req 100000000Hz, actual 100000000HZ div = 0)
>> [    4.639820] mmc1: new ultra high speed SDR50 SDHC card at address aaaa
>> [    4.646266] mmcblk0: mmc1:aaaa SL32G 29.7 GiB
>> [    4.650293] IRQ56 no longer affine to CPU7
>> [    4.650581] CPU7: shutdown
>> [    4.658293]  mmcblk0: p1 p2
>>
>> Note: Their is need to reset the PMIC
>> S2MPS11_REG_L13CTRL/S2MPS11_REG_L19CTRL registers
>>          to support this feature consistently on every reboot.
>
> I don't understand...why needs to reset?
> I know it needs to switch the voltage, doesn't it?
>

I was referring to this code.

https://github.com/hardkernel/linux/blob/odroidxu3-3.10.y/drivers/regulator/s2mps11.c#L451

I am not sure if this need to fixed in u-boot of hardkernel or
shutdown function.

-Anand Moon

> Best Regards,
> Jaehoon Chung
>
>>
>> -Anand Moon
>>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card Anand Moon <linux.amoon@gmail.com> - 2015-10-11 17:50 +0200
  [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Anand Moon <linux.amoon@gmail.com> - 2015-10-11 17:50 +0200
    Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-12 07:50 +0200
      Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Anand Moon <linux.amoon@gmail.com> - 2015-10-12 12:50 +0200
        Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Jaehoon Chung <jh80.chung@samsung.com> - 2015-10-12 13:00 +0200
          Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Anand Moon <linux.amoon@gmail.com> - 2015-10-12 13:30 +0200
        Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-12 14:50 +0200
          Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Jaehoon Chung <jh80.chung@samsung.com> - 2015-10-12 15:10 +0200
            Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-12 15:20 +0200
              Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Jaehoon Chung <jh80.chung@samsung.com> - 2015-10-13 04:30 +0200
      Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Anand Moon <linux.amoon@gmail.com> - 2015-10-12 17:40 +0200
        Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-13 02:20 +0200
          Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Anand Moon <linux.amoon@gmail.com> - 2015-10-13 05:10 +0200
            Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Anand Moon <linux.amoon@gmail.com> - 2015-10-13 05:50 +0200
            Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-13 05:50 +0200
              Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Anand Moon <linux.amoon@gmail.com> - 2015-10-13 18:30 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-14 02:10 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Alim Akhtar <alim.akhtar@gmail.com> - 2015-10-14 03:10 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-14 03:20 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Jaehoon Chung <jh80.chung@samsung.com> - 2015-10-14 03:50 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-14 04:00 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Alim Akhtar <alim.akhtar@gmail.com> - 2015-10-14 04:10 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Alim Akhtar <alim.akhtar@gmail.com> - 2015-10-14 04:20 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Alim Akhtar <alim.akhtar@gmail.com> - 2015-10-14 04:30 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-14 04:30 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Doug Anderson <dianders@chromium.org> - 2015-10-15 00:50 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support Anand Moon <linux.amoon@gmail.com> - 2015-10-14 06:00 +0200
                Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed  support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-14 06:20 +0200
  Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to  detect sd-card Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-12 06:40 +0200
    Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to  detect sd-card Jaehoon Chung <jh80.chung@samsung.com> - 2015-10-12 06:50 +0200
      Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to  detect sd-card Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-10-13 02:20 +0200
        Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to  detect sd-card Jaehoon Chung <jh80.chung@samsung.com> - 2015-10-13 04:10 +0200
          Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to  detect sd-card Anand Moon <linux.amoon@gmail.com> - 2015-10-13 05:30 +0200
          Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to  detect sd-card Anand Moon <linux.amoon@gmail.com> - 2015-10-13 06:10 +0200
        Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to  detect sd-card Anand Moon <linux.amoon@gmail.com> - 2015-10-13 04:50 +0200

csiph-web