Re: [PATCH 1/1] ARM: dts: Add HS400 support for exynos5422-odroidxu3

2015-04-07 Thread Markus Reichl
Hi,

the base patch in [0] has been applied now.

My patch was meanwhile

Tested-by: Anand Moon linux.am...@gmail.com


Am 31.03.2015 um 14:27 schrieb Markus Reichl:
 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.rei...@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:  5200 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:  2 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



signature.asc
Description: OpenPGP digital signature


Re: [PATCH 1/1] ARM: dts: Add HS400 support for exynos5422-odroidxu3

2015-04-07 Thread Jaehoon Chung
Hi, Markus.

I have also tested on Odroid-xu3 board.

Acked-by: Jaehoon Chung jh80.ch...@samsung.com

Best Regards,
Jaehoon Chung


On 04/08/2015 12:33 AM, Markus Reichl wrote:
 Hi,
 
 the base patch in [0] has been applied now.
 
 My patch was meanwhile
 
 Tested-by: Anand Moon linux.am...@gmail.com
 
 
 Am 31.03.2015 um 14:27 schrieb Markus Reichl:
 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.rei...@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:  5200 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:  2 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

 
 

--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/1] ARM: dts: Add HS400 support for exynos5422-odroidxu3

2015-03-31 Thread Markus Reichl
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.rei...@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:  5200 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:  2 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



signature.asc
Description: OpenPGP digital signature


[PATCH 1/1] ARM: dts: Add HS400 support for exynos5422-odroidxu3

2015-03-30 Thread 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.rei...@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 {
-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html