]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: keystone2: Add support for getting external clock dynamically
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 3 May 2017 11:28:26 +0000 (16:58 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 16:34:29 +0000 (12:34 -0400)
commitee3c6532be343e495d11adfe15a457d24d9747d9
tree202b389517d50e835d6ce1e1a79d7ec2db979e67
parentc5f177debc8b430c0a0038a9d8f6309eb3bd6299
ARM: keystone2: Add support for getting external clock dynamically

One some keystone2 platforms like K2G ICE, there is an option
to switch between 24MHz or 25MHz as sysclk. But the existing
driver assumes it is always 24MHz. Add support for getting
all reference clocks dynamically by reading boot pins.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-keystone/clock.c
arch/arm/mach-keystone/include/mach/clock.h
board/ti/ks2_evm/board_k2e.c
board/ti/ks2_evm/board_k2g.c
board/ti/ks2_evm/board_k2hk.c
board/ti/ks2_evm/board_k2l.c
include/configs/ti_armv7_keystone2.h