Thread (23 messages) 23 messages, 4 authors, 2023-10-31

Re: [PATCH 7/8] arm64: dts: qcom: ipq5332: add support for the NSSCC

From: Kathiravan Thirumoorthy <hidden>
Date: 2023-10-31 04:18:59
Also in: linux-arm-kernel, linux-arm-msm, linux-clk, linux-devicetree, lkml


On 10/30/2023 4:43 PM, Krzysztof Kozlowski wrote:
On 30/10/2023 10:47, Kathiravan Thirumoorthy wrote:
quoted
Describe the NSS clock controller node and it's relevant external
clocks.

Signed-off-by: Kathiravan Thirumoorthy <redacted>
---
  arch/arm64/boot/dts/qcom/ipq5332.dtsi | 28 ++++++++++++++++++++++++++++
  1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi
index 42e2e48b2bc3..291f14a3f10a 100644
--- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi
@@ -15,6 +15,18 @@ / {
  	#size-cells = <2>;
  
  	clocks {
+		cmn_pll_nss_clk_200m: cmn-pll-nss-clk-200m {
Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation


so with "clk" suffix, e.g. cmn-pll-nss-1-clk.

Sure, will fix it in V2.

quoted
+			compatible = "fixed-clock";
+			clock-frequency = <200000000>;
+			#clock-cells = <0>;
+		};
+
+		cmn_pll_nss_clk_300m: cmn-pll-nss-clk-300m {
+			compatible = "fixed-clock";
+			clock-frequency = <300000000>;
+			#clock-cells = <0>;
+		};
+
  		sleep_clk: sleep-clk {
  			compatible = "fixed-clock";
  			#clock-cells = <0>;
@@ -473,6 +485,22 @@ frame@b128000 {
  				status = "disabled";
  			};
  		};
Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help