Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/4] clk: qcom: Add SM8350 camera clock controller
@ 2026-11-07 17:36 Vladimir Zapolskiy
  2026-11-07 17:36 ` [PATCH v2 1/4] dt-bindings: clock: " Vladimir Zapolskiy
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Vladimir Zapolskiy @ 2026-11-07 17:36 UTC (permalink / raw)
  To: Bjorn Andersson, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
	Konrad Dybcio
  Cc: Stephen Boyd, Brian Masney, Jerome Brunet, Conor Dooley,
	Uwe Kleine-König, linux-arm-msm, linux-clk, devicetree

Add the camera clock controller (CAMCC) for Qualcomm SM8350 SoC, the
clock configuration was taken from camcc-lahaina.c from msm-5.10.

CAM_CC_PLL0 runs at 1200MHz, which requires the SVS_L1 level of the MX
rail, so it is set as the MX performance state in the device tree node.

Changes from v1 to v2:
* removed linux/mod_devicetable.h explicit include per ask (Uwe),
* PLL2 AUX2 input cannot be used in a meaningful way, removed it (Sashiko bot),
* Lucid 5LPE PLLs should not fallback to Trion configuration (Sashiko bot).

Link to v1:
* https://lore.kernel.org/all/20261104001704.2744766-1-vz@kernel.org/

Vladimir Zapolskiy (4):
  dt-bindings: clock: qcom: Add SM8350 camera clock controller
  clk: qcom: clk-alpha-pll: Add Lucid 5LPE PLL type
  clk: qcom: Add SM8350 camera clock controller driver
  arm64: dts: qcom: sm8350: Add camera clock controller

 .../bindings/clock/qcom,sm8350-camcc.yaml     |   69 +
 arch/arm64/boot/dts/qcom/sm8350.dtsi          |   15 +
 drivers/clk/qcom/Kconfig                      |    9 +
 drivers/clk/qcom/Makefile                     |    1 +
 drivers/clk/qcom/camcc-sm8350.c               | 2646 +++++++++++++++++
 drivers/clk/qcom/clk-alpha-pll.c              |   19 +
 drivers/clk/qcom/clk-alpha-pll.h              |    1 +
 include/dt-bindings/clock/qcom,sm8350-camcc.h |  149 +
 8 files changed, 2909 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,sm8350-camcc.yaml
 create mode 100644 drivers/clk/qcom/camcc-sm8350.c
 create mode 100644 include/dt-bindings/clock/qcom,sm8350-camcc.h

-- 
2.51.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-11-10  9:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-07 17:36 [PATCH v2 0/4] clk: qcom: Add SM8350 camera clock controller Vladimir Zapolskiy
2026-11-07 17:36 ` [PATCH v2 1/4] dt-bindings: clock: " Vladimir Zapolskiy
2026-11-09 12:44   ` Krzysztof Kozlowski
2026-11-07 17:36 ` [PATCH v2 2/4] clk: qcom: clk-alpha-pll: Add Lucid 5LPE PLL type Vladimir Zapolskiy
2026-11-09 15:09   ` Konrad Dybcio
2026-11-10  9:36   ` Abel Vesa
2026-11-07 17:36 ` [PATCH v2 3/4] clk: qcom: Add SM8350 camera clock controller driver Vladimir Zapolskiy
2026-11-10  9:40   ` Abel Vesa
2026-11-07 17:36 ` [PATCH v2 4/4] arm64: dts: qcom: sm8350: Add camera clock controller Vladimir Zapolskiy
2026-11-09 12:45   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox