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