mailbox: qcom: Add msm8998 hmss compatible
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 27 Mar 2018 15:54:26 +0000 (08:54 -0700)
committerJassi Brar <jaswinder.singh@linaro.org>
Wed, 6 Jun 2018 16:51:59 +0000 (22:21 +0530)
The Qualcomm MSM8998 platform has a APCS HMSS GLOBAL block, add the
compatible for this.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt
drivers/mailbox/qcom-apcs-ipc-mailbox.c

index 16964f0..58090b4 100644 (file)
@@ -10,6 +10,7 @@ platforms.
        Definition: must be one of:
                    "qcom,msm8916-apcs-kpss-global",
                    "qcom,msm8996-apcs-hmss-global"
+                   "qcom,msm8998-apcs-hmss-global"
 
 - reg:
        Usage: required
index 57bde0d..f47af1e 100644 (file)
@@ -125,6 +125,7 @@ static int qcom_apcs_ipc_remove(struct platform_device *pdev)
 static const struct of_device_id qcom_apcs_ipc_of_match[] = {
        { .compatible = "qcom,msm8916-apcs-kpss-global", .data = (void *)8 },
        { .compatible = "qcom,msm8996-apcs-hmss-global", .data = (void *)16 },
+       { .compatible = "qcom,msm8998-apcs-hmss-global", .data = (void *)8 },
        {}
 };
 MODULE_DEVICE_TABLE(of, qcom_apcs_ipc_of_match);