RB1 fixes
cover RB1 fixes
The eMMC on RB1 boards supports HS200 mode but currently the msm_shdci driver in U-Boot is missing DLL configuration required for HS200 mode to work. Hence disable HS200 for now until proper support is in place.
Apart from that, add DT override for USB to work in host mode as otg mode isn't supported. Along with that disable sdhci_2 which doesn't work as of now.
There is another patch related to clk_stub posted here [1] which allows the MMC clocks to be probed properly.
[1] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Sumit Garg (2):
arm: dts: Add override for RB1
qcom_defconfig: Disable MMC HS200 mode support
arch/arm/dts/qrb2210-rb1-u-boot.dtsi | 11 +++++++++++ configs/qcom_defconfig | 1 - 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/qrb2210-rb1-u-boot.dtsi
Signature · 1 line
2.43.0
PATCH 1/2 arm: dts: Add override for RB1
Add U-Boot override for RB1 to for USB in host mode as OTG mode isn't supported. Also, disable sdhc_2 as it's currently not supported, sdhc_1 works fine though.
--- arch/arm/dts/qrb2210-rb1-u-boot.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 arch/arm/dts/qrb2210-rb1-u-boot.dtsi
arch/arm/dts/qrb2210-rb1-u-boot.dtsi new file +11 -0
@@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* This is usually OTG but U-Boot doesn't support that properly */ +&usb_dwc3 { + dr_mode = "host"; +}; + +/* SDHC_2 isn't supported in U-Boot as of now */ +&sdhc_2 { + status = "disabled"; +};
Signature · 1 line
2.43.0
PATCH 2/2 qcom_defconfig: Disable MMC HS200 mode support
In reply to Sumit GargCurrently the msm_sdhci doesn't yet support DLL configurations which are required to enable bus speeds greater that 100MHz. So disable HS200 mode support as of now as it requires bus speeds of 200MHz.
This should fix eMMC issues reported on RB1.
--- configs/qcom_defconfig | 1 - 1 file changed, 1 deletion(-)
configs/qcom_defconfig +0 -1
@@ -81,7 +81,6 @@ CONFIG_QCOM_HYP_SMMU=y CONFIG_MISC=y CONFIG_NVMEM=y CONFIG_I2C_EEPROM=y -CONFIG_MMC_HS200_SUPPORT=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ADMA=y CONFIG_MMC_SDHCI_MSM=y
Signature · 1 line
2.43.0