2021-08-04 14:35:55

by Thara Gopinath

[permalink] [raw]
Subject: [PATCH] cpufreq: blacklist Qualcomm sm8150 in cpufreq-dt-platdev

The Qualcomm sm8150 platform uses the qcom-cpufreq-hw driver, so
add it to the cpufreq-dt-platdev driver's blocklist.

Signed-off-by: Thara Gopinath <[email protected]>
---
drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 9d5a38a91f10..231e585f6ba2 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -141,6 +141,7 @@ static const struct of_device_id blocklist[] __initconst = {
{ .compatible = "qcom,sc7280", },
{ .compatible = "qcom,sc8180x", },
{ .compatible = "qcom,sdm845", },
+ { .compatible = "qcom,sm8150", },

{ .compatible = "st,stih407", },
{ .compatible = "st,stih410", },
--
2.25.1


2021-08-04 15:46:01

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: blacklist Qualcomm sm8150 in cpufreq-dt-platdev

On Wed 04 Aug 08:34 CDT 2021, Thara Gopinath wrote:

> The Qualcomm sm8150 platform uses the qcom-cpufreq-hw driver, so
> add it to the cpufreq-dt-platdev driver's blocklist.
>

Reviewed-by: Bjorn Andersson <[email protected]>

> Signed-off-by: Thara Gopinath <[email protected]>
> ---
> drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> index 9d5a38a91f10..231e585f6ba2 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -141,6 +141,7 @@ static const struct of_device_id blocklist[] __initconst = {
> { .compatible = "qcom,sc7280", },
> { .compatible = "qcom,sc8180x", },
> { .compatible = "qcom,sdm845", },
> + { .compatible = "qcom,sm8150", },
>
> { .compatible = "st,stih407", },
> { .compatible = "st,stih410", },
> --
> 2.25.1
>

2021-08-04 20:48:23

by Trilok Soni

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: blacklist Qualcomm sm8150 in cpufreq-dt-platdev

On 8/4/2021 8:42 AM, Bjorn Andersson wrote:
> On Wed 04 Aug 08:34 CDT 2021, Thara Gopinath wrote:
>
>> The Qualcomm sm8150 platform uses the qcom-cpufreq-hw driver, so
>> add it to the cpufreq-dt-platdev driver's blocklist.

Thara, please use "blocklist" as well in your subject line of the patch.

---Trilok Soni