Skip to content

Commit cfbf813

Browse files
konradybcioJassiBrar
authored andcommitted
mailbox: qcom: Add sdm660 hmss compatible
The Qualcomm SDM660 platform has a APCS HMSS GLOBAL block, add the compatible for this. Signed-off-by: Konrad Dybcio <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent 03b7013 commit cfbf813

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
@@ -22,6 +22,7 @@ properties:
2222
- qcom,msm8998-apcs-hmss-global
2323
- qcom,qcs404-apcs-apps-global
2424
- qcom,sc7180-apss-shared
25+
- qcom,sdm660-apcs-hmss-global
2526
- qcom,sdm845-apss-shared
2627
- qcom,sm8150-apss-shared
2728

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ static const struct qcom_apcs_ipc_data msm8998_apcs_data = {
4949
.offset = 8, .clk_name = NULL
5050
};
5151

52+
static const struct qcom_apcs_ipc_data sdm660_apcs_data = {
53+
.offset = 8, .clk_name = NULL
54+
};
55+
5256
static const struct qcom_apcs_ipc_data apps_shared_apcs_data = {
5357
.offset = 12, .clk_name = NULL
5458
};
@@ -150,6 +154,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
150154
{ .compatible = "qcom,msm8998-apcs-hmss-global", .data = &msm8998_apcs_data },
151155
{ .compatible = "qcom,qcs404-apcs-apps-global", .data = &msm8916_apcs_data },
152156
{ .compatible = "qcom,sc7180-apss-shared", .data = &apps_shared_apcs_data },
157+
{ .compatible = "qcom,sdm660-apcs-hmss-global", .data = &sdm660_apcs_data },
153158
{ .compatible = "qcom,sdm845-apss-shared", .data = &apps_shared_apcs_data },
154159
{ .compatible = "qcom,sm8150-apss-shared", .data = &apps_shared_apcs_data },
155160
{}

0 commit comments

Comments
 (0)