mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 00:28:54 +02:00
The driver is pretty generic and would fit for either PCI Slots or endpoints connected to PCI ports, so rename the driver and module as pci-pwrctrl-generic. Suggested-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Link: https://patch.msgid.link/20260220-topic-sm8650-ayaneo-pocket-s2-base-v5-3-1ad79caa1efa@linaro.org
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
# 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_GENERIC
|
|
tristate "Generic PCI Power Control driver for PCI slots and endpoints"
|
|
select POWER_SEQUENCING
|
|
select PCI_PWRCTRL
|
|
help
|
|
Say Y here to enable the generic PCI Power Control driver to control
|
|
the power state of PCI slots and endpoints.
|
|
|
|
This is a generic driver that controls the power state of different
|
|
PCI slots and endpoints. The voltage regulators powering the rails
|
|
of the PCI slots or endpoints are expected to be defined in the
|
|
devicetree node of the PCI bridge or endpoint.
|
|
|
|
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
|