All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soc/qcom: Make QCOM_RPMPD select PM_GENERIC_DOMAINS/_OF
@ 2022-07-01  7:37 Konrad Dybcio
  2022-07-07  2:31 ` (subset) " Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: Konrad Dybcio @ 2022-07-01  7:37 UTC (permalink / raw)
  To: ~postmarketos/upstreaming
  Cc: martin.botka, angelogioacchino.delregno, marijn.suijten,
	jamipkettunen, Konrad Dybcio, Andy Gross, Bjorn Andersson,
	linux-arm-msm, linux-kernel

The driver uses generic genpd OF APIs and with a very minimal config
where nothing else selects them, this driver will not probe, as
of_genpd_add_provider_onecell will return -EOPNOTSUPP.

Make sure to select these in Kconfig to prevent that.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
 drivers/soc/qcom/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index e718b8735444..a750714d5714 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -130,6 +130,8 @@ config QCOM_RPMHPD
 config QCOM_RPMPD
 	tristate "Qualcomm RPM Power domain driver"
 	depends on QCOM_SMD_RPM
+	select PM_GENERIC_DOMAINS
+	select PM_GENERIC_DOMAINS_OF
 	help
 	  QCOM RPM Power domain driver to support power-domains with
 	  performance states. The driver communicates a performance state
-- 
2.37.0


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

* Re: (subset) [PATCH] soc/qcom: Make QCOM_RPMPD select PM_GENERIC_DOMAINS/_OF
  2022-07-01  7:37 [PATCH] soc/qcom: Make QCOM_RPMPD select PM_GENERIC_DOMAINS/_OF Konrad Dybcio
@ 2022-07-07  2:31 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2022-07-07  2:31 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, Konrad Dybcio
  Cc: linux-arm-msm, martin.botka, angelogioacchino.delregno,
	Andy Gross, marijn.suijten, jamipkettunen, linux-kernel

On Fri, 1 Jul 2022 09:37:00 +0200, Konrad Dybcio wrote:
> The driver uses generic genpd OF APIs and with a very minimal config
> where nothing else selects them, this driver will not probe, as
> of_genpd_add_provider_onecell will return -EOPNOTSUPP.
> 
> Make sure to select these in Kconfig to prevent that.
> 
> 
> [...]

Applied, thanks!

[1/1] soc/qcom: Make QCOM_RPMPD select PM_GENERIC_DOMAINS/_OF
      commit: 7d0221fb59125181a31ef3a561306c70fb238bc7

Best regards,
-- 
Bjorn Andersson <bjorn.andersson@linaro.org>

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

end of thread, other threads:[~2022-07-07  2:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-01  7:37 [PATCH] soc/qcom: Make QCOM_RPMPD select PM_GENERIC_DOMAINS/_OF Konrad Dybcio
2022-07-07  2:31 ` (subset) " Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.