mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 10:46:33 +00:00
2f1630f437
This adds the power sequencing driver for the PMU modules present on the Qualcomm WCN Bluetooth and Wifi chipsets. It uses the pwrseq subsystem and knows how to match the sequencer to the consumer device by verifying the relevant properties and DT layout. Using this driver will allow the BT and WLAN drivers to respect the required delays between enabling the two modules. Tested-by: Amit Pundir <amit.pundir@linaro.org> Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD, SM8650-QRD & SM8650-HDK Tested-by: Caleb Connolly <caleb.connolly@linaro.org> # OnePlus 8T Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240605123850.24857-3-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
30 lines
942 B
Plaintext
30 lines
942 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
menuconfig POWER_SEQUENCING
|
|
tristate "Power Sequencing support"
|
|
help
|
|
Say Y here to enable the Power Sequencing subsystem.
|
|
|
|
This subsystem is designed to control power to devices that share
|
|
complex resources and/or require specific power sequences to be run
|
|
during power-up.
|
|
|
|
If unsure, say no.
|
|
|
|
if POWER_SEQUENCING
|
|
|
|
config POWER_SEQUENCING_QCOM_WCN
|
|
tristate "Qualcomm WCN family PMU driver"
|
|
default m if ARCH_QCOM
|
|
help
|
|
Say Y here to enable the power sequencing driver for Qualcomm
|
|
WCN Bluetooth/WLAN chipsets.
|
|
|
|
Typically, a package from the Qualcomm WCN family contains the BT
|
|
and WLAN modules whose power is controlled by the PMU module. As the
|
|
former two share the power-up sequence which is executed by the PMU,
|
|
this driver is needed for correct power control or else we'd risk not
|
|
respecting the required delays between enabling Bluetooth and WLAN.
|
|
|
|
endif
|