]> git.sur5r.net Git - u-boot/commit
mmc: zynq: Add fdt max-frequency support
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Tue, 17 Jan 2017 15:27:33 +0000 (16:27 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 17 Feb 2017 09:22:47 +0000 (10:22 +0100)
commit61e745d1311532a90de537cc470da12d306ee193
treecfa1dff2e0ec9f05fb5926846d4983ec84785140
parente0f4de1afcdb80b4ccad10a877504baaeb7ae2c0
mmc: zynq: Add fdt max-frequency support

The maximum supported peripheral clock frequency of the zynq depends on
the IO routing. The MIO and EMIO support a maximum frequency of 50 MHz
respectively 25 MHz. Use the max-frequency value of the device tree to
determine the maximal supported peripheral clock frequency.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mmc/zynq_sdhci.c