[U-Boot] [PATCH 7/9 v2] Exynos: clock: Add generic api to get the clk freq

Simon Glass sjg at chromium.org
Thu Feb 28 14:37:46 CET 2013


On Thu, Feb 28, 2013 at 2:59 AM, Akshay Saraswat <akshay.s at samsung.com> wrote:
> Add generic api to get the frequency of the required peripherial. This
> API gets the source clock frequency and returns the required frequency
> by dividing with first and second dividers based on the requirement.
>
> Test with command "sf probe 1:0; time sf read 40008000 0 1000".
> Try with different numbers of bytes and see that sane values are obtained
> Build and boot U-boot with this patch, backlight works properly.
>
> Signed-off-by: Padmavathi Venna <padma.v at samsung.com>
> Signed-off-by: Akshay Saraswat <akshay.s at samsung.com>

Acked-by: Simon Glass <sjg at chromium.org>

> ---
> Changes since v1:
>         - Fixed few nits.
>
>  arch/arm/cpu/armv7/exynos/clock.c      | 138 +++++++++++++++++++++++++++++++++
>  arch/arm/include/asm/arch-exynos/clk.h |  17 ++++
>  2 files changed, 155 insertions(+)
>


More information about the U-Boot mailing list