u-boot/arch/arm/include/asm/arch-rk3308
Massimo Pegorer 0cd87aac5c 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>
2023-08-12 10:37:57 +08:00
..
boot0.h arm: rockchip: Add RK3308 SOC support 2019-11-17 17:22:53 +08:00
cru_rk3308.h clk: rockchip: rk3308: Support reading UART rate and clock registers 2023-08-12 10:37:57 +08:00
gpio.h arm: rockchip: Add RK3308 SOC support 2019-11-17 17:22:53 +08:00
grf_rk3308.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00