]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: qcom: ipq9574: Add CMN PLL node
authorLuo Jie <quic_luoj@quicinc.com>
Fri, 3 Jan 2025 07:31:37 +0000 (15:31 +0800)
committerBjorn Andersson <andersson@kernel.org>
Mon, 6 Jan 2025 23:43:59 +0000 (17:43 -0600)
commit758aa2d7e3c0acfe9c952a1cbe6416ec6130c2a1
tree3c743079c0aeb68d0b8e4dda3a360a856f4281da
parenta53c9b278add48d132bdcb716d27c9ad55bb86b5
arm64: dts: qcom: ipq9574: Add CMN PLL node

The CMN PLL clock controller allows selection of an input clock rate
from a defined set of input clock rates. It in-turn supplies fixed
rate output clocks to the hardware blocks that provide the ethernet
functions such as PPE (Packet Process Engine) and connected switch or
PHY, and to GCC.

The reference clock of CMN PLL is routed from XO to the CMN PLL through
the internal WiFi block.
.XO (48 MHZ or 96 MHZ)-->WiFi (multiplier/divider)-->48 MHZ to CMN PLL.

The reference input clock from WiFi to CMN PLL is fully controlled by
the bootstrap pins which select the XO frequency (48 MHZ or 96 MHZ).
Based on this frequency, the divider in the internal Wi-Fi block is
automatically configured by hardware (1 for 48 MHZ, 2 for 96 MHZ), to
ensure output clock to CMN PLL is 48 MHZ.

Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250103-qcom_ipq_cmnpll-v8-4-c89fb4d4849d@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
arch/arm64/boot/dts/qcom/ipq9574.dtsi