diff mbox series

arm64: defconfig: Enable Qualcomm LMH driver

Message ID 20211017204036.2761122-1-bjorn.andersson@linaro.org (mailing list archive)
State New, archived
Headers show
Series arm64: defconfig: Enable Qualcomm LMH driver | expand

Commit Message

Bjorn Andersson Oct. 17, 2021, 8:40 p.m. UTC
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(+)

Comments

Bhupesh Sharma Oct. 18, 2021, 5:17 a.m. UTC | #1
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.
Bhupesh Sharma Oct. 18, 2021, 5:21 a.m. UTC | #2
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.
Steev Klimaszewski Oct. 18, 2021, 4:37 p.m. UTC | #3
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>
diff mbox series

Patch

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