Mailing List Archive

[PATCH] cpufreq: Add SM7225 to cpufreq-dt-platdev blocklist
The Qualcomm SM7225 platform uses the qcom-cpufreq-hw driver, so add
it to the cpufreq-dt-platdev driver's blocklist.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
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 5ac6b9e5270e..452181434735 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -152,6 +152,7 @@ static const struct of_device_id blocklist[] __initconst = {
{ .compatible = "qcom,sm6115", },
{ .compatible = "qcom,sm6350", },
{ .compatible = "qcom,sm6375", },
+ { .compatible = "qcom,sm7225", },
{ .compatible = "qcom,sm8150", },
{ .compatible = "qcom,sm8250", },
{ .compatible = "qcom,sm8350", },

---
base-commit: e5dbf24e8b9e6aa0a185d86ce46a7a9c79ebb40f
change-id: 20230324-sm7225-cpufreq-02b805268143

Best regards,
--
Luca Weiss <luca.weiss@fairphone.com>
Re: [PATCH] cpufreq: Add SM7225 to cpufreq-dt-platdev blocklist [ In reply to ]
On 24-03-23, 15:06, Luca Weiss wrote:
> The Qualcomm SM7225 platform uses the qcom-cpufreq-hw driver, so add
> it to the cpufreq-dt-platdev driver's blocklist.
>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
> 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 5ac6b9e5270e..452181434735 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -152,6 +152,7 @@ static const struct of_device_id blocklist[] __initconst = {
> { .compatible = "qcom,sm6115", },
> { .compatible = "qcom,sm6350", },
> { .compatible = "qcom,sm6375", },
> + { .compatible = "qcom,sm7225", },
> { .compatible = "qcom,sm8150", },
> { .compatible = "qcom,sm8250", },
> { .compatible = "qcom,sm8350", },
>

Applied. Thanks.

--
viresh