Commit 03d30762 authored by Serge Semin's avatar Serge Semin Committed by Jialin Zhang
Browse files

clk: baikal-t1: Fix invalid xGMAC PTP clock divider

stable inclusion
from stable-v5.10.150
commit 823fd523912ff4fc8edf2a2ac93f57329c90f36e
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0XA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=823fd523912ff4fc8edf2a2ac93f57329c90f36e



--------------------------------

[ Upstream commit 3c742088 ]

Most likely due to copy-paste mistake the divider has been set to 10 while
according to the SoC reference manual it's supposed to be 8 thus having
PTP clock frequency of 156.25 MHz.

Fixes: 353afa3a ("clk: Add Baikal-T1 CCU Dividers driver")
Signed-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20220929225402.9696-3-Sergey.Semin@baikalelectronics.ru


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parent c035c9ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment