mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 10:02:31 -04:00
Kconfig will ask the user twice about power sequencing: once for the QCom
WCN power sequencing driver and then again for the PCI power control
driver using it.
Let's automate the selection of PCI_PWRCTL by introducing a new hidden
symbol: HAVE_PWRCTL which should be selected by all platforms that have
the need to include PCI power control code (right now: only ARCH_QCOM).
The pwrseq-based PCI pwrctl driver itself will then be selected by the
drivers binding to devices that may require external handling of the
power-up sequence (currently: ath11k and ath12k) based on the value
of HAVE_PWRCTL.
Make all PCI pwrctl Kconfig symbols hidden so that no questions are
asked during configuration.
Fixes: 4565d2652a ("PCI/pwrctl: Add PCI power control core code")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Closes: https://lore.kernel.org/lkml/CAHk-=wjWc5dzcj2O1tEgNHY1rnQW63JwtuZi_vAZPqy6wqpoUQ@mail.gmail.com/
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com> # drivers/net/wireless/ath
Link: https://lore.kernel.org/r/20240717142803.53248-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
config ATH12K
|
|
tristate "Qualcomm Technologies Wi-Fi 7 support (ath12k)"
|
|
depends on MAC80211 && HAS_DMA && PCI
|
|
select CRYPTO_MICHAEL_MIC
|
|
select QCOM_QMI_HELPERS
|
|
select MHI_BUS
|
|
select QRTR
|
|
select QRTR_MHI
|
|
select PCI_PWRCTL_PWRSEQ if HAVE_PWRCTL
|
|
help
|
|
Enable support for Qualcomm Technologies Wi-Fi 7 (IEEE
|
|
802.11be) family of chipsets, for example WCN7850 and
|
|
QCN9274.
|
|
|
|
If you choose to build a module, it'll be called ath12k.
|
|
|
|
config ATH12K_DEBUG
|
|
bool "ath12k debugging"
|
|
depends on ATH12K
|
|
help
|
|
Enable debug support, for example debug messages which must
|
|
be enabled separately using the debug_mask module parameter.
|
|
|
|
If unsure, say Y to make it easier to debug problems. But if
|
|
you want optimal performance choose N.
|
|
|
|
config ATH12K_DEBUGFS
|
|
bool "QTI ath12k debugfs support"
|
|
depends on ATH12K && MAC80211_DEBUGFS
|
|
help
|
|
Enable ath12k debugfs support
|
|
|
|
If unsure, say Y to make it easier to debug problems. But if
|
|
you want optimal performance choose N.
|
|
|
|
config ATH12K_TRACING
|
|
bool "ath12k tracing support"
|
|
depends on ATH12K && EVENT_TRACING
|
|
help
|
|
Enable ath12k tracing infrastructure.
|
|
|
|
If unsure, say Y to make it easier to debug problems. But if
|
|
you want optimal performance choose N.
|