All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Anand Moon <linux.amoon@gmail.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>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support
Date: Mon, 12 Oct 2015 14:44:23 +0900	[thread overview]
Message-ID: <561B48B7.1040201@samsung.com> (raw)
In-Reply-To: <1444578364-1384-3-git-send-email-linux.amoon@gmail.com>

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.

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 {
> 


WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
To: Anand Moon <linux.amoon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Kukjin Kim <kgene-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Javier Martinez Canillas
	<javier-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>,
	Lukasz Majewski
	<l.majewski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Jaehoon Chung
	<jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support
Date: Mon, 12 Oct 2015 14:44:23 +0900	[thread overview]
Message-ID: <561B48B7.1040201@samsung.com> (raw)
In-Reply-To: <1444578364-1384-3-git-send-email-linux.amoon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

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.

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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 
> ---
> 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 {
> 

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: k.kozlowski@samsung.com (Krzysztof Kozlowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support
Date: Mon, 12 Oct 2015 14:44:23 +0900	[thread overview]
Message-ID: <561B48B7.1040201@samsung.com> (raw)
In-Reply-To: <1444578364-1384-3-git-send-email-linux.amoon@gmail.com>

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.

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 {
> 

  reply	other threads:[~2015-10-12  5:44 UTC|newest]

Thread overview: 138+ 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 ` 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-11 15:46   ` Anand Moon
2015-10-12  4:42   ` Krzysztof Kozlowski
2015-10-12  4:42     ` Krzysztof Kozlowski
2015-10-12  5:49     ` Krzysztof Kozlowski
2015-10-12  5:49       ` Krzysztof Kozlowski
2015-10-12 11:08       ` Anand Moon
2015-10-12 11:08         ` Anand Moon
2015-10-12 11:08         ` Anand Moon
2015-10-12 12:13         ` Krzysztof Kozlowski
2015-10-12 12:13           ` Krzysztof Kozlowski
2015-10-12 12:13           ` Krzysztof Kozlowski
2015-10-12 14:33           ` Anand Moon
2015-10-12 14:33             ` Anand Moon
2015-10-13  0:10             ` Krzysztof Kozlowski
2015-10-13  0:10               ` Krzysztof Kozlowski
2015-10-13  2:29               ` Anand Moon
2015-10-13  2:29                 ` Anand Moon
2015-10-13  2:39                 ` Jaehoon Chung
2015-10-13  2:39                   ` Jaehoon Chung
2015-10-13  2:45                   ` Anand Moon
2015-10-13  2:45                     ` Anand Moon
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
2015-10-11 15:46   ` Anand Moon
2015-10-12  5:44   ` Krzysztof Kozlowski [this message]
2015-10-12  5:44     ` Krzysztof Kozlowski
2015-10-12  5:44     ` Krzysztof Kozlowski
2015-10-12 10:46     ` Anand Moon
2015-10-12 10:46       ` Anand Moon
2015-10-12 10:46       ` Anand Moon
2015-10-12 10:51       ` Jaehoon Chung
2015-10-12 10:51         ` Jaehoon Chung
2015-10-12 10:51         ` Jaehoon Chung
2015-10-12 11:23         ` Anand Moon
2015-10-12 11:23           ` Anand Moon
2015-10-12 11:23           ` Anand Moon
2015-10-12 12:42       ` Krzysztof Kozlowski
2015-10-12 12:42         ` Krzysztof Kozlowski
2015-10-12 12:42         ` Krzysztof Kozlowski
2015-10-12 13:04         ` Jaehoon Chung
2015-10-12 13:04           ` Jaehoon Chung
2015-10-12 13:04           ` Jaehoon Chung
2015-10-12 13:16           ` Krzysztof Kozlowski
2015-10-12 13:16             ` Krzysztof Kozlowski
2015-10-12 13:16             ` Krzysztof Kozlowski
2015-10-13  2:28             ` Jaehoon Chung
2015-10-13  2:28               ` Jaehoon Chung
2015-10-13  2:28               ` Jaehoon Chung
2015-10-12 15:32     ` Anand Moon
2015-10-12 15:32       ` Anand Moon
2015-10-12 15:32       ` Anand Moon
2015-10-13  0:14       ` Krzysztof Kozlowski
2015-10-13  0:14         ` Krzysztof Kozlowski
2015-10-13  0:14         ` Krzysztof Kozlowski
2015-10-13  3:08         ` Anand Moon
2015-10-13  3:08           ` Anand Moon
2015-10-13  3:08           ` Anand Moon
2015-10-13  3:43           ` Krzysztof Kozlowski
2015-10-13  3:43             ` Krzysztof Kozlowski
2015-10-13  3:43             ` Krzysztof Kozlowski
2015-10-13  3:49             ` Anand Moon
2015-10-13  3:49               ` Anand Moon
2015-10-13  3:49               ` Anand Moon
2015-10-13 16:27             ` Anand Moon
2015-10-13 16:27               ` Anand Moon
2015-10-13 16:27               ` Anand Moon
2015-10-13 23:59               ` Krzysztof Kozlowski
2015-10-13 23:59                 ` Krzysztof Kozlowski
2015-10-13 23:59                 ` Krzysztof Kozlowski
2015-10-14  1:06                 ` Alim Akhtar
2015-10-14  1:06                   ` Alim Akhtar
2015-10-14  1:06                   ` Alim Akhtar
2015-10-14  1:15                   ` Krzysztof Kozlowski
2015-10-14  1:15                     ` Krzysztof Kozlowski
2015-10-14  1:15                     ` Krzysztof Kozlowski
2015-10-14  1:40                     ` Jaehoon Chung
2015-10-14  1:40                       ` Jaehoon Chung
2015-10-14  1:40                       ` Jaehoon Chung
2015-10-14  1:52                       ` Krzysztof Kozlowski
2015-10-14  1:52                         ` Krzysztof Kozlowski
2015-10-14  1:52                         ` Krzysztof Kozlowski
2015-10-14  2:08                         ` Alim Akhtar
2015-10-14  2:08                           ` Alim Akhtar
2015-10-14  2:08                           ` Alim Akhtar
2015-10-14  2:13                     ` Alim Akhtar
2015-10-14  2:13                       ` Alim Akhtar
2015-10-14  2:13                       ` Alim Akhtar
2015-10-14  2:20                       ` Krzysztof Kozlowski
2015-10-14  2:20                         ` Krzysztof Kozlowski
2015-10-14  2:20                         ` Krzysztof Kozlowski
2015-10-14  2:26                         ` Alim Akhtar
2015-10-14  2:26                           ` Alim Akhtar
2015-10-14  2:26                           ` Alim Akhtar
2015-10-14 22:40                   ` Doug Anderson
2015-10-14 22:40                     ` Doug Anderson
2015-10-14 22:40                     ` Doug Anderson
2015-10-19 10:11                     ` Anand Moon
2015-10-19 10:11                       ` Anand Moon
2015-10-19 10:11                       ` Anand Moon
2015-10-19 13:43                       ` Krzysztof Kozlowski
2015-10-19 13:43                         ` Krzysztof Kozlowski
2015-10-19 13:43                         ` Krzysztof Kozlowski
2015-10-19 15:11                       ` Doug Anderson
2015-10-19 15:11                         ` Doug Anderson
2015-10-19 15:11                         ` Doug Anderson
2015-10-14  3:58                 ` Anand Moon
2015-10-14  3:58                   ` Anand Moon
2015-10-14  3:58                   ` Anand Moon
2015-10-14  4:18                   ` Krzysztof Kozlowski
2015-10-14  4:18                     ` Krzysztof Kozlowski
2015-10-14  4:18                     ` Krzysztof Kozlowski
2015-10-21 10:28                   ` Jaehoon Chung
2015-10-21 10:28                     ` Jaehoon Chung
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:29   ` Krzysztof Kozlowski
2015-10-12  4:43   ` Jaehoon Chung
2015-10-12  4:43     ` Jaehoon Chung
2015-10-12 14:47     ` Anand Moon
2015-10-12 14:47       ` Anand Moon
2015-10-13  0:12       ` Krzysztof Kozlowski
2015-10-13  0:12         ` Krzysztof Kozlowski
2015-10-13  0:12         ` Krzysztof Kozlowski
2015-10-13  2:06         ` Jaehoon Chung
2015-10-13  2:06           ` Jaehoon Chung
2015-10-13  2:06           ` Jaehoon Chung
2015-10-13  3:21           ` Anand Moon
2015-10-13  3:21             ` Anand Moon
2015-10-13  3:21             ` Anand Moon
2015-10-13  4:07           ` Anand Moon
2015-10-13  4:07             ` Anand Moon
2015-10-13  4:07             ` Anand Moon
2015-10-13  2:41         ` Anand Moon
2015-10-13  2:41           ` 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=561B48B7.1040201@samsung.com \
    --to=k.kozlowski@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=javier@osg.samsung.com \
    --cc=jh80.chung@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 \
    --cc=linux.amoon@gmail.com \
    /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.