summaryrefslogtreecommitdiff
path: root/drivers/pci/pwrctrl/Kconfig
blob: e0f999f299bb95932c3c750e841595c0252cba98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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