]> git.ipfire.org Git - thirdparty/linux.git/commit
clocksource/drivers/sprd: Enable register for timer counter from 32 bit to 64 bit
authorEnlin Mu <enlin.mu@unisoc.com>
Thu, 6 Nov 2025 02:18:30 +0000 (10:18 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 26 Nov 2025 10:24:26 +0000 (11:24 +0100)
commit576c564ec3bb60e571c705a71907d7c0c039e6c0
tree889b222c765015f1a826960bbf948295f1fd6cec
parentdcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa
clocksource/drivers/sprd: Enable register for timer counter from 32 bit to 64 bit

Using 32 bit for suspend compensation, the max compensation time is 36
hours(working clock is 32k).In some IOT devices, the suspend time may
be long, even exceeding 36 hours. Therefore, a 64 bit timer counter
is needed for counting.

Signed-off-by: Enlin Mu <enlin.mu@unisoc.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Link: https://patch.msgid.link/20251106021830.34846-1-enlin.mu@linux.dev
drivers/clocksource/timer-sprd.c