]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: qcom: Add CMN PLL clock controller driver for IPQ SoC
authorLuo Jie <quic_luoj@quicinc.com>
Fri, 3 Jan 2025 07:31:35 +0000 (15:31 +0800)
committerBjorn Andersson <andersson@kernel.org>
Mon, 6 Jan 2025 23:44:47 +0000 (17:44 -0600)
commitf81715a4c87c3b75ca2640bb61b6c66506061a64
treeb9619610a685d44572534bac2546b0670176a108
parent62ede76a7bd228a8389880792d133b8693b4cb68
clk: qcom: Add CMN PLL clock controller driver for IPQ SoC

The CMN PLL clock controller supplies clocks to the hardware
blocks that together make up the Ethernet function on Qualcomm
IPQ SoCs and to GCC. The driver is initially supported for
IPQ9574 SoC.

The CMN PLL clock controller expects a reference input clock
from the on-board Wi-Fi block acting as clock source. The input
reference clock needs to be configured to one of the supported
clock rates.

The controller supplies a number of fixed-rate output clocks.
For the IPQ9574, there is one output clock of 353 MHZ to PPE
(Packet Process Engine) hardware block, three 50 MHZ output
clocks and an additional 25 MHZ output clock supplied to the
connected Ethernet devices. The PLL also supplies a 24 MHZ
clock as XO and a 32 KHZ sleep clock to GCC, and one 31.25
MHZ clock to PCS.

Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Acked-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250103-qcom_ipq_cmnpll-v8-2-c89fb4d4849d@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/Kconfig
drivers/clk/qcom/Makefile
drivers/clk/qcom/ipq-cmn-pll.c [new file with mode: 0644]