imx: imx_clock: mmc: Add USDHC clock API
authorJun Nie <jun.nie@linaro.org>
Thu, 28 Jun 2018 08:38:11 +0000 (16:38 +0800)
committerBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 4 Sep 2018 12:36:22 +0000 (13:36 +0100)
commit14cf32aaa72fabb13f60e85c2a4c8bf9422c22ec
tree4e1f33739147fa1aa5d5b49afad98cf51e0d3610
parentdcd54e9b4cbe0e771e63f0e53f2d3a59198b48d3
imx: imx_clock: mmc: Add USDHC clock API

This patch adds an API to configure up the base USDHC clocks, taking a
bit-mask of silicon specific bits as an input from a higher layer in order
to direct the necessary clock source.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
plat/imx/common/imx_clock.c
plat/imx/common/include/imx_clock.h