Skip to content

Commit 3b7dd9d

Browse files
author
Georgi Djakov
committed
Merge branch 'icc-qcs8300' into icc-next
Add interconnect support for QCS8300 SoC * icc-qcs8300 dt-bindings: interconnect: document the RPMh Network-On-Chip interconnect in QCS8300 SoC interconnect: qcom: add QCS8300 interconnect provider driver Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
2 parents a570fef + 3063c3d commit 3b7dd9d

File tree

6 files changed

+2539
-0
lines changed

6 files changed

+2539
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/interconnect/qcom,qcs8300-rpmh.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm RPMh Network-On-Chip Interconnect on QCS8300
8+
9+
maintainers:
10+
- Raviteja Laggyshetty <[email protected]>
11+
12+
description: |
13+
RPMh interconnect providers support system bandwidth requirements through
14+
RPMh hardware accelerators known as Bus Clock Manager (BCM).
15+
16+
See also: include/dt-bindings/interconnect/qcom,qcs8300-rpmh.h
17+
18+
properties:
19+
compatible:
20+
enum:
21+
- qcom,qcs8300-aggre1-noc
22+
- qcom,qcs8300-aggre2-noc
23+
- qcom,qcs8300-clk-virt
24+
- qcom,qcs8300-config-noc
25+
- qcom,qcs8300-dc-noc
26+
- qcom,qcs8300-gem-noc
27+
- qcom,qcs8300-gpdsp-anoc
28+
- qcom,qcs8300-lpass-ag-noc
29+
- qcom,qcs8300-mc-virt
30+
- qcom,qcs8300-mmss-noc
31+
- qcom,qcs8300-nspa-noc
32+
- qcom,qcs8300-pcie-anoc
33+
- qcom,qcs8300-system-noc
34+
35+
reg:
36+
maxItems: 1
37+
38+
required:
39+
- compatible
40+
41+
allOf:
42+
- $ref: qcom,rpmh-common.yaml#
43+
- if:
44+
properties:
45+
compatible:
46+
contains:
47+
enum:
48+
- qcom,qcs8300-clk-virt
49+
- qcom,qcs8300-mc-virt
50+
then:
51+
properties:
52+
reg: false
53+
else:
54+
required:
55+
- reg
56+
57+
unevaluatedProperties: false
58+
59+
examples:
60+
- |
61+
gem_noc: interconnect@9100000 {
62+
compatible = "qcom,qcs8300-gem-noc";
63+
reg = <0x9100000 0xf7080>;
64+
#interconnect-cells = <2>;
65+
qcom,bcm-voters = <&apps_bcm_voter>;
66+
};
67+
68+
clk_virt: interconnect-0 {
69+
compatible = "qcom,qcs8300-clk-virt";
70+
#interconnect-cells = <2>;
71+
qcom,bcm-voters = <&apps_bcm_voter>;
72+
};

drivers/interconnect/qcom/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,17 @@ config INTERCONNECT_QCOM_QCS404
105105
This is a driver for the Qualcomm Network-on-Chip on qcs404-based
106106
platforms.
107107

108+
config INTERCONNECT_QCOM_QCS8300
109+
tristate "Qualcomm QCS8300 interconnect driver"
110+
depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
111+
select INTERCONNECT_QCOM_RPMH
112+
select INTERCONNECT_QCOM_BCM_VOTER
113+
help
114+
This is a driver for the Qualcomm Technologies, Inc. Network-on-Chip
115+
on QCS8300-based platforms. The interconnect provider collects and
116+
aggreagates the cosumer bandwidth requests to satisfy constraints
117+
placed on Network-on-Chip performance states.
118+
108119
config INTERCONNECT_QCOM_QDU1000
109120
tristate "Qualcomm QDU1000/QRU1000 interconnect driver"
110121
depends on INTERCONNECT_QCOM_RPMH_POSSIBLE

drivers/interconnect/qcom/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ qnoc-msm8996-objs := msm8996.o
1515
icc-osm-l3-objs := osm-l3.o
1616
qnoc-qcm2290-objs := qcm2290.o
1717
qnoc-qcs404-objs := qcs404.o
18+
qnoc-qcs8300-objs := qcs8300.o
1819
qnoc-qdu1000-objs := qdu1000.o
1920
icc-rpmh-obj := icc-rpmh.o
2021
qnoc-sa8775p-objs := sa8775p.o
@@ -52,6 +53,7 @@ obj-$(CONFIG_INTERCONNECT_QCOM_MSM8996) += qnoc-msm8996.o
5253
obj-$(CONFIG_INTERCONNECT_QCOM_OSM_L3) += icc-osm-l3.o
5354
obj-$(CONFIG_INTERCONNECT_QCOM_QCM2290) += qnoc-qcm2290.o
5455
obj-$(CONFIG_INTERCONNECT_QCOM_QCS404) += qnoc-qcs404.o
56+
obj-$(CONFIG_INTERCONNECT_QCOM_QCS8300) += qnoc-qcs8300.o
5557
obj-$(CONFIG_INTERCONNECT_QCOM_QDU1000) += qnoc-qdu1000.o
5658
obj-$(CONFIG_INTERCONNECT_QCOM_RPMH) += icc-rpmh.o
5759
obj-$(CONFIG_INTERCONNECT_QCOM_SA8775P) += qnoc-sa8775p.o

0 commit comments

Comments
 (0)