Skip to content

Fix RPI5 uart clock when loading kernel with non-boot DT

Bruno Leite u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1rpi: copy over uart clock-frequency in DTboard/raspberrypi/rpi/rpi.c+3 -01 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchPeter Robinson
1/1R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] Fix RPI5 uart clock when loading kernel with non-boot DT

From: Bruno Leite <[email protected]>

When loading the kernel with a DT that was not used to boot the rpi (e.g. when using a FIT image), the uart-clk property that should have been patched by the firmware will be passed as is to the driver and thus cause the divisor to be set incorrectly, hence the uart will not work properly. Fix that by copying the correct uart-clk set by the firmware to the new DT loaded to be passed to the kernel.

Bruno Leite (1):
rpi: copy over uart clock-frequency in DT

 board/raspberrypi/rpi/rpi.c | 3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
2.45.2