]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: sdhci-pci: Use ACPI to get max frequency for Intel NI byt sdio
authorZach Brown <zach.brown@ni.com>
Mon, 28 Nov 2016 19:16:39 +0000 (13:16 -0600)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:19 +0000 (10:31 +0100)
commit3f23df72dc351e9ffe5eb577fcc38876dacba305
tree15e8c19ff44db0c2cb2acb2ea84ce66bd59e376a
parent42b06496407c03f4c89e19c5b9d4973446d2f1af
mmc: sdhci-pci: Use ACPI to get max frequency for Intel NI byt sdio

On NI 9037 boards the max SDIO frequency is limited by trace lengths
and other layout choices. The max SDIO frequency is stored in an ACPI
table.

The driver reads the ACPI entry MXFQ during sdio_probe_slot and sets the
f_max field of the host.

Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com>
Reviewed-by: Jaeden Amero <jaeden.amero@ni.com>
Reviewed-by: Josh Cartwright <joshc@ni.com>
Signed-off-by: Zach Brown <zach.brown@ni.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c