linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs
@ 2018-04-25 14:38 Sibi Sankar
  2018-04-25 14:38 ` [PATCH 2/3] mailbox: Add support for Qualcomm " Sibi Sankar
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Sibi Sankar @ 2018-04-25 14:38 UTC (permalink / raw)
  To: andy.gross, mark.rutland, bjorn.andersson
  Cc: david.brown, linux-arm-msm, georgi.djakov, devicetree, linux-soc,
	linux-kernel, jassisinghbrar, will.deacon, catalin.marinas,
	Sibi Sankar

Include SDM845 APSS shared to the list of possible bindings

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
 .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt
index 16964f0c1773..8ea0f12b8d0b 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,sdm845-apss-shared"
 
 - reg:
 	Usage: required
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] mailbox: Add support for Qualcomm SDM845 SoCs
  2018-04-25 14:38 [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs Sibi Sankar
@ 2018-04-25 14:38 ` Sibi Sankar
  2018-04-25 16:26   ` Bjorn Andersson
  2018-04-25 14:38 ` [PATCH 3/3] arm64: dts: qcom: Add APSS shared mailbox node to SDM845 Sibi Sankar
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Sibi Sankar @ 2018-04-25 14:38 UTC (permalink / raw)
  To: andy.gross, mark.rutland, bjorn.andersson
  Cc: david.brown, linux-arm-msm, georgi.djakov, devicetree, linux-soc,
	linux-kernel, jassisinghbrar, will.deacon, catalin.marinas,
	Sibi Sankar

Add the corresponding APSS shared offset for SDM845 SoC

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
 drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
index 57bde0dfd12f..75da44d25fac 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,sdm845-apss-shared", .data = (void *)12 },
 	{}
 };
 MODULE_DEVICE_TABLE(of, qcom_apcs_ipc_of_match);
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] arm64: dts: qcom: Add APSS shared mailbox node to SDM845
  2018-04-25 14:38 [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs Sibi Sankar
  2018-04-25 14:38 ` [PATCH 2/3] mailbox: Add support for Qualcomm " Sibi Sankar
@ 2018-04-25 14:38 ` Sibi Sankar
  2018-04-25 16:30   ` Bjorn Andersson
  2018-04-25 16:26 ` [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs Bjorn Andersson
  2018-05-01 14:28 ` Rob Herring
  3 siblings, 1 reply; 7+ messages in thread
From: Sibi Sankar @ 2018-04-25 14:38 UTC (permalink / raw)
  To: andy.gross, mark.rutland, bjorn.andersson
  Cc: david.brown, linux-arm-msm, georgi.djakov, devicetree, linux-soc,
	linux-kernel, jassisinghbrar, will.deacon, catalin.marinas,
	Sibi Sankar

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

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---

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

 arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 486ace9a9e8b..9be763da0664 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -338,5 +338,11 @@
 				status = "disabled";
 			};
 		};
+
+		apss_shared: mailbox@17990000 {
+			compatible = "qcom,sdm845-apss-shared";
+			reg = <0x17990000 0x1000>;
+			#mbox-cells = <1>;
+		};
 	};
 };
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] mailbox: Add support for Qualcomm SDM845 SoCs
  2018-04-25 14:38 ` [PATCH 2/3] mailbox: Add support for Qualcomm " Sibi Sankar
@ 2018-04-25 16:26   ` Bjorn Andersson
  0 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2018-04-25 16:26 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: andy.gross, mark.rutland, david.brown, linux-arm-msm,
	georgi.djakov, devicetree, linux-soc, linux-kernel,
	jassisinghbrar, will.deacon, catalin.marinas

On Wed 25 Apr 07:38 PDT 2018, Sibi Sankar wrote:

> Add the corresponding APSS shared offset for SDM845 SoC
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>

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

Regards,
Bjorn

> ---
>  drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
> index 57bde0dfd12f..75da44d25fac 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,sdm845-apss-shared", .data = (void *)12 },
>  	{}
>  };
>  MODULE_DEVICE_TABLE(of, qcom_apcs_ipc_of_match);
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs
  2018-04-25 14:38 [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs Sibi Sankar
  2018-04-25 14:38 ` [PATCH 2/3] mailbox: Add support for Qualcomm " Sibi Sankar
  2018-04-25 14:38 ` [PATCH 3/3] arm64: dts: qcom: Add APSS shared mailbox node to SDM845 Sibi Sankar
@ 2018-04-25 16:26 ` Bjorn Andersson
  2018-05-01 14:28 ` Rob Herring
  3 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2018-04-25 16:26 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: andy.gross, mark.rutland, david.brown, linux-arm-msm,
	georgi.djakov, devicetree, linux-soc, linux-kernel,
	jassisinghbrar, will.deacon, catalin.marinas

On Wed 25 Apr 07:38 PDT 2018, Sibi Sankar wrote:

> Include SDM845 APSS shared to the list of possible bindings
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>

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

Regards,
Bjorn

> ---
>  .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt        | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt
> index 16964f0c1773..8ea0f12b8d0b 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,sdm845-apss-shared"
>  
>  - reg:
>  	Usage: required
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] arm64: dts: qcom: Add APSS shared mailbox node to SDM845
  2018-04-25 14:38 ` [PATCH 3/3] arm64: dts: qcom: Add APSS shared mailbox node to SDM845 Sibi Sankar
@ 2018-04-25 16:30   ` Bjorn Andersson
  0 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2018-04-25 16:30 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: andy.gross, mark.rutland, david.brown, linux-arm-msm,
	georgi.djakov, devicetree, linux-soc, linux-kernel,
	jassisinghbrar, will.deacon, catalin.marinas

On Wed 25 Apr 07:38 PDT 2018, Sibi Sankar wrote:

> This patch add the node to support APSS shared
> mailbox on SDM845
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>

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

Regards,
Bjorn

> ---
> 
> This patch depends on https://patchwork.kernel.org/patch/10276419/
> 
>  arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> index 486ace9a9e8b..9be763da0664 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> @@ -338,5 +338,11 @@
>  				status = "disabled";
>  			};
>  		};
> +
> +		apss_shared: mailbox@17990000 {
> +			compatible = "qcom,sdm845-apss-shared";
> +			reg = <0x17990000 0x1000>;
> +			#mbox-cells = <1>;
> +		};
>  	};
>  };
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs
  2018-04-25 14:38 [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs Sibi Sankar
                   ` (2 preceding siblings ...)
  2018-04-25 16:26 ` [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs Bjorn Andersson
@ 2018-05-01 14:28 ` Rob Herring
  3 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2018-05-01 14:28 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: andy.gross, mark.rutland, bjorn.andersson, david.brown,
	linux-arm-msm, georgi.djakov, devicetree, linux-soc,
	linux-kernel, jassisinghbrar, will.deacon, catalin.marinas

On Wed, Apr 25, 2018 at 08:08:01PM +0530, Sibi Sankar wrote:
> Include SDM845 APSS shared to the list of possible bindings
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>  .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt        | 1 +
>  1 file changed, 1 insertion(+)

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-05-01 14:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-25 14:38 [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs Sibi Sankar
2018-04-25 14:38 ` [PATCH 2/3] mailbox: Add support for Qualcomm " Sibi Sankar
2018-04-25 16:26   ` Bjorn Andersson
2018-04-25 14:38 ` [PATCH 3/3] arm64: dts: qcom: Add APSS shared mailbox node to SDM845 Sibi Sankar
2018-04-25 16:30   ` Bjorn Andersson
2018-04-25 16:26 ` [PATCH 1/3] dt-bindings: mailbox: Add APSS shared binding for SDM845 SoCs Bjorn Andersson
2018-05-01 14:28 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).