xref: /linux/drivers/interconnect/qcom/Kconfig (revision 46bdcac533cca06c481524343de7d9cc46d67093)
1# SPDX-License-Identifier: GPL-2.0-only
2config INTERCONNECT_QCOM
3	bool "Qualcomm Network-on-Chip interconnect drivers"
4	depends on ARCH_QCOM
5	help
6	  Support for Qualcomm's Network-on-Chip interconnect hardware.
7
8config INTERCONNECT_QCOM_BCM_VOTER
9	tristate
10
11config INTERCONNECT_QCOM_MSM8916
12	tristate "Qualcomm MSM8916 interconnect driver"
13	depends on INTERCONNECT_QCOM
14	depends on QCOM_SMD_RPM
15	select INTERCONNECT_QCOM_SMD_RPM
16	help
17	  This is a driver for the Qualcomm Network-on-Chip on msm8916-based
18	  platforms.
19
20config INTERCONNECT_QCOM_MSM8939
21	tristate "Qualcomm MSM8939 interconnect driver"
22	depends on INTERCONNECT_QCOM
23	depends on QCOM_SMD_RPM
24	select INTERCONNECT_QCOM_SMD_RPM
25	help
26	  This is a driver for the Qualcomm Network-on-Chip on msm8939-based
27	  platforms.
28
29config INTERCONNECT_QCOM_MSM8974
30	tristate "Qualcomm MSM8974 interconnect driver"
31	depends on INTERCONNECT_QCOM
32	depends on QCOM_SMD_RPM
33	select INTERCONNECT_QCOM_SMD_RPM
34	help
35	 This is a driver for the Qualcomm Network-on-Chip on msm8974-based
36	 platforms.
37
38config INTERCONNECT_QCOM_OSM_L3
39	tristate "Qualcomm OSM L3 interconnect driver"
40	depends on INTERCONNECT_QCOM || COMPILE_TEST
41	help
42	  Say y here to support the Operating State Manager (OSM) interconnect
43	  driver which controls the scaling of L3 caches on Qualcomm SoCs.
44
45config INTERCONNECT_QCOM_QCS404
46	tristate "Qualcomm QCS404 interconnect driver"
47	depends on INTERCONNECT_QCOM
48	depends on QCOM_SMD_RPM
49	select INTERCONNECT_QCOM_SMD_RPM
50	help
51	  This is a driver for the Qualcomm Network-on-Chip on qcs404-based
52	  platforms.
53
54config INTERCONNECT_QCOM_RPMH_POSSIBLE
55	tristate
56	default INTERCONNECT_QCOM
57	depends on QCOM_RPMH || (COMPILE_TEST && !QCOM_RPMH)
58	depends on QCOM_COMMAND_DB || (COMPILE_TEST && !QCOM_COMMAND_DB)
59	depends on OF || COMPILE_TEST
60	help
61	  Compile-testing RPMH drivers is possible on other platforms,
62	  but in order to avoid link failures, drivers must not be built-in
63	  when QCOM_RPMH or QCOM_COMMAND_DB are loadable modules
64
65config INTERCONNECT_QCOM_RPMH
66	tristate
67
68config INTERCONNECT_QCOM_SC7180
69	tristate "Qualcomm SC7180 interconnect driver"
70	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
71	select INTERCONNECT_QCOM_RPMH
72	select INTERCONNECT_QCOM_BCM_VOTER
73	help
74	  This is a driver for the Qualcomm Network-on-Chip on sc7180-based
75	  platforms.
76
77config INTERCONNECT_QCOM_SC7280
78	tristate "Qualcomm SC7280 interconnect driver"
79	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
80	select INTERCONNECT_QCOM_RPMH
81	select INTERCONNECT_QCOM_BCM_VOTER
82	help
83	  This is a driver for the Qualcomm Network-on-Chip on sc7280-based
84	  platforms.
85
86config INTERCONNECT_QCOM_SDM660
87	tristate "Qualcomm SDM660 interconnect driver"
88	depends on INTERCONNECT_QCOM
89	depends on QCOM_SMD_RPM
90	select INTERCONNECT_QCOM_SMD_RPM
91	help
92	  This is a driver for the Qualcomm Network-on-Chip on sdm660-based
93	  platforms.
94
95config INTERCONNECT_QCOM_SDM845
96	tristate "Qualcomm SDM845 interconnect driver"
97	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
98	select INTERCONNECT_QCOM_RPMH
99	select INTERCONNECT_QCOM_BCM_VOTER
100	help
101	  This is a driver for the Qualcomm Network-on-Chip on sdm845-based
102	  platforms.
103
104config INTERCONNECT_QCOM_SDX55
105	tristate "Qualcomm SDX55 interconnect driver"
106	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
107	select INTERCONNECT_QCOM_RPMH
108	select INTERCONNECT_QCOM_BCM_VOTER
109	help
110	  This is a driver for the Qualcomm Network-on-Chip on sdx55-based
111	  platforms.
112
113config INTERCONNECT_QCOM_SM8150
114	tristate "Qualcomm SM8150 interconnect driver"
115	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
116	select INTERCONNECT_QCOM_RPMH
117	select INTERCONNECT_QCOM_BCM_VOTER
118	help
119	  This is a driver for the Qualcomm Network-on-Chip on sm8150-based
120	  platforms.
121
122config INTERCONNECT_QCOM_SM8250
123	tristate "Qualcomm SM8250 interconnect driver"
124	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
125	select INTERCONNECT_QCOM_RPMH
126	select INTERCONNECT_QCOM_BCM_VOTER
127	help
128	  This is a driver for the Qualcomm Network-on-Chip on sm8250-based
129	  platforms.
130
131config INTERCONNECT_QCOM_SM8350
132	tristate "Qualcomm SM8350 interconnect driver"
133	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
134	select INTERCONNECT_QCOM_RPMH
135	select INTERCONNECT_QCOM_BCM_VOTER
136	help
137	  This is a driver for the Qualcomm Network-on-Chip on SM8350-based
138	  platforms.
139
140config INTERCONNECT_QCOM_SMD_RPM
141	tristate
142