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