
On 2 February 2015 at 05:19, Akshay Saraswat akshay.s@samsung.com wrote:
We planned to fetch peripheral rate through one generic API per peripheral. These generic peripheral functions are in turn expected to fetch apt values from a function refactored as per SoC versions. This patch adds support for fetching peripheral rates for Exynos5420 and Exynos5800.
Signed-off-by: Akshay Saraswat akshay.s@samsung.com
Changes since v3: - Added a case for SPLL in exynos542x_get_periph_rate. - Changed EXYNOS542x -> EXYNOS542X.
Changes since v2: - Fixed enum and exynos542x_get_periph_rate switch. - Added checks for negative values in exynos542x_get_periph_rate.
Changes since v1: - Changes suuport -> support in commit message. - Removed position change of exynos5420_get_pll_clk. - Removed #ifdef.
arch/arm/cpu/armv7/exynos/clock.c | 153 +++++++++++++++++++++++++++++++-- arch/arm/include/asm/arch-exynos/clk.h | 4 + 2 files changed, 150 insertions(+), 7 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org