]> git.ipfire.org Git - thirdparty/linux.git/commit
rtc: zynqmp: correct frequency value
authorTomas Melin <tomas.melin@vaisala.com>
Thu, 22 Jan 2026 13:53:45 +0000 (13:53 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 29 Jan 2026 15:44:37 +0000 (16:44 +0100)
commit2724fb4d429cbb724dcb6fa17953040918ebe3a2
tree9fd25a1ef1a7489e184b382a9033fcd266a673b4
parent1932db202c9326747c6046959284992ab4124bac
rtc: zynqmp: correct frequency value

Fix calibration value in case a clock reference is provided.
The actual calibration value written into register is
frequency - 1.

Reviewed-by: Harini T <harini.t@amd.com>
Tested-by: Harini T <harini.t@amd.com>
Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://patch.msgid.link/20260122-zynqmp-rtc-updates-v4-1-d4edb966b499@vaisala.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-zynqmp.c