]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
arm64: dts: ti: k3-am64-mcu: remove incorrect UART base clock rates
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Tue, 19 Apr 2022 07:51:57 +0000 (09:51 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 10 Aug 2022 07:24:48 +0000 (09:24 +0200)
commita4e74b3107ce9d60f2b7a8d95aa3456226cda6f5
treeba98da823e1e550c1ae1cf359182fe755d7f1f73
parent382072ea03f041a173eff5a8ea935c4f599acd10
arm64: dts: ti: k3-am64-mcu: remove incorrect UART base clock rates

BugLink: https://bugs.launchpad.net/bugs/1981864
[ Upstream commit 439677d416b17dd39964d5f7d64b742a2e51da5b ]

We found that (at least some versions of) the sci-fw set the base clock
rate for UARTs in the MCU domain to 96 MHz instead of the expected 48 MHz,
leading to incorrect baud rates when used from Linux.

As the 8250_omap driver will query the actual clock rate from the clk
driver when clock-frequency is unset, removing the incorrect property is
sufficient to fix the baud rate.

Fixes: 8abae9389bdb ("arm64: dts: ti: Add support for AM642 SoC")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20220419075157.189347-1-matthias.schiffer@ew.tq-group.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi