Skip to contentSkip to conversation

dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs

PATCH In review Sibi Sankar 3 participants 7 messages Apr 25, 2018 – May 1, 2018

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs

Include SDM845 APSS shared to the list of possible bindings

---
 .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt        | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt +1 -0
index 16964f0c1773..8ea0f12b8d0b 100644
@@ -10,6 +10,7 @@ platforms.
 	Definition: must be one of:
 		    "qcom,msm8916-apcs-kpss-global",
 		    "qcom,msm8996-apcs-hmss-global"
+		    "qcom,sdm845-apss-shared"
 
 - reg:
 	Usage: required
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#1 lore raw

PATCH 2/3 mailbox: Add support for Qualcomm SDM845 SoCs

Add the corresponding APSS shared offset for SDM845 SoC

---
 drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mailbox/qcom-apcs-ipc-mailbox.c +1 -0
index 57bde0dfd12f..75da44d25fac 100644
@@ -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,sdm845-apss-shared", .data = (void *)12 },
 	{}
 };
 MODULE_DEVICE_TABLE(of, qcom_apcs_ipc_of_match);
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Reviewed-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] mailbox: Add support for Qualcomm SDM845 SoCs

Quoted 3 lines · Sibi Sankar

Add the corresponding APSS shared offset for SDM845 SoC

Regards,
Bjorn

Quoted 20 lines
---
 drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mailbox/qcom-apcs-ipc-mailbox.c +1 -0
index 57bde0dfd12f..75da44d25fac 100644
@@ -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,sdm845-apss-shared", .data = (void *)12 },
 	{}
 };
 MODULE_DEVICE_TABLE(of, qcom_apcs_ipc_of_match);
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#3 lore raw

PATCH 3/3 arm64: dts: qcom: Add APSS shared mailbox node to SDM845

In reply to Sibi Sankar

This patch add the node to support APSS shared
mailbox on SDM845

---

This patch depends on https://patchwork.kernel.org/patch/10276419/

 arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +6 -0
index 486ace9a9e8b..9be763da0664 100644
@@ -338,5 +338,11 @@
 				status = "disabled";
 			};
 		};
+
+		apss_shared: mailbox@17990000 {
+			compatible = "qcom,sdm845-apss-shared";
+			reg = <0x17990000 0x1000>;
+			#mbox-cells = <1>;
+		};
 	};
 };
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Reviewed-by on v1 3/3
#4 lore raw

Re: [PATCH 3/3] arm64: dts: qcom: Add APSS shared mailbox node to SDM845

Quoted 4 lines · Sibi Sankar

This patch add the node to support APSS shared
mailbox on SDM845

Regards,
Bjorn

Quoted 27 lines

---

This patch depends on https://patchwork.kernel.org/patch/10276419/

 arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +6 -0
index 486ace9a9e8b..9be763da0664 100644
@@ -338,5 +338,11 @@
 				status = "disabled";
 			};
 		};
+
+		apss_shared: mailbox@17990000 {
+			compatible = "qcom,sdm845-apss-shared";
+			reg = <0x17990000 0x1000>;
+			#mbox-cells = <1>;
+		};
 	};
 };
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Reviewed-by on v1 1/3
#5 lore raw
In reply to Sibi Sankar
Quoted 3 lines · Sibi Sankar

Include SDM845 APSS shared to the list of possible bindings

Regards,
Bjorn

Quoted 20 lines
---
 .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt        | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt +1 -0
index 16964f0c1773..8ea0f12b8d0b 100644
@@ -10,6 +10,7 @@ platforms.
 	Definition: must be one of:
 		    "qcom,msm8916-apcs-kpss-global",
 		    "qcom,msm8996-apcs-hmss-global"
+		    "qcom,sdm845-apss-shared"
 
 - reg:
 	Usage: required
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project