public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF
@ 2024-10-04 13:04 Bartosz Golaszewski
  2024-10-08  8:20 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Bartosz Golaszewski @ 2024-10-04 13:04 UTC (permalink / raw)
  To: linux-pm, linux-kernel; +Cc: Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

This driver uses various OF-specific functions and depends on phandle
parsing. There's no reason to make it available to non-OF systems so add
a relevant dependency switch to its Kconfig entry.

Fixes: 2f1630f437df ("power: pwrseq: add a driver for the PMU module on the QCom WCN chipsets")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 drivers/power/sequencing/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/power/sequencing/Kconfig b/drivers/power/sequencing/Kconfig
index c9f1cdb66524..ddcc42a98492 100644
--- a/drivers/power/sequencing/Kconfig
+++ b/drivers/power/sequencing/Kconfig
@@ -16,6 +16,7 @@ if POWER_SEQUENCING
 config POWER_SEQUENCING_QCOM_WCN
 	tristate "Qualcomm WCN family PMU driver"
 	default m if ARCH_QCOM
+	depends on OF
 	help
 	  Say Y here to enable the power sequencing driver for Qualcomm
 	  WCN Bluetooth/WLAN chipsets.
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF
  2024-10-04 13:04 [PATCH] power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF Bartosz Golaszewski
@ 2024-10-08  8:20 ` Bartosz Golaszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2024-10-08  8:20 UTC (permalink / raw)
  To: linux-pm, linux-kernel, Bartosz Golaszewski; +Cc: Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Fri, 04 Oct 2024 15:04:49 +0200, Bartosz Golaszewski wrote:
> This driver uses various OF-specific functions and depends on phandle
> parsing. There's no reason to make it available to non-OF systems so add
> a relevant dependency switch to its Kconfig entry.
> 
> 

Applied, thanks!

[1/1] power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF
      commit: a85bbe01a320eb3f1398da3430384596b1c51663

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-08  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-04 13:04 [PATCH] power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF Bartosz Golaszewski
2024-10-08  8:20 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox