* [PATCH 0/7] MMC updates for TI K3 platforms
@ 2024-04-11 22:52 Judith Mendez
2024-04-11 22:52 ` [PATCH 1/7] arm64: dts: ti: k3-am65-main: Update sdhci properties Judith Mendez
` (7 more replies)
0 siblings, 8 replies; 13+ messages in thread
From: Judith Mendez @ 2024-04-11 22:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya, Udit Kumar
This patch series includes MMC updates for various TI K3 platforms.
It includes support for enabling UHS/SDR104 bus modes or removing
HS400 support due to CQE errors seen during boot.
For AM62ax, add missing UHS support.
For AM65x, fix ITAP delay and OTAP delay and clkbuf-sel properties
in SDHCI nodes.
Bhavya Kapoor (1):
arm64: dts: ti: k3-j721s2-main: Enable support for SDR104 speed mode
Dasnavis Sabiya (2):
arm64: dts: ti: k3-j784s4-main: Enable support for UHS mode
arm64: dts: ti: k3-am69-sk: Remove HS400 mode support for eMMC
Judith Mendez (2):
arm64: dts: ti: k3-am65-main: Update sdhci properties
arm64: dts: ti: k3-am65-main: Remove unused properties in sdhci nodes
Udit Kumar (1):
arm64: dts: ti: k3-j784s4-evm: Remove HS400 mode support for eMMC
Vignesh Raghavendra (1):
arm64: dts: ti: k3-am62a: Enable UHS mode support for SD cards
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 2 --
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 21 +++++++++++++++++
arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 26 +++++++++-------------
arch/arm64/boot/dts/ti/k3-am69-sk.dts | 1 +
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 2 --
arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 1 +
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 2 --
7 files changed, 34 insertions(+), 21 deletions(-)
base-commit: 534ad093bb80f19c20b251a89f09ce1a0e3d4f2d
--
2.43.2
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/7] arm64: dts: ti: k3-am65-main: Update sdhci properties
2024-04-11 22:52 [PATCH 0/7] MMC updates for TI K3 platforms Judith Mendez
@ 2024-04-11 22:52 ` Judith Mendez
2024-04-11 22:52 ` [PATCH 2/7] arm64: dts: ti: k3-am65-main: Remove unused properties in sdhci nodes Judith Mendez
` (6 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: Judith Mendez @ 2024-04-11 22:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya, Udit Kumar
Update otap-del-sel properties as per datasheet [0].
Add missing clkbuf-sel and itap-del-sel values also as per
datasheet [0].
Move clkbuf-sel and ti,trm-icp above the otap-del-sel properties
so the sdhci nodes could be more uniform across platforms.
[0] https://www.ti.com/lit/ds/symlink/am6548.pdf
Fixes: eac99d38f861 ("arm64: dts: ti: k3-am654-main: Update otap-del-sel values")
Fixes: d7600d070fb0 ("arm64: dts: ti: k3-am65-main: Add support for sdhci1")
Signed-off-by: Judith Mendez <jm@ti.com>
---
arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
index 670557c89f756..0803a8b9bfe84 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
@@ -435,6 +435,8 @@ sdhci0: mmc@4f80000 {
interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
+ ti,clkbuf-sel = <0x7>;
+ ti,trm-icp = <0x8>;
ti,otap-del-sel-legacy = <0x0>;
ti,otap-del-sel-mmc-hs = <0x0>;
ti,otap-del-sel-sd-hs = <0x0>;
@@ -445,8 +447,7 @@ sdhci0: mmc@4f80000 {
ti,otap-del-sel-ddr50 = <0x5>;
ti,otap-del-sel-ddr52 = <0x5>;
ti,otap-del-sel-hs200 = <0x5>;
- ti,otap-del-sel-hs400 = <0x0>;
- ti,trm-icp = <0x8>;
+ ti,itap-del-sel-ddr52 = <0x0>;
dma-coherent;
status = "disabled";
};
@@ -458,18 +459,22 @@ sdhci1: mmc@4fa0000 {
clocks = <&k3_clks 48 0>, <&k3_clks 48 1>;
clock-names = "clk_ahb", "clk_xin";
interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
+ ti,clkbuf-sel = <0x7>;
+ ti,trm-icp = <0x8>;
ti,otap-del-sel-legacy = <0x0>;
ti,otap-del-sel-mmc-hs = <0x0>;
ti,otap-del-sel-sd-hs = <0x0>;
- ti,otap-del-sel-sdr12 = <0x0>;
- ti,otap-del-sel-sdr25 = <0x0>;
+ ti,otap-del-sel-sdr12 = <0xf>;
+ ti,otap-del-sel-sdr25 = <0xf>;
ti,otap-del-sel-sdr50 = <0x8>;
ti,otap-del-sel-sdr104 = <0x7>;
ti,otap-del-sel-ddr50 = <0x4>;
ti,otap-del-sel-ddr52 = <0x4>;
ti,otap-del-sel-hs200 = <0x7>;
- ti,clkbuf-sel = <0x7>;
- ti,trm-icp = <0x8>;
+ ti,itap-del-sel-legacy = <0xa>;
+ ti,itap-del-sel-sd-hs = <0x1>;
+ ti,itap-del-sel-sdr12 = <0xa>;
+ ti,itap-del-sel-sdr25 = <0x1>;
dma-coherent;
status = "disabled";
};
--
2.43.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/7] arm64: dts: ti: k3-am65-main: Remove unused properties in sdhci nodes
2024-04-11 22:52 [PATCH 0/7] MMC updates for TI K3 platforms Judith Mendez
2024-04-11 22:52 ` [PATCH 1/7] arm64: dts: ti: k3-am65-main: Update sdhci properties Judith Mendez
@ 2024-04-11 22:52 ` Judith Mendez
2024-04-11 22:52 ` [PATCH 3/7] arm64: dts: ti: k3-am62a: Enable UHS mode support for SD cards Judith Mendez
` (5 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: Judith Mendez @ 2024-04-11 22:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya, Udit Kumar
On AM65x platform, sdhci0 is for eMMC and sdhci1 is for SD.
Remove the properties that are not applicable for each device.
Fixes: eac99d38f861 ("arm64: dts: ti: k3-am654-main: Update otap-del-sel values")
Fixes: d7600d070fb0 ("arm64: dts: ti: k3-am65-main: Add support for sdhci1")
Signed-off-by: Judith Mendez <jm@ti.com>
---
arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
index 0803a8b9bfe84..127f581a56bc6 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
@@ -439,12 +439,6 @@ sdhci0: mmc@4f80000 {
ti,trm-icp = <0x8>;
ti,otap-del-sel-legacy = <0x0>;
ti,otap-del-sel-mmc-hs = <0x0>;
- ti,otap-del-sel-sd-hs = <0x0>;
- ti,otap-del-sel-sdr12 = <0x0>;
- ti,otap-del-sel-sdr25 = <0x0>;
- ti,otap-del-sel-sdr50 = <0x8>;
- ti,otap-del-sel-sdr104 = <0x7>;
- ti,otap-del-sel-ddr50 = <0x5>;
ti,otap-del-sel-ddr52 = <0x5>;
ti,otap-del-sel-hs200 = <0x5>;
ti,itap-del-sel-ddr52 = <0x0>;
@@ -462,15 +456,12 @@ sdhci1: mmc@4fa0000 {
ti,clkbuf-sel = <0x7>;
ti,trm-icp = <0x8>;
ti,otap-del-sel-legacy = <0x0>;
- ti,otap-del-sel-mmc-hs = <0x0>;
ti,otap-del-sel-sd-hs = <0x0>;
ti,otap-del-sel-sdr12 = <0xf>;
ti,otap-del-sel-sdr25 = <0xf>;
ti,otap-del-sel-sdr50 = <0x8>;
ti,otap-del-sel-sdr104 = <0x7>;
ti,otap-del-sel-ddr50 = <0x4>;
- ti,otap-del-sel-ddr52 = <0x4>;
- ti,otap-del-sel-hs200 = <0x7>;
ti,itap-del-sel-legacy = <0xa>;
ti,itap-del-sel-sd-hs = <0x1>;
ti,itap-del-sel-sdr12 = <0xa>;
--
2.43.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 3/7] arm64: dts: ti: k3-am62a: Enable UHS mode support for SD cards
2024-04-11 22:52 [PATCH 0/7] MMC updates for TI K3 platforms Judith Mendez
2024-04-11 22:52 ` [PATCH 1/7] arm64: dts: ti: k3-am65-main: Update sdhci properties Judith Mendez
2024-04-11 22:52 ` [PATCH 2/7] arm64: dts: ti: k3-am65-main: Remove unused properties in sdhci nodes Judith Mendez
@ 2024-04-11 22:52 ` Judith Mendez
2024-04-11 22:52 ` [PATCH 4/7] arm64: dts: ti: k3-j721s2-main: Enable support for SDR104 speed mode Judith Mendez
` (4 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: Judith Mendez @ 2024-04-11 22:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya, Udit Kumar
From: Vignesh Raghavendra <vigneshr@ti.com>
Hook up required IO voltage regulators and drop no-1-8-v to support UHS
modes on SD cards.
Fixes: 5fc6b1b62639 ("arm64: dts: ti: Introduce AM62A7 family of SoCs")
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
[Judith: Remove no-1-8-v for sdhci2, keep otap-del-sel-legacy=0,
add fixes tag, reword commit]
Signed-off-by: Judith Mendez <jm@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 2 --
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 21 +++++++++++++++++++++
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
index aa1e057082f08..6652701d3e3b8 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
@@ -573,7 +573,6 @@ sdhci1: mmc@fa00000 {
ti,itap-del-sel-sd-hs = <0x0>;
ti,itap-del-sel-sdr12 = <0x0>;
ti,itap-del-sel-sdr25 = <0x0>;
- no-1-8-v;
status = "disabled";
};
@@ -597,7 +596,6 @@ sdhci2: mmc@fa20000 {
ti,itap-del-sel-sd-hs = <0x0>;
ti,itap-del-sel-sdr12 = <0x0>;
ti,itap-del-sel-sdr25 = <0x0>;
- no-1-8-v;
status = "disabled";
};
diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
index f241637a5642a..1af5d01c7b94c 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
@@ -113,6 +113,20 @@ vcc_3v3_sys: regulator-4 {
regulator-boot-on;
};
+ vddshv_sdio: regulator-5 {
+ compatible = "regulator-gpio";
+ regulator-name = "vddshv_sdio";
+ pinctrl-names = "default";
+ pinctrl-0 = <&vddshv_sdio_pins_default>;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-boot-on;
+ vin-supply = <&ldo1>;
+ gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
+ states = <1800000 0x0>,
+ <3300000 0x1>;
+ };
+
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
@@ -342,6 +356,12 @@ main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins {
AM62AX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C15) UART0_RTSn.GPIO1_23 */
>;
};
+
+ vddshv_sdio_pins_default: vddshv-sdio-pins-default {
+ pinctrl-single,pins = <
+ AM62AX_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */
+ >;
+ };
};
&mcu_pmx0 {
@@ -580,6 +600,7 @@ &sdhci1 {
/* SD/MMC */
status = "okay";
vmmc-supply = <&vdd_mmc1>;
+ vqmmc-supply = <&vddshv_sdio>;
pinctrl-names = "default";
pinctrl-0 = <&main_mmc1_pins_default>;
disable-wp;
--
2.43.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 4/7] arm64: dts: ti: k3-j721s2-main: Enable support for SDR104 speed mode
2024-04-11 22:52 [PATCH 0/7] MMC updates for TI K3 platforms Judith Mendez
` (2 preceding siblings ...)
2024-04-11 22:52 ` [PATCH 3/7] arm64: dts: ti: k3-am62a: Enable UHS mode support for SD cards Judith Mendez
@ 2024-04-11 22:52 ` Judith Mendez
2024-04-11 22:52 ` [PATCH 5/7] arm64: dts: ti: k3-j784s4-main: Enable support for UHS mode Judith Mendez
` (3 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: Judith Mendez @ 2024-04-11 22:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya, Udit Kumar
From: Bhavya Kapoor <b-kapoor@ti.com>
According to TRM for J721S2, SDR104 speed mode is supported by the SoC
but its capabilities were masked in device tree. Remove sdhci-caps-mask
to enable support for SDR104 speed mode for SD card in J721S2 SoC.
[+] Refer to : section 12.3.6.1.1 MMCSD Features, in J721S2 TRM
- https://www.ti.com/lit/zip/spruj28
Fixes: b8545f9d3a54 ("arm64: dts: ti: Add initial support for J721S2 SoC")
Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
index 3cb06a7e4117f..9ed6949b40e9d 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
@@ -768,8 +768,6 @@ main_sdhci1: mmc@4fb0000 {
ti,clkbuf-sel = <0x7>;
ti,trm-icp = <0x8>;
dma-coherent;
- /* Masking support for SDR104 capability */
- sdhci-caps-mask = <0x00000003 0x00000000>;
status = "disabled";
};
--
2.43.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 5/7] arm64: dts: ti: k3-j784s4-main: Enable support for UHS mode
2024-04-11 22:52 [PATCH 0/7] MMC updates for TI K3 platforms Judith Mendez
` (3 preceding siblings ...)
2024-04-11 22:52 ` [PATCH 4/7] arm64: dts: ti: k3-j721s2-main: Enable support for SDR104 speed mode Judith Mendez
@ 2024-04-11 22:52 ` Judith Mendez
2024-04-11 22:52 ` [PATCH 6/7] arm64: dts: ti: k3-am69-sk: Remove HS400 mode support for eMMC Judith Mendez
` (2 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: Judith Mendez @ 2024-04-11 22:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya, Udit Kumar
From: Dasnavis Sabiya <sabiya.d@ti.com>
Remove sdhci-caps-mask to enable support for SDR104 speed mode for
SD card and remove no-1-8-v property so that SD card can work in
any UHS-1 high speed mode it can support.
Fixes: 4664ebd8346a ("arm64: dts: ti: Add initial support for J784S4 SoC")
Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
[Judith: Add fixes tag]
Signed-off-by: Judith Mendez <jm@ti.com>
---
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
index d42f25cacf23d..6a4554c6c9c13 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
@@ -904,8 +904,6 @@ main_sdhci1: mmc@4fb0000 {
ti,clkbuf-sel = <0x7>;
ti,trm-icp = <0x8>;
dma-coherent;
- sdhci-caps-mask = <0x00000003 0x00000000>;
- no-1-8-v;
status = "disabled";
};
--
2.43.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 6/7] arm64: dts: ti: k3-am69-sk: Remove HS400 mode support for eMMC
2024-04-11 22:52 [PATCH 0/7] MMC updates for TI K3 platforms Judith Mendez
` (4 preceding siblings ...)
2024-04-11 22:52 ` [PATCH 5/7] arm64: dts: ti: k3-j784s4-main: Enable support for UHS mode Judith Mendez
@ 2024-04-11 22:52 ` Judith Mendez
2024-04-12 4:53 ` Kumar, Udit
2024-04-11 22:52 ` [PATCH 7/7] arm64: dts: ti: k3-j784s4-evm: " Judith Mendez
2024-04-12 13:46 ` [PATCH 0/7] MMC updates for TI K3 platforms Rob Herring
7 siblings, 1 reply; 13+ messages in thread
From: Judith Mendez @ 2024-04-11 22:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya, Udit Kumar
From: Dasnavis Sabiya <sabiya.d@ti.com>
The eMMC fails to enumerate intermittently on HS400 mode. Also
observing multiple CQE recovery warnings.
Update the sdhci0 node to disable HS400 and set HS200 mode for
eMMC node.
Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
arch/arm64/boot/dts/ti/k3-am69-sk.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
index 50de2a448a3a6..a677bb9200a35 100644
--- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
@@ -906,6 +906,7 @@ &main_sdhci0 {
non-removable;
ti,driver-strength-ohm = <50>;
disable-wp;
+ no-mmc-hs400;
};
&main_sdhci1 {
--
2.43.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 7/7] arm64: dts: ti: k3-j784s4-evm: Remove HS400 mode support for eMMC
2024-04-11 22:52 [PATCH 0/7] MMC updates for TI K3 platforms Judith Mendez
` (5 preceding siblings ...)
2024-04-11 22:52 ` [PATCH 6/7] arm64: dts: ti: k3-am69-sk: Remove HS400 mode support for eMMC Judith Mendez
@ 2024-04-11 22:52 ` Judith Mendez
2024-04-12 4:52 ` Kumar, Udit
2024-04-12 13:46 ` [PATCH 0/7] MMC updates for TI K3 platforms Rob Herring
7 siblings, 1 reply; 13+ messages in thread
From: Judith Mendez @ 2024-04-11 22:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya, Udit Kumar
From: Udit Kumar <u-kumar1@ti.com>
The eMMC fails to enumerate intermittently on HS400 mode. Also
observing multiple CQE recovery warnings.
Update the sdhci0 node to disable HS400.
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Cc: Bhavya Kapoor <b-kapoor@ti.com>
Cc: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
[Judith: Reword commit]
Signed-off-by: Judith Mendez <jm@ti.com>
---
arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
index 81fd7afac8c57..04a241a91e6b8 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
@@ -791,6 +791,7 @@ &main_sdhci0 {
non-removable;
ti,driver-strength-ohm = <50>;
disable-wp;
+ no-mmc-hs400;
};
&main_sdhci1 {
--
2.43.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH 7/7] arm64: dts: ti: k3-j784s4-evm: Remove HS400 mode support for eMMC
2024-04-11 22:52 ` [PATCH 7/7] arm64: dts: ti: k3-j784s4-evm: " Judith Mendez
@ 2024-04-12 4:52 ` Kumar, Udit
2024-04-12 22:14 ` Judith Mendez
0 siblings, 1 reply; 13+ messages in thread
From: Kumar, Udit @ 2024-04-12 4:52 UTC (permalink / raw)
To: Judith Mendez, Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya
Hi Judith
On 4/12/2024 4:22 AM, Judith Mendez wrote:
> From: Udit Kumar <u-kumar1@ti.com>
>
> The eMMC fails to enumerate intermittently on HS400 mode. Also
> observing multiple CQE recovery warnings.
>
> Update the sdhci0 node to disable HS400.
>
> Cc: Vignesh Raghavendra <vigneshr@ti.com>
> Cc: Bhavya Kapoor <b-kapoor@ti.com>
> Cc: Siddharth Vadapalli <s-vadapalli@ti.com>
> Signed-off-by: Udit Kumar <u-kumar1@ti.com>
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> [Judith: Reword commit]
> Signed-off-by: Judith Mendez <jm@ti.com>
> ---
> arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
> index 81fd7afac8c57..04a241a91e6b8 100644
> --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
> @@ -791,6 +791,7 @@ &main_sdhci0 {
> non-removable;
> ti,driver-strength-ohm = <50>;
> disable-wp;
> + no-mmc-hs400;
This is just WA to get rid of CQE errors. I prefer to hold this patch
under debug from hardware side is not complete.
Moreover, CQE errors are seen with 32GB variant not with 16GB, So we can
not blame controller for this
> };
>
> &main_sdhci1 {
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 6/7] arm64: dts: ti: k3-am69-sk: Remove HS400 mode support for eMMC
2024-04-11 22:52 ` [PATCH 6/7] arm64: dts: ti: k3-am69-sk: Remove HS400 mode support for eMMC Judith Mendez
@ 2024-04-12 4:53 ` Kumar, Udit
2024-04-12 22:14 ` Judith Mendez
0 siblings, 1 reply; 13+ messages in thread
From: Kumar, Udit @ 2024-04-12 4:53 UTC (permalink / raw)
To: Judith Mendez, Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya
Hi Judith
On 4/12/2024 4:22 AM, Judith Mendez wrote:
> From: Dasnavis Sabiya <sabiya.d@ti.com>
>
> The eMMC fails to enumerate intermittently on HS400 mode. Also
> observing multiple CQE recovery warnings.
> Update the sdhci0 node to disable HS400 and set HS200 mode for
> eMMC node.
>
> Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> ---
> arch/arm64/boot/dts/ti/k3-am69-sk.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> index 50de2a448a3a6..a677bb9200a35 100644
> --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> @@ -906,6 +906,7 @@ &main_sdhci0 {
> non-removable;
> ti,driver-strength-ohm = <50>;
> disable-wp;
> + no-mmc-hs400;
This is just WA to get rid of CQE errors. I prefer to hold this patch
under debug from hardware side is not complete.
> };
>
> &main_sdhci1 {
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 0/7] MMC updates for TI K3 platforms
2024-04-11 22:52 [PATCH 0/7] MMC updates for TI K3 platforms Judith Mendez
` (6 preceding siblings ...)
2024-04-11 22:52 ` [PATCH 7/7] arm64: dts: ti: k3-j784s4-evm: " Judith Mendez
@ 2024-04-12 13:46 ` Rob Herring
7 siblings, 0 replies; 13+ messages in thread
From: Rob Herring @ 2024-04-12 13:46 UTC (permalink / raw)
To: Judith Mendez
Cc: Vignesh Raghavendra, Nishanth Menon, devicetree,
Krzysztof Kozlowski, Dasnavis Sabiya, Tero Kristo, Bhavya Kapoor,
Udit Kumar, linux-kernel, Conor Dooley, linux-arm-kernel
On Thu, 11 Apr 2024 17:52:50 -0500, Judith Mendez wrote:
> This patch series includes MMC updates for various TI K3 platforms.
>
> It includes support for enabling UHS/SDR104 bus modes or removing
> HS400 support due to CQE errors seen during boot.
>
> For AM62ax, add missing UHS support.
>
> For AM65x, fix ITAP delay and OTAP delay and clkbuf-sel properties
> in SDHCI nodes.
>
> Bhavya Kapoor (1):
> arm64: dts: ti: k3-j721s2-main: Enable support for SDR104 speed mode
>
> Dasnavis Sabiya (2):
> arm64: dts: ti: k3-j784s4-main: Enable support for UHS mode
> arm64: dts: ti: k3-am69-sk: Remove HS400 mode support for eMMC
>
> Judith Mendez (2):
> arm64: dts: ti: k3-am65-main: Update sdhci properties
> arm64: dts: ti: k3-am65-main: Remove unused properties in sdhci nodes
>
> Udit Kumar (1):
> arm64: dts: ti: k3-j784s4-evm: Remove HS400 mode support for eMMC
>
> Vignesh Raghavendra (1):
> arm64: dts: ti: k3-am62a: Enable UHS mode support for SD cards
>
> arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 2 --
> arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 21 +++++++++++++++++
> arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 26 +++++++++-------------
> arch/arm64/boot/dts/ti/k3-am69-sk.dts | 1 +
> arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 2 --
> arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 1 +
> arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 2 --
> 7 files changed, 34 insertions(+), 21 deletions(-)
>
>
> base-commit: 534ad093bb80f19c20b251a89f09ce1a0e3d4f2d
> --
> 2.43.2
>
>
>
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y ti/k3-am62a7-sk.dtb ti/k3-am69-sk.dtb ti/k3-j784s4-evm.dtb' for 20240411225257.383889-1-jm@ti.com:
arch/arm64/boot/dts/ti/k3-am62a7-sk.dtb: pinctrl@f4000: 'vddshv-sdio-pins-default' does not match any of the regexes: '-pins(-[0-9]+)?$|-pin$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/pinctrl/pinctrl-single.yaml#
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 6/7] arm64: dts: ti: k3-am69-sk: Remove HS400 mode support for eMMC
2024-04-12 4:53 ` Kumar, Udit
@ 2024-04-12 22:14 ` Judith Mendez
0 siblings, 0 replies; 13+ messages in thread
From: Judith Mendez @ 2024-04-12 22:14 UTC (permalink / raw)
To: Kumar, Udit, Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya
Hi,
On 4/11/24 11:53 PM, Kumar, Udit wrote:
> Hi Judith
>
> On 4/12/2024 4:22 AM, Judith Mendez wrote:
>> From: Dasnavis Sabiya <sabiya.d@ti.com>
>>
>> The eMMC fails to enumerate intermittently on HS400 mode. Also
>> observing multiple CQE recovery warnings.
>> Update the sdhci0 node to disable HS400 and set HS200 mode for
>> eMMC node.
>>
>> Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
>> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
>> ---
>> arch/arm64/boot/dts/ti/k3-am69-sk.dts | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
>> b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
>> index 50de2a448a3a6..a677bb9200a35 100644
>> --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
>> @@ -906,6 +906,7 @@ &main_sdhci0 {
>> non-removable;
>> ti,driver-strength-ohm = <50>;
>> disable-wp;
>> + no-mmc-hs400;
>
>
> This is just WA to get rid of CQE errors. I prefer to hold this patch
> under debug from hardware side is not complete.
ok, will drop this patch.
~ Judith
>
>> };
>> &main_sdhci1 {
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 7/7] arm64: dts: ti: k3-j784s4-evm: Remove HS400 mode support for eMMC
2024-04-12 4:52 ` Kumar, Udit
@ 2024-04-12 22:14 ` Judith Mendez
0 siblings, 0 replies; 13+ messages in thread
From: Judith Mendez @ 2024-04-12 22:14 UTC (permalink / raw)
To: Kumar, Udit, Rob Herring, Krzysztof Kozlowski
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel, Bhavya Kapoor,
Dasnavis Sabiya
Hi Udit,
On 4/11/24 11:52 PM, Kumar, Udit wrote:
> Hi Judith
>
> On 4/12/2024 4:22 AM, Judith Mendez wrote:
>> From: Udit Kumar <u-kumar1@ti.com>
>>
>> The eMMC fails to enumerate intermittently on HS400 mode. Also
>> observing multiple CQE recovery warnings.
>>
>> Update the sdhci0 node to disable HS400.
>>
>> Cc: Vignesh Raghavendra <vigneshr@ti.com>
>> Cc: Bhavya Kapoor <b-kapoor@ti.com>
>> Cc: Siddharth Vadapalli <s-vadapalli@ti.com>
>> Signed-off-by: Udit Kumar <u-kumar1@ti.com>
>> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
>> [Judith: Reword commit]
>> Signed-off-by: Judith Mendez <jm@ti.com>
>> ---
>> arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
>> b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
>> index 81fd7afac8c57..04a241a91e6b8 100644
>> --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
>> @@ -791,6 +791,7 @@ &main_sdhci0 {
>> non-removable;
>> ti,driver-strength-ohm = <50>;
>> disable-wp;
>> + no-mmc-hs400;
>
> This is just WA to get rid of CQE errors. I prefer to hold this patch
> under debug from hardware side is not complete.
>
> Moreover, CQE errors are seen with 32GB variant not with 16GB, So we can
> not blame controller for this
Will drop, thanks.
~ Judith
>
>
>> };
>> &main_sdhci1 {
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2024-04-12 22:15 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 22:52 [PATCH 0/7] MMC updates for TI K3 platforms Judith Mendez
2024-04-11 22:52 ` [PATCH 1/7] arm64: dts: ti: k3-am65-main: Update sdhci properties Judith Mendez
2024-04-11 22:52 ` [PATCH 2/7] arm64: dts: ti: k3-am65-main: Remove unused properties in sdhci nodes Judith Mendez
2024-04-11 22:52 ` [PATCH 3/7] arm64: dts: ti: k3-am62a: Enable UHS mode support for SD cards Judith Mendez
2024-04-11 22:52 ` [PATCH 4/7] arm64: dts: ti: k3-j721s2-main: Enable support for SDR104 speed mode Judith Mendez
2024-04-11 22:52 ` [PATCH 5/7] arm64: dts: ti: k3-j784s4-main: Enable support for UHS mode Judith Mendez
2024-04-11 22:52 ` [PATCH 6/7] arm64: dts: ti: k3-am69-sk: Remove HS400 mode support for eMMC Judith Mendez
2024-04-12 4:53 ` Kumar, Udit
2024-04-12 22:14 ` Judith Mendez
2024-04-11 22:52 ` [PATCH 7/7] arm64: dts: ti: k3-j784s4-evm: " Judith Mendez
2024-04-12 4:52 ` Kumar, Udit
2024-04-12 22:14 ` Judith Mendez
2024-04-12 13:46 ` [PATCH 0/7] MMC updates for TI K3 platforms Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).