mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
The POWER_SEQUENCING_TH1520_GPU driver depends on
(ARCH_THEAD && AUXILIARY_BUS) || COMPILE_TEST. This means when
COMPILE_TEST=y and ARCH_THEAD is not set, the driver can still be
built even though it requires AUXILIARY_BUS, which may not be
selected in that configuration, leading to a build failure.
Fix this by dropping AUXILIARY_BUS from the dependency and instead
selecting it directly, so the dependency is satisfied regardless of
whether COMPILE_TEST or ARCH_THEAD is enabled.
Fixes: 1a7312b93a ("power: sequencing: extend build coverage with COMPILE_TEST=y")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20260826122742.153643-3-biju.das.jz@bp.renesas.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
51 lines
1.7 KiB
Plaintext
51 lines
1.7 KiB
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
|
|
depends on OF || COMPILE_TEST
|
|
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.
|
|
|
|
config POWER_SEQUENCING_TH1520_GPU
|
|
tristate "T-HEAD TH1520 GPU power sequencing driver"
|
|
depends on ARCH_THEAD || COMPILE_TEST
|
|
select AUXILIARY_BUS
|
|
help
|
|
Say Y here to enable the power sequencing driver for the TH1520 SoC
|
|
GPU. This driver handles the complex clock and reset sequence
|
|
required to power on the Imagination BXM GPU on this platform.
|
|
|
|
config POWER_SEQUENCING_PCIE_M2
|
|
tristate "PCIe M.2 connector power sequencing driver"
|
|
depends on OF
|
|
depends on PCI
|
|
depends on SERIAL_DEV_BUS
|
|
select OF_DYNAMIC
|
|
help
|
|
Say Y here to enable the power sequencing driver for PCIe M.2
|
|
connectors. This driver handles the power sequencing for the M.2
|
|
connectors exposing multiple interfaces like PCIe, SATA, UART, etc...
|
|
|
|
endif
|