Skip to contentSkip to conversation

linux-next: manual merge of the gpio-brgl tree with the arm-soc tree

DISCUSSION Stephen Rothwell 4 participants 4 messages Jan 28, 2021 – Feb 10, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts

between commit:

4fd18fc38757 ("arm64: dts: visconti: Add watchdog support for TMPV7708 SoC")

from the arm-soc tree and commit:

08bc3941b6a4 ("arm: dts: visconti: Add DT support for Toshiba Visconti5 GPIO driver")

from the gpio-brgl 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 · 19 lines
Cheers,
Stephen Rothwell

diff --cc arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts
index 37da418393e0,950010a290f0..000000000000
--- a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts
+++ b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts
@@@ -42,7 -42,6 +42,11 @@@
  	clock-names = "apb_pclk";
  };
  
 +&wdt {
 +	status = "okay";
 +	clocks = <&wdt_clk>;
 +};
++
+ &gpio {
+ 	status = "okay";
+ };
#1 lore raw
Quoted 31 lines · Stephen Rothwell

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

arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts

between commit:

4fd18fc38757 ("arm64: dts: visconti: Add watchdog support for TMPV7708 SoC")

from the arm-soc tree and commit:

08bc3941b6a4 ("arm: dts: visconti: Add DT support for Toshiba Visconti5 GPIO driver")

from the gpio-brgl 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

arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts +0 -0
diff --cc arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts
index 37da418393e0,950010a290f0..000000000000
@@@ -42,7 -42,6 +42,11 @@@
        clock-names = "apb_pclk";

arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts

Quoted 10 lines
arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts +4 -0
  };
 
 +&wdt {
 +      status = "okay";
 +      clocks = <&wdt_clk>;
 +};
++
+ &gpio {
+       status = "okay";
+ };

Probably some sort order should be taken into account (gpio before uart0), also avoidng the conflict?

Gr{oetje,eeting}s,

Geert

Signature · 10 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw
Quoted 10 lines · Geert Uytterhoeven
Quoted 8 lines · Stephen Rothwell
arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts +0 -0
diff --cc arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts
index 37da418393e0,950010a290f0..000000000000
@@@ -42,7 -42,6 +42,11 @@@
        clock-names = "apb_pclk";
  };
Quoted 12 lines
Quoted 8 lines

+&wdt {
+ status = "okay";
+ clocks = <&wdt_clk>;
+};
++
+ &gpio {
+ status = "okay";
+ };

Probably some sort order should be taken into account (gpio before uart0), also avoidng the conflict?

We normally do this by asking everyone to send the dts changes for inclusion through the soc tree rather than the subsystem that contains the driver. Why is this one in the gpio-brgl tree?

Arnd

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw

Hi all,

Quoted 34 lines

-----Original Message-----
From: Arnd Bergmann [mailto:[email protected]]
Sent: Tuesday, February 9, 2021 8:36 PM
To: Geert Uytterhoeven <[email protected]>
Cc: Stephen Rothwell <[email protected]>; Bartosz Golaszewski <[email protected]>; Olof Johansson <[email protected]>; Arnd Bergmann <[email protected]>; ARM <[email protected]>; Bartosz Golaszewski <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>; iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) <[email protected]>
Subject: Re: linux-next: manual merge of the gpio-brgl tree with the arm-soc tree

Quoted 10 lines · Geert Uytterhoeven
Quoted 8 lines · Stephen Rothwell
arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts +0 -0
diff --cc arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts
index 37da418393e0,950010a290f0..000000000000
@@@ -42,7 -42,6 +42,11 @@@
        clock-names = "apb_pclk";
  };
Quoted 12 lines
Quoted 8 lines

+&wdt {
+ status = "okay";
+ clocks = <&wdt_clk>;
+};
++
+ &gpio {
+ status = "okay";
+ };

Probably some sort order should be taken into account (gpio before uart0), also avoidng the conflict?

Quoted 3 lines

We normally do this by asking everyone to send the dts changes for inclusion through the soc tree rather than the subsystem that contains the driver. Why is this one in the gpio-brgl tree?

Perhaps this is Bartosz's mistake.
Linus has commented that gpio ml is captured via the soc tree.
https://lore.kernel.org/linux-gpio/CACRpkdb--GSy-0vnAFS9Pik4TjrNRTrYeZr2RBZD6SFM8zotyQ@mail.gmail.com/

Bartosz, could you remove commit " arm: dts: visconti: Add DT support for Toshiba Visconti5 GPIO driver" from your tree?

Best regards,
Nobuhiro
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel