]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: qcom: gcc-ipq8074: fix broken freq table for nss_port6_tx_clk_src
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 22 May 2025 20:25:55 +0000 (22:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Aug 2025 16:36:28 +0000 (18:36 +0200)
commit6be925bc77c8ce043216a0c7e0691676195e477d
tree495e8b4b9a7c2eabeccbb2d80d6c8544bef2b6dd
parentf5dd256333c08ab44b5aec4a8118cb04c0f20c54
clk: qcom: gcc-ipq8074: fix broken freq table for nss_port6_tx_clk_src

commit 077ec7bcec9a8987d2a133afb7e13011878c7576 upstream.

With the conversion done by commit e88f03230dc0 ("clk: qcom: gcc-ipq8074:
rework nss_port5/6 clock to multiple conf") a Copy-Paste error was made
for the nss_port6_tx_clk_src frequency table.

This was caused by the wrong setting of the parent in
ftbl_nss_port6_tx_clk_src that was wrongly set to P_UNIPHY1_RX instead
of P_UNIPHY2_TX.

This cause the UNIPHY2 port to malfunction when it needs to be scaled to
higher clock. The malfunction was observed with the example scenario
with an Aquantia 10G PHY connected and a speed higher than 1G (example
2.5G)

Fix the broken frequency table to restore original functionality.

Cc: stable@vger.kernel.org
Fixes: e88f03230dc0 ("clk: qcom: gcc-ipq8074: rework nss_port5/6 clock to multiple conf")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Tested-by: Robert Marko <robimarko@gmail.com>
Link: https://lore.kernel.org/r/20250522202600.4028-1-ansuelsmth@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/qcom/gcc-ipq8074.c