Subject: linux-next: manual merge of the mailbox tree with the devicetree tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 23 May 2022 14:05:25 +1000

Hi all,

Today's linux-next merge of the mailbox tree got a conflict in:

  Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml

between commit:

  b20eee62ee89 ("dt-bindings: mailbox: qcom-ipcc: add missing properties into example")

from the devicetree tree and commit:

  cd285535b8ee ("dt-bindings: mailbox: qcom-ipcc: simplify the example")

from the mailbox tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml
index 50f9aa72c670,dfdc72345a2a..000000000000
--- a/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml
+++ b/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml
@@@ -62,28 -61,14 +62,28 @@@ additionalProperties: fals
  
  examples:
    - |
-         #include <dt-bindings/interrupt-controller/arm-gic.h>
-         #include <dt-bindings/mailbox/qcom-ipcc.h>
+     #include <dt-bindings/interrupt-controller/arm-gic.h>
+     #include <dt-bindings/mailbox/qcom-ipcc.h>
  
-         mailbox@408000 {
-                 compatible = "qcom,sm8250-ipcc", "qcom,ipcc";
-                 reg = <0x408000 0x1000>;
-                 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
-                 interrupt-controller;
-                 #interrupt-cells = <3>;
-                 #mbox-cells = <2>;
-         };
+     mailbox@408000 {
+         compatible = "qcom,sm8250-ipcc", "qcom,ipcc";
+         reg = <0x408000 0x1000>;
+         interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
+         interrupt-controller;
+         #interrupt-cells = <3>;
+         #mbox-cells = <2>;
+     };
 +
-         smp2p-modem {
-                 compatible = "qcom,smp2p";
-                 qcom,smem = <443>, <429>;
-                 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
-                                              IPCC_MPROC_SIGNAL_SMP2P
-                                              IRQ_TYPE_EDGE_RISING>;
-                 mboxes = <&ipcc IPCC_CLIENT_LPASS
-                                 IPCC_MPROC_SIGNAL_SMP2P>;
++    smp2p-modem {
++        compatible = "qcom,smp2p";
++        qcom,smem = <443>, <429>;
++        interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
++                                     IPCC_MPROC_SIGNAL_SMP2P
++                                     IRQ_TYPE_EDGE_RISING>;
++        mboxes = <&ipcc IPCC_CLIENT_LPASS
++                        IPCC_MPROC_SIGNAL_SMP2P>;
 +
-                 qcom,local-pid = <0>;
-                 qcom,remote-pid = <2>;
-                 /* Other SMP2P fields */
-         };
++        qcom,local-pid = <0>;
++        qcom,remote-pid = <2>;
++        /* Other SMP2P fields */
++    };