Skip to content

Commit 80c170d

Browse files
committed
PCI: Use consistent controller Kconfig menu entry language
Use "PCIe controller" consistently instead of "host bridge", "bus driver", etc. Annotate with "(host mode)" or "(endpoint mode)" as needed. Link: https://lore.kernel.org/r/20230418174336.145585-5-helgaas@kernel.org Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent bf909c5 commit 80c170d

4 files changed

Lines changed: 45 additions & 45 deletions

File tree

drivers/pci/controller/Kconfig

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ config PCI_RCAR_GEN2
6969
built-in EHCI/OHCI host controller present on each one.
7070

7171
config PCIE_RCAR_HOST
72-
bool "Renesas R-Car PCIe host controller"
72+
bool "Renesas R-Car PCIe controller (host mode)"
7373
depends on ARCH_RENESAS || COMPILE_TEST
7474
depends on PCI_MSI
7575
help
7676
Say Y here if you want PCIe controller support on R-Car SoCs in host
7777
mode.
7878

7979
config PCIE_RCAR_EP
80-
bool "Renesas R-Car PCIe endpoint controller"
80+
bool "Renesas R-Car PCIe controller (endpoint mode)"
8181
depends on ARCH_RENESAS || COMPILE_TEST
8282
depends on PCI_ENDPOINT
8383
help
@@ -98,15 +98,15 @@ config PCI_HOST_GENERIC
9898
controller, such as the one emulated by kvmtool.
9999

100100
config PCIE_XILINX
101-
bool "Xilinx AXI PCIe host bridge support"
101+
bool "Xilinx AXI PCIe controller"
102102
depends on OF || COMPILE_TEST
103103
depends on PCI_MSI
104104
help
105105
Say 'Y' here if you want kernel to support the Xilinx AXI PCIe
106106
Host Bridge driver.
107107

108108
config PCIE_XILINX_CPM
109-
bool "Xilinx Versal CPM host bridge support"
109+
bool "Xilinx Versal CPM PCI controller"
110110
depends on ARCH_ZYNQMP || COMPILE_TEST
111111
select PCI_HOST_COMMON
112112
help
@@ -159,7 +159,7 @@ config PCIE_IPROC_PLATFORM
159159
through the generic platform bus interface
160160

161161
config PCIE_IPROC_BCMA
162-
tristate "Broadcom iProc PCIe BCMA bus driver"
162+
tristate "Broadcom iProc BCMA PCIe controller"
163163
depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST)
164164
select PCIE_IPROC
165165
select BCMA
@@ -213,7 +213,7 @@ config PCIE_ROCKCHIP
213213
depends on PCI
214214

215215
config PCIE_ROCKCHIP_HOST
216-
tristate "Rockchip PCIe host controller"
216+
tristate "Rockchip PCIe controller (host mode)"
217217
depends on ARCH_ROCKCHIP || COMPILE_TEST
218218
depends on OF
219219
depends on PCI_MSI
@@ -225,7 +225,7 @@ config PCIE_ROCKCHIP_HOST
225225
4 slots.
226226

227227
config PCIE_ROCKCHIP_EP
228-
bool "Rockchip PCIe endpoint controller"
228+
bool "Rockchip PCIe controller (endpoint mode)"
229229
depends on ARCH_ROCKCHIP || COMPILE_TEST
230230
depends on OF
231231
depends on PCI_ENDPOINT
@@ -274,7 +274,7 @@ config VMD
274274
module will be called vmd.
275275

276276
config PCIE_BRCMSTB
277-
tristate "Broadcom Brcmstb PCIe host controller"
277+
tristate "Broadcom Brcmstb PCIe controller"
278278
depends on ARCH_BRCMSTB || ARCH_BCM2835 || ARCH_BCMBCA || \
279279
BMIPS_GENERIC || COMPILE_TEST
280280
depends on OF
@@ -293,7 +293,7 @@ config PCI_HYPERV_INTERFACE
293293
driver.
294294

295295
config PCI_LOONGSON
296-
bool "LOONGSON PCI Controller"
296+
bool "LOONGSON PCIe controller"
297297
depends on MACH_LOONGSON64 || COMPILE_TEST
298298
depends on OF || ACPI
299299
depends on PCI_QUIRKS
@@ -303,7 +303,7 @@ config PCI_LOONGSON
303303
Loongson systems.
304304

305305
config PCIE_MICROCHIP_HOST
306-
bool "Microchip AXI PCIe host bridge support"
306+
bool "Microchip AXI PCIe controller"
307307
depends on PCI_MSI && OF
308308
select PCI_HOST_COMMON
309309
help
@@ -336,7 +336,7 @@ config PCIE_APPLE
336336
If unsure, say Y if you have an Apple Silicon system.
337337

338338
config PCIE_MT7621
339-
tristate "MediaTek MT7621 PCIe Controller"
339+
tristate "MediaTek MT7621 PCIe controller"
340340
depends on SOC_MT7621 || COMPILE_TEST
341341
select PHY_MT7621_PCI
342342
default SOC_MT7621

drivers/pci/controller/cadence/Kconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
menu "Cadence PCIe controllers support"
3+
menu "Cadence-based PCIe controllers"
44
depends on PCI
55

66
config PCIE_CADENCE
@@ -22,7 +22,7 @@ config PCIE_CADENCE_PLAT
2222
bool
2323

2424
config PCIE_CADENCE_PLAT_HOST
25-
bool "Cadence PCIe platform host controller"
25+
bool "Cadence platform PCIe controller (host mode)"
2626
depends on OF
2727
select PCIE_CADENCE_HOST
2828
select PCIE_CADENCE_PLAT
@@ -32,7 +32,7 @@ config PCIE_CADENCE_PLAT_HOST
3232
vendors SoCs.
3333

3434
config PCIE_CADENCE_PLAT_EP
35-
bool "Cadence PCIe platform endpoint controller"
35+
bool "Cadence platform PCIe controller (endpoint mode)"
3636
depends on OF
3737
depends on PCI_ENDPOINT
3838
select PCIE_CADENCE_EP
@@ -46,7 +46,7 @@ config PCI_J721E
4646
bool
4747

4848
config PCI_J721E_HOST
49-
bool "TI J721E PCIe platform host controller"
49+
bool "TI J721E PCIe controller (host mode)"
5050
depends on OF
5151
select PCIE_CADENCE_HOST
5252
select PCI_J721E
@@ -56,7 +56,7 @@ config PCI_J721E_HOST
5656
core.
5757

5858
config PCI_J721E_EP
59-
bool "TI J721E PCIe platform endpoint controller"
59+
bool "TI J721E PCIe controller (endpoint mode)"
6060
depends on OF
6161
depends on PCI_ENDPOINT
6262
select PCIE_CADENCE_EP

drivers/pci/controller/dwc/Kconfig

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
menu "DesignWare PCI Core Support"
3+
menu "DesignWare-based PCIe controllers"
44
depends on PCI
55

66
config PCIE_DW
@@ -18,7 +18,7 @@ config PCI_DRA7XX
1818
tristate
1919

2020
config PCI_DRA7XX_HOST
21-
tristate "TI DRA7xx PCIe controller Host Mode"
21+
tristate "TI DRA7xx PCIe controller (host mode)"
2222
depends on SOC_DRA7XX || COMPILE_TEST
2323
depends on OF && HAS_IOMEM && TI_PIPE3
2424
depends on PCI_MSI
@@ -34,7 +34,7 @@ config PCI_DRA7XX_HOST
3434
This uses the DesignWare core.
3535

3636
config PCI_DRA7XX_EP
37-
tristate "TI DRA7xx PCIe controller Endpoint Mode"
37+
tristate "TI DRA7xx PCIe controller (endpoint mode)"
3838
depends on SOC_DRA7XX || COMPILE_TEST
3939
depends on OF && HAS_IOMEM && TI_PIPE3
4040
depends on PCI_ENDPOINT
@@ -52,7 +52,7 @@ config PCIE_DW_PLAT
5252
bool
5353

5454
config PCIE_DW_PLAT_HOST
55-
bool "Platform bus based DesignWare PCIe Controller - Host mode"
55+
bool "Platform bus based DesignWare PCIe controller (host mode)"
5656
depends on PCI_MSI
5757
select PCIE_DW_HOST
5858
select PCIE_DW_PLAT
@@ -66,7 +66,7 @@ config PCIE_DW_PLAT_HOST
6666
selected.
6767

6868
config PCIE_DW_PLAT_EP
69-
bool "Platform bus based DesignWare PCIe Controller - Endpoint mode"
69+
bool "Platform bus based DesignWare PCIe controller (endpoint mode)"
7070
depends on PCI && PCI_MSI
7171
depends on PCI_ENDPOINT
7272
select PCIE_DW_EP
@@ -95,7 +95,7 @@ config PCI_IMX6
9595
bool
9696

9797
config PCI_IMX6_HOST
98-
bool "Freescale i.MX6/7/8 PCIe controller host mode"
98+
bool "Freescale i.MX6/7/8 PCIe controller (host mode)"
9999
depends on ARCH_MXC || COMPILE_TEST
100100
depends on PCI_MSI
101101
select PCIE_DW_HOST
@@ -107,7 +107,7 @@ config PCI_IMX6_HOST
107107
DesignWare core functions to implement the driver.
108108

109109
config PCI_IMX6_EP
110-
bool "Freescale i.MX6/7/8 PCIe controller endpoint mode"
110+
bool "Freescale i.MX6/7/8 PCIe controller (endpoint mode)"
111111
depends on ARCH_MXC || COMPILE_TEST
112112
depends on PCI_ENDPOINT
113113
select PCIE_DW_EP
@@ -130,7 +130,7 @@ config PCI_KEYSTONE
130130
bool
131131

132132
config PCI_KEYSTONE_HOST
133-
bool "PCI Keystone Host Mode"
133+
bool "TI Keystone PCIe controller (host mode)"
134134
depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
135135
depends on PCI_MSI
136136
select PCIE_DW_HOST
@@ -142,7 +142,7 @@ config PCI_KEYSTONE_HOST
142142
DesignWare core functions to implement the driver.
143143

144144
config PCI_KEYSTONE_EP
145-
bool "PCI Keystone Endpoint Mode"
145+
bool "TI Keystone PCIe controller (endpoint mode)"
146146
depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
147147
depends on PCI_ENDPOINT
148148
select PCIE_DW_EP
@@ -154,7 +154,7 @@ config PCI_KEYSTONE_EP
154154
DesignWare core functions to implement the driver.
155155

156156
config PCI_LAYERSCAPE
157-
bool "Freescale Layerscape PCIe controller - Host mode"
157+
bool "Freescale Layerscape PCIe controller (host mode)"
158158
depends on OF && (ARM || ARCH_LAYERSCAPE || COMPILE_TEST)
159159
depends on PCI_MSI
160160
select PCIE_DW_HOST
@@ -167,7 +167,7 @@ config PCI_LAYERSCAPE
167167
controller works in RC mode.
168168

169169
config PCI_LAYERSCAPE_EP
170-
bool "Freescale Layerscape PCIe controller - Endpoint mode"
170+
bool "Freescale Layerscape PCIe controller (endpoint mode)"
171171
depends on OF && (ARM || ARCH_LAYERSCAPE || COMPILE_TEST)
172172
depends on PCI_ENDPOINT
173173
select PCIE_DW_EP
@@ -180,7 +180,7 @@ config PCI_LAYERSCAPE_EP
180180

181181
config PCI_HISI
182182
depends on OF && (ARM64 || COMPILE_TEST)
183-
bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers"
183+
bool "HiSilicon Hip05 and Hip06 SoCs PCIe controller"
184184
depends on PCI_MSI
185185
select PCIE_DW_HOST
186186
select PCI_HOST_COMMON
@@ -189,7 +189,7 @@ config PCI_HISI
189189
Hip05 and Hip06 SoCs
190190

191191
config PCIE_QCOM
192-
bool "Qualcomm PCIe controller"
192+
bool "Qualcomm PCIe controller (host mode)"
193193
depends on OF && (ARCH_QCOM || COMPILE_TEST)
194194
depends on PCI_MSI
195195
select PCIE_DW_HOST
@@ -200,7 +200,7 @@ config PCIE_QCOM
200200
hardware wrappers.
201201

202202
config PCIE_QCOM_EP
203-
tristate "Qualcomm PCIe controller - Endpoint mode"
203+
tristate "Qualcomm PCIe controller (endpoint mode)"
204204
depends on OF && (ARCH_QCOM || COMPILE_TEST)
205205
depends on PCI_ENDPOINT
206206
select PCIE_DW_EP
@@ -224,7 +224,7 @@ config PCIE_ARTPEC6
224224
bool
225225

226226
config PCIE_ARTPEC6_HOST
227-
bool "Axis ARTPEC-6 PCIe controller Host Mode"
227+
bool "Axis ARTPEC-6 PCIe controller (host mode)"
228228
depends on MACH_ARTPEC6 || COMPILE_TEST
229229
depends on PCI_MSI
230230
select PCIE_DW_HOST
@@ -234,7 +234,7 @@ config PCIE_ARTPEC6_HOST
234234
host mode. This uses the DesignWare core.
235235

236236
config PCIE_ARTPEC6_EP
237-
bool "Axis ARTPEC-6 PCIe controller Endpoint Mode"
237+
bool "Axis ARTPEC-6 PCIe controller (endpoint mode)"
238238
depends on MACH_ARTPEC6 || COMPILE_TEST
239239
depends on PCI_ENDPOINT
240240
select PCIE_DW_EP
@@ -264,7 +264,7 @@ config PCIE_ROCKCHIP_DW_HOST
264264
Rockchip SoC except RK3399.
265265

266266
config PCIE_INTEL_GW
267-
bool "Intel Gateway PCIe host controller support"
267+
bool "Intel Gateway PCIe controller "
268268
depends on OF && (X86 || COMPILE_TEST)
269269
depends on PCI_MSI
270270
select PCIE_DW_HOST
@@ -278,7 +278,7 @@ config PCIE_KEEMBAY
278278
bool
279279

280280
config PCIE_KEEMBAY_HOST
281-
bool "Intel Keem Bay PCIe controller - Host mode"
281+
bool "Intel Keem Bay PCIe controller (host mode)"
282282
depends on ARCH_KEEMBAY || COMPILE_TEST
283283
depends on PCI_MSI
284284
select PCIE_DW_HOST
@@ -290,7 +290,7 @@ config PCIE_KEEMBAY_HOST
290290
DesignWare core functions.
291291

292292
config PCIE_KEEMBAY_EP
293-
bool "Intel Keem Bay PCIe controller - Endpoint mode"
293+
bool "Intel Keem Bay PCIe controller (endpoint mode)"
294294
depends on ARCH_KEEMBAY || COMPILE_TEST
295295
depends on PCI_MSI
296296
depends on PCI_ENDPOINT
@@ -304,7 +304,7 @@ config PCIE_KEEMBAY_EP
304304

305305
config PCIE_KIRIN
306306
depends on OF && (ARM64 || COMPILE_TEST)
307-
tristate "HiSilicon Kirin series SoCs PCIe controllers"
307+
tristate "HiSilicon Kirin PCIe controller"
308308
depends on PCI_MSI
309309
select PCIE_DW_HOST
310310
select REGMAP_MMIO
@@ -313,7 +313,7 @@ config PCIE_KIRIN
313313
on HiSilicon Kirin series SoCs.
314314

315315
config PCIE_HISI_STB
316-
bool "HiSilicon STB SoCs PCIe controllers"
316+
bool "HiSilicon STB PCIe controller"
317317
depends on ARCH_HISI || COMPILE_TEST
318318
depends on PCI_MSI
319319
select PCIE_DW_HOST
@@ -335,7 +335,7 @@ config PCIE_TEGRA194
335335
tristate
336336

337337
config PCIE_TEGRA194_HOST
338-
tristate "NVIDIA Tegra194 (and later) PCIe controller - Host Mode"
338+
tristate "NVIDIA Tegra194 (and later) PCIe controller (host mode)"
339339
depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
340340
depends on PCI_MSI
341341
select PCIE_DW_HOST
@@ -350,7 +350,7 @@ config PCIE_TEGRA194_HOST
350350
selected. This uses the DesignWare core.
351351

352352
config PCIE_TEGRA194_EP
353-
tristate "NVIDIA Tegra194 (and later) PCIe controller - Endpoint Mode"
353+
tristate "NVIDIA Tegra194 (and later) PCIe controller (endpoint mode)"
354354
depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
355355
depends on PCI_ENDPOINT
356356
select PCIE_DW_EP
@@ -365,7 +365,7 @@ config PCIE_TEGRA194_EP
365365
selected. This uses the DesignWare core.
366366

367367
config PCIE_VISCONTI_HOST
368-
bool "Toshiba Visconti PCIe controllers"
368+
bool "Toshiba Visconti PCIe controller"
369369
depends on ARCH_VISCONTI || COMPILE_TEST
370370
depends on PCI_MSI
371371
select PCIE_DW_HOST
@@ -374,7 +374,7 @@ config PCIE_VISCONTI_HOST
374374
This driver supports TMPV7708 SoC.
375375

376376
config PCIE_UNIPHIER
377-
bool "Socionext UniPhier PCIe host controllers"
377+
bool "Socionext UniPhier PCIe controller (host mode)"
378378
depends on ARCH_UNIPHIER || COMPILE_TEST
379379
depends on OF && HAS_IOMEM
380380
depends on PCI_MSI
@@ -384,7 +384,7 @@ config PCIE_UNIPHIER
384384
This driver supports LD20 and PXs3 SoCs.
385385

386386
config PCIE_UNIPHIER_EP
387-
bool "Socionext UniPhier PCIe endpoint controllers"
387+
bool "Socionext UniPhier PCIe controller (endpoint mode)"
388388
depends on ARCH_UNIPHIER || COMPILE_TEST
389389
depends on OF && HAS_IOMEM
390390
depends on PCI_ENDPOINT
@@ -407,7 +407,7 @@ config PCIE_AL
407407
Annapurna Labs PCIe controller don't need to enable this.
408408

409409
config PCIE_FU740
410-
bool "SiFive FU740 PCIe host controller"
410+
bool "SiFive FU740 PCIe controller"
411411
depends on PCI_MSI
412412
depends on SOC_SIFIVE || COMPILE_TEST
413413
select PCIE_DW_HOST

0 commit comments

Comments
 (0)