]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
soc: qcom: pd_mapper: Add more older platforms without domains
authorStephan Gerhold <stephan.gerhold@linaro.org>
Mon, 8 Jul 2024 16:22:10 +0000 (18:22 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 15 Aug 2024 03:14:41 +0000 (22:14 -0500)
MSM8909, MSM8916 and MSM8939 all do not make use of pd-mapper, add them to
the list similar to the other older platforms to avoid the following
message in dmesg when booting:

 "PDM: no support for the platform, userspace daemon might be required."

Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240708-x1e80100-pd-mapper-v1-2-854386af4cf5@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/qcom_pd_mapper.c

index d3d853ceb6e8592c53236cb7a72b2e7459a4675a..63db04f2bf67052d42b9fa5dc7e6c6c9b71c7633 100644 (file)
@@ -527,11 +527,15 @@ static const struct qcom_pdm_domain_data *x1e80100_domains[] = {
 };
 
 static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
+       { .compatible = "qcom,apq8016", .data = NULL, },
        { .compatible = "qcom,apq8064", .data = NULL, },
        { .compatible = "qcom,apq8074", .data = NULL, },
        { .compatible = "qcom,apq8084", .data = NULL, },
        { .compatible = "qcom,apq8096", .data = msm8996_domains, },
        { .compatible = "qcom,msm8226", .data = NULL, },
+       { .compatible = "qcom,msm8909", .data = NULL, },
+       { .compatible = "qcom,msm8916", .data = NULL, },
+       { .compatible = "qcom,msm8939", .data = NULL, },
        { .compatible = "qcom,msm8974", .data = NULL, },
        { .compatible = "qcom,msm8996", .data = msm8996_domains, },
        { .compatible = "qcom,msm8998", .data = msm8998_domains, },