Skip to content
Commit 0cd87aac authored by Massimo Pegorer's avatar Massimo Pegorer Committed by Kever Yang
Browse files

clk: rockchip: rk3308: Support reading UART rate and clock registers



Add support to read RK3308 registers used to configure UART clocks, and
thus to get UART rate and baudrate. This fixes clock_get_rate returning
error on serial device probing. Moreover, there is no need anymore to
use 'clock-frequency' property for UART nodes in *-u-boot.dtsi files
for all cases where UART is not inited by U-Boot proper or by SPL o by
TPL code but by a preliminary external boot phase (for Rock PI S, UART
is inited by external TPL).

Signed-off-by: default avatarMassimo Pegorer <massimo.pegorer+oss@gmail.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent e4c6ccc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment