* [PATCH 1/5] ARM: dts: qcom: msm8974: Use mboxes in smsm node
2024-06-19 16:42 [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible Luca Weiss
@ 2024-06-19 16:42 ` Luca Weiss
2024-06-20 20:38 ` Dmitry Baryshkov
2024-06-19 16:42 ` [PATCH 2/5] arm64: dts: qcom: msm8916: " Luca Weiss
` (5 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Luca Weiss @ 2024-06-19 16:42 UTC (permalink / raw)
To: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Luca Weiss
With the smsm bindings and driver finally supporting mboxes, switch to
that and stop using apcs as syscon.
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
---
arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi
index 1bea3cef4ba7..18b6a7c77996 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi
@@ -294,9 +294,7 @@ smsm {
#address-cells = <1>;
#size-cells = <0>;
- qcom,ipc-1 = <&apcs 8 13>;
- qcom,ipc-2 = <&apcs 8 9>;
- qcom,ipc-3 = <&apcs 8 19>;
+ mboxes = <0>, <&apcs 13>, <&apcs 9>, <&apcs 19>;
apps_smsm: apps@0 {
reg = <0>;
--
2.45.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 1/5] ARM: dts: qcom: msm8974: Use mboxes in smsm node
2024-06-19 16:42 ` [PATCH 1/5] ARM: dts: qcom: msm8974: Use mboxes in smsm node Luca Weiss
@ 2024-06-20 20:38 ` Dmitry Baryshkov
0 siblings, 0 replies; 13+ messages in thread
From: Dmitry Baryshkov @ 2024-06-20 20:38 UTC (permalink / raw)
To: Luca Weiss
Cc: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-msm, devicetree, linux-kernel
On Wed, Jun 19, 2024 at 06:42:27PM GMT, Luca Weiss wrote:
> With the smsm bindings and driver finally supporting mboxes, switch to
> that and stop using apcs as syscon.
>
> Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
> ---
> arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 2/5] arm64: dts: qcom: msm8916: Use mboxes in smsm node
2024-06-19 16:42 [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible Luca Weiss
2024-06-19 16:42 ` [PATCH 1/5] ARM: dts: qcom: msm8974: Use mboxes in smsm node Luca Weiss
@ 2024-06-19 16:42 ` Luca Weiss
2024-06-20 20:41 ` Dmitry Baryshkov
2024-06-19 16:42 ` [PATCH 3/5] arm64: dts: qcom: msm8939: " Luca Weiss
` (4 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Luca Weiss @ 2024-06-19 16:42 UTC (permalink / raw)
To: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Luca Weiss
With the smsm bindings and driver finally supporting mboxes, switch to
that and stop using apcs as syscon.
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index bdedbcdc36d3..7383bcc603ab 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -410,8 +410,7 @@ smsm {
#address-cells = <1>;
#size-cells = <0>;
- qcom,ipc-1 = <&apcs 8 13>;
- qcom,ipc-3 = <&apcs 8 19>;
+ mboxes = <0>, <&apcs 13>, <0>, <&apcs 19>;
apps_smsm: apps@0 {
reg = <0>;
--
2.45.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 2/5] arm64: dts: qcom: msm8916: Use mboxes in smsm node
2024-06-19 16:42 ` [PATCH 2/5] arm64: dts: qcom: msm8916: " Luca Weiss
@ 2024-06-20 20:41 ` Dmitry Baryshkov
0 siblings, 0 replies; 13+ messages in thread
From: Dmitry Baryshkov @ 2024-06-20 20:41 UTC (permalink / raw)
To: Luca Weiss
Cc: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-msm, devicetree, linux-kernel
On Wed, Jun 19, 2024 at 06:42:28PM GMT, Luca Weiss wrote:
> With the smsm bindings and driver finally supporting mboxes, switch to
> that and stop using apcs as syscon.
>
> Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
> ---
> arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 3/5] arm64: dts: qcom: msm8939: Use mboxes in smsm node
2024-06-19 16:42 [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible Luca Weiss
2024-06-19 16:42 ` [PATCH 1/5] ARM: dts: qcom: msm8974: Use mboxes in smsm node Luca Weiss
2024-06-19 16:42 ` [PATCH 2/5] arm64: dts: qcom: msm8916: " Luca Weiss
@ 2024-06-19 16:42 ` Luca Weiss
2024-06-20 20:41 ` Dmitry Baryshkov
2024-06-19 16:42 ` [PATCH 4/5] arm64: dts: qcom: msm8953: " Luca Weiss
` (3 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Luca Weiss @ 2024-06-19 16:42 UTC (permalink / raw)
To: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Luca Weiss
With the smsm bindings and driver finally supporting mboxes, switch to
that and stop using apcs as syscon.
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
---
arch/arm64/boot/dts/qcom/msm8939.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi
index e309ef909ea7..46d9480cd464 100644
--- a/arch/arm64/boot/dts/qcom/msm8939.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi
@@ -443,8 +443,7 @@ smsm {
#address-cells = <1>;
#size-cells = <0>;
- qcom,ipc-1 = <&apcs1_mbox 8 13>;
- qcom,ipc-3 = <&apcs1_mbox 8 19>;
+ mboxes = <0>, <&apcs1_mbox 13>, <0>, <&apcs1_mbox 19>;
apps_smsm: apps@0 {
reg = <0>;
--
2.45.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 3/5] arm64: dts: qcom: msm8939: Use mboxes in smsm node
2024-06-19 16:42 ` [PATCH 3/5] arm64: dts: qcom: msm8939: " Luca Weiss
@ 2024-06-20 20:41 ` Dmitry Baryshkov
0 siblings, 0 replies; 13+ messages in thread
From: Dmitry Baryshkov @ 2024-06-20 20:41 UTC (permalink / raw)
To: Luca Weiss
Cc: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-msm, devicetree, linux-kernel
On Wed, Jun 19, 2024 at 06:42:29PM GMT, Luca Weiss wrote:
> With the smsm bindings and driver finally supporting mboxes, switch to
> that and stop using apcs as syscon.
>
> Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
> ---
> arch/arm64/boot/dts/qcom/msm8939.dtsi | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 4/5] arm64: dts: qcom: msm8953: Use mboxes in smsm node
2024-06-19 16:42 [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible Luca Weiss
` (2 preceding siblings ...)
2024-06-19 16:42 ` [PATCH 3/5] arm64: dts: qcom: msm8939: " Luca Weiss
@ 2024-06-19 16:42 ` Luca Weiss
2024-06-20 20:41 ` Dmitry Baryshkov
2024-06-19 16:42 ` [PATCH 5/5] arm64: dts: qcom: msm8976: " Luca Weiss
` (2 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Luca Weiss @ 2024-06-19 16:42 UTC (permalink / raw)
To: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Luca Weiss
With the smsm bindings and driver finally supporting mboxes, switch to
that and stop using apcs as syscon.
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
---
arch/arm64/boot/dts/qcom/msm8953.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi
index 1b61a63710a6..a4bfb624fb8a 100644
--- a/arch/arm64/boot/dts/qcom/msm8953.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi
@@ -411,8 +411,7 @@ smsm {
#address-cells = <1>;
#size-cells = <0>;
- qcom,ipc-1 = <&apcs 8 13>;
- qcom,ipc-3 = <&apcs 8 19>;
+ mboxes = <0>, <&apcs 13>, <0>, <&apcs 19>;
apps_smsm: apps@0 {
reg = <0>;
--
2.45.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 4/5] arm64: dts: qcom: msm8953: Use mboxes in smsm node
2024-06-19 16:42 ` [PATCH 4/5] arm64: dts: qcom: msm8953: " Luca Weiss
@ 2024-06-20 20:41 ` Dmitry Baryshkov
0 siblings, 0 replies; 13+ messages in thread
From: Dmitry Baryshkov @ 2024-06-20 20:41 UTC (permalink / raw)
To: Luca Weiss
Cc: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-msm, devicetree, linux-kernel
On Wed, Jun 19, 2024 at 06:42:30PM GMT, Luca Weiss wrote:
> With the smsm bindings and driver finally supporting mboxes, switch to
> that and stop using apcs as syscon.
>
> Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
> ---
> arch/arm64/boot/dts/qcom/msm8953.dtsi | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 5/5] arm64: dts: qcom: msm8976: Use mboxes in smsm node
2024-06-19 16:42 [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible Luca Weiss
` (3 preceding siblings ...)
2024-06-19 16:42 ` [PATCH 4/5] arm64: dts: qcom: msm8953: " Luca Weiss
@ 2024-06-19 16:42 ` Luca Weiss
2024-06-20 20:42 ` Dmitry Baryshkov
2024-06-19 19:17 ` [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible Konrad Dybcio
2024-06-23 21:02 ` (subset) " Bjorn Andersson
6 siblings, 1 reply; 13+ messages in thread
From: Luca Weiss @ 2024-06-19 16:42 UTC (permalink / raw)
To: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Luca Weiss
With the smsm bindings and driver finally supporting mboxes, switch to
that and stop using apcs as syscon.
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
---
arch/arm64/boot/dts/qcom/msm8976.dtsi | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi
index e299d42c5d98..d62dcb76fa48 100644
--- a/arch/arm64/boot/dts/qcom/msm8976.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi
@@ -439,9 +439,7 @@ smsm {
#address-cells = <1>;
#size-cells = <0>;
- qcom,ipc-1 = <&apcs 8 13>;
- qcom,ipc-2 = <&apcs 8 9>;
- qcom,ipc-3 = <&apcs 8 19>;
+ mboxes = <0>, <&apcs 13>, <&apcs 9>, <&apcs 19>;
apps_smsm: apps@0 {
reg = <0>;
--
2.45.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 5/5] arm64: dts: qcom: msm8976: Use mboxes in smsm node
2024-06-19 16:42 ` [PATCH 5/5] arm64: dts: qcom: msm8976: " Luca Weiss
@ 2024-06-20 20:42 ` Dmitry Baryshkov
0 siblings, 0 replies; 13+ messages in thread
From: Dmitry Baryshkov @ 2024-06-20 20:42 UTC (permalink / raw)
To: Luca Weiss
Cc: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-msm, devicetree, linux-kernel
On Wed, Jun 19, 2024 at 06:42:31PM GMT, Luca Weiss wrote:
> With the smsm bindings and driver finally supporting mboxes, switch to
> that and stop using apcs as syscon.
>
> Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
> ---
> arch/arm64/boot/dts/qcom/msm8976.dtsi | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible
2024-06-19 16:42 [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible Luca Weiss
` (4 preceding siblings ...)
2024-06-19 16:42 ` [PATCH 5/5] arm64: dts: qcom: msm8976: " Luca Weiss
@ 2024-06-19 19:17 ` Konrad Dybcio
2024-06-23 21:02 ` (subset) " Bjorn Andersson
6 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2024-06-19 19:17 UTC (permalink / raw)
To: Luca Weiss, ~postmarketos/upstreaming, phone-devel,
Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
On 6/19/24 18:42, Luca Weiss wrote:
> With the binding and driver patches queued for 6.11[0][1], it's time to
> update the dtsi files to use the new binding.
>
> [0] https://lore.kernel.org/linux-arm-msm/171840533352.102487.9576671528001022676.b4-ty@kernel.org/
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/log/?h=drivers-for-6.11
>
> @Bjorn: I think this makes sense to only apply these patches for 6.12 so
> that also in the arm64 tree the driver will exist already, so git bisect
> is not impeded by that.
>
> Patches are just compile-tested.
>
> Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: (subset) [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible
2024-06-19 16:42 [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible Luca Weiss
` (5 preceding siblings ...)
2024-06-19 19:17 ` [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible Konrad Dybcio
@ 2024-06-23 21:02 ` Bjorn Andersson
6 siblings, 0 replies; 13+ messages in thread
From: Bjorn Andersson @ 2024-06-23 21:02 UTC (permalink / raw)
To: ~postmarketos/upstreaming, phone-devel, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Luca Weiss
Cc: linux-arm-msm, devicetree, linux-kernel
On Wed, 19 Jun 2024 18:42:26 +0200, Luca Weiss wrote:
> With the binding and driver patches queued for 6.11[0][1], it's time to
> update the dtsi files to use the new binding.
>
> [0] https://lore.kernel.org/linux-arm-msm/171840533352.102487.9576671528001022676.b4-ty@kernel.org/
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/log/?h=drivers-for-6.11
>
> @Bjorn: I think this makes sense to only apply these patches for 6.12 so
> that also in the arm64 tree the driver will exist already, so git bisect
> is not impeded by that.
>
> [...]
Applied, thanks!
[2/5] arm64: dts: qcom: msm8916: Use mboxes in smsm node
commit: d605f9c75949997150dbb32bf082695326d3e110
[3/5] arm64: dts: qcom: msm8939: Use mboxes in smsm node
commit: 9f8b7c4e3d8bbb6eb787752ad14a82e714d917ff
[4/5] arm64: dts: qcom: msm8953: Use mboxes in smsm node
commit: e36402b55684c64af23575f39e0a6ce27272b5f7
[5/5] arm64: dts: qcom: msm8976: Use mboxes in smsm node
commit: 585141c57a49315f6522d5f7265a3f1aa05424c1
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 13+ messages in thread