xref: /linux/drivers/pci/pwrctrl/Kconfig (revision 43dfc13ca972988e620a6edb72956981b75ab6b0)
1# SPDX-License-Identifier: GPL-2.0-only
2
3config HAVE_PWRCTRL
4	bool
5
6config PCI_PWRCTRL
7	tristate
8
9config PCI_PWRCTRL_PWRSEQ
10	tristate
11	select POWER_SEQUENCING
12	select PCI_PWRCTRL
13
14config PCI_PWRCTRL_SLOT
15	tristate "PCI Power Control driver for PCI slots"
16	select PCI_PWRCTRL
17	help
18	  Say Y here to enable the PCI Power Control driver to control the power
19	  state of PCI slots.
20
21	  This is a generic driver that controls the power state of different
22	  PCI slots. The voltage regulators powering the rails of the PCI slots
23	  are expected to be defined in the devicetree node of the PCI bridge.
24
25config PCI_PWRCTRL_TC9563
26	tristate "PCI Power Control driver for TC9563 PCIe switch"
27	select PCI_PWRCTRL
28	default m if ARCH_QCOM
29	depends on I2C
30	help
31	  Say Y here to enable the PCI Power Control driver of TC9563 PCIe
32	  switch.
33
34	  This driver enables power and configures the TC9563 PCIe switch
35	  through i2c. TC9563 is a PCIe switch which has one upstream and three
36	  downstream ports. To one of the downstream ports integrated ethernet
37	  MAC is connected as endpoint device. Other two downstream ports are
38	  supposed to connect to external device.
39
40# deprecated
41config HAVE_PWRCTL
42	bool
43	select HAVE_PWRCTRL
44
45# deprecated
46config PCI_PWRCTL_PWRSEQ
47	tristate
48	select PCI_PWRCTRL_PWRSEQ
49