Thread (27 messages) 27 messages, 7 authors, 2024-10-09

Re: [PATCH V5 5/7] clk: qcom: Add NSS clock Controller driver for IPQ9574

From: Manikanta Mylavarapu <hidden>
Date: 2024-10-04 08:02:32
Also in: linux-arm-kernel, linux-arm-msm, linux-clk, linux-devicetree, lkml


On 6/26/2024 9:09 PM, Konrad Dybcio wrote:
On 26.06.2024 4:33 PM, Devi Priya wrote:
quoted
Add Networking Sub System Clock Controller(NSSCC) driver for ipq9574 based
devices.

Signed-off-by: Devi Priya <redacted>
Tested-by: Alexandru Gagniuc <redacted>
---
[...]
quoted
+	struct regmap *regmap;
+	struct qcom_cc_desc nsscc_ipq9574_desc = nss_cc_ipq9574_desc;
+	struct clk *nsscc_clk;
+	struct device_node *np = (&pdev->dev)->of_node;
+	int ret;
+
+	nsscc_clk = of_clk_get(np, 11);
+	if (IS_ERR(nsscc_clk))
+		return PTR_ERR(nsscc_clk);
+
+	ret = clk_prepare_enable(nsscc_clk);
+	if (ret)
+		clk_disable_unprepare(nsscc_clk);
No changes to be seen..
Hi Konrad,

Sorry for the delayed response.

The ethernet node will subscribe to GCC_NSSCC_CLK and enable it.
Hence, it need not be obtained and setup here. Will drop this.

Thanks & Regards,
Manikanta.
Konrad
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help