Thread (18 messages) 18 messages, 3 authors, 2025-07-02

Re: [PATCH v2 7/8] arm64: dts: qcom: ipq5424: Add NSS clock controller node

From: Konrad Dybcio <hidden>
Date: 2025-07-01 12:10:46
Also in: linux-arm-kernel, linux-arm-msm, linux-clk, linux-devicetree, linux-pm, lkml


On 01-Jul-25 14:08, Luo Jie wrote:

On 6/28/2025 12:27 AM, Konrad Dybcio wrote:
quoted
On 6/27/25 2:09 PM, Luo Jie wrote:
quoted
NSS clock controller provides the clocks and resets to the networking
hardware blocks on the IPQ5424, such as PPE (Packet Process Engine) and
UNIPHY (PCS) blocks.

Signed-off-by: Luo Jie <redacted>
---
  arch/arm64/boot/dts/qcom/ipq5424.dtsi | 30 ++++++++++++++++++++++++++++++
  1 file changed, 30 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
index 2eea8a078595..eb4aa778269c 100644
--- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
@@ -730,6 +730,36 @@ frame@f42d000 {
              };
          };
  +        clock-controller@39b00000 {
+            compatible = "qcom,ipq5424-nsscc";
+            reg = <0 0x39b00000 0 0x800>;
size = 0x100_000

with that:

Reviewed-by: Konrad Dybcio <redacted>

Konrad
I initially thought that a block size of 0x800 would be sufficient, as
it covers the maximum address range needed for the clock configurations.
However, the NSS clock controller block actually occupies an address
range of 0x80000. I will update this to 0x80000 in the next version.
Thank you for your feedback.
0x80_000 excludes the wrapper region. Please mark it as the entire
0x100_000 that it occupies, no matter if there's anything in there

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