public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
From: Devi Priya <quic_devipriy@quicinc.com>
To: <agross@kernel.org>, <andersson@kernel.org>,
	<konrad.dybcio@linaro.org>, <mturquette@baylibre.com>,
	<sboyd@kernel.org>, <robh+dt@kernel.org>,
	<krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>,
	<catalin.marinas@arm.com>, <will@kernel.org>,
	<p.zabel@pengutronix.de>, <richardcochran@gmail.com>,
	<arnd@arndb.de>, <geert+renesas@glider.be>,
	<neil.armstrong@linaro.org>, <nfraprado@collabora.com>,
	<rafal@milecki.pl>, <linux-arm-msm@vger.kernel.org>,
	<linux-clk@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>, <netdev@vger.kernel.org>
Cc: <quic_saahtoma@quicinc.com>
Subject: [PATCH 5/6] arm64: dts: qcom: ipq9574: Add support for nsscc node
Date: Tue, 11 Jul 2023 15:05:28 +0530	[thread overview]
Message-ID: <20230711093529.18355-6-quic_devipriy@quicinc.com> (raw)
In-Reply-To: <20230711093529.18355-1-quic_devipriy@quicinc.com>

Add a node for the nss clock controller found on ipq9574 based devices.

Signed-off-by: Devi Priya <quic_devipriy@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq9574.dtsi | 44 +++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
index f120c7c52351..257ce4a5bfd5 100644
--- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
@@ -10,6 +10,8 @@
 #include <dt-bindings/clock/qcom,ipq9574-gcc.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/reset/qcom,ipq9574-gcc.h>
+#include <dt-bindings/clock/qcom,ipq9574-nsscc.h>
+#include <dt-bindings/reset/qcom,ipq9574-nsscc.h>
 
 / {
 	interrupt-parent = <&intc>;
@@ -17,6 +19,30 @@
 	#size-cells = <2>;
 
 	clocks {
+		bias_pll_cc_clk: bias-pll-cc-clk {
+			compatible = "fixed-clock";
+			clock-frequency = <1200000000>;
+			#clock-cells = <0>;
+		};
+
+		bias_pll_nss_noc_clk: bias-pll-nss-noc-clk {
+			compatible = "fixed-clock";
+			clock-frequency = <461500000>;
+			#clock-cells = <0>;
+		};
+
+		bias_pll_ubi_nc_clk: bias-pll-ubi-nc-clk {
+			compatible = "fixed-clock";
+			clock-frequency = <353000000>;
+			#clock-cells = <0>;
+		};
+
+		gcc_gpll0_out_aux: gcc-gpll0-out-aux {
+			compatible = "fixed-clock";
+			clock-frequency = <800000000>;
+			#clock-cells = <0>;
+		};
+
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
@@ -620,6 +646,24 @@
 				status = "disabled";
 			};
 		};
+
+		nsscc: nsscc@39b00000 {
+			compatible = "qcom,ipq9574-nsscc";
+			reg = <0x39b00000 0x80000>;
+			clocks = <&bias_pll_cc_clk>,
+				 <&bias_pll_nss_noc_clk>,
+				 <&bias_pll_ubi_nc_clk>,
+				 <&gcc_gpll0_out_aux>,
+				 <0>,
+				 <0>,
+				 <0>,
+				 <0>,
+				 <0>,
+				 <0>,
+				 <&xo_board_clk>;
+			#clock-cells = <1>;
+			#reset-cells = <1>;
+		};
 	};
 
 	thermal-zones {
-- 
2.17.1


  parent reply	other threads:[~2023-07-11  9:37 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-11  9:35 [PATCH 0/6] Add NSS clock controller support for IPQ9574 Devi Priya
2023-07-11  9:35 ` [PATCH 1/6] clk: qcom: clk-alpha-pll: Add NSS HUAYRA ALPHA PLL support for ipq9574 Devi Priya
2023-07-11 10:46   ` Dmitry Baryshkov
2023-07-11  9:35 ` [PATCH 2/6] clk: qcom: gcc-ipq9574: Mark nssnoc clocks as critical Devi Priya
2023-07-11 10:25   ` Dmitry Baryshkov
2023-08-24  5:24     ` Devi Priya
2023-07-11  9:35 ` [PATCH 3/6] dt-bindings: clock: Add ipq9574 NSSCC clock and reset definitions Devi Priya
2023-07-11  9:54   ` Krzysztof Kozlowski
2023-07-17  6:10     ` Devi Priya
2023-08-24  5:18   ` Kathiravan T
2023-08-24  5:23     ` Devi Priya
2023-08-24  8:47     ` Konrad Dybcio
2023-08-25  8:56       ` Devi Priya
2023-07-11  9:35 ` [PATCH 4/6] clk: qcom: Add NSS clock Controller driver for IPQ9574 Devi Priya
2023-07-11  9:56   ` Krzysztof Kozlowski
2023-07-18  9:12     ` Devi Priya
2023-07-11 10:50   ` Dmitry Baryshkov
2023-07-18  9:13     ` Devi Priya
2023-07-13  5:37   ` Simon Horman
2023-07-17  6:36     ` Devi Priya
2023-07-11  9:35 ` Devi Priya [this message]
2023-07-11  9:57   ` [PATCH 5/6] arm64: dts: qcom: ipq9574: Add support for nsscc node Krzysztof Kozlowski
2023-08-24  5:25     ` Devi Priya
2023-07-11  9:35 ` [PATCH 6/6] arm64: defconfig: Build NSS Clock Controller driver for IPQ9574 Devi Priya
2023-07-11 10:48   ` Dmitry Baryshkov
2023-08-24  5:25     ` Devi Priya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230711093529.18355-6-quic_devipriy@quicinc.com \
    --to=quic_devipriy@quicinc.com \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=arnd@arndb.de \
    --cc=catalin.marinas@arm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=neil.armstrong@linaro.org \
    --cc=netdev@vger.kernel.org \
    --cc=nfraprado@collabora.com \
    --cc=p.zabel@pengutronix.de \
    --cc=quic_saahtoma@quicinc.com \
    --cc=rafal@milecki.pl \
    --cc=richardcochran@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox