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