ARM: dts: Add HS400 support for exynos5422-odroidxu3
Subsystems (2)
PATCH 1/1 ARM: dts: Add HS400 support for exynos5422-odroidxu3
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
--- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
arch/arm/boot/dts/exynos5422-odroidxu3.dts +6 -1
@@ -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 {
Signature · 1 line
1.9.1
Am 30.03.2015 um 17:51 schrieb Markus Reichl:
Quoted 29 lines
HS400 timing values are added for exynos5422-odroidxu3 board.
---
This patch is analog to [0].
This patch needs [0] for the pin-ctrl definition ofsd0_rclk.[0]: https://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg42902.html
Signed-off-by Markus Reichl <[email protected]>--- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)arch/arm/boot/dts/exynos5422-odroidxu3.dts +3
-0@@ -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>;
arch/arm/boot/dts/exynos5422-odroidxu3.dts line 317
Quoted 10 lines
arch/arm/boot/dts/exynos5422-odroidxu3.dts +3
-1pinctrl-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
Signature · 1 line
Markus Reichl
Markus Reichl
Tested-by Anand MoonHi,
the base patch in [0] has been applied now.
My patch was meanwhile
Am 31.03.2015 um 14:27 schrieb Markus Reichl:
Quoted 75 lines
Am 30.03.2015 um 17:51 schrieb Markus Reichl:
Quoted 29 lines
HS400 timing values are added for exynos5422-odroidxu3 board.
---
This patch is analog to [0].
This patch needs [0] for the pin-ctrl definition ofsd0_rclk.[0]: https://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg42902.html
Signed-off-by Markus Reichl <[email protected]>--- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)arch/arm/boot/dts/exynos5422-odroidxu3.dts +3
-0@@ -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>;arch/arm/boot/dts/exynos5422-odroidxu3.dts line 317
Quoted 10 lines
arch/arm/boot/dts/exynos5422-odroidxu3.dts +3
-1pinctrl-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/mmcblk0without this patch:
/dev/mmcblk0:
Timing buffered disk reads: 230 MB in 3.01 seconds = 76.30 MB/secwith this patch:
/dev/mmcblk0:
Timing buffered disk reads: 588 MB in 3.00 seconds = 195.92 MB/seccat
/sys/kernel/debug/mmc0/ioswithout 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
Signature · 1 line
Markus Reichl
Jaehoon Chung
Acked-byHi, Markus.
I have also tested on Odroid-xu3 board.
Best Regards,
Jaehoon Chung
Quoted 87 lines · Markus Reichl
Hi,
the base patch in [0] has been applied now.
My patch was meanwhile
Tested-by Anand Moon <[email protected]>Am 31.03.2015 um 14:27 schrieb Markus Reichl:
Quoted 75 lines
Am 30.03.2015 um 17:51 schrieb Markus Reichl:
Quoted 29 lines
HS400 timing values are added for exynos5422-odroidxu3 board.
---
This patch is analog to [0].
This patch needs [0] for the pin-ctrl definition ofsd0_rclk.[0]: https://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg42902.html
Signed-off-by Markus Reichl <[email protected]>--- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)arch/arm/boot/dts/exynos5422-odroidxu3.dts +3
-0@@ -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>;arch/arm/boot/dts/exynos5422-odroidxu3.dts line 317
Quoted 10 lines
arch/arm/boot/dts/exynos5422-odroidxu3.dts +3
-1pinctrl-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/mmcblk0without this patch:
/dev/mmcblk0:
Timing buffered disk reads: 230 MB in 3.01 seconds = 76.30 MB/secwith this patch:
/dev/mmcblk0:
Timing buffered disk reads: 588 MB in 3.00 seconds = 195.92 MB/seccat
/sys/kernel/debug/mmc0/ioswithout 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