Skip to contentSkip to conversation

linux-next: manual merge of the phy-next tree with Linus' tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Dec 12, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt

between commit:

7243ec72b902 ("dt-bindings: phy-qcom-qmp: Fix several mistakes from prior commits")

from Linus' tree and commit:

91fdc9b127c9 ("dt-bindings: phy-qcom-qmp: Fix register underspecification")

from the phy-next tree.

I fixed it up (I just used the latter veriosn of the conflicting line) 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.

Signature · 55 lines
Cheers,
Stephen Rothwell

diff --cc Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt
index fbc198d5dd39,68c67eeef775..000000000000
--- a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt
+++ b/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt
@@@ -82,19 -66,23 +78,23 @@@ Required nodes
   - Each device node of QMP phy is required to have as many child nodes as
     the number of lanes the PHY has.
  
- Required properties for child node:
+ Required properties for child nodes of PCIe PHYs (one child per lane):
   - reg: list of offset and length pairs of register sets for PHY blocks -
- 	- index 0: tx
- 	- index 1: rx
- 	- index 2: pcs
- 	- index 3: pcs_misc (optional)
+ 	tx, rx, pcs, and pcs_misc (optional).
+  - #phy-cells: must be 0
  
+ Required properties for a single "lanes" child node of non-PCIe PHYs:
+  - reg: list of offset and length pairs of register sets for PHY blocks
+ 	For 1-lane devices:
+ 		tx, rx, pcs, and (optionally) pcs_misc
+ 	For 2-lane devices:
+ 		tx0, rx0, pcs, tx1, rx1, and (optionally) pcs_misc
   - #phy-cells: must be 0
  
- Required properties child node of pcie and usb3 qmp phys:
+ Required properties for child node of PCIe and USB3 qmp phys:
   - clocks: a list of phandles and clock-specifier pairs,
  	   one for each entry in clock-names.
 - - clock-names: Must contain following for pcie and usb qmp phys:
 + - clock-names: Must contain following:
  		 "pipe<lane-number>" for pipe clock specific to each lane.
   - clock-output-names: Name of the PHY clock that will be the parent for
  		       the above pipe clock.
@@@ -103,12 -90,13 +102,15 @@@
  		- "pcie20_phy0_pipe_clk"	Pipe Clock parent
  			(or)
  		  "pcie20_phy1_pipe_clk"
+  - #clock-cells: must be 0
+     - Phy pll outputs pipe clocks for pipe based PHYs. These clocks are then
+       gate-controlled by the gcc.
  
 +Required properties for child node of PHYs with lane reset, AKA:
 +	"qcom,msm8996-qmp-pcie-phy"
   - resets: a list of phandles and reset controller specifier pairs,
  	   one for each entry in reset-names.
 - - reset-names: Must contain following for pcie qmp phys:
 + - reset-names: Must contain following:
  		 "lane<lane-number>" for reset specific to each lane.
  
  Example:
#1 lore raw

Hi,

Quoted 14 lines · Stephen Rothwell

Hi all,

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

Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt

between commit:

7243ec72b902 ("dt-bindings: phy-qcom-qmp: Fix several mistakes from prior commits")

from Linus' tree and commit:

91fdc9b127c9 ("dt-bindings: phy-qcom-qmp: Fix register underspecification")

Quoted 8 lines

from the phy-next tree.

I fixed it up (I just used the latter veriosn of the conflicting line) 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.

I've rebased by 'next' branch on top of my 'fixes' branch to avoid this conflict.

Thanks
Kishon

Quoted 1 line
#2 lore raw

Hi Kishon,

Quoted 2 lines · On Wed, 12 Dec 2018 10:37:37 +0530 Kishon Vijay Abraham I <[email protected]> wrote:

I've rebased by 'next' branch on top of my 'fixes' branch to avoid this conflict.

Why didn't you just merge them?

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw

Hi,

Quoted 7 lines · Stephen Rothwell

Hi Kishon,

Quoted 2 lines · On Wed, 12 Dec 2018 10:37:37 +0530 Kishon Vijay Abraham I <[email protected]> wrote:

I've rebased by 'next' branch on top of my 'fixes' branch to avoid this conflict.

Why didn't you just merge them?

Merging will create a new merge commit which I can avoid by rebasing. Also the patches in next branch will be above the patches in fixes branch.

Thanks
Kishon

Quoted 1 line