Skip to contentSkip to conversation

Remove HS400 support from common

PATCH Applied Judith Mendez 4 participants 6 messages Sep 8, 2025 – Sep 12, 2025

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

v3 cover Remove HS400 support from common

Since eMMC HS400 has been descoped for j722s due to errata i2478 [0] and is supported by default for AM62Px device, remove sdhci0 node from common-main.dtsi and include instead only for AM62Px in am62p-main.dtsi.

Also, update the STRB value for am62p eMMC sdhci0 node.

Tested on am62p SK board.

[0] https://www.ti.com/lit/pdf/sprz575

Link to v2:
https://lore.kernel.org/linux-devicetree/[email protected]
Link to v1:
https://lore.kernel.org/linux-arm-kernel/[email protected]/

Changes since v2:
- Switch sdhci0: mmc@fa10000 in cbass_main to &sdhci0 at the base level

Judith Mendez (2):
arm64: dts: ti: k3-am62p/j722s: Remove HS400 support from common
arm64: dts: ti: k3-am62p: Update eMMC HS400 STRB value

 arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 3 ---
 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi              | 6 ++++++
 2 files changed, 6 insertions(+), 3 deletions(-)
Signature · 1 line
2.51.0
#1 lore raw

PATCH v3 1/2 arm64: dts: ti: k3-am62p/j722s: Remove HS400 support from common

Since eMMC HS400 has been descoped for J722s due to errata i2478 [0] and is supported for AM62Px device, remove eMMC HS400 support from common-main.dtsi and include only in am62p-main.dtsi.

[0] https://www.ti.com/lit/pdf/sprz575

---
 arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 3 ---
 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi              | 6 ++++++
 2 files changed, 6 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi +0 -3
index 4427b12058a6..0c05bcf1d776 100644
@@ -576,15 +576,12 @@ sdhci0: mmc@fa10000 {
 		bus-width = <8>;
 		mmc-ddr-1_8v;
 		mmc-hs200-1_8v;
-		mmc-hs400-1_8v;
 		ti,clkbuf-sel = <0x7>;
-		ti,strobe-sel = <0x77>;
 		ti,trm-icp = <0x8>;
 		ti,otap-del-sel-legacy = <0x1>;
 		ti,otap-del-sel-mmc-hs = <0x1>;
 		ti,otap-del-sel-ddr52 = <0x6>;
 		ti,otap-del-sel-hs200 = <0x8>;
-		ti,otap-del-sel-hs400 = <0x5>;
 		ti,itap-del-sel-legacy = <0x10>;
 		ti,itap-del-sel-mmc-hs = <0xa>;
 		ti,itap-del-sel-ddr52 = <0x3>;
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +6 -0
index 6aea9d3f134e..020bd121a6a3 100644
@@ -74,3 +74,9 @@ &main_gpio1 {
 	gpio-reserved-ranges = <32 10>;
 	ti,ngpio = <52>;
 };
+
+&sdhci0 {
+	mmc-hs400-1_8v;
+	ti,strobe-sel = <0x77>;
+	ti,otap-del-sel-hs400 = <0x5>;
+};
Signature · 1 line
2.51.0
Reviewed-by on v3 1/2
#2 lore raw

Re: [PATCH v3 1/2] arm64: dts: ti: k3-am62p/j722s: Remove HS400 support from common

Quoted 7 lines · Judith Mendez

Since eMMC HS400 has been descoped for J722s due to errata i2478 [0] and is supported for AM62Px device, remove eMMC HS400 support from common-main.dtsi and include only in am62p-main.dtsi.

[0] https://www.ti.com/lit/pdf/sprz575

---

Quoted 38 lines
  arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 3 ---
  arch/arm64/boot/dts/ti/k3-am62p-main.dtsi              | 6 ++++++
  2 files changed, 6 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi +0 -3
index 4427b12058a6..0c05bcf1d776 100644
@@ -576,15 +576,12 @@ sdhci0: mmc@fa10000 {
  		bus-width = <8>;
  		mmc-ddr-1_8v;
  		mmc-hs200-1_8v;
-		mmc-hs400-1_8v;
  		ti,clkbuf-sel = <0x7>;
-		ti,strobe-sel = <0x77>;
  		ti,trm-icp = <0x8>;
  		ti,otap-del-sel-legacy = <0x1>;
  		ti,otap-del-sel-mmc-hs = <0x1>;
  		ti,otap-del-sel-ddr52 = <0x6>;
  		ti,otap-del-sel-hs200 = <0x8>;
-		ti,otap-del-sel-hs400 = <0x5>;
  		ti,itap-del-sel-legacy = <0x10>;
  		ti,itap-del-sel-mmc-hs = <0xa>;
  		ti,itap-del-sel-ddr52 = <0x3>;
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +6 -0
index 6aea9d3f134e..020bd121a6a3 100644
@@ -74,3 +74,9 @@ &main_gpio1 {
  	gpio-reserved-ranges = <32 10>;
  	ti,ngpio = <52>;
  };
+
+&sdhci0 {
+	mmc-hs400-1_8v;
+	ti,strobe-sel = <0x77>;
+	ti,otap-del-sel-hs400 = <0x5>;
+};
Reviewed-by on v3 1/2
#3 lore raw

Re: [PATCH v3 1/2] arm64: dts: ti: k3-am62p/j722s: Remove HS400 support from common

In reply to Judith Mendez
Quoted 36 lines · Judith Mendez

Since eMMC HS400 has been descoped for J722s due to errata i2478 [0] and is supported for AM62Px device, remove eMMC HS400 support from common-main.dtsi and include only in am62p-main.dtsi.

[0] https://www.ti.com/lit/pdf/sprz575

---
  arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 3 ---
  arch/arm64/boot/dts/ti/k3-am62p-main.dtsi              | 6 ++++++
  2 files changed, 6 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi +0 -3
index 4427b12058a6..0c05bcf1d776 100644
@@ -576,15 +576,12 @@ sdhci0: mmc@fa10000 {
  		bus-width = <8>;
  		mmc-ddr-1_8v;
  		mmc-hs200-1_8v;
-		mmc-hs400-1_8v;
  		ti,clkbuf-sel = <0x7>;
-		ti,strobe-sel = <0x77>;
  		ti,trm-icp = <0x8>;
  		ti,otap-del-sel-legacy = <0x1>;
  		ti,otap-del-sel-mmc-hs = <0x1>;
  		ti,otap-del-sel-ddr52 = <0x6>;
  		ti,otap-del-sel-hs200 = <0x8>;
-		ti,otap-del-sel-hs400 = <0x5>;
  		ti,itap-del-sel-legacy = <0x10>;
  		ti,itap-del-sel-mmc-hs = <0xa>;
  		ti,itap-del-sel-ddr52 = <0x3>;
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +0 -0
index 6aea9d3f134e..020bd121a6a3 100644

arch/arm64/boot/dts/ti/k3-am62p-main.dtsi &main_gpio1 { · line 82

Quoted 9 lines
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +6 -0
@@ -74,3 +74,9 @@ &main_gpio1 {
  	gpio-reserved-ranges = <32 10>;
  	ti,ngpio = <52>;
  };
+
+&sdhci0 {
+	mmc-hs400-1_8v;
+	ti,strobe-sel = <0x77>;
+	ti,otap-del-sel-hs400 = <0x5>;
+};

Regards,
Moteen

#4 lore raw

PATCH v3 2/2 arm64: dts: ti: k3-am62p: Update eMMC HS400 STRB value

In reply to Judith Mendez

STRB setting for eMMC HS400 have been updated in device datasheet [0], so update for am62p in k3-am62p-main.

[0] https://www.ti.com/lit/gpn/am62p

---
 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +1 -1
index 020bd121a6a3..908cc0760e7d 100644
@@ -77,6 +77,6 @@ &main_gpio1 {
 
 &sdhci0 {
 	mmc-hs400-1_8v;
-	ti,strobe-sel = <0x77>;
+	ti,strobe-sel = <0x66>;
 	ti,otap-del-sel-hs400 = <0x5>;
 };
Signature · 1 line
2.51.0
maintainer Applied
#5 lore raw
In reply to Judith Mendez

Hi Judith Mendez,

Quoted 9 lines · Judith Mendez

Since eMMC HS400 has been descoped for j722s due to errata i2478 [0] and is supported by default for AM62Px device, remove sdhci0 node from common-main.dtsi and include instead only for AM62Px in am62p-main.dtsi.

Also, update the STRB value for am62p eMMC sdhci0 node.

Tested on am62p SK board.

[...]

I have applied the following to branch ti-k3-dts-next on [1]. Thank you!

[1/2] arm64: dts: ti: k3-am62p/j722s: Remove HS400 support from common

      commit: 7efc354b7fe1ac5e874d0188b3d6be88a3fa0fe4
[2/2] arm64: dts: ti: k3-am62p: Update eMMC HS400 STRB value
      commit: 9fdcc5f98141cf2f77e8778bee830190d7b71ced

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git

Signature · 4 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
https://ti.com/opensource