diff options
author | Massimo Pegorer <massimo.pegorer+oss@gmail.com> | 2023-08-03 14:08:12 +0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-08-12 05:37:57 +0300 |
commit | 0cd87aac5c89941e711c392d5062da031445ae59 (patch) | |
tree | 9c4111a78ac507d6152de5e5a5d8ab17f6312989 /boot/bootflow.c | |
parent | e4c6ccc6875638766970d249a6cb5dacce6822fe (diff) | |
download | u-boot-0cd87aac5c89941e711c392d5062da031445ae59.tar.xz |
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: Massimo Pegorer <massimo.pegorer+oss@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'boot/bootflow.c')
0 files changed, 0 insertions, 0 deletions