diff mbox series

mailbox: qcom: Add msm8998 hmss compatible

Message ID 20180327155426.31998-1-bjorn.andersson@linaro.org
State Accepted
Commit 61a2f6db77ab119930910bad0d507d680bdf0d77
Headers show
Series mailbox: qcom: Add msm8998 hmss compatible | expand

Commit Message

Bjorn Andersson March 27, 2018, 3:54 p.m. UTC
The Qualcomm MSM8998 platform has a APCS HMSS GLOBAL block, add the
compatible for this.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

---
 Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt | 1 +
 drivers/mailbox/qcom-apcs-ipc-mailbox.c                             | 1 +
 2 files changed, 2 insertions(+)

-- 
2.16.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Rob Herring (Arm) April 9, 2018, 6:59 p.m. UTC | #1
On Tue, Mar 27, 2018 at 08:54:26AM -0700, Bjorn Andersson wrote:
> The Qualcomm MSM8998 platform has a APCS HMSS GLOBAL block, add the

> compatible for this.

> 

> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> ---

>  Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt | 1 +

>  drivers/mailbox/qcom-apcs-ipc-mailbox.c                             | 1 +

>  2 files changed, 2 insertions(+)


Reviewed-by: Rob Herring <robh@kernel.org>


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt
index 16964f0c1773..58090b41da8d 100644
--- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt
+++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt
@@ -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
diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
index 57bde0dfd12f..f47af1e9f897 100644
--- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
+++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
@@ -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);