configs: j722s_evm_a53_defconfig: Allow configurability of MMCSD speeds
PATCH 1/1 configs: j722s_evm_a53_defconfig: Allow configurability of MMCSD speeds
Add config to allow UHS support, in turn allowing to select UHS speed modes for the SD card
---
Test logs: https://gist.github.com/Jamm02/e8b8b8c95cb62a7145d73f7ef50b2d8e
configs/j722s_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/j722s_evm_a53_defconfig +1 -0
@@ -107,6 +107,7 @@ CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ADMA=y CONFIG_SPL_MMC_SDHCI_ADMA=y CONFIG_MMC_SDHCI_AM654=y +CONFIG_MMC_UHS_SUPPORT=y CONFIG_MTD=y CONFIG_DM_MTD=y CONFIG_MTD_SPI_NAND=y
Signature · 1 line
2.34.1
Quoted 15 lines · Moteen Shah
Add config to allow UHS support, in turn allowing to select UHS speed modes for the SD card
Signed-off-by Moteen Shah <[email protected]>---
Test logs: https://gist.github.com/Jamm02/e8b8b8c95cb62a7145d73f7ef50b2d8econfigs/j722s_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+)configs/j722s_evm_a53_defconfig +0
-0
configs/j722s_evm_a53_defconfig CONFIG_MMC_SDHCI=y · line 110
Quoted 4 lines
configs/j722s_evm_a53_defconfig +1
-0@@ -107,6 +107,7 @@ CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ADMA=y CONFIG_SPL_MMC_SDHCI_ADMA=y CONFIG_MMC_SDHCI_AM654=y +CONFIG_MMC_UHS_SUPPORT=y
you may need at A72/SPL stage as well,
and do you think , R5/SPL will need this too ?
Quoted 3 lines
configs/j722s_evm_a53_defconfig +0
-0CONFIG_MTD=y CONFIG_DM_MTD=y CONFIG_MTD_SPI_NAND=y
Quoted 12 lines · Udit
Quoted 10 lines · Moteen Shah
Add config to allow UHS support, in turn allowing to select UHS speed modes for the SD card
Signed-off-by Moteen Shah <[email protected]>---
Test logs: https://gist.github.com/Jamm02/e8b8b8c95cb62a7145d73f7ef50b2d8econfigs/j722s_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
Quoted 12 lines
Quoted 9 lines
configs/j722s_evm_a53_defconfig +0
-0@@ -107,6 +107,7 @@ CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_ADMA=y
CONFIG_SPL_MMC_SDHCI_ADMA=y
CONFIG_MMC_SDHCI_AM654=y
+CONFIG_MMC_UHS_SUPPORT=yyou may need at A72/SPL stage as well,
Other J7 boards already have this config enabled in the a72 stage.
Quoted 2 lines
and do you think , R5/SPL will need this too ?
Any of the K3 devices does not enables this in R5 SPL, though we do have HS400 enabled in the R5 stage. Adding the config should result in a little performance gain I think.
Regards,
Moteen
Quoted 5 lines
Quoted 5 lines
CONFIG_MTD=y
CONFIG_DM_MTD=y
CONFIG_MTD_SPI_NAND=y
Quoted 29 lines · Moteen Shah
Quoted 13 lines · Udit
Quoted 11 lines · Moteen Shah
Add config to allow UHS support, in turn allowing to select UHS speed modes for the SD card
Signed-off-by Moteen Shah <[email protected]>---
Test logs:
https://gist.github.com/Jamm02/e8b8b8c95cb62a7145d73f7ef50b2d8econfigs/j722s_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)Quoted 13 lines
Quoted 10 lines
configs/j722s_evm_a53_defconfig +0
-0@@ -107,6 +107,7 @@ CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_ADMA=y
CONFIG_SPL_MMC_SDHCI_ADMA=y
CONFIG_MMC_SDHCI_AM654=y
+CONFIG_MMC_UHS_SUPPORT=yyou may need at A72/SPL stage as well,
Quoted 7 lines
Other J7 boards already have this config enabled in the a72 stage.
Quoted 2 lines
and do you think , R5/SPL will need this too ?
Any of the K3 devices does not enables this in R5 SPL, though we do have HS400 enabled in the R5 stage.
Adding the config should result in a little performance gain I think.
Is this a function of board design, or a SoC-level feature?
Signature · 1 line
Tom
Hey Tom and Udit,
Quoted 26 lines · Tom Rini
Quoted 25 lines · Moteen Shah
Quoted 24 lines · Udit
Quoted 17 lines · Moteen Shah
Add config to allow UHS support, in turn allowing to select UHS speed modes for the SD card
Signed-off-by Moteen Shah <[email protected]>---
Test logs:
https://gist.github.com/Jamm02/e8b8b8c95cb62a7145d73f7ef50b2d8econfigs/j722s_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+)configs/j722s_evm_a53_defconfig +0
-0configs/j722s_evm_a53_defconfig CONFIG_MMC_SDHCI=y · line 110
Quoted 4 lines
configs/j722s_evm_a53_defconfig +1
-0@@ -107,6 +107,7 @@ CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ADMA=y CONFIG_SPL_MMC_SDHCI_ADMA=y CONFIG_MMC_SDHCI_AM654=y +CONFIG_MMC_UHS_SUPPORT=yyou may need at A72/SPL stage as well,
Quoted 6 lines
Quoted 5 lines
Other J7 boards already have this config enabled in the a72 stage.
Quoted 1 line
and do you think , R5/SPL will need this too ?
Any of the K3 devices does not enables this in R5 SPL, though we do have HS400 enabled in the R5 stage.
Adding the config should result in a little performance gain I think.Is this a function of board design, or a SoC-level feature?
SOC level feature, thought it has dependency on the board to provide the right voltage to the card.
@udit, I did some profiling with UHS enabled at the R5 stage on J784s4-EVM but I see no performance gain there, likely due to the fact that the R5 stage takes up very minimal percentage of the boot time. This patch can go in as it is.
Regards,
Moteen
Quoted 1 line
Quoted 36 lines · Moteen Shah
Hey Tom and Udit,
Quoted 26 lines · Tom Rini
Quoted 25 lines · Moteen Shah
Quoted 24 lines · Udit
Quoted 17 lines · Moteen Shah
Add config to allow UHS support, in turn allowing to select UHS speed modes for the SD card
Signed-off-by Moteen Shah <[email protected]>---
Test logs:
https://gist.github.com/Jamm02/e8b8b8c95cb62a7145d73f7ef50b2d8econfigs/j722s_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+)configs/j722s_evm_a53_defconfig +0
-0configs/j722s_evm_a53_defconfig CONFIG_MMC_SDHCI=y · line 110
Quoted 4 lines
configs/j722s_evm_a53_defconfig +1
-0@@ -107,6 +107,7 @@ CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ADMA=y CONFIG_SPL_MMC_SDHCI_ADMA=y CONFIG_MMC_SDHCI_AM654=y +CONFIG_MMC_UHS_SUPPORT=yyou may need at A72/SPL stage as well,
Quoted 6 lines
Quoted 5 lines
Other J7 boards already have this config enabled in the a72 stage.
Quoted 1 line
and do you think , R5/SPL will need this too ?
Any of the K3 devices does not enables this in R5 SPL, though we do have HS400 enabled in the R5 stage.
Adding the config should result in a little performance gain I think.Is this a function of board design, or a SoC-level feature?
Quoted 7 lines
SOC level feature, thought it has dependency on the board to provide the right voltage to the card.
@udit, I did some profiling with UHS enabled at the R5 stage on J784s4-EVM but I see no performance gain there, likely due to the fact that the R5 stage takes up very minimal percentage of the boot time. This patch can go in as it is.
I think we should imply this under ARCH_K3 then, so that boards which do not meet the design requirements can turn it off, as I am assuming most do.
Signature · 1 line
Tom