linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the scsi tree with the rockchip tree
@ 2025-03-11  7:35 Stephen Rothwell
  2025-03-11 16:24 ` Detlev Casanova
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2025-03-11  7:35 UTC (permalink / raw)
  To: James Bottomley, Heiko Stuebner
  Cc: Detlev Casanova, Linux Kernel Mailing List,
	Linux Next Mailing List, Martin K. Petersen, Shawn Lin

[-- Attachment #1: Type: text/plain, Size: 2516 bytes --]

Hi all,

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

  arch/arm64/boot/dts/rockchip/rk3576.dtsi

between commit:

  36299757129c ("arm64: dts: rockchip: Add SFC nodes for rk3576")

from the rockchip tree and commit:

  c75e5e010fef ("scsi: arm64: dts: rockchip: Add UFS support for RK3576 SoC")

from the scsi 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 arch/arm64/boot/dts/rockchip/rk3576.dtsi
index edfa0326f299,bd55bd8a67cb..000000000000
--- a/arch/arm64/boot/dts/rockchip/rk3576.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
@@@ -1334,17 -1221,30 +1334,41 @@@
  			};
  		};
  
 +		sfc1: spi@2a300000 {
 +			compatible = "rockchip,sfc";
 +			reg = <0x0 0x2a300000 0x0 0x4000>;
 +			interrupts = <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
 +			clocks = <&cru SCLK_FSPI1_X2>, <&cru HCLK_FSPI1>;
 +			clock-names = "clk_sfc", "hclk_sfc";
 +			#address-cells = <1>;
 +			#size-cells = <0>;
 +			status = "disabled";
 +		};
 +
+ 		ufshc: ufshc@2a2d0000 {
+ 			compatible = "rockchip,rk3576-ufshc";
+ 			reg = <0x0 0x2a2d0000 0x0 0x10000>,
+ 			      <0x0 0x2b040000 0x0 0x10000>,
+ 			      <0x0 0x2601f000 0x0 0x1000>,
+ 			      <0x0 0x2603c000 0x0 0x1000>,
+ 			      <0x0 0x2a2e0000 0x0 0x10000>;
+ 			reg-names = "hci", "mphy", "hci_grf", "mphy_grf", "hci_apb";
+ 			clocks = <&cru ACLK_UFS_SYS>, <&cru PCLK_USB_ROOT>, <&cru PCLK_MPHY>,
+ 				 <&cru CLK_REF_UFS_CLKOUT>;
+ 			clock-names = "core", "pclk", "pclk_mphy", "ref_out";
+ 			assigned-clocks = <&cru CLK_REF_OSC_MPHY>;
+ 			assigned-clock-parents = <&cru CLK_REF_MPHY_26M>;
+ 			interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
+ 			power-domains = <&power RK3576_PD_USB>;
+ 			pinctrl-0 = <&ufs_refclk>;
+ 			pinctrl-names = "default";
+ 			resets = <&cru SRST_A_UFS_BIU>, <&cru SRST_A_UFS_SYS>,
+ 				 <&cru SRST_A_UFS>, <&cru SRST_P_UFS_GRF>;
+ 			reset-names = "biu", "sys", "ufs", "grf";
+ 			reset-gpios = <&gpio4 RK_PD0 GPIO_ACTIVE_LOW>;
+ 			status = "disabled";
+ 		};
+ 
  		sdmmc: mmc@2a310000 {
  			compatible = "rockchip,rk3576-dw-mshc";
  			reg = <0x0 0x2a310000 0x0 0x4000>;

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: manual merge of the scsi tree with the rockchip tree
  2025-03-11  7:35 linux-next: manual merge of the scsi tree with the rockchip tree Stephen Rothwell
@ 2025-03-11 16:24 ` Detlev Casanova
  2025-03-11 21:51   ` Stephen Rothwell
  0 siblings, 1 reply; 4+ messages in thread
From: Detlev Casanova @ 2025-03-11 16:24 UTC (permalink / raw)
  To: James Bottomley, Heiko Stuebner, Stephen Rothwell
  Cc: Linux Kernel Mailing List, Linux Next Mailing List,
	Martin K. Petersen, Shawn Lin

Hi Stephen,

On Tuesday, 11 March 2025 03:35:24 EDT Stephen Rothwell wrote:
> Hi all,
> 
> Today's linux-next merge of the scsi tree got a conflict in:
> 
>   arch/arm64/boot/dts/rockchip/rk3576.dtsi
> 
> between commit:
> 
>   36299757129c ("arm64: dts: rockchip: Add SFC nodes for rk3576")
> 
> from the rockchip tree and commit:
> 
>   c75e5e010fef ("scsi: arm64: dts: rockchip: Add UFS support for RK3576
> SoC")
> 
> from the scsi 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.

Unfortunately, this fix is incorrect as nodes must be in address order, so 
ufshc: ufshc@2a2d0000 must be above sfc1: spi@2a300000.

As we are close the the merge window, I won't mind if the patches have to be 
postponed to the next cycle, but some device trees won't build anymore.

This can also be left as is with a new patch to fix the order (to be backported 
if needed)

Regards,

Detlev.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: manual merge of the scsi tree with the rockchip tree
  2025-03-11 16:24 ` Detlev Casanova
@ 2025-03-11 21:51   ` Stephen Rothwell
  2025-03-12  7:03     ` Heiko Stuebner
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2025-03-11 21:51 UTC (permalink / raw)
  To: Detlev Casanova
  Cc: James Bottomley, Heiko Stuebner, Linux Kernel Mailing List,
	Linux Next Mailing List, Martin K. Petersen, Shawn Lin

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

Hi Detlev,

On Tue, 11 Mar 2025 12:24:25 -0400 Detlev Casanova <detlev.casanova@collabora.com> wrote:
>
> Unfortunately, this fix is incorrect as nodes must be in address order, so 
> ufshc: ufshc@2a2d0000 must be above sfc1: spi@2a300000.

OK, I have switched it around in my resolution.

> As we are close the the merge window, I won't mind if the patches have to be 
> postponed to the next cycle, but some device trees won't build anymore.
> 
> This can also be left as is with a new patch to fix the order (to be backported 
> if needed)

This merge resolution will be redone by Linus when the trees are merged
during the merge window.  Someone just needs to mention it to him.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: manual merge of the scsi tree with the rockchip tree
  2025-03-11 21:51   ` Stephen Rothwell
@ 2025-03-12  7:03     ` Heiko Stuebner
  0 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2025-03-12  7:03 UTC (permalink / raw)
  To: Detlev Casanova, Stephen Rothwell
  Cc: James Bottomley, Linux Kernel Mailing List,
	Linux Next Mailing List, Martin K. Petersen, Shawn Lin

Am Dienstag, 11. März 2025, 22:51:01 MEZ schrieb Stephen Rothwell:
> Hi Detlev,
> 
> On Tue, 11 Mar 2025 12:24:25 -0400 Detlev Casanova <detlev.casanova@collabora.com> wrote:
> >
> > Unfortunately, this fix is incorrect as nodes must be in address order, so 
> > ufshc: ufshc@2a2d0000 must be above sfc1: spi@2a300000.
> 
> OK, I have switched it around in my resolution.
> 
> > As we are close the the merge window, I won't mind if the patches have to be 
> > postponed to the next cycle, but some device trees won't build anymore.
> > 
> > This can also be left as is with a new patch to fix the order (to be backported 
> > if needed)
> 
> This merge resolution will be redone by Linus when the trees are merged
> during the merge window.  Someone just needs to mention it to him.

I mentioned it now in my devicetree pull-request for the soc-side
see https://lore.kernel.org/soc/3339830.aeNJFYEL58@phil/

Heiko




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-03-12  7:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11  7:35 linux-next: manual merge of the scsi tree with the rockchip tree Stephen Rothwell
2025-03-11 16:24 ` Detlev Casanova
2025-03-11 21:51   ` Stephen Rothwell
2025-03-12  7:03     ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).