Skip to contentSkip to conversation

linux-next: manual merge of the mfd tree with the qcom tree

PATCH [email protected] 4 participants 6 messages Sep 30, 2022 – Oct 4, 2022

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Hi all,

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

Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml

between commit:

4f2e28b2cc2e0 ("dt-bindings: mfd: qcom,tcsr: add several devices")

from the qcom tree and commits:

f8c1940165bea ("dt-bindings: mfd: qcom,tcsr: Add several devices") a328ae8504dbc ("dt-bindings: mfd: qcom,tcsr: Drop simple-mfd from IPQ6018")

from the mfd 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.

Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml +0 -0
diff --cc Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
index d3c25daa995e4,b12809b5cc22e..0000000000000
@@@ -15,31 -15,27 +15,27 @@@ description
  
  properties:
    compatible:
 -    items:
 -      - enum:
 -          - qcom,msm8998-tcsr
 -          - qcom,qcs404-tcsr
 -          - qcom,sc7180-tcsr
 -          - qcom,sc7280-tcsr
 -          - qcom,sdm630-tcsr
 -          - qcom,sdm845-tcsr
 -          - qcom,sm8150-tcsr
 -          - qcom,tcsr-apq8064
 -          - qcom,tcsr-apq8084
 -          - qcom,tcsr-ipq6018
 -          - qcom,tcsr-ipq8064
 -          - qcom,tcsr-mdm9615
 -          - qcom,tcsr-msm8660
 -          - qcom,tcsr-msm8916
 -          - qcom,tcsr-msm8953
 -          - qcom,tcsr-msm8960
 -          - qcom,tcsr-msm8974
 -          - qcom,tcsr-msm8996
 -      - const: syscon
 +    oneOf:
 +      - items:
 +          - enum:
 +              - qcom,msm8998-tcsr
 +              - qcom,qcs404-tcsr
 +              - qcom,sc7180-tcsr
 +              - qcom,sc7280-tcsr
 +              - qcom,sdm630-tcsr
 +              - qcom,sdm845-tcsr
 +              - qcom,sm8150-tcsr
 +              - qcom,tcsr-apq8064
 +              - qcom,tcsr-apq8084
 +              - qcom,tcsr-ipq8064
 +              - qcom,tcsr-mdm9615
 +              - qcom,tcsr-msm8660
 +              - qcom,tcsr-msm8916
 +              - qcom,tcsr-msm8953
 +              - qcom,tcsr-msm8960
 +              - qcom,tcsr-msm8974
 +              - qcom,tcsr-msm8996
 +          - const: syscon
-       - items:
-           - const: qcom,tcsr-ipq6018
-           - const: syscon
-           - const: simple-mfd
  
    reg:
      maxItems: 1
#1 lore raw
Quoted 6 lines · On 30/09/2022 13:58, [email protected] wrote:

Hi all,

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

Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml

Thanks Mark.

Quoted 3 lines

between commit:

4f2e28b2cc2e0 ("dt-bindings: mfd: qcom,tcsr: add several devices")

It seems this commit was picked by both Bjorn/qcom and Lee/MFD.

Quoted 5 lines

from the qcom tree and commits:

f8c1940165bea ("dt-bindings: mfd: qcom,tcsr: Add several devices") a328ae8504dbc ("dt-bindings: mfd: qcom,tcsr: Drop simple-mfd from IPQ6018")

This commit depends on the duplicated one (on "Add several devices"), so I think all set can stay in MFD and instead Bjorn could drop his copy of the commit.

If not, please propagate the merge conflict resolution, but not the one from Mark.

Instead result should look like a328ae8504dbc (from MFD tree).

Quoted 41 lines

from the mfd 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.

Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml +0 -0
diff --cc Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
index d3c25daa995e4,b12809b5cc22e..0000000000000
@@@ -15,31 -15,27 +15,27 @@@ description
 
  properties:
    compatible:
 -    items:
 -      - enum:
 -          - qcom,msm8998-tcsr
 -          - qcom,qcs404-tcsr
 -          - qcom,sc7180-tcsr
 -          - qcom,sc7280-tcsr
 -          - qcom,sdm630-tcsr
 -          - qcom,sdm845-tcsr
 -          - qcom,sm8150-tcsr
 -          - qcom,tcsr-apq8064
 -          - qcom,tcsr-apq8084
 -          - qcom,tcsr-ipq6018
 -          - qcom,tcsr-ipq8064
 -          - qcom,tcsr-mdm9615
 -          - qcom,tcsr-msm8660
 -          - qcom,tcsr-msm8916
 -          - qcom,tcsr-msm8953
 -          - qcom,tcsr-msm8960
 -          - qcom,tcsr-msm8974
 -          - qcom,tcsr-msm8996
 -      - const: syscon
 +    oneOf:
 +      - items:

Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml

Quoted 10 lines
Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml +0 -0
 +          - enum:
 +              - qcom,msm8998-tcsr
 +              - qcom,qcs404-tcsr
 +              - qcom,sc7180-tcsr
 +              - qcom,sc7280-tcsr
 +              - qcom,sdm630-tcsr
 +              - qcom,sdm845-tcsr
 +              - qcom,sm8150-tcsr
 +              - qcom,tcsr-apq8064
 +              - qcom,tcsr-apq8084

This misses ipq6018. Please chose solely the MFD branch/side.

Quoted 1 line

+ - qcom,tcsr-ipq8064

Best regards,
Krzysztof

maintainer
#2 lore raw
Quoted 17 lines · Krzysztof Kozlowski
Quoted 6 lines · On 30/09/2022 13:58, [email protected] wrote:

Hi all,

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

Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml

Thanks Mark.

Quoted 3 lines

between commit:

4f2e28b2cc2e0 ("dt-bindings: mfd: qcom,tcsr: add several devices")

It seems this commit was picked by both Bjorn/qcom and Lee/MFD.

Quoted 1 line
Quoted 8 lines
Quoted 4 lines

from the qcom tree and commits:

f8c1940165bea ("dt-bindings: mfd: qcom,tcsr: Add several devices") a328ae8504dbc ("dt-bindings: mfd: qcom,tcsr: Drop simple-mfd from IPQ6018")

This commit depends on the duplicated one (on "Add several devices"), so I think all set can stay in MFD and instead Bjorn could drop his copy of the commit.

Not sure why Bjorn is picking up MFD patches?

Was this a mistake Bjorn?

Signature · 1 line
Lee Jones [李琼斯]
#3 lore raw
Quoted 24 lines · Lee Jones
Quoted 22 lines · Krzysztof Kozlowski
Quoted 6 lines · On 30/09/2022 13:58, [email protected] wrote:

Hi all,

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

Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml

Thanks Mark.

Quoted 3 lines

between commit:

4f2e28b2cc2e0 ("dt-bindings: mfd: qcom,tcsr: add several devices")

It seems this commit was picked by both Bjorn/qcom and Lee/MFD.

Quoted 5 lines

from the qcom tree and commits:

f8c1940165bea ("dt-bindings: mfd: qcom,tcsr: Add several devices") a328ae8504dbc ("dt-bindings: mfd: qcom,tcsr: Drop simple-mfd from IPQ6018")

Quoted 7 lines
Quoted 3 lines

This commit depends on the duplicated one (on "Add several devices"), so I think all set can stay in MFD and instead Bjorn could drop his copy of the commit.

Not sure why Bjorn is picking up MFD patches?

Was this a mistake Bjorn?

This was a part of big set MFD + ARM64 dts, so I guess it just slipped in:

https://lore.kernel.org/all/[email protected]/

Best regards,
Krzysztof

maintainer
#4 lore raw
Quoted 29 lines · Krzysztof Kozlowski
Quoted 28 lines · Lee Jones
Quoted 25 lines · Krzysztof Kozlowski
Quoted 6 lines · On 30/09/2022 13:58, [email protected] wrote:

Hi all,

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

Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml

Thanks Mark.

Quoted 3 lines

between commit:

4f2e28b2cc2e0 ("dt-bindings: mfd: qcom,tcsr: add several devices")

It seems this commit was picked by both Bjorn/qcom and Lee/MFD.

Quoted 5 lines

from the qcom tree and commits:

f8c1940165bea ("dt-bindings: mfd: qcom,tcsr: Add several devices") a328ae8504dbc ("dt-bindings: mfd: qcom,tcsr: Drop simple-mfd from IPQ6018")

This commit depends on the duplicated one (on "Add several devices"), so I think all set can stay in MFD and instead Bjorn could drop his copy of the commit.

Quoted 8 lines
Quoted 3 lines

Not sure why Bjorn is picking up MFD patches?

Was this a mistake Bjorn?

This was a part of big set MFD + ARM64 dts, so I guess it just slipped in:

https://lore.kernel.org/all/[email protected]/

Thanks for the info.

Fair enough. It happens.

Signature · 1 line
Lee Jones [李琼斯]
#5 lore raw
In reply to Krzysztof Kozlowski

Hi all,

Quoted 20 lines · On Fri, 30 Sep 2022 14:06:28 +0200 Krzysztof Kozlowski…
Quoted 4 lines · On 30/09/2022 13:58, [email protected] wrote:

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

Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml

Thanks Mark.

Quoted 3 lines

between commit:

4f2e28b2cc2e0 ("dt-bindings: mfd: qcom,tcsr: add several devices")

It seems this commit was picked by both Bjorn/qcom and Lee/MFD.

Quoted 4 lines

from the qcom tree and commits:

f8c1940165bea ("dt-bindings: mfd: qcom,tcsr: Add several devices") a328ae8504dbc ("dt-bindings: mfd: qcom,tcsr: Drop simple-mfd from IPQ6018")

Quoted 8 lines

This commit depends on the duplicated one (on "Add several devices"), so I think all set can stay in MFD and instead Bjorn could drop his copy of the commit.

If not, please propagate the merge conflict resolution, but not the one from Mark.

Instead result should look like a328ae8504dbc (from MFD tree).

OK, in linux-next, the resolution is now to take the mfd tree version.

Signature · 2 lines
Cheers,
Stephen Rothwell