Remove HS400 support from common
Subsystems (2)
v2 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 v1:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
Changes from v1:
- Keep the common node and only remove hs400 support from the common node. Enable instead HS400 support only for AM62Px in am62p-main.dtsi.
- Fixup commit mesages according to new changes.
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
PATCH v2 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
@@ -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
@@ -31,6 +31,12 @@ usb1: usb@31100000 { snps,usb2-lpm-disable; }; }; + + sdhci0: mmc@fa10000 { + mmc-hs400-1_8v; + ti,strobe-sel = <0x77>; + ti,otap-del-sel-hs400 = <0x5>; + }; }; &oc_sram {
Signature · 1 line
2.51.0
Re: [PATCH v2 1/2] arm64: dts: ti: k3-am62p/j722s: Remove HS400 support from common
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.dtsiand include only inam62p-main.dtsi.[0] https://www.ti.com/lit/pdf/sprz575
Signed-off-by Judith Mendez <[email protected]>--- 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@@ -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
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi usb1: usb@31100000 { · line 35
Quoted 5 lines
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +2
-0@@ -31,6 +31,12 @@ usb1: usb@31100000 { snps,usb2-lpm-disable; }; }; + + sdhci0: mmc@fa10000 {
The node already has a label where it is defined, so you could just use:
&sdhci0 {
...
here at the base level, and not have it inside cbass_main.
Andrew
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +4
-0+ mmc-hs400-1_8v; + ti,strobe-sel = <0x77>; + ti,otap-del-sel-hs400 = <0x5>; + }; }; &oc_sram {
Re: [PATCH v2 1/2] arm64: dts: ti: k3-am62p/j722s: Remove HS400 support from common
Hi,
Quoted 45 lines · Andrew Davis
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.dtsiand include only inam62p-main.dtsi.[0] https://www.ti.com/lit/pdf/sprz575
Signed-off-by Judith Mendez <[email protected]>---
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@@ -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
-0arch/arm64/boot/dts/ti/k3-am62p-main.dtsi usb1: usb@31100000 { · line 35
Quoted 5 lines
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +2
-0@@ -31,6 +31,12 @@ usb1: usb@31100000 { snps,usb2-lpm-disable; }; }; + + sdhci0: mmc@fa10000 {The node already has a label where it is defined, so you could just use:
Quoted 5 lines
&sdhci0 {
...here at the base level, and not have it inside
cbass_main.
Oops, missed that detail, thanks Andrew. Will fix for v3.
~ Judith
PATCH v2 2/2 arm64: dts: ti: k3-am62p: Update eMMC HS400 STRB value
In reply to Judith MendezSTRB 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
@@ -34,7 +34,7 @@ usb1: usb@31100000 { sdhci0: mmc@fa10000 { mmc-hs400-1_8v; - ti,strobe-sel = <0x77>; + ti,strobe-sel = <0x66>; ti,otap-del-sel-hs400 = <0x5>; }; };
Signature · 1 line
2.51.0