0029-v6.1-mailbox-qcom-apcs-ipc-add-IPQ8074-APSS-clock-support.patch 1.5 KB

123456789101112131415161718192021222324252627282930
  1. From 28e239ecd69a99748181bfdf5d2238ff1a8d0646 Mon Sep 17 00:00:00 2001
  2. From: Robert Marko <[email protected]>
  3. Date: Fri, 19 Aug 2022 00:08:48 +0200
  4. Subject: [PATCH] mailbox: qcom-apcs-ipc: add IPQ8074 APSS clock support
  5. IPQ8074 has the APSS clock controller utilizing the same register space as
  6. the APCS, so provide access to the APSS utilizing a child device like
  7. IPQ6018.
  8. IPQ6018 and IPQ8074 use the same controller and driver, so just utilize
  9. IPQ6018 match data for IPQ8074.
  10. Signed-off-by: Robert Marko <[email protected]>
  11. Reviewed-by: Dmitry Baryshkov <[email protected]>
  12. Signed-off-by: Jassi Brar <[email protected]>
  13. ---
  14. drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 +-
  15. 1 file changed, 1 insertion(+), 1 deletion(-)
  16. --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
  17. +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
  18. @@ -144,7 +144,7 @@ static int qcom_apcs_ipc_remove(struct p
  19. /* .data is the offset of the ipc register within the global block */
  20. static const struct of_device_id qcom_apcs_ipc_of_match[] = {
  21. { .compatible = "qcom,ipq6018-apcs-apps-global", .data = &ipq6018_apcs_data },
  22. - { .compatible = "qcom,ipq8074-apcs-apps-global", .data = &msm8994_apcs_data },
  23. + { .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq6018_apcs_data },
  24. { .compatible = "qcom,msm8916-apcs-kpss-global", .data = &msm8916_apcs_data },
  25. { .compatible = "qcom,msm8939-apcs-kpss-global", .data = &msm8916_apcs_data },
  26. { .compatible = "qcom,msm8953-apcs-kpss-global", .data = &msm8994_apcs_data },