Skip to contentSkip to conversation

arm64: dts: hikey: Revert "Enable HS200 mode on eMMC"

PATCH Applied John Stultz 3 participants 4 messages Jan 23, 2019 – Feb 1, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: hikey: Revert "Enable HS200 mode on eMMC"

From: Alistair Strachan <[email protected]>

This reverts commit abd7d0972a192ee653efc7b151a6af69db58f2bb. This change was already partially reverted by John Stultz in commit 9c6d26df1fae ("arm64: dts: hikey: Fix eMMC corruption regression").

This change appears to cause controller resets and block read failures which prevents successful booting on some hikey boards.

Cc Ryan Grachek <[email protected]>
Cc Wei Xu <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc stable <[email protected]> #4.17+
---
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +0 -1
index 6102350..7092460 100644
@@ -300,7 +300,6 @@
 
 		dwmmc_0: dwmmc0@f723d000 {
 			cap-mmc-highspeed;
-			mmc-hs200-1_8v;
 			non-removable;
 			bus-width = <0x8>;
 			vmmc-supply = <&ldo19>;
Signature · 1 line
2.7.4
#1 lore raw

Hi John,

Quoted 8 lines · John Stultz

From: Alistair Strachan <[email protected]>

This reverts commit abd7d0972a192ee653efc7b151a6af69db58f2bb. This change was already partially reverted by John Stultz in commit 9c6d26df1fae ("arm64: dts: hikey: Fix eMMC corruption regression").

This change appears to cause controller resets and block read failures which prevents successful booting on some hikey boards.

FWIW, you might want to have a play with the pinctrl settings - I've seen various flakiness with HS200 eMMCs on Rockchip boards which could be solved by bumping up the drive strength.

Robin.

Quoted 27 lines
Cc Ryan Grachek <[email protected]>
Cc Wei Xu <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc stable <[email protected]> #4.17+
---
  arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 -
  1 file changed, 1 deletion(-)
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +0 -1
index 6102350..7092460 100644
@@ -300,7 +300,6 @@
 
  		dwmmc_0: dwmmc0@f723d000 {
  			cap-mmc-highspeed;
-			mmc-hs200-1_8v;
  			non-removable;
  			bus-width = <0x8>;
  			vmmc-supply = <&ldo19>;
#2 lore raw
Quoted 10 lines · Robin Murphy

Hi John,

Quoted 6 lines · John Stultz

From: Alistair Strachan <[email protected]>

This reverts commit abd7d0972a192ee653efc7b151a6af69db58f2bb. This change was already partially reverted by John Stultz in commit 9c6d26df1fae ("arm64: dts: hikey: Fix eMMC corruption regression").

Quoted 7 lines
Quoted 2 lines

This change appears to cause controller resets and block read failures which prevents successful booting on some hikey boards.

FWIW, you might want to have a play with the pinctrl settings - I've seen various flakiness with HS200 eMMCs on Rockchip boards which could be solved by bumping up the drive strength.

Hm. Thanks for the tip. I'll have to dig around to see if that can help. In the meantime though, I think the revert is the right solution, as this is currently blocking some boards from booting mainline. We can then look to re-enable HS200 mode if we can sort out the issues we saw with boards using hynix mmc chips.

thanks
-john

maintainer Applied
#3 lore raw
In reply to John Stultz

Hi John,

Quoted 9 lines · John Stultz

From: Alistair Strachan <[email protected]>

This reverts commit abd7d0972a192ee653efc7b151a6af69db58f2bb. This change was already partially reverted by John Stultz in commit 9c6d26df1fae ("arm64: dts: hikey: Fix eMMC corruption regression").

This change appears to cause controller resets and block read failures which prevents successful booting on some hikey boards.

Quoted 10 lines
Cc Ryan Grachek <[email protected]>
Cc Wei Xu <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc stable <[email protected]> #4.17+

Applied to the hisilicon soc dt tree.
Thanks!

Best Regards,
Wei

Quoted 17 lines
---
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +0 -1
index 6102350..7092460 100644
@@ -300,7 +300,6 @@
 
 		dwmmc_0: dwmmc0@f723d000 {
 			cap-mmc-highspeed;
-			mmc-hs200-1_8v;
 			non-removable;
 			bus-width = <0x8>;
 			vmmc-supply = <&ldo19>;