]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: socfpga: Add clock framework support
authorMarek Vasut <marex@denx.de>
Wed, 1 Aug 2018 16:28:35 +0000 (18:28 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 13 Aug 2018 20:35:42 +0000 (22:35 +0200)
commitfa1ad8ee4edfc93e79c9913d1f4ce5847626243c
treeefbe8f63f9708bb38ebe78f6f9ecde3cb6962d7c
parent430c6d1a095cb83a2633f25f8b640c76d5dee1ed
mmc: socfpga: Add clock framework support

Add support for fetching the clock frequency both using the legacy
method in case clock framework is disabled as well as via the clock
framework if it is enabled. This allows for migration to the clock
framework on platforms which supports it while not breaking legacy
platforms. That said, the legacy method must be removed eventually.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <chin.liang.see@intel.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Ley Foon Tan <ley.foon.tan@intel.com>
drivers/mmc/socfpga_dw_mmc.c