Skip to contentSkip to conversation

linux-next: manual merge of the phy-next tree with the samsung-krzk tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Jul 3, 2024 – Jul 24, 2024 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:

include/linux/soc/samsung/exynos-regs-pmu.h

between commit:

85863cee8ce0 ("soc: samsung: exynos-pmu: add support for PMU_ALIVE non atomic registers")

from the samsung-krzk tree and commit:

32267c29bc7d ("phy: exynos5-usbdrd: support Exynos USBDRD 3.1 combo phy (HS & SS)")

from the phy-next 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.

Signature · 20 lines
Cheers,
Stephen Rothwell

diff --cc include/linux/soc/samsung/exynos-regs-pmu.h
index f411c176536d,6765160eaab2..000000000000
--- a/include/linux/soc/samsung/exynos-regs-pmu.h
+++ b/include/linux/soc/samsung/exynos-regs-pmu.h
@@@ -657,8 -657,8 +657,12 @@@
  #define EXYNOS5433_PAD_RETENTION_UFS_OPTION			(0x3268)
  #define EXYNOS5433_PAD_RETENTION_FSYSGENIO_OPTION		(0x32A8)
  
 +/* For Tensor GS101 */
 +#define GS101_SYSIP_DAT0					(0x810)
 +#define GS101_SYSTEM_CONFIGURATION				(0x3A00)
 +
+ /* For GS101 */
+ #define GS101_PHY_CTRL_USB20					0x3eb0
+ #define GS101_PHY_CTRL_USBDP					0x3eb4
+ 
  #endif /* __LINUX_SOC_EXYNOS_REGS_PMU_H */
#1 lore raw

Hi all,

Quoted 29 lines · On Wed, 3 Jul 2024 14:19:32 +1000 Stephen Rothwell <[email protected]> wrote:

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

include/linux/soc/samsung/exynos-regs-pmu.h

between commit:

85863cee8ce0 ("soc: samsung: exynos-pmu: add support for PMU_ALIVE non atomic registers")

from the samsung-krzk tree and commit:

32267c29bc7d ("phy: exynos5-usbdrd: support Exynos USBDRD 3.1 combo phy (HS & SS)")

from the phy-next 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.

include/linux/soc/samsung/exynos-regs-pmu.h +0 -0
diff --cc include/linux/soc/samsung/exynos-regs-pmu.h
index f411c176536d,6765160eaab2..000000000000
@@@ -657,8 -657,8 +657,12 @@@
  #define EXYNOS5433_PAD_RETENTION_UFS_OPTION			(0x3268)
  #define EXYNOS5433_PAD_RETENTION_FSYSGENIO_OPTION		(0x32A8)

include/linux/soc/samsung/exynos-regs-pmu.h

Quoted 10 lines
include/linux/soc/samsung/exynos-regs-pmu.h +4 -0
 
 +/* For Tensor GS101 */
 +#define GS101_SYSIP_DAT0					(0x810)
 +#define GS101_SYSTEM_CONFIGURATION				(0x3A00)
 +
+ /* For GS101 */
+ #define GS101_PHY_CTRL_USB20					0x3eb0
+ #define GS101_PHY_CTRL_USBDP					0x3eb4
+ 
  #endif /* __LINUX_SOC_EXYNOS_REGS_PMU_H */

This is now a conflict between he phy-next tree and Linus' tree.

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

Hi Stephen,

Quoted 36 lines · Stephen Rothwell

Hi all,

Quoted 33 lines · On Wed, 3 Jul 2024 14:19:32 +1000 Stephen Rothwell <[email protected]> wrote:

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

  include/linux/soc/samsung/exynos-regs-pmu.h

between commit:

  85863cee8ce0 ("soc: samsung: exynos-pmu: add support for PMU_ALIVE non atomic registers")

from the samsung-krzk tree and commit:

  32267c29bc7d ("phy: exynos5-usbdrd: support Exynos USBDRD 3.1 combo phy (HS & SS)")

from the phy-next 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.

include/linux/soc/samsung/exynos-regs-pmu.h +0 -0
diff --cc include/linux/soc/samsung/exynos-regs-pmu.h
index f411c176536d,6765160eaab2..000000000000
@@@ -657,8 -657,8 +657,12 @@@

  #define EXYNOS5433_PAD_RETENTION_UFS_OPTION (0x3268)
  #define EXYNOS5433_PAD_RETENTION_FSYSGENIO_OPTION (0x32A8)

 +/* For Tensor GS101 */
 +#define GS101_SYSIP_DAT0 (0x810)
 +#define GS101_SYSTEM_CONFIGURATION (0x3A00)

Quoted 8 lines
Quoted 6 lines

 +
+ /* For GS101 */
+ #define GS101_PHY_CTRL_USB20 0x3eb0
+ #define GS101_PHY_CTRL_USBDP 0x3eb4
+
  #endif /* __LINUX_SOC_EXYNOS_REGS_PMU_H */

This is now a conflict between he phy-next tree and Linus' tree.

What's the way to resolve this? Can I do something?

Cheers,
Andre'

#3 lore raw
Quoted 48 lines · André Draszik

Hi Stephen,

Quoted 36 lines · Stephen Rothwell

Hi all,

Quoted 33 lines · On Wed, 3 Jul 2024 14:19:32 +1000 Stephen Rothwell <[email protected]> wrote:

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

  include/linux/soc/samsung/exynos-regs-pmu.h

between commit:

  85863cee8ce0 ("soc: samsung: exynos-pmu: add support for PMU_ALIVE non atomic registers")

from the samsung-krzk tree and commit:

  32267c29bc7d ("phy: exynos5-usbdrd: support Exynos USBDRD 3.1 combo phy (HS & SS)")

from the phy-next 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.

include/linux/soc/samsung/exynos-regs-pmu.h +0 -0
diff --cc include/linux/soc/samsung/exynos-regs-pmu.h
index f411c176536d,6765160eaab2..000000000000
@@@ -657,8 -657,8 +657,12 @@@

  #define EXYNOS5433_PAD_RETENTION_UFS_OPTION (0x3268)
  #define EXYNOS5433_PAD_RETENTION_FSYSGENIO_OPTION (0x32A8)

 +/* For Tensor GS101 */
 +#define GS101_SYSIP_DAT0 (0x810)
 +#define GS101_SYSTEM_CONFIGURATION (0x3A00)

Quoted 8 lines
Quoted 6 lines

 +
+ /* For GS101 */
+ #define GS101_PHY_CTRL_USB20 0x3eb0
+ #define GS101_PHY_CTRL_USBDP 0x3eb4
+
  #endif /* __LINUX_SOC_EXYNOS_REGS_PMU_H */

This is now a conflict between he phy-next tree and Linus' tree.

Quoted 1 line

What's the way to resolve this? Can I do something?

Not much to do, conflicts are expected and Linus will resolve it when he pulls phy tree

BR

Quoted 3 lines

Cheers,
Andre'

Signature · 1 line
~Vinod