This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de> Link: https://github.com/openwrt/openwrt/pull/24031 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
52 lines
1.9 KiB
Diff
52 lines
1.9 KiB
Diff
From 7156c65030006e6930dd99c5b8c5e84e69ca5f0b Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <john@phrozen.org>
|
|
Date: Wed, 11 Mar 2026 19:39:40 +0100
|
|
Subject: [PATCH] dt-bindings: clock: qcom: Add CMN PLL support for IPQ8074
|
|
|
|
The CMN PLL block in the IPQ8074 SoC takes 48 MHz as the reference
|
|
input clock. Its output clocks are the bias_pll_cc_clk (300 MHz) and
|
|
bias_pll_nss_noc_clk (416.5 MHz) clocks used by the networking
|
|
subsystem.
|
|
|
|
Add the related compatible for IPQ8074 to the ipq9574-cmn-pll
|
|
generic schema.
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
|
|
Link: https://lore.kernel.org/r/20260311183942.10134-4-ansuelsmth@gmail.com
|
|
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
|
---
|
|
.../bindings/clock/qcom,ipq9574-cmn-pll.yaml | 1 +
|
|
include/dt-bindings/clock/qcom,ipq8074-cmn-pll.h | 15 +++++++++++++++
|
|
2 files changed, 16 insertions(+)
|
|
create mode 100644 include/dt-bindings/clock/qcom,ipq8074-cmn-pll.h
|
|
|
|
--- a/Documentation/devicetree/bindings/clock/qcom,ipq9574-cmn-pll.yaml
|
|
+++ b/Documentation/devicetree/bindings/clock/qcom,ipq9574-cmn-pll.yaml
|
|
@@ -27,6 +27,7 @@ properties:
|
|
- qcom,ipq5018-cmn-pll
|
|
- qcom,ipq5424-cmn-pll
|
|
- qcom,ipq6018-cmn-pll
|
|
+ - qcom,ipq8074-cmn-pll
|
|
- qcom,ipq9574-cmn-pll
|
|
|
|
reg:
|
|
--- /dev/null
|
|
+++ b/include/dt-bindings/clock/qcom,ipq8074-cmn-pll.h
|
|
@@ -0,0 +1,15 @@
|
|
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
|
+/*
|
|
+ * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
+ */
|
|
+
|
|
+#ifndef _DT_BINDINGS_CLK_QCOM_IPQ8074_CMN_PLL_H
|
|
+#define _DT_BINDINGS_CLK_QCOM_IPQ8074_CMN_PLL_H
|
|
+
|
|
+/* CMN PLL core clock. */
|
|
+#define IPQ8074_CMN_PLL_CLK 0
|
|
+
|
|
+/* The output clocks from CMN PLL of IPQ8074. */
|
|
+#define IPQ8074_BIAS_PLL_CC_CLK 1
|
|
+#define IPQ8074_BIAS_PLL_NSS_NOC_CLK 2
|
|
+#endif
|