Skip to content

Commit 931bd92

Browse files
plappermauldlezcano
authored andcommitted
clocksource/drivers/timer-rtl-otto: Simplify documentation
While the main SoC PLL is responsible for the lexra bus frequency it has no implications on the the timer divisior. Update the comments accordingly. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20250804080328.2609287-5-markus.stockhausen@gmx.de
1 parent c445bff commit 931bd92

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

drivers/clocksource/timer-rtl-otto.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,10 @@
4141
#define RTTM_MAX_DIVISOR GENMASK(15, 0)
4242

4343
/*
44-
* Timers are derived from the LXB clock frequency. Usually this is a fixed
45-
* multiple of the 25 MHz oscillator. The 930X SOC is an exception from that.
46-
* Its LXB clock has only dividers and uses the switch PLL of 2.45 GHz as its
47-
* base. The only meaningful frequencies we can achieve from that are 175.000
48-
* MHz and 153.125 MHz. The greatest common divisor of all explained possible
49-
* speeds is 3125000. Pin the timers to this 3.125 MHz reference frequency.
44+
* Timers are derived from the lexra bus (LXB) clock frequency. This is 175 MHz
45+
* on RTL930x and 200 MHz on the other platforms. With 3.125 MHz choose a common
46+
* divisor to have enough range and detail. This provides comparability between
47+
* the different platforms.
5048
*/
5149
#define RTTM_TICKS_PER_SEC 3125000
5250

0 commit comments

Comments
 (0)