summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2013-08-19 01:29:13 +0000
committerian <ian@FreeBSD.org>2013-08-19 01:29:13 +0000
commitd04910fca02621bee194fb768af6f89c53d02878 (patch)
tree12fa88bd8409b866ecf432aff3de206ef831b5eb /etc
parent7fb3e64ee2006f8f757634e11dd261dc4aee57f4 (diff)
downloadFreeBSD-src-d04910fca02621bee194fb768af6f89c53d02878.zip
FreeBSD-src-d04910fca02621bee194fb768af6f89c53d02878.tar.gz
Allow a hardware driver to pass clock frequencies into the sdhci driver.
The sdhci spec says that if the base or timeout clock frequency in the capabilities register is zero, the driver must obtain the frequency "from another source." This change defines that other source to be the low-level hardware driver, which can pre-set the frequencies in slot.max_clk and slot.timeout_clk before calling sdhci_init_slot(). This helps with a growing number of SoCs that have sdhci base clock frequencies that either won't fit into the range allowed by the number of bits available in the capabilities register, or the frequency is runtime- configurable.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud