mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: defconfig: Enable Qualcomm LMH driver
@ 2021-10-17 20:40 Bjorn Andersson
  2021-10-18  5:17 ` Bhupesh Sharma
  2021-10-18 16:37 ` Steev Klimaszewski
  0 siblings, 2 replies; 4+ messages in thread
From: Bjorn Andersson @ 2021-10-17 20:40 UTC (permalink / raw)
  To: Bjorn Andersson, Thara Gopinath
  Cc: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel,
	linux-arm-msm

With the introduction of LMH in '36c6581214c4 ("arm64: dts: qcom:
sdm845: Add support for LMh node")' the CPUfreq gained a reference for
the two interrupts from the LMh. This means that if the LMh driver isn't
enabled CPUfreq will not probe and there's no frequency scaling.

Enable LMh to make CPUfreq functional again on SDM845.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 86224aa3a74b..0ae6cd2748d2 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -577,6 +577,7 @@ CONFIG_TEGRA_BPMP_THERMAL=m
 CONFIG_TEGRA_SOCTHERM=m
 CONFIG_QCOM_TSENS=y
 CONFIG_QCOM_SPMI_TEMP_ALARM=m
+CONFIG_QCOM_LMH=m
 CONFIG_UNIPHIER_THERMAL=y
 CONFIG_WATCHDOG=y
 CONFIG_SL28CPLD_WATCHDOG=m
-- 
2.29.2


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

* Re: [PATCH] arm64: defconfig: Enable Qualcomm LMH driver
  2021-10-17 20:40 [PATCH] arm64: defconfig: Enable Qualcomm LMH driver Bjorn Andersson
@ 2021-10-18  5:17 ` Bhupesh Sharma
  2021-10-18  5:21   ` Bhupesh Sharma
  2021-10-18 16:37 ` Steev Klimaszewski
  1 sibling, 1 reply; 4+ messages in thread
From: Bhupesh Sharma @ 2021-10-18  5:17 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Thara Gopinath, Catalin Marinas, Will Deacon, linux-arm-kernel,
	Linux Kernel Mailing List, MSM

Hi,

On Mon, 18 Oct 2021 at 02:08, Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
>
> With the introduction of LMH in '36c6581214c4 ("arm64: dts: qcom:
> sdm845: Add support for LMh node")' the CPUfreq gained a reference for
> the two interrupts from the LMh. This means that if the LMh driver isn't
> enabled CPUfreq will not probe and there's no frequency scaling.
>
> Enable LMh to make CPUfreq functional again on SDM845.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 86224aa3a74b..0ae6cd2748d2 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -577,6 +577,7 @@ CONFIG_TEGRA_BPMP_THERMAL=m
>  CONFIG_TEGRA_SOCTHERM=m
>  CONFIG_QCOM_TSENS=y
>  CONFIG_QCOM_SPMI_TEMP_ALARM=m
> +CONFIG_QCOM_LMH=m
>  CONFIG_UNIPHIER_THERMAL=y
>  CONFIG_WATCHDOG=y
>  CONFIG_SL28CPLD_WATCHDOG=m
> --

Tested on SA8155p-ADP board, so:
Reviewed-and-Tested-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>

Regards.

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

* Re: [PATCH] arm64: defconfig: Enable Qualcomm LMH driver
  2021-10-18  5:17 ` Bhupesh Sharma
@ 2021-10-18  5:21   ` Bhupesh Sharma
  0 siblings, 0 replies; 4+ messages in thread
From: Bhupesh Sharma @ 2021-10-18  5:21 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Thara Gopinath, Catalin Marinas, Will Deacon, linux-arm-kernel,
	Linux Kernel Mailing List, MSM

On Mon, 18 Oct 2021 at 10:47, Bhupesh Sharma <bhupesh.sharma@linaro.org> wrote:
>
> Hi,
>
> On Mon, 18 Oct 2021 at 02:08, Bjorn Andersson
> <bjorn.andersson@linaro.org> wrote:
> >
> > With the introduction of LMH in '36c6581214c4 ("arm64: dts: qcom:
> > sdm845: Add support for LMh node")' the CPUfreq gained a reference for
> > the two interrupts from the LMh. This means that if the LMh driver isn't
> > enabled CPUfreq will not probe and there's no frequency scaling.
> >
> > Enable LMh to make CPUfreq functional again on SDM845.
> >
> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > ---
> >  arch/arm64/configs/defconfig | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > index 86224aa3a74b..0ae6cd2748d2 100644
> > --- a/arch/arm64/configs/defconfig
> > +++ b/arch/arm64/configs/defconfig
> > @@ -577,6 +577,7 @@ CONFIG_TEGRA_BPMP_THERMAL=m
> >  CONFIG_TEGRA_SOCTHERM=m
> >  CONFIG_QCOM_TSENS=y
> >  CONFIG_QCOM_SPMI_TEMP_ALARM=m
> > +CONFIG_QCOM_LMH=m
> >  CONFIG_UNIPHIER_THERMAL=y
> >  CONFIG_WATCHDOG=y
> >  CONFIG_SL28CPLD_WATCHDOG=m
> > --
>
> Tested on SA8155p-ADP board, so:

Sorry, a typo here, I meant the patch was tested on the sdm845-mtp board here :)

> Reviewed-and-Tested-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
>
> Regards.

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

* Re: [PATCH] arm64: defconfig: Enable Qualcomm LMH driver
  2021-10-17 20:40 [PATCH] arm64: defconfig: Enable Qualcomm LMH driver Bjorn Andersson
  2021-10-18  5:17 ` Bhupesh Sharma
@ 2021-10-18 16:37 ` Steev Klimaszewski
  1 sibling, 0 replies; 4+ messages in thread
From: Steev Klimaszewski @ 2021-10-18 16:37 UTC (permalink / raw)
  To: Bjorn Andersson, Thara Gopinath
  Cc: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel,
	linux-arm-msm


On 10/17/21 3:40 PM, Bjorn Andersson wrote:
> With the introduction of LMH in '36c6581214c4 ("arm64: dts: qcom:
> sdm845: Add support for LMh node")' the CPUfreq gained a reference for
> the two interrupts from the LMh. This means that if the LMh driver isn't
> enabled CPUfreq will not probe and there's no frequency scaling.
>
> Enable LMh to make CPUfreq functional again on SDM845.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>   arch/arm64/configs/defconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 86224aa3a74b..0ae6cd2748d2 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -577,6 +577,7 @@ CONFIG_TEGRA_BPMP_THERMAL=m
>   CONFIG_TEGRA_SOCTHERM=m
>   CONFIG_QCOM_TSENS=y
>   CONFIG_QCOM_SPMI_TEMP_ALARM=m
> +CONFIG_QCOM_LMH=m
>   CONFIG_UNIPHIER_THERMAL=y
>   CONFIG_WATCHDOG=y
>   CONFIG_SL28CPLD_WATCHDOG=m

Tested on the Lenovo Yoga C630

Tested-By: Steev Klimaszewski <steev@kali.org>


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

end of thread, other threads:[~2021-10-18 16:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-17 20:40 [PATCH] arm64: defconfig: Enable Qualcomm LMH driver Bjorn Andersson
2021-10-18  5:17 ` Bhupesh Sharma
2021-10-18  5:21   ` Bhupesh Sharma
2021-10-18 16:37 ` Steev Klimaszewski

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

all inboxes | Powered by JetHome®