@Vinny, I'm adding a little more context to our efforts on UFS1 support.
We tied the detect pin to ground but the clock line on J5 still doesn't show a clock signal on an oscilloscope.
We tried going back to the M0062-2 with an SDCard to see if that would work. In our tests, the voxl2 did not communicate correctly with the SDCard. We get the following dmesg output:
[ 75.085028] mmc0: sdhci_msm_execute_tuning: no tuning point found
[ 75.085083] mmc0: tuning execution failed: -5
[ 75.085126] mmc0: error -5 whilst initialising SD card
We also tried digging around on Qualcomm's website to check the device tree. I found this handy website that lists some of the addresses used for UFS.
https://docs.qualcomm.com/doc/80-88500-4/topic/90_UFS_hardware.html
It shows the UFS_MEM_MPHY_UFS register as 0x01D87000 and UFS_MEM_UFS at 0x01D8400. for the "Embedded UFS memory address" I see these in the m0054-kona.dtsi device tree:
ufsphy_mem: ufsphy_mem@1d87000 {
reg = <0x1d87000 0xe00>, <0x1d90000 0x8000>; /* PHY regs */
reg-names = "phy_mem", "ufs_ice";
...
};
and
ufshc_mem: ufshc@1d84000 {
compatible = "qcom,ufshc";
reg = <0x1d84000 0x3000>, <0x1d90000 0x8000>;
reg-names = "ufs_mem", "ufs_ice";
...
};
That same website also shows the UFS_CARD_MPHY_UFS as 0x01DA7000 and UFS_CARD_UFS as 0x01DA4000. I do not see those addresses used in m0054-kona.dtsi.
I do see the SDC 2 memory addresses of 0x08804000 (https://docs.qualcomm.com/doc/80-88500-4/topic/97_SD_SDIO_hardware.html) listed in the m0054-kona.dtsi.
sdhc_2: sdhci@8804000 {
compatible = "qcom,sdhci-msm-v5";
reg = <0x8804000 0x1000>;
reg-names = "hc_mem";
-
Do you know if the current device tree should support the UFS Card interface? It seems curious to me that we do not see the UFS Card addresses in the device tree.
-
Should we expect an SDCard to work on the m0062-2? If so, I'll experiment further with other boards and other SD cards to try to isolate the issue.