Skip to content

Commit 55aac0e

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

File tree

6 files changed

+1911
-0
lines changed

6 files changed

+1911
-0
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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,qcs615-rpmh.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm RPMh Network-On-Chip Interconnect on QCS615
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). The provider is
15+
able to communicate with the BCM through the Resource State Coordinator (RSC)
16+
associated with each execution environment. Provider nodes must point to at
17+
least one RPMh device child node pertaining to their RSC and each provider
18+
can map to multiple RPMh resources.
19+
20+
See also: include/dt-bindings/interconnect/qcom,qcs615-rpmh.h
21+
22+
properties:
23+
compatible:
24+
enum:
25+
- qcom,qcs615-aggre1-noc
26+
- qcom,qcs615-camnoc-virt
27+
- qcom,qcs615-config-noc
28+
- qcom,qcs615-dc-noc
29+
- qcom,qcs615-gem-noc
30+
- qcom,qcs615-ipa-virt
31+
- qcom,qcs615-mc-virt
32+
- qcom,qcs615-mmss-noc
33+
- qcom,qcs615-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,qcs615-camnoc-virt
49+
- qcom,qcs615-ipa-virt
50+
- qcom,qcs615-mc-virt
51+
then:
52+
properties:
53+
reg: false
54+
else:
55+
required:
56+
- reg
57+
58+
unevaluatedProperties: false
59+
60+
examples:
61+
- |
62+
gem_noc: interconnect@9680000 {
63+
compatible = "qcom,qcs615-gem-noc";
64+
reg = <0x9680000 0x3e200>;
65+
#interconnect-cells = <2>;
66+
qcom,bcm-voters = <&apps_bcm_voter>;
67+
};
68+
69+
mc_virt: interconnect-2 {
70+
compatible = "qcom,qcs615-mc-virt";
71+
#interconnect-cells = <2>;
72+
qcom,bcm-voters = <&apps_bcm_voter>;
73+
};

drivers/interconnect/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,15 @@ 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_QCS615
109+
tristate "Qualcomm QCS615 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 Network-on-Chip on qcs615-based
115+
platforms.
116+
108117
config INTERCONNECT_QCOM_QCS8300
109118
tristate "Qualcomm QCS8300 interconnect driver"
110119
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-qcs615-objs := qcs615.o
1819
qnoc-qcs8300-objs := qcs8300.o
1920
qnoc-qdu1000-objs := qdu1000.o
2021
icc-rpmh-obj := icc-rpmh.o
@@ -53,6 +54,7 @@ obj-$(CONFIG_INTERCONNECT_QCOM_MSM8996) += qnoc-msm8996.o
5354
obj-$(CONFIG_INTERCONNECT_QCOM_OSM_L3) += icc-osm-l3.o
5455
obj-$(CONFIG_INTERCONNECT_QCOM_QCM2290) += qnoc-qcm2290.o
5556
obj-$(CONFIG_INTERCONNECT_QCOM_QCS404) += qnoc-qcs404.o
57+
obj-$(CONFIG_INTERCONNECT_QCOM_QCS615) += qnoc-qcs615.o
5658
obj-$(CONFIG_INTERCONNECT_QCOM_QCS8300) += qnoc-qcs8300.o
5759
obj-$(CONFIG_INTERCONNECT_QCOM_QDU1000) += qnoc-qdu1000.o
5860
obj-$(CONFIG_INTERCONNECT_QCOM_RPMH) += icc-rpmh.o

0 commit comments

Comments
 (0)