2021-10-18 03:47:47

by Bjorn Andersson

[permalink] [raw]
Subject: [PATCH] arm64: defconfig: Enable Qualcomm LMH driver

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 <[email protected]>
---
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


2021-10-18 05:19:53

by Bhupesh Sharma

[permalink] [raw]
Subject: Re: [PATCH] arm64: defconfig: Enable Qualcomm LMH driver

Hi,

On Mon, 18 Oct 2021 at 02:08, Bjorn Andersson
<[email protected]> 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 <[email protected]>
> ---
> 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 <[email protected]>

Regards.

2021-10-18 05:23:20

by Bhupesh Sharma

[permalink] [raw]
Subject: Re: [PATCH] arm64: defconfig: Enable Qualcomm LMH driver

On Mon, 18 Oct 2021 at 10:47, Bhupesh Sharma <[email protected]> wrote:
>
> Hi,
>
> On Mon, 18 Oct 2021 at 02:08, Bjorn Andersson
> <[email protected]> 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 <[email protected]>
> > ---
> > 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 <[email protected]>
>
> Regards.

2021-10-18 16:39:04

by Steev Klimaszewski

[permalink] [raw]
Subject: Re: [PATCH] arm64: defconfig: Enable Qualcomm LMH driver


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 <[email protected]>
> ---
> 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 <[email protected]>