* [PATCH 0/3] Workaround for Errata i2312
@ 2025-06-24 22:12 Judith Mendez
2025-06-24 22:12 ` [PATCH 1/3] mmc: sdhci_am654: " Judith Mendez
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Judith Mendez @ 2025-06-24 22:12 UTC (permalink / raw)
To: Judith Mendez, Ulf Hansson, Adrian Hunter, Vignesh Raghavendra
Cc: Nishanth Menon, Tero Kristo, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, devicetree, linux-kernel,
linux-mmc
This patch series includes fix for Errata i2312 [0].
Also include fixes for removing eMMC HS DDR support for am62
SK which has been descoped as per datasheet [1] and enabling internal
pullups for AM62 SK and AM62SIP SK, as per JESD84 spec recommendations.
[0] https://www.ti.com/lit/pdf/sprz487
[1] https://www.ti.com/lit/gpn/am625
Judith Mendez (3):
mmc: sdhci_am654: Workaround for Errata i2312
arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support
arm64: dts: ti: k3-am62*: Move eMMC pinmux to top level board file
arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 25 +++++++++++++++++++
arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 -
arch/arm64/boot/dts/ti/k3-am625-sk.dts | 25 +++++++++++++++++++
.../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 24 ------------------
drivers/mmc/host/sdhci_am654.c | 9 ++++---
5 files changed, 56 insertions(+), 28 deletions(-)
--
2.49.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/3] mmc: sdhci_am654: Workaround for Errata i2312
2025-06-24 22:12 [PATCH 0/3] Workaround for Errata i2312 Judith Mendez
@ 2025-06-24 22:12 ` Judith Mendez
2025-06-26 6:51 ` Adrian Hunter
2025-06-24 22:12 ` [PATCH 2/3] arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support Judith Mendez
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Judith Mendez @ 2025-06-24 22:12 UTC (permalink / raw)
To: Judith Mendez, Ulf Hansson, Adrian Hunter, Vignesh Raghavendra
Cc: Nishanth Menon, Tero Kristo, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, devicetree, linux-kernel,
linux-mmc
Errata i2312 [0] for K3 silicon mentions the maximum obtainable
timeout through MMC host controller is 700ms. And for commands taking
longer than 700ms, hardware timeout should be disabled and software
timeout should be used.
The workaround for Errata i2312 can be achieved by adding
SDHCI_QUIRK2_DISABLE_HW_TIMEOUT quirk in sdhci_am654.
[0] https://www.ti.com/lit/pdf/sprz487
Signed-off-by: Judith Mendez <jm@ti.com>
---
drivers/mmc/host/sdhci_am654.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c
index ea14d56558c4..86d87d8e0675 100644
--- a/drivers/mmc/host/sdhci_am654.c
+++ b/drivers/mmc/host/sdhci_am654.c
@@ -613,7 +613,8 @@ static const struct sdhci_ops sdhci_am654_ops = {
static const struct sdhci_pltfm_data sdhci_am654_pdata = {
.ops = &sdhci_am654_ops,
.quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
- .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
+ .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
+ SDHCI_QUIRK2_DISABLE_HW_TIMEOUT,
};
static const struct sdhci_am654_driver_data sdhci_am654_sr1_drvdata = {
@@ -643,7 +644,8 @@ static const struct sdhci_ops sdhci_j721e_8bit_ops = {
static const struct sdhci_pltfm_data sdhci_j721e_8bit_pdata = {
.ops = &sdhci_j721e_8bit_ops,
.quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
- .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
+ .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
+ SDHCI_QUIRK2_DISABLE_HW_TIMEOUT,
};
static const struct sdhci_am654_driver_data sdhci_j721e_8bit_drvdata = {
@@ -667,7 +669,8 @@ static const struct sdhci_ops sdhci_j721e_4bit_ops = {
static const struct sdhci_pltfm_data sdhci_j721e_4bit_pdata = {
.ops = &sdhci_j721e_4bit_ops,
.quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
- .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
+ .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
+ SDHCI_QUIRK2_DISABLE_HW_TIMEOUT,
};
static const struct sdhci_am654_driver_data sdhci_j721e_4bit_drvdata = {
--
2.49.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/3] arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support
2025-06-24 22:12 [PATCH 0/3] Workaround for Errata i2312 Judith Mendez
2025-06-24 22:12 ` [PATCH 1/3] mmc: sdhci_am654: " Judith Mendez
@ 2025-06-24 22:12 ` Judith Mendez
2025-06-26 3:58 ` Vignesh Raghavendra
2025-06-24 22:12 ` [PATCH 3/3] arm64: dts: ti: k3-am62*: Move eMMC pinmux to top level board file Judith Mendez
2025-06-26 3:56 ` [PATCH 0/3] Workaround for Errata i2312 Vignesh Raghavendra
3 siblings, 1 reply; 9+ messages in thread
From: Judith Mendez @ 2025-06-24 22:12 UTC (permalink / raw)
To: Judith Mendez, Ulf Hansson, Adrian Hunter, Vignesh Raghavendra
Cc: Nishanth Menon, Tero Kristo, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, devicetree, linux-kernel,
linux-mmc
For eMMC, High Speed DDR mode is not supported [0], so remove
mmc-ddr-1_8v flag which adds the capability.
[0] https://www.ti.com/lit/gpn/am625
Signed-off-by: Judith Mendez <jm@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
index 9e0b6eee9ac7..120ba8f9dd0e 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -553,7 +553,6 @@ sdhci0: mmc@fa10000 {
clocks = <&k3_clks 57 5>, <&k3_clks 57 6>;
clock-names = "clk_ahb", "clk_xin";
bus-width = <8>;
- mmc-ddr-1_8v;
mmc-hs200-1_8v;
ti,clkbuf-sel = <0x7>;
ti,otap-del-sel-legacy = <0x0>;
--
2.49.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/3] arm64: dts: ti: k3-am62*: Move eMMC pinmux to top level board file
2025-06-24 22:12 [PATCH 0/3] Workaround for Errata i2312 Judith Mendez
2025-06-24 22:12 ` [PATCH 1/3] mmc: sdhci_am654: " Judith Mendez
2025-06-24 22:12 ` [PATCH 2/3] arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support Judith Mendez
@ 2025-06-24 22:12 ` Judith Mendez
2025-06-26 3:56 ` [PATCH 0/3] Workaround for Errata i2312 Vignesh Raghavendra
3 siblings, 0 replies; 9+ messages in thread
From: Judith Mendez @ 2025-06-24 22:12 UTC (permalink / raw)
To: Judith Mendez, Ulf Hansson, Adrian Hunter, Vignesh Raghavendra
Cc: Nishanth Menon, Tero Kristo, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, devicetree, linux-kernel,
linux-mmc
This moves pinmux child nodes for sdhci0 node from k3-am62x-sk-common
to each top level board file. This is needed since we require internal
pullups for AM62x SK and not for AM62 LP SK since it has external
pullups on DATA 1-7.
Internal pulls are required for AM62 SK as per JESD84 spec
recommendation to prevent unconnected lines floating.
Signed-off-by: Judith Mendez <jm@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 25 +++++++++++++++++++
arch/arm64/boot/dts/ti/k3-am625-sk.dts | 25 +++++++++++++++++++
.../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 24 ------------------
3 files changed, 50 insertions(+), 24 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts b/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
index aafdb90c0eb7..973b145bb244 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
@@ -74,6 +74,22 @@ vddshv_sdio: regulator-4 {
};
&main_pmx0 {
+ main_mmc0_pins_default: main-mmc0-default-pins {
+ bootph-all;
+ pinctrl-single,pins = <
+ AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (V3) MMC0_CMD */
+ AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (Y1) MMC0_CLK */
+ AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (V2) MMC0_DAT0 */
+ AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (V1) MMC0_DAT1 */
+ AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (W2) MMC0_DAT2 */
+ AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (W1) MMC0_DAT3 */
+ AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (Y2) MMC0_DAT4 */
+ AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (W3) MMC0_DAT5 */
+ AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (W4) MMC0_DAT6 */
+ AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (V4) MMC0_DAT7 */
+ >;
+ };
+
vddshv_sdio_pins_default: vddshv-sdio-default-pins {
pinctrl-single,pins = <
AM62X_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */
@@ -144,6 +160,15 @@ exp2: gpio@23 {
};
};
+&sdhci0 {
+ bootph-all;
+ status = "okay";
+ non-removable;
+ pinctrl-names = "default";
+ pinctrl-0 = <&main_mmc0_pins_default>;
+ disable-wp;
+};
+
&sdhci1 {
vmmc-supply = <&vdd_mmc1>;
vqmmc-supply = <&vddshv_sdio>;
diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
index 2fbfa3719345..4fc018174470 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
@@ -106,6 +106,22 @@ vcc_1v8: regulator-5 {
};
&main_pmx0 {
+ main_mmc0_pins_default: main-mmc0-default-pins {
+ bootph-all;
+ pinctrl-single,pins = <
+ AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */
+ AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLK */
+ AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */
+ AM62X_IOPAD(0x210, PIN_INPUT_PULLUP, 0) /* (AA1) MMC0_DAT1 */
+ AM62X_IOPAD(0x20c, PIN_INPUT_PULLUP, 0) /* (AA3) MMC0_DAT2 */
+ AM62X_IOPAD(0x208, PIN_INPUT_PULLUP, 0) /* (Y4) MMC0_DAT3 */
+ AM62X_IOPAD(0x204, PIN_INPUT_PULLUP, 0) /* (AB2) MMC0_DAT4 */
+ AM62X_IOPAD(0x200, PIN_INPUT_PULLUP, 0) /* (AC1) MMC0_DAT5 */
+ AM62X_IOPAD(0x1fc, PIN_INPUT_PULLUP, 0) /* (AD2) MMC0_DAT6 */
+ AM62X_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */
+ >;
+ };
+
main_rgmii2_pins_default: main-rgmii2-default-pins {
bootph-all;
pinctrl-single,pins = <
@@ -195,6 +211,15 @@ exp1: gpio@22 {
};
};
+&sdhci0 {
+ bootph-all;
+ status = "okay";
+ non-removable;
+ pinctrl-names = "default";
+ pinctrl-0 = <&main_mmc0_pins_default>;
+ disable-wp;
+};
+
&sdhci1 {
vmmc-supply = <&vdd_mmc1>;
vqmmc-supply = <&vdd_sd_dv>;
diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
index ee8337bfbbfd..13e1d36123d5 100644
--- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
@@ -203,22 +203,6 @@ AM62X_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24/H19) GPMC0_CSn3.I2C2_SDA */
>;
};
- main_mmc0_pins_default: main-mmc0-default-pins {
- bootph-all;
- pinctrl-single,pins = <
- AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3/V3) MMC0_CMD */
- AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1/Y1) MMC0_CLK */
- AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2/V2) MMC0_DAT0 */
- AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (AA1/V1) MMC0_DAT1 */
- AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (AA3/W2) MMC0_DAT2 */
- AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (Y4/W1) MMC0_DAT3 */
- AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (AB2/Y2) MMC0_DAT4 */
- AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (AC1/W3) MMC0_DAT5 */
- AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (AD2/W4) MMC0_DAT6 */
- AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (AC2/V4) MMC0_DAT7 */
- >;
- };
-
main_mmc1_pins_default: main-mmc1-default-pins {
bootph-all;
pinctrl-single,pins = <
@@ -457,14 +441,6 @@ &main_i2c2 {
clock-frequency = <400000>;
};
-&sdhci0 {
- bootph-all;
- status = "okay";
- non-removable;
- pinctrl-names = "default";
- pinctrl-0 = <&main_mmc0_pins_default>;
-};
-
&sdhci1 {
/* SD/MMC */
bootph-all;
--
2.49.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 0/3] Workaround for Errata i2312
2025-06-24 22:12 [PATCH 0/3] Workaround for Errata i2312 Judith Mendez
` (2 preceding siblings ...)
2025-06-24 22:12 ` [PATCH 3/3] arm64: dts: ti: k3-am62*: Move eMMC pinmux to top level board file Judith Mendez
@ 2025-06-26 3:56 ` Vignesh Raghavendra
2025-06-26 14:18 ` Judith Mendez
3 siblings, 1 reply; 9+ messages in thread
From: Vignesh Raghavendra @ 2025-06-26 3:56 UTC (permalink / raw)
To: Judith Mendez, Ulf Hansson, Adrian Hunter
Cc: Nishanth Menon, Tero Kristo, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, devicetree, linux-kernel,
linux-mmc
On 25/06/25 03:42, Judith Mendez wrote:
> This patch series includes fix for Errata i2312 [0].
>
> Also include fixes for removing eMMC HS DDR support for am62
> SK which has been descoped as per datasheet [1] and enabling internal
> pullups for AM62 SK and AM62SIP SK, as per JESD84 spec recommendations.
>
> [0] https://www.ti.com/lit/pdf/sprz487
> [1] https://www.ti.com/lit/gpn/am625
>
> Judith Mendez (3):
> mmc: sdhci_am654: Workaround for Errata i2312
> arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support
> arm64: dts: ti: k3-am62*: Move eMMC pinmux to top level board file
>
2/3 and 3/3 have no relation to 1/3 and they need to go via different
trees. Please post them separately.
> arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 25 +++++++++++++++++++
> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 -
> arch/arm64/boot/dts/ti/k3-am625-sk.dts | 25 +++++++++++++++++++
> .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 24 ------------------
> drivers/mmc/host/sdhci_am654.c | 9 ++++---
> 5 files changed, 56 insertions(+), 28 deletions(-)
>
--
Regards
Vignesh
https://ti.com/opensource
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/3] arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support
2025-06-24 22:12 ` [PATCH 2/3] arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support Judith Mendez
@ 2025-06-26 3:58 ` Vignesh Raghavendra
2025-06-26 14:18 ` Judith Mendez
0 siblings, 1 reply; 9+ messages in thread
From: Vignesh Raghavendra @ 2025-06-26 3:58 UTC (permalink / raw)
To: Judith Mendez, Ulf Hansson, Adrian Hunter
Cc: Nishanth Menon, Tero Kristo, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, devicetree, linux-kernel,
linux-mmc
On 25/06/25 03:42, Judith Mendez wrote:
> For eMMC, High Speed DDR mode is not supported [0], so remove
> mmc-ddr-1_8v flag which adds the capability.
>
Needs a Fixes tag.
> [0] https://www.ti.com/lit/gpn/am625
> Signed-off-by: Judith Mendez <jm@ti.com>
> ---
> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> index 9e0b6eee9ac7..120ba8f9dd0e 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> @@ -553,7 +553,6 @@ sdhci0: mmc@fa10000 {
> clocks = <&k3_clks 57 5>, <&k3_clks 57 6>;
> clock-names = "clk_ahb", "clk_xin";
> bus-width = <8>;
> - mmc-ddr-1_8v;
> mmc-hs200-1_8v;
> ti,clkbuf-sel = <0x7>;
> ti,otap-del-sel-legacy = <0x0>;
--
Regards
Vignesh
https://ti.com/opensource
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] mmc: sdhci_am654: Workaround for Errata i2312
2025-06-24 22:12 ` [PATCH 1/3] mmc: sdhci_am654: " Judith Mendez
@ 2025-06-26 6:51 ` Adrian Hunter
0 siblings, 0 replies; 9+ messages in thread
From: Adrian Hunter @ 2025-06-26 6:51 UTC (permalink / raw)
To: Judith Mendez, Ulf Hansson, Vignesh Raghavendra
Cc: Nishanth Menon, Tero Kristo, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, devicetree, linux-kernel,
linux-mmc
On 25/06/2025 01:12, Judith Mendez wrote:
> Errata i2312 [0] for K3 silicon mentions the maximum obtainable
> timeout through MMC host controller is 700ms. And for commands taking
> longer than 700ms, hardware timeout should be disabled and software
> timeout should be used.
>
> The workaround for Errata i2312 can be achieved by adding
> SDHCI_QUIRK2_DISABLE_HW_TIMEOUT quirk in sdhci_am654.
>
> [0] https://www.ti.com/lit/pdf/sprz487
>
> Signed-off-by: Judith Mendez <jm@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
> drivers/mmc/host/sdhci_am654.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c
> index ea14d56558c4..86d87d8e0675 100644
> --- a/drivers/mmc/host/sdhci_am654.c
> +++ b/drivers/mmc/host/sdhci_am654.c
> @@ -613,7 +613,8 @@ static const struct sdhci_ops sdhci_am654_ops = {
> static const struct sdhci_pltfm_data sdhci_am654_pdata = {
> .ops = &sdhci_am654_ops,
> .quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
> - .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
> + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
> + SDHCI_QUIRK2_DISABLE_HW_TIMEOUT,
> };
>
> static const struct sdhci_am654_driver_data sdhci_am654_sr1_drvdata = {
> @@ -643,7 +644,8 @@ static const struct sdhci_ops sdhci_j721e_8bit_ops = {
> static const struct sdhci_pltfm_data sdhci_j721e_8bit_pdata = {
> .ops = &sdhci_j721e_8bit_ops,
> .quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
> - .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
> + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
> + SDHCI_QUIRK2_DISABLE_HW_TIMEOUT,
> };
>
> static const struct sdhci_am654_driver_data sdhci_j721e_8bit_drvdata = {
> @@ -667,7 +669,8 @@ static const struct sdhci_ops sdhci_j721e_4bit_ops = {
> static const struct sdhci_pltfm_data sdhci_j721e_4bit_pdata = {
> .ops = &sdhci_j721e_4bit_ops,
> .quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
> - .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
> + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
> + SDHCI_QUIRK2_DISABLE_HW_TIMEOUT,
> };
>
> static const struct sdhci_am654_driver_data sdhci_j721e_4bit_drvdata = {
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/3] arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support
2025-06-26 3:58 ` Vignesh Raghavendra
@ 2025-06-26 14:18 ` Judith Mendez
0 siblings, 0 replies; 9+ messages in thread
From: Judith Mendez @ 2025-06-26 14:18 UTC (permalink / raw)
To: Vignesh Raghavendra, Ulf Hansson, Adrian Hunter
Cc: Nishanth Menon, Tero Kristo, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, devicetree, linux-kernel,
linux-mmc
Hi Vignesh,
On 6/25/25 10:58 PM, Vignesh Raghavendra wrote:
>
>
> On 25/06/25 03:42, Judith Mendez wrote:
>> For eMMC, High Speed DDR mode is not supported [0], so remove
>> mmc-ddr-1_8v flag which adds the capability.
>>
>
> Needs a Fixes tag.
Ok, will add fixes tag and send in a separate series.
>
>> [0] https://www.ti.com/lit/gpn/am625
>> Signed-off-by: Judith Mendez <jm@ti.com>
>> ---
>> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
>> index 9e0b6eee9ac7..120ba8f9dd0e 100644
>> --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
>> +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
>> @@ -553,7 +553,6 @@ sdhci0: mmc@fa10000 {
>> clocks = <&k3_clks 57 5>, <&k3_clks 57 6>;
>> clock-names = "clk_ahb", "clk_xin";
>> bus-width = <8>;
>> - mmc-ddr-1_8v;
>> mmc-hs200-1_8v;
>> ti,clkbuf-sel = <0x7>;
>> ti,otap-del-sel-legacy = <0x0>;
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/3] Workaround for Errata i2312
2025-06-26 3:56 ` [PATCH 0/3] Workaround for Errata i2312 Vignesh Raghavendra
@ 2025-06-26 14:18 ` Judith Mendez
0 siblings, 0 replies; 9+ messages in thread
From: Judith Mendez @ 2025-06-26 14:18 UTC (permalink / raw)
To: Vignesh Raghavendra, Ulf Hansson, Adrian Hunter
Cc: Nishanth Menon, Tero Kristo, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, devicetree, linux-kernel,
linux-mmc
Hi Vignesh,
On 6/25/25 10:56 PM, Vignesh Raghavendra wrote:
>
>
> On 25/06/25 03:42, Judith Mendez wrote:
>> This patch series includes fix for Errata i2312 [0].
>>
>> Also include fixes for removing eMMC HS DDR support for am62
>> SK which has been descoped as per datasheet [1] and enabling internal
>> pullups for AM62 SK and AM62SIP SK, as per JESD84 spec recommendations.
>>
>> [0] https://www.ti.com/lit/pdf/sprz487
>> [1] https://www.ti.com/lit/gpn/am625
>>
>> Judith Mendez (3):
>> mmc: sdhci_am654: Workaround for Errata i2312
>> arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support
>> arm64: dts: ti: k3-am62*: Move eMMC pinmux to top level board file
>>
>
> 2/3 and 3/3 have no relation to 1/3 and they need to go via different
> trees. Please post them separately.
Will separate the patches, thanks (:
~ Judith
>
>> arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 25 +++++++++++++++++++
>> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 -
>> arch/arm64/boot/dts/ti/k3-am625-sk.dts | 25 +++++++++++++++++++
>> .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 24 ------------------
>> drivers/mmc/host/sdhci_am654.c | 9 ++++---
>> 5 files changed, 56 insertions(+), 28 deletions(-)
>>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-06-26 14:20 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-24 22:12 [PATCH 0/3] Workaround for Errata i2312 Judith Mendez
2025-06-24 22:12 ` [PATCH 1/3] mmc: sdhci_am654: " Judith Mendez
2025-06-26 6:51 ` Adrian Hunter
2025-06-24 22:12 ` [PATCH 2/3] arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support Judith Mendez
2025-06-26 3:58 ` Vignesh Raghavendra
2025-06-26 14:18 ` Judith Mendez
2025-06-24 22:12 ` [PATCH 3/3] arm64: dts: ti: k3-am62*: Move eMMC pinmux to top level board file Judith Mendez
2025-06-26 3:56 ` [PATCH 0/3] Workaround for Errata i2312 Vignesh Raghavendra
2025-06-26 14:18 ` Judith Mendez
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).