Skip to contentSkip to conversation

interconnect: qcom: Add SM8350 support

PATCH Applied Vinod Koul 3 participants 5 messages Mar 18, 2021 – May 26, 2021

Subsystems (3)
lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

v3 cover interconnect: qcom: Add SM8350 support

This adds support for interconnect support for SM8350 SoC

Changes since v2:
- Plug gaps in indexes
- fix typo in commit log for patch2 and kconfig depends (for real this time)

Changes since v1:
- Fix comments by Georgi, split the header
- Fix the macro for qns_llcc

Vinod Koul (2):
dt-bindings: interconnect: Add Qualcomm SM8350 DT bindings
interconnect: qcom: Add SM8350 interconnect provider driver

 .../bindings/interconnect/qcom,rpmh.yaml      |  10 +
 drivers/interconnect/qcom/Kconfig             |   9 +
 drivers/interconnect/qcom/Makefile            |   2 +
 drivers/interconnect/qcom/sm8350.c            | 633 ++++++++++++++++++
 drivers/interconnect/qcom/sm8350.h            | 168 +++++
 .../dt-bindings/interconnect/qcom,sm8350.h    | 172 +++++
 6 files changed, 994 insertions(+)
 create mode 100644 drivers/interconnect/qcom/sm8350.c
 create mode 100644 drivers/interconnect/qcom/sm8350.h
 create mode 100644 include/dt-bindings/interconnect/qcom,sm8350.h
Signature · 1 line
2.26.3
author
#1 lore raw

PATCH v3 1/2 dt-bindings: interconnect: Add Qualcomm SM8350 DT bindings

The Qualcomm SM8350 platform has several bus fabrics that could be controlled and tuned dynamically according to the bandwidth demand.

---
 .../bindings/interconnect/qcom,rpmh.yaml      |  10 +
 .../dt-bindings/interconnect/qcom,sm8350.h    | 172 ++++++++++++++++++
 2 files changed, 182 insertions(+)
 create mode 100644 include/dt-bindings/interconnect/qcom,sm8350.h
Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml +10 -0
index 799e73cdb90b..cb6498108b78 100644
@@ -71,6 +71,16 @@ properties:
       - qcom,sm8250-mmss-noc
       - qcom,sm8250-npu-noc
       - qcom,sm8250-system-noc
+      - qcom,sm8350-aggre1-noc
+      - qcom,sm8350-aggre2-noc
+      - qcom,sm8350-config-noc
+      - qcom,sm8350-dc-noc
+      - qcom,sm8350-gem-noc
+      - qcom,sm8350-lpass-ag-noc
+      - qcom,sm8350-mc-virt
+      - qcom,sm8350-mmss-noc
+      - qcom,sm8350-compute-noc
+      - qcom,sm8350-system-noc
 
   '#interconnect-cells':
     enum: [ 1, 2 ]
include/dt-bindings/interconnect/qcom,sm8350.h new file +172 -0

172 lines not on this page · raw message

Signature · 1 line
2.26.3
maintainer Reviewed-by on v3 1/2
#2 lore raw

Re: [PATCH v3 1/2] dt-bindings: interconnect: Add Qualcomm SM8350 DT bindings

Quoted 10 lines · Vinod Koul

The Qualcomm SM8350 platform has several bus fabrics that could be controlled and tuned dynamically according to the bandwidth demand.

---
 .../bindings/interconnect/qcom,rpmh.yaml      |  10 +
 .../dt-bindings/interconnect/qcom,sm8350.h    | 172 ++++++++++++++++++
 2 files changed, 182 insertions(+)
 create mode 100644 include/dt-bindings/interconnect/qcom,sm8350.h
author
#3 lore raw

PATCH v3 2/2 interconnect: qcom: Add SM8350 interconnect provider driver

In reply to Vinod Koul

Add driver for the Qualcomm interconnect buses found in SM8350 based platforms. The topology consists of several NoCs that are controlled by a remote processor that collects the aggregated bandwidth for each master-slave pairs.

Generated from downstream interconnect driver written by David Dai

---
 drivers/interconnect/qcom/Kconfig  |   9 +
 drivers/interconnect/qcom/Makefile |   2 +
 drivers/interconnect/qcom/sm8350.c | 633 +++++++++++++++++++++++++++++
 drivers/interconnect/qcom/sm8350.h | 168 ++++++++
 4 files changed, 812 insertions(+)
 create mode 100644 drivers/interconnect/qcom/sm8350.c
 create mode 100644 drivers/interconnect/qcom/sm8350.h
drivers/interconnect/qcom/Kconfig +9 -0
index ca52647f8955..49bc8702782c 100644
@@ -110,5 +110,14 @@ config INTERCONNECT_QCOM_SM8250
 	  This is a driver for the Qualcomm Network-on-Chip on sm8250-based
 	  platforms.
 
+config INTERCONNECT_QCOM_SM8350
+	tristate "Qualcomm SM8350 interconnect driver"
+	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
+	select INTERCONNECT_QCOM_RPMH
+	select INTERCONNECT_QCOM_BCM_VOTER
+	help
+	  This is a driver for the Qualcomm Network-on-Chip on SM8350-based
+	  platforms.
+
 config INTERCONNECT_QCOM_SMD_RPM
 	tristate
drivers/interconnect/qcom/Makefile +2 -0
index c6a735df067e..93d97e590836 100644
@@ -12,6 +12,7 @@ qnoc-sdm845-objs			:= sdm845.o
 qnoc-sdx55-objs				:= sdx55.o
 qnoc-sm8150-objs			:= sm8150.o
 qnoc-sm8250-objs			:= sm8250.o
+qnoc-sm8350-objs			:= sm8350.o
 icc-smd-rpm-objs			:= smd-rpm.o icc-rpm.o
 
 obj-$(CONFIG_INTERCONNECT_QCOM_BCM_VOTER) += icc-bcm-voter.o
@@ -26,4 +27,5 @@ obj-$(CONFIG_INTERCONNECT_QCOM_SDM845) += qnoc-sdm845.o
 obj-$(CONFIG_INTERCONNECT_QCOM_SDX55) += qnoc-sdx55.o
 obj-$(CONFIG_INTERCONNECT_QCOM_SM8150) += qnoc-sm8150.o
 obj-$(CONFIG_INTERCONNECT_QCOM_SM8250) += qnoc-sm8250.o
+obj-$(CONFIG_INTERCONNECT_QCOM_SM8350) += qnoc-sm8350.o
 obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o
drivers/interconnect/qcom/sm8350.c new file +633 -0

633 lines not on this page · raw message

drivers/interconnect/qcom/sm8350.h new file +168 -0

168 lines not on this page · raw message

Signature · 1 line
2.26.3
#4 lore raw
In reply to Vinod Koul
This series was applied to qcom/linux.git (refs/heads/for-next):

Hello:

This series was applied to qcom/linux.git (refs/heads/for-next):

Quoted 11 lines · On Thu, 18 Mar 2021 15:16:15 +0530 you wrote:

This adds support for interconnect support for SM8350 SoC

Changes since v2:
- Plug gaps in indexes
- fix typo in commit log for patch2 and kconfig depends (for real this time)

Changes since v1:
- Fix comments by Georgi, split the header
- Fix the macro for qns_llcc

[...]

Here is the summary with links:
- [v3,1/2] dt-bindings: interconnect: Add Qualcomm SM8350 DT bindings

    https://git.kernel.org/qcom/c/c009ffe661f6
  - [v3,2/2] interconnect: qcom: Add SM8350 interconnect provider driver
    https://git.kernel.org/qcom/c/d26a56674497

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html