Skip to content

Commit a09b817

Browse files
fltoGeorgi Djakov
authored andcommitted
interconnect: qcom: Add SM8150 interconnect provider driver
Add driver for the Qualcomm interconnect buses found in SM8150 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. Based on SC7180 driver and generated from downstream dts. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Sibi Sankar <sibis@codeaurora.org> Link: https://lore.kernel.org/r/20200728023811.5607-5-jonathan@marek.ca Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
1 parent cb6ffd7 commit a09b817

4 files changed

Lines changed: 799 additions & 0 deletions

File tree

drivers/interconnect/qcom/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,15 @@ config INTERCONNECT_QCOM_SDM845
6565
This is a driver for the Qualcomm Network-on-Chip on sdm845-based
6666
platforms.
6767

68+
config INTERCONNECT_QCOM_SM8150
69+
tristate "Qualcomm SM8150 interconnect driver"
70+
depends on INTERCONNECT_QCOM
71+
depends on (QCOM_RPMH && QCOM_COMMAND_DB && OF) || COMPILE_TEST
72+
select INTERCONNECT_QCOM_RPMH
73+
select INTERCONNECT_QCOM_BCM_VOTER
74+
help
75+
This is a driver for the Qualcomm Network-on-Chip on sm8150-based
76+
platforms.
77+
6878
config INTERCONNECT_QCOM_SMD_RPM
6979
tristate

drivers/interconnect/qcom/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ qnoc-qcs404-objs := qcs404.o
88
icc-rpmh-obj := icc-rpmh.o
99
qnoc-sc7180-objs := sc7180.o
1010
qnoc-sdm845-objs := sdm845.o
11+
qnoc-sm8150-objs := sm8150.o
1112
icc-smd-rpm-objs := smd-rpm.o
1213

1314
obj-$(CONFIG_INTERCONNECT_QCOM_BCM_VOTER) += icc-bcm-voter.o
@@ -18,4 +19,5 @@ obj-$(CONFIG_INTERCONNECT_QCOM_QCS404) += qnoc-qcs404.o
1819
obj-$(CONFIG_INTERCONNECT_QCOM_RPMH) += icc-rpmh.o
1920
obj-$(CONFIG_INTERCONNECT_QCOM_SC7180) += qnoc-sc7180.o
2021
obj-$(CONFIG_INTERCONNECT_QCOM_SDM845) += qnoc-sdm845.o
22+
obj-$(CONFIG_INTERCONNECT_QCOM_SM8150) += qnoc-sm8150.o
2123
obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o

0 commit comments

Comments
 (0)