Skip to content

Commit dde6805

Browse files
konradybcioJassiBrar
authored andcommitted
mailbox: qcom: Add msm8994 apcs compatible
MSM8994 has an APCS block similar to 8916, but with a different clock driver due to the former one having 2 clusters. Signed-off-by: Konrad Dybcio <[email protected]> Acked-by: Rob Herring <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent cfbf813 commit dde6805

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ properties:
1818
enum:
1919
- qcom,ipq8074-apcs-apps-global
2020
- qcom,msm8916-apcs-kpss-global
21+
- qcom,msm8994-apcs-kpss-global
2122
- qcom,msm8996-apcs-hmss-global
2223
- qcom,msm8998-apcs-hmss-global
2324
- qcom,qcs404-apcs-apps-global

drivers/mailbox/qcom-apcs-ipc-mailbox.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ static const struct qcom_apcs_ipc_data msm8916_apcs_data = {
4141
.offset = 8, .clk_name = "qcom-apcs-msm8916-clk"
4242
};
4343

44+
static const struct qcom_apcs_ipc_data msm8994_apcs_data = {
45+
.offset = 8, .clk_name = NULL
46+
};
47+
4448
static const struct qcom_apcs_ipc_data msm8996_apcs_data = {
4549
.offset = 16, .clk_name = NULL
4650
};
@@ -150,6 +154,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
150154
{ .compatible = "qcom,ipq6018-apcs-apps-global", .data = &ipq6018_apcs_data },
151155
{ .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq8074_apcs_data },
152156
{ .compatible = "qcom,msm8916-apcs-kpss-global", .data = &msm8916_apcs_data },
157+
{ .compatible = "qcom,msm8994-apcs-kpss-global", .data = &msm8994_apcs_data },
153158
{ .compatible = "qcom,msm8996-apcs-hmss-global", .data = &msm8996_apcs_data },
154159
{ .compatible = "qcom,msm8998-apcs-hmss-global", .data = &msm8998_apcs_data },
155160
{ .compatible = "qcom,qcs404-apcs-apps-global", .data = &msm8916_apcs_data },

0 commit comments

Comments
 (0)