mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

Manually rebased: bcm27xx/patches-5.15/950-0600-xhci-quirks-add-link-TRB-quirk-for-VL805.patch bcm27xx/patches-5.15/950-0606-usb-xhci-add-VLI_TRB_CACHE_BUG-quirk.patch bcm27xx/patches-5.15/950-0717-usb-xhci-add-a-quirk-for-Superspeed-bulk-OUT-transfe.patch bcm53xx/patches-5.15/180-usb-xhci-add-support-for-performing-fake-doorbell.patch lantiq/patches-5.15/0028-NET-lantiq-various-etop-fixes.patch All other patches automatically rebased Co-authored-by: John Audia <therealgraysky@proton.me> Signed-off-by: John Audia <therealgraysky@proton.me>
51 lines
2.0 KiB
Diff
51 lines
2.0 KiB
Diff
From ded0538937e9edf8b217d2082fd30af3bf7bd10b Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robimarko@gmail.com>
|
|
Date: Tue, 28 Dec 2021 20:59:18 +0100
|
|
Subject: [PATCH 109/137] mailbox: qcom-apcs-ipc: add IPQ8074 APSS clock
|
|
support
|
|
|
|
IPQ8074 has the APSS clock controller utilizing the same register space as
|
|
the APCS, so provide access to the APSS utilizing a child device like
|
|
IPQ6018.
|
|
|
|
IPQ6018 and IPQ8074 use the same controller and driver, so just utilize
|
|
IPQ6018 match data for IPQ8074.
|
|
|
|
Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
|
---
|
|
Changes in v7:
|
|
* Dont max_register modifications
|
|
* Drop custom IPQ8074 match data and use IPQ6018 one as they share the
|
|
controller and driver
|
|
|
|
Changes in v5:
|
|
* Use lower case hex for max_register
|
|
* Update the APSS clock name to match the new one without commas
|
|
---
|
|
drivers/mailbox/qcom-apcs-ipc-mailbox.c | 6 +-----
|
|
1 file changed, 1 insertion(+), 5 deletions(-)
|
|
|
|
--- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
|
|
+++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
|
|
@@ -33,10 +33,6 @@ static const struct qcom_apcs_ipc_data i
|
|
.offset = 8, .clk_name = "qcom,apss-ipq6018-clk"
|
|
};
|
|
|
|
-static const struct qcom_apcs_ipc_data ipq8074_apcs_data = {
|
|
- .offset = 8, .clk_name = NULL
|
|
-};
|
|
-
|
|
static const struct qcom_apcs_ipc_data msm8916_apcs_data = {
|
|
.offset = 8, .clk_name = "qcom-apcs-msm8916-clk"
|
|
};
|
|
@@ -160,7 +156,7 @@ static int qcom_apcs_ipc_remove(struct p
|
|
/* .data is the offset of the ipc register within the global block */
|
|
static const struct of_device_id qcom_apcs_ipc_of_match[] = {
|
|
{ .compatible = "qcom,ipq6018-apcs-apps-global", .data = &ipq6018_apcs_data },
|
|
- { .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq8074_apcs_data },
|
|
+ { .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq6018_apcs_data },
|
|
{ .compatible = "qcom,msm8916-apcs-kpss-global", .data = &msm8916_apcs_data },
|
|
{ .compatible = "qcom,msm8939-apcs-kpss-global", .data = &msm8916_apcs_data },
|
|
{ .compatible = "qcom,msm8953-apcs-kpss-global", .data = &msm8994_apcs_data },
|