소스 검색

mailbox: qcom: Add msm8998 hmss compatible

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>
Bjorn Andersson 7 년 전
부모
커밋
61a2f6db77
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt
  2. 1 0
      drivers/mailbox/qcom-apcs-ipc-mailbox.c

+ 1 - 0
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

+ 1 - 0
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);