Skip to content

Commit 19990ff

Browse files
author
Georgi Djakov
committed
Merge branch 'icc-msm8953' into icc-next
Add interconnect driver for MSM8953-based devices. * icc-msm8953 dt-bindings: interconnect: qcom: Add Qualcomm MSM8953 NoC interconnect: qcom: Add MSM8953 driver Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
2 parents f61207a + 90b4001 commit 19990ff

File tree

5 files changed

+1526
-0
lines changed

5 files changed

+1526
-0
lines changed
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/interconnect/qcom,msm8953.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm MSM8953 Network-On-Chip interconnect
8+
9+
maintainers:
10+
- Barnabas Czeman <[email protected]>
11+
12+
description: |
13+
The Qualcomm MSM8953 interconnect providers support adjusting the
14+
bandwidth requirements between the various NoC fabrics.
15+
16+
See also:
17+
- dt-bindings/interconnect/qcom,msm8953.h
18+
19+
properties:
20+
compatible:
21+
enum:
22+
- qcom,msm8953-bimc
23+
- qcom,msm8953-pcnoc
24+
- qcom,msm8953-snoc
25+
26+
reg:
27+
maxItems: 1
28+
29+
clocks:
30+
maxItems: 1
31+
32+
clock-names:
33+
maxItems: 1
34+
35+
'#interconnect-cells':
36+
const: 2
37+
38+
patternProperties:
39+
'^interconnect-[a-z0-9\-]+$':
40+
type: object
41+
$ref: qcom,rpm-common.yaml#
42+
unevaluatedProperties: false
43+
description:
44+
The interconnect providers do not have a separate QoS register space,
45+
but share parent's space.
46+
47+
properties:
48+
compatible:
49+
const: qcom,msm8953-snoc-mm
50+
51+
required:
52+
- compatible
53+
- '#interconnect-cells'
54+
55+
required:
56+
- compatible
57+
- reg
58+
- '#interconnect-cells'
59+
60+
allOf:
61+
- $ref: qcom,rpm-common.yaml#
62+
- if:
63+
properties:
64+
compatible:
65+
const: qcom,msm8953-pcnoc
66+
67+
then:
68+
properties:
69+
clocks:
70+
items:
71+
- description: PCNOC USB3 AXI Clock.
72+
73+
clock-names:
74+
const: pcnoc_usb3_axi
75+
76+
required:
77+
- clocks
78+
- clock-names
79+
else:
80+
properties:
81+
clocks: false
82+
clock-names: false
83+
84+
additionalProperties: false
85+
86+
examples:
87+
- |
88+
#include <dt-bindings/clock/qcom,gcc-msm8953.h>
89+
90+
snoc: interconnect@580000 {
91+
compatible = "qcom,msm8953-snoc";
92+
reg = <0x580000 0x16080>;
93+
94+
#interconnect-cells = <2>;
95+
96+
snoc_mm: interconnect-snoc {
97+
compatible = "qcom,msm8953-snoc-mm";
98+
99+
#interconnect-cells = <2>;
100+
};
101+
};

drivers/interconnect/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ config INTERCONNECT_QCOM_MSM8939
3535
This is a driver for the Qualcomm Network-on-Chip on msm8939-based
3636
platforms.
3737

38+
config INTERCONNECT_QCOM_MSM8953
39+
tristate "Qualcomm MSM8953 interconnect driver"
40+
depends on INTERCONNECT_QCOM
41+
depends on QCOM_SMD_RPM
42+
select INTERCONNECT_QCOM_SMD_RPM
43+
help
44+
This is a driver for the Qualcomm Network-on-Chip on msm8953-based
45+
platforms.
46+
3847
config INTERCONNECT_QCOM_MSM8974
3948
tristate "Qualcomm MSM8974 interconnect driver"
4049
depends on INTERCONNECT_QCOM

drivers/interconnect/qcom/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ icc-bcm-voter-objs := bcm-voter.o
77
qnoc-msm8909-objs := msm8909.o
88
qnoc-msm8916-objs := msm8916.o
99
qnoc-msm8939-objs := msm8939.o
10+
qnoc-msm8953-objs := msm8953.o
1011
qnoc-msm8974-objs := msm8974.o
1112
qnoc-msm8996-objs := msm8996.o
1213
icc-osm-l3-objs := osm-l3.o
@@ -41,6 +42,7 @@ obj-$(CONFIG_INTERCONNECT_QCOM_BCM_VOTER) += icc-bcm-voter.o
4142
obj-$(CONFIG_INTERCONNECT_QCOM_MSM8909) += qnoc-msm8909.o
4243
obj-$(CONFIG_INTERCONNECT_QCOM_MSM8916) += qnoc-msm8916.o
4344
obj-$(CONFIG_INTERCONNECT_QCOM_MSM8939) += qnoc-msm8939.o
45+
obj-$(CONFIG_INTERCONNECT_QCOM_MSM8953) += qnoc-msm8953.o
4446
obj-$(CONFIG_INTERCONNECT_QCOM_MSM8974) += qnoc-msm8974.o
4547
obj-$(CONFIG_INTERCONNECT_QCOM_MSM8996) += qnoc-msm8996.o
4648
obj-$(CONFIG_INTERCONNECT_QCOM_OSM_L3) += icc-osm-l3.o

0 commit comments

Comments
 (0)