]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ARM: dts: Fix timer regression for beagleboard revision c
authorTony Lindgren <tony@atomide.com>
Thu, 25 Nov 2021 14:48:34 +0000 (16:48 +0200)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 7 Mar 2022 10:42:00 +0000 (11:42 +0100)
commitf52d09d5e1367292471aaf31e8ec5bbdc79b6035
treef007ad4fa50e9a25ae55f82be18d41fc8999cd07
parenta47879a7cbabad4927a33d0e98780145a5773611
ARM: dts: Fix timer regression for beagleboard revision c

BugLink: https://bugs.launchpad.net/bugs/1963889
[ Upstream commit 23885389dbbbbc698986e77a45c1fc44a6e3632e ]

Commit e428e250fde6 ("ARM: dts: Configure system timers for omap3")
caused a timer regression for beagleboard revision c where the system
clockevent stops working if omap3isp module is unloaded.

Turns out we still have beagleboard revisions a-b4 capacitor c70 quirks
applied that limit the usable timers for no good reason. This also affects
the power management as we use the system clock instead of the 32k clock
source.

Let's fix the issue by adding a new omap3-beagle-ab4.dts for the old timer
quirks. This allows us to remove the timer quirks for later beagleboard
revisions. We also need to update the related timer quirk check for the
correct compatible property.

Fixes: e428e250fde6 ("ARM: dts: Configure system timers for omap3")
Cc: linux-kernel@vger.kernel.org
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Rob Herring <robh+dt@kernel.org>
Reported-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Documentation/devicetree/bindings/arm/omap/omap.txt
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/omap3-beagle-ab4.dts [new file with mode: 0644]
arch/arm/boot/dts/omap3-beagle.dts
drivers/clocksource/timer-ti-dm-systimer.c