Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1646777

Re: [GIT PULL] ARM: SoC fixes (and a cross-arch dt-include fix)

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [GIT PULL] ARM: SoC fixes (and a cross-arch dt-include fix)
Date 2017-05-22 13:50 +0200
Message-ID <tJU0y-5aj-13@gated-at.bofh.it> (permalink)
References <tIVUJ-6R6-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, May 19, 2017 at 9:34 PM, Olof Johansson <olof@lixom.net> wrote:

>  - We've started telling people to avoid cross-tree shared branches if all
>    they're doing is picking up one or two DT-used constants from a
>    shared include file, and instead to use the numeric values on first
>    submission. Follow-up moving over to symbolic names are sent in right
>    after -rc1, i.e. here. It's only a few minor patches of this type.

OK it seems like a reasonable process.

It's not like I can think about anything better.

I was more opting for doing things this way:

- Create bindings and <dt-bindings/foo/bar.h> merge it into the
  foo subsystem.

- Merge driver into drivers/foo/bar.c that use <dt-bindings/foo/bar.h>

- Submit DTS patch to ARM SoC (or whetever) using only numerical
  values.

- After the merge window, follow up with a patch replacing the
  numerical constants with #defines from <dt-bindings/foo/bar.h>

An alternative would obviously be to wait for the next merge window
after merging the driver patch but I guess people are too impatient
to do that (including me).

We discussed cross-tree dependencies a bit on ksummit-discuss
but this solution was not mentioned back then.

Yours,
Linus Walleij

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[GIT PULL] ARM: SoC fixes (and a cross-arch dt-include fix) Olof Johansson <olof@lixom.net> - 2017-05-19 21:40 +0200
  Re: [GIT PULL] ARM: SoC fixes (and a cross-arch dt-include fix) Linus Walleij <linus.walleij@linaro.org> - 2017-05-22 13:50 +0200
    Re: [GIT PULL] ARM: SoC fixes (and a cross-arch dt-include fix) Olof Johansson <olof@lixom.net> - 2017-05-22 17:20 +0200
      Re: [Ksummit-discuss] [GIT PULL] ARM: SoC fixes (and a cross-arch  dt-include fix) Daniel Vetter <daniel.vetter@ffwll.ch> - 2017-05-23 10:30 +0200
      Re: [GIT PULL] ARM: SoC fixes (and a cross-arch dt-include fix) Geert Uytterhoeven <geert@linux-m68k.org> - 2017-05-23 12:00 +0200
        Re: [GIT PULL] ARM: SoC fixes (and a cross-arch dt-include fix) Arnd Bergmann <arnd@arndb.de> - 2017-05-23 16:20 +0200
        Re: [GIT PULL] ARM: SoC fixes (and a cross-arch dt-include fix) Olof Johansson <olof@lixom.net> - 2017-05-23 18:50 +0200

csiph-web