From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
To: Georgi Djakov <djakov@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bartosz Golaszewski <brgl@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
Tyler Baker <tyler.baker@oss.qualcomm.com>
Subject: [PATCH 1/2] dt-bindings: interconnect: qcom: document the RPMh Network-On-Chip interconnect for Seca
Date: Fri, 27 Nov 2026 12:42:29 +0100 [thread overview]
Message-ID: <20261127-seca-interconnects-v1-1-a31bf9b36ac4@oss.qualcomm.com> (raw)
In-Reply-To: <20261127-seca-interconnects-v1-0-a31bf9b36ac4@oss.qualcomm.com>
Document the RPMh Network-On-Chip Interconnect of the Qualcomm Seca
platform.
Co-developed-by: Tyler Baker <tyler.baker@oss.qualcomm.com>
Signed-off-by: Tyler Baker <tyler.baker@oss.qualcomm.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
.../bindings/interconnect/qcom,seca-rpmh.yaml | 141 +++++++++++++++
include/dt-bindings/interconnect/qcom,seca-rpmh.h | 191 +++++++++++++++++++++
2 files changed, 332 insertions(+)
diff --git a/Documentation/devicetree/bindings/interconnect/qcom,seca-rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,seca-rpmh.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..d655624833890607600cf768d03bc2d1b6947ae1
--- /dev/null
+++ b/Documentation/devicetree/bindings/interconnect/qcom,seca-rpmh.yaml
@@ -0,0 +1,141 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/interconnect/qcom,seca-rpmh.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm RPMh Network-On-Chip Interconnect on Seca SoCs
+
+maintainers:
+ - Bartosz Golaszewski <brgl@kernel.org>
+
+description: |
+ RPMh interconnect providers support system bandwidth requirements through
+ RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
+ able to communicate with the BCM through the Resource State Coordinator (RSC)
+ associated with each execution environment. Provider nodes must point to at
+ least one RPMh device child node pertaining to their RSC and each provider
+ can map to multiple RPMh resources.
+
+ See also: include/dt-bindings/interconnect/qcom,seca-rpmh.h
+
+properties:
+ compatible:
+ enum:
+ - qcom,seca-aggre1-noc
+ - qcom,seca-aggre1-noc-tile
+ - qcom,seca-aggre2-noc
+ - qcom,seca-aggre2-noc-tile
+ - qcom,seca-clk-virt
+ - qcom,seca-cnoc-cfg
+ - qcom,seca-cnoc-main
+ - qcom,seca-hpass-ag-noc
+ - qcom,seca-hscnoc
+ - qcom,seca-mc-virt
+ - qcom,seca-mmss-noc-hf
+ - qcom,seca-mmss-noc-sf
+ - qcom,seca-nsp-data-noc-0
+ - qcom,seca-nsp-data-noc-1
+ - qcom,seca-pcie-cfg
+ - qcom,seca-pcie-data-inbound
+ - qcom,seca-pcie-data-outbound
+ - qcom,seca-system-noc
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ minItems: 1
+ maxItems: 3
+
+required:
+ - compatible
+
+allOf:
+ - $ref: qcom,rpmh-common.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,seca-clk-virt
+ - qcom,seca-mc-virt
+ then:
+ properties:
+ reg: false
+ else:
+ required:
+ - reg
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,seca-aggre1-noc
+ then:
+ properties:
+ clocks:
+ items:
+ - description: aggre USB2 AXI clock
+ - description: aggre USB3 PRIM AXI clock
+ - description: aggre USB3 SEC AXI clock
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,seca-aggre1-noc-tile
+ then:
+ properties:
+ clocks:
+ items:
+ - description: aggre UFS 0 PHY AXI clock
+ - description: aggre UFS 1 PHY AXI clock
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,seca-aggre2-noc
+ then:
+ properties:
+ clocks:
+ items:
+ - description: RPMH CC IPA clock
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,seca-aggre1-noc
+ - qcom,seca-aggre1-noc-tile
+ - qcom,seca-aggre2-noc
+ then:
+ required:
+ - clocks
+ else:
+ properties:
+ clocks: false
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ clk_virt: interconnect-clk-virt {
+ compatible = "qcom,seca-clk-virt";
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ aggre1_noc_tile: interconnect@1720000 {
+ compatible = "qcom,seca-aggre1-noc-tile";
+ reg = <0x01720000 0x23400>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ clocks = <&nw_gcc_aggre_noc_ufs_0_phy_axi_clk>,
+ <&nw_gcc_aggre_noc_ufs_1_phy_axi_clk>;
+ };
diff --git a/include/dt-bindings/interconnect/qcom,seca-rpmh.h b/include/dt-bindings/interconnect/qcom,seca-rpmh.h
new file mode 100644
index 0000000000000000000000000000000000000000..d72b5d385269e4b576aa3f04b6a112ea237ef08e
--- /dev/null
+++ b/include/dt-bindings/interconnect/qcom,seca-rpmh.h
@@ -0,0 +1,191 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SECA_H
+#define __DT_BINDINGS_INTERCONNECT_QCOM_SECA_H
+
+#define MASTER_QUP_2 0
+#define MASTER_CRYPTO_CORE0 1
+#define MASTER_CRYPTO_CORE1 2
+#define MASTER_CRYPTO_CORE2 3
+#define MASTER_SDCC_4 4
+#define MASTER_USB2 5
+#define MASTER_USB3_0 6
+#define MASTER_USB3_1 7
+#define SLAVE_A1NOC_SNOC 8
+
+#define MASTER_QSPI_0 0
+#define MASTER_QUP_0 1
+#define MASTER_QUP_1 2
+#define MASTER_QUP_3 3
+#define MASTER_UFS_MEM 4
+#define SLAVE_A1NOC_HSCNOC 5
+
+#define MASTER_IPA 0
+#define MASTER_SOCCP_AGGR_NOC 1
+#define MASTER_QDSS_ETR 2
+#define MASTER_QDSS_ETR_1 3
+#define SLAVE_A2NOC_SNOC 4
+
+#define MASTER_EMAC_0 0
+#define MASTER_EMAC_1 1
+#define SLAVE_A2NOC_HSCNOC 2
+
+#define MASTER_QUP_CORE_0 0
+#define MASTER_QUP_CORE_1 1
+#define MASTER_QUP_CORE_2 2
+#define MASTER_QUP_CORE_3 3
+#define SLAVE_QUP_CORE_0 4
+#define SLAVE_QUP_CORE_1 5
+#define SLAVE_QUP_CORE_2 6
+#define SLAVE_QUP_CORE_3 7
+
+#define MASTER_CNOC_CFG 0
+#define SLAVE_PS_ETH_0 1
+#define SLAVE_PS_ETH_1 2
+#define SLAVE_SHS_SERVER 3
+#define SLAVE_AHB2PHY_0 4
+#define SLAVE_AHB2PHY_1 5
+#define SLAVE_AHB2PHY_3 6
+#define SLAVE_AHB2PHY_ETH_0 7
+#define SLAVE_AHB2PHY_ETH_1 8
+#define SLAVE_CAMERA_CFG 9
+#define SLAVE_CLK_CTL 10
+#define SLAVE_CRYPTO_0_CFG 11
+#define SLAVE_CRYPTO_1_CFG 12
+#define SLAVE_CRYPTO_2_CFG 13
+#define SLAVE_DISPLAY_1_CFG 14
+#define SLAVE_DISPLAY_CFG 15
+#define SLAVE_DPRX0 16
+#define SLAVE_EVA_CFG 17
+#define SLAVE_GFX3D_CFG 18
+#define SLAVE_I2C 19
+#define SLAVE_IMEM_CFG 20
+#define SLAVE_MCW_PCIE 21
+#define SLAVE_MM_RSCC 22
+#define SLAVE_NE_CLK_CTL 23
+#define SLAVE_NSPSS0_CFG 24
+#define SLAVE_NSPSS1_CFG 25
+#define SLAVE_NW_CLK_CTL 26
+#define SLAVE_PRNG 27
+#define SLAVE_QDSS_CFG 28
+#define SLAVE_QSPI_0 29
+#define SLAVE_QUP_0 30
+#define SLAVE_QUP_3 31
+#define SLAVE_QUP_1 32
+#define SLAVE_QUP_2 33
+#define SLAVE_SAFEDMA_CFG 34
+#define SLAVE_SDCC_4 35
+#define SLAVE_SE_CLK_CTL 36
+#define SLAVE_TCSR 37
+#define SLAVE_TLMM 38
+#define SLAVE_TSC_CFG 39
+#define SLAVE_UFS_MEM_CFG 40
+#define SLAVE_USB2 41
+#define SLAVE_USB3_0 42
+#define SLAVE_USB3_1 43
+#define SLAVE_VENUS_CFG 44
+#define SLAVE_COMPUTENOC_CFG 45
+#define SLAVE_PCIE_NOC_CFG 46
+#define SLAVE_QTC_CFG 47
+#define SLAVE_QDSS_STM 48
+#define SLAVE_SYS_TCU0_CFG 49
+#define SLAVE_SYS_TCU1_CFG 50
+#define SLAVE_SYS_TCU2_CFG 51
+
+#define MASTER_MM_RSCC 0
+#define MASTER_HSCNOC_CNOC 1
+#define SLAVE_AOSS 2
+#define SLAVE_HBCU 3
+#define SLAVE_IPA_CFG 4
+#define SLAVE_IPC_ROUTER_CFG 5
+#define SLAVE_SOCCP 6
+#define SLAVE_TME_CFG 7
+#define SLAVE_PCIE_DMA 8
+#define SLAVE_CNOC_CFG 9
+#define SLAVE_DDRSS_CFG 10
+#define SLAVE_IMEM 11
+
+#define MASTER_HPASS_PROC_0 0
+#define MASTER_HPASS_PROC_1 1
+#define MASTER_HPASS_PROC_2 2
+#define SLAVE_HPASS_AGNOC_AUDIO 3
+
+#define MASTER_GPU_TCU 0
+#define MASTER_QTC_TCU 1
+#define MASTER_SYS_TCU_0 2
+#define MASTER_SYS_TCU_1 3
+#define MASTER_SYS_TCU_2 4
+#define MASTER_APPSS_PROC 5
+#define MASTER_A1NOC_TILE_HSCNOC 6
+#define MASTER_A2NOC_TILE_HSCNOC 7
+#define MASTER_GFX3D 8
+#define MASTER_HPASS_AUDIO_HSCNOC 9
+#define MASTER_MNOC_HF_MEM_NOC 10
+#define MASTER_MNOC_SF_MEM_NOC 11
+#define MASTER_NSP0_HSCNOC 12
+#define MASTER_NSP1_HSCNOC 13
+#define MASTER_ANOC_PCIE_GEM_NOC 14
+#define MASTER_SNOC_SF_MEM_NOC 15
+#define MASTER_GIC 16
+#define SLAVE_HSCNOC_CNOC 17
+#define SLAVE_LLCC 18
+#define SLAVE_MEM_NOC_PCIE_SNOC 19
+
+#define MASTER_LLCC 0
+#define SLAVE_EBI1 1
+
+#define MASTER_CAMNOC_HF 0
+#define MASTER_DPRX0 1
+#define MASTER_MDP0 2
+#define MASTER_MDP1 3
+#define SLAVE_MNOC_HF_MEM_NOC 4
+
+#define MASTER_CAMNOC_NRT_ICP_SF 0
+#define MASTER_CAMNOC_RT_CDM_SF 1
+#define MASTER_CAMNOC_SF 2
+#define MASTER_VIDEO_CV_PROC 3
+#define MASTER_VIDEO_EVA 4
+#define MASTER_VIDEO_MVP0 5
+#define MASTER_VIDEO_V_PROC 6
+#define SLAVE_MNOC_SF_MEM_NOC 7
+
+#define MASTER_NSP0_PROC 0
+#define SLAVE_NSP0_HSC_NOC 1
+
+#define MASTER_NSP1_PROC 0
+#define SLAVE_NSP1_HSC_NOC 1
+
+#define MASTER_PCIE_NOC_CFG 0
+#define SLAVE_PCIE_AHB2PHY_CFG 1
+#define SLAVE_PCIE_CFG_0 2
+#define SLAVE_PCIE_CFG_1 3
+#define SLAVE_PCIE_CFG_2 4
+#define SLAVE_PCIE_CFG_3 5
+#define SLAVE_PCIE_DMA_0_CFG 6
+
+#define MASTER_PCIE_DMA_0 0
+#define MASTER_PCIE_0 1
+#define MASTER_PCIE_1 2
+#define MASTER_PCIE_2 3
+#define MASTER_PCIE_3 4
+#define SLAVE_PCIE_HSCNOC 5
+#define SLAVE_PCIE_OBNOC_DMA 6
+
+#define MASTER_CNOC_PCIE_DMA 0
+#define MASTER_ANOC_PCIE_HSCNOC 1
+#define MASTER_PCIE_IBNOC_DMA 2
+#define SLAVE_PCIE_DMA_0 3
+#define SLAVE_PCIE_0 4
+#define SLAVE_PCIE_1 5
+#define SLAVE_PCIE_2 6
+#define SLAVE_PCIE_3 7
+
+#define MASTER_A1NOC_SNOC 0
+#define MASTER_A2NOC_SNOC 1
+#define MASTER_SAFE_DMA 2
+#define SLAVE_SNOC_HSCNOC_SF 3
+
+#endif
--
2.47.3
next prev parent reply other threads:[~2026-11-27 11:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 11:42 [PATCH 0/2] interconnect: qcom: add interconnect drivers for Qualcomm Seca Bartosz Golaszewski
2026-11-27 11:42 ` Bartosz Golaszewski [this message]
2026-11-27 11:42 ` [PATCH 2/2] interconnect: qcom: add the Seca interconnect provider driver Bartosz Golaszewski
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=20261127-seca-interconnects-v1-1-a31bf9b36ac4@oss.qualcomm.com \
--to=bartosz.golaszewski@oss.qualcomm.com \
--cc=brgl@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=tyler.baker@oss.qualcomm.com \
/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
all inboxes | Powered by JetHome®