2021-08-04 22:04:05

by Thara Gopinath

[permalink] [raw]
Subject: [Patch v2] cpufreq: blocklist 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]>
Reviewed-by: Bjorn Andersson <[email protected]>
---

v1->v2: Replaced "blacklist" in subject header with "blocklist".

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-05 05:16:31

by Viresh Kumar

[permalink] [raw]
Subject: Re: [Patch v2] cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev

On 04-08-21, 16:34, Thara Gopinath wrote:
> 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]>
> Reviewed-by: Bjorn Andersson <[email protected]>
> ---
>
> v1->v2: Replaced "blacklist" in subject header with "blocklist".
>
> 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", },

Applied. Thanks.

--
viresh