Arasan timeout clock frequency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Douglas,

I am once again looking at drivers/mmc/host/sdhci-of-arasan.c
because SDR50 SD cards are malfunctioning on a new board.

The only relevant difference between the two boards is the
"clk_xin" frequency => 48 MHz before, 200 MHz now.

Apparently, simply adding max-frequency = <60000000>; in the
mmc DT node works around the issue, but I'd like to get to
the bottom of it.

sdhci_arasan_get_timeout_clock() returns pltfm_host->clk
but IIUC, it's supposed to be a 6-bit field in the cap
register. So 48 used to fit, but 200 would overflow...
That would explain how capping at 60 MHz is a solution?

Anyway, I'll keep digging, but I'd like to hear your thoughts.

Regards.
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux