Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: qcom: smd-rpm: add qcom,smd-rpm compatible

Add the generic qcom,smd-rpm and qcom,glink-smd-rpm compatibles so that
there is no need to add further compat strings to the list. Existing
strings are intact to keep compatibility with existing DTS.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240729-fix-smd-rpm-v2-3-0776408a94c5@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
b14c150d 9d5f3cc5

+6
+6
drivers/soc/qcom/smd-rpm.c
··· 216 216 } 217 217 218 218 static const struct of_device_id qcom_smd_rpm_of_match[] = { 219 + { .compatible = "qcom,glink-smd-rpm" }, 220 + { .compatible = "qcom,smd-rpm" }, 221 + /* 222 + * Don't add any more compatibles to the list, two previous entryes 223 + * should match all defined devices. 224 + */ 219 225 { .compatible = "qcom,rpm-apq8084" }, 220 226 { .compatible = "qcom,rpm-ipq6018" }, 221 227 { .compatible = "qcom,rpm-ipq9574" },