All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Reichl <m.reichl@fivetechno.de>
To: linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH 1/1] ARM: dts: Add HS400 support for exynos5422-odroidxu3
Date: Tue, 31 Mar 2015 14:27:50 +0200	[thread overview]
Message-ID: <551A92C6.7070906@fivetechno.de> (raw)
In-Reply-To: <551970E5.3000308@fivetechno.de>

[-- Attachment #1: Type: text/plain, Size: 2172 bytes --]

Am 30.03.2015 um 17:51 schrieb Markus Reichl:
> HS400 timing values are added for exynos5422-odroidxu3 board.
> ---
> This patch is analog to [0].
> This patch needs [0] for the pin-ctrl definition of sd0_rclk.
> 
> [0]: https://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg42902.html
> 
> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
> ---
>  arch/arm/boot/dts/exynos5422-odroidxu3.dts | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
> index a519c86..0408ec0 100644
> --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
> +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
> @@ -298,15 +298,20 @@
>  
>  &mmc_0 {
>  	status = "okay";
> +	num-slots = <1>;
>  	broken-cd;
>  	card-detect-delay = <200>;
>  	samsung,dw-mshc-ciu-div = <3>;
>  	samsung,dw-mshc-sdr-timing = <0 4>;
>  	samsung,dw-mshc-ddr-timing = <0 2>;
> +	samsung,dw-mshc-hs400-timing = <0 2>;
> +	samsung,read-strobe-delay = <90>;
>  	pinctrl-names = "default";
> -	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
> +	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>;
>  	bus-width = <8>;
>  	cap-mmc-highspeed;
> +	mmc-hs200-1_8v;
> +	mmc-hs400-1_8v;
>  };
>  
>  &mmc_2 {
> 

hdparm -t /dev/mmcblk0

without this patch:
/dev/mmcblk0:
 Timing buffered disk reads: 230 MB in  3.01 seconds =  76.30 MB/sec

with this patch:
/dev/mmcblk0:
 Timing buffered disk reads: 588 MB in  3.00 seconds = 195.92 MB/sec

cat /sys/kernel/debug/mmc0/ios

without patch:
clock:          52000000 Hz
vdd:            7 (1.65 - 1.95 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      3 (8 bits)
timing spec:    8 (mmc DDR52)
signal voltage: 0 (1.80 V)

with patch:
clock:          200000000 Hz
vdd:            7 (1.65 - 1.95 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      3 (8 bits)
timing spec:    10 (mmc HS400)
signal voltage: 0 (1.80 V)

Best Regards
-- 
Markus Reichl


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2015-03-31 12:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 15:51 [PATCH 1/1] ARM: dts: Add HS400 support for exynos5422-odroidxu3 Markus Reichl
2015-03-31 12:27 ` Markus Reichl [this message]
2015-04-07 15:33   ` Markus Reichl
2015-04-08  0:37     ` Jaehoon Chung

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=551A92C6.7070906@fivetechno.de \
    --to=m.reichl@fivetechno.de \
    --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 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.