History log of /rk3399_ARM-atf/plat/marvell/armada/a3k/common/aarch64/a3700_clock.S (Results 1 – 2 of 2)
Revision Date Author Comments
# 076bb38d 07-Jun-2021 Manish Pandey <manish.pandey2@arm.com>

Merge "fix(plat/marvell/a3720/uart): fix UART parent clock rate determination" into integration


# 5a91c439 14-May-2021 Pali Rohár <pali@kernel.org>

fix(plat/marvell/a3720/uart): fix UART parent clock rate determination

The UART code for the A3K platform assumes that UART parent clock rate
is always 25 MHz. This is incorrect, because the xtal cl

fix(plat/marvell/a3720/uart): fix UART parent clock rate determination

The UART code for the A3K platform assumes that UART parent clock rate
is always 25 MHz. This is incorrect, because the xtal clock can also run
at 40 MHz (this is board specific).

The frequency of the xtal clock is determined by a value on a strapping
pin during SOC reset. The code to determine this frequency is already in
A3K's comphy driver.

Move the get_ref_clk() function from the comphy driver to a separate
file and use it for UART parent clock rate determination.

Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: I8bb18a2d020ef18fe65aa06ffa4ab205c71be92e

show more ...