]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv: dts: spacemit: Acquire clocks for UART
authorYixun Lan <dlan@gentoo.org>
Thu, 24 Apr 2025 07:48:09 +0000 (15:48 +0800)
committerYixun Lan <dlan@gentoo.org>
Wed, 14 May 2025 03:43:51 +0000 (11:43 +0800)
commit3b2802c2d665bcdcb176f8da894198a0654a317a
tree195cd17a651c111194b5250302c109da49685417
parentc4f3c45a47936da478f31f0975bc7ef2b98a9a9a
riscv: dts: spacemit: Acquire clocks for UART

The K1 SoC features two clocks for UART controller, Acquire them
explicitly in the driver. Also it is required to remove the
clock-frequency properties from the uart node, otherwise the new
clock properties are ignored by of_platform_serial_setup() in "8250_of.c".

Reviewed-by: Alex Elder <elder@riscstar.com>
Reviewed-by: Haylen Chu <heylenay@4d2.org>
Link: https://lore.kernel.org/r/20250424-05-dts-clock-v2-2-17d83a705c4c@gentoo.org
Signed-off-by: Yixun Lan <dlan@gentoo.org>
arch/riscv/boot/dts/spacemit/k1.dtsi