]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: Use Otto timer on RTL931x 19205/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 22 Jun 2025 07:53:08 +0000 (03:53 -0400)
committerRobert Marko <robimarko@gmail.com>
Sun, 22 Jun 2025 21:12:02 +0000 (23:12 +0200)
commit83880cd01ee4db9cdf5c63d9c7fa1973366e4acc
treef2be38cd64bbca530a6d3111ed3ab58abdb3ee0f
parentee46517a638263310999e38b74c2bfd64daf98dc
realtek: Use Otto timer on RTL931x

Until now the timer management on the RTL931x devices depends
on the MIPS default timer. Looking at the clock progress on
these devices one can see that it is totally off. It is running
at half the required speed (e.g. if 1 minute passes the date
command shows that according to the timers only 30 seconds have
elapsed). This is a mix from wrong DTS and bad startup code.

This is not only a cosmetic issue but has effects on every
delay operation inside the kernel. Switch RTL931x to the proven
Otto timer.

Tested on LGS352C based on RTL9311.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19205
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/rtl931x.dtsi