[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5dc0f70d-801f-4a82-8488-c200f790bad3@quicinc.com>
Date: Wed, 17 Jul 2024 08:13:27 -0700
From: Jeff Johnson <quic_jjohnson@...cinc.com>
To: Bartosz Golaszewski <brgl@...ev.pl>,
Catalin Marinas
<catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Kalle Valo
<kvalo@...nel.org>,
Jeff Johnson <jjohnson@...nel.org>,
Bjorn Helgaas
<bhelgaas@...gle.com>
CC: <linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<linux-wireless@...r.kernel.org>, <ath11k@...ts.infradead.org>,
<ath12k@...ts.infradead.org>, <linux-pci@...r.kernel.org>,
Bartosz
Golaszewski <bartosz.golaszewski@...aro.org>,
Linus Torvalds
<torvalds@...ux-foundation.org>
Subject: Re: [PATCH v2] Kconfig: reduce the amount of power sequencing noise
On 7/17/2024 7:28 AM, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
>
> 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: 4565d2652a37 ("PCI/pwrctl: Add PCI power control core code")
> Reported-by: Linus Torvalds <torvalds@...ux-foundation.org>
> Closes: https://lore.kernel.org/lkml/CAHk-=wjWc5dzcj2O1tEgNHY1rnQW63JwtuZi_vAZPqy6wqpoUQ@mail.gmail.com/
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Acked-by: Jeff Johnson <quic_jjohnson@...cinc.com> # drivers/net/wireless/ath
Powered by blists - more mailing lists