summaryrefslogtreecommitdiff
path: root/drivers/pci/pwrctrl/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pwrctrl/Kconfig')
-rw-r--r--drivers/pci/pwrctrl/Kconfig48
1 files changed, 48 insertions, 0 deletions
diff --git a/drivers/pci/pwrctrl/Kconfig b/drivers/pci/pwrctrl/Kconfig
new file mode 100644
index 000000000000..e0f999f299bb
--- /dev/null
+++ b/drivers/pci/pwrctrl/Kconfig
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config HAVE_PWRCTRL
+ bool
+
+config PCI_PWRCTRL
+ tristate
+
+config PCI_PWRCTRL_PWRSEQ
+ tristate
+ select POWER_SEQUENCING
+ select PCI_PWRCTRL
+
+config PCI_PWRCTRL_SLOT
+ tristate "PCI Power Control driver for PCI slots"
+ select PCI_PWRCTRL
+ help
+ Say Y here to enable the PCI Power Control driver to control the power
+ state of PCI slots.
+
+ This is a generic driver that controls the power state of different
+ PCI slots. The voltage regulators powering the rails of the PCI slots
+ are expected to be defined in the devicetree node of the PCI bridge.
+
+config PCI_PWRCTRL_TC9563
+ tristate "PCI Power Control driver for TC9563 PCIe switch"
+ select PCI_PWRCTRL
+ default m if ARCH_QCOM
+ depends on I2C
+ help
+ Say Y here to enable the PCI Power Control driver of TC9563 PCIe
+ switch.
+
+ This driver enables power and configures the TC9563 PCIe switch
+ through i2c. TC9563 is a PCIe switch which has one upstream and three
+ downstream ports. To one of the downstream ports integrated ethernet
+ MAC is connected as endpoint device. Other two downstream ports are
+ supposed to connect to external device.
+
+# deprecated
+config HAVE_PWRCTL
+ bool
+ select HAVE_PWRCTRL
+
+# deprecated
+config PCI_PWRCTL_PWRSEQ
+ tristate
+ select PCI_PWRCTRL_PWRSEQ