]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: ipq8074: fix NSS port frequency tables
authorRobert Marko <robimarko@gmail.com>
Sun, 15 May 2022 21:00:40 +0000 (23:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:17:53 +0000 (11:17 +0200)
commitbff3ae2b48689c9949577f1c0b07c01c59dc6886
tree80cb7a8725c12c65f9d784d24cc21b96b61544ad
parent3164abb44d3f9331d96f5040493175426e2c6895
clk: qcom: ipq8074: fix NSS port frequency tables

[ Upstream commit 81d4da77d2bc2f7dc7f559121d69d3fa17bc3149 ]

NSS port 5 and 6 frequency tables are currently broken and are causing a
wide ranges of issue like 1G not working at all on port 6 or port 5 being
clocked with 312 instead of 125 MHz as UNIPHY1 gets selected.

So, update the frequency tables with the ones from the downstream QCA 5.4
based kernel which has already fixed this.

Fixes: 34e5b8de3c8f ("clk: qcom: ipq8074: add NSS ethernet port clocks")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220515210048.483898-3-robimarko@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/gcc-ipq8074.c