linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Nomadik devicetree and cleanups
@ 2013-01-22  9:19 Linus Walleij
  2013-01-28 21:31 ` Olof Johansson
  0 siblings, 1 reply; 8+ messages in thread
From: Linus Walleij @ 2013-01-22  9:19 UTC (permalink / raw)
  To: linux-arm-kernel

Hi ARM SoC guys,

This patch series converts the Nomadik to use Device Tree.

Changes outside of the subsystem are constrained to pinctrl (my subsystem
and thus OK:ed) and a oneline in drivers/mtd/nand/fsmc_nand.c adding
a new compatible value.

The MTD maintainers have had time enough to ACK that oneliner and it
shouldn't be a big issue, so:

Please pull this into your tree.

Yours,
Linus Walleij


The following changes since commit 9931faca02c604c22335f5a935a501bb2ace6e20:

  Linux 3.8-rc3 (2013-01-09 18:59:55 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
tags/nomadik-devicetree

for you to fetch changes up to bf82c67edcc8751903bdd7e45626c47cd2cc7834:

  ARM: nomadik: get rid of <mach/hardware.h> (2013-01-22 08:45:36 +0100)

----------------------------------------------------------------
This patch set converts the Nomadik (mach-nomadik) to
Device Tree and delete the old board files, paving the
road for single zImage.

----------------------------------------------------------------
Linus Walleij (11):
      ARM: nomadik: move last custom calls to pinctrl
      ARM: nomadik: initial devicetree support
      ARM: nomadik: move pin maps to cpu file
      ARM: nomadik: move remaining PrimeCells to device tree
      ARM: nomadik: add FSMC NAND
      ARM: nomadik: move GPIO and pinctrl to device tree
      ARM: nomadik: convert SMSC91x ethernet to device tree
      ARM: nomadik: migrate MMC/SD card support to device tree
      ARM: nomadik: add I2C devices to the device tree
      ARM: nomadik: delete old board files
      ARM: nomadik: get rid of <mach/hardware.h>

 .../devicetree/bindings/arm/ste-nomadik.txt        |  27 ++
 .../devicetree/bindings/mtd/fsmc-nand.txt          |   2 +-
 arch/arm/Kconfig                                   |   2 +
 arch/arm/boot/dts/Makefile                         |   1 +
 arch/arm/boot/dts/ste-nomadik-s8815.dts            |  30 ++
 arch/arm/boot/dts/ste-nomadik-stn8815.dtsi         | 256 ++++++++++++++
 arch/arm/mach-nomadik/Kconfig                      |  10 +-
 arch/arm/mach-nomadik/Makefile                     |   6 -
 arch/arm/mach-nomadik/board-nhk8815.c              | 359 --------------------
 arch/arm/mach-nomadik/cpu-8815.c                   | 370 +++++++++++++++------
 arch/arm/mach-nomadik/cpu-8815.h                   |   4 -
 arch/arm/mach-nomadik/i2c-8815nhk.c                |  88 -----
 arch/arm/mach-nomadik/include/mach/hardware.h      |  90 -----
 arch/arm/mach-nomadik/include/mach/irqs.h          |   2 -
 arch/arm/mach-nomadik/include/mach/uncompress.h    |   1 -
 drivers/mtd/nand/fsmc_nand.c                       |   1 +
 drivers/pinctrl/pinctrl-nomadik.c                  |   4 +
 17 files changed, 601 insertions(+), 652 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/ste-nomadik.txt
 create mode 100644 arch/arm/boot/dts/ste-nomadik-s8815.dts
 create mode 100644 arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
 delete mode 100644 arch/arm/mach-nomadik/board-nhk8815.c
 delete mode 100644 arch/arm/mach-nomadik/cpu-8815.h
 delete mode 100644 arch/arm/mach-nomadik/i2c-8815nhk.c
 delete mode 100644 arch/arm/mach-nomadik/include/mach/hardware.h

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

* [GIT PULL] Nomadik devicetree and cleanups
  2013-01-22  9:19 [GIT PULL] Nomadik devicetree and cleanups Linus Walleij
@ 2013-01-28 21:31 ` Olof Johansson
  2013-01-28 21:48   ` Linus Walleij
  2013-01-28 22:36   ` Linus Walleij
  0 siblings, 2 replies; 8+ messages in thread
From: Olof Johansson @ 2013-01-28 21:31 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jan 22, 2013 at 10:19:16AM +0100, Linus Walleij wrote:
> Hi ARM SoC guys,
> 
> This patch series converts the Nomadik to use Device Tree.
> 
> Changes outside of the subsystem are constrained to pinctrl (my subsystem
> and thus OK:ed) and a oneline in drivers/mtd/nand/fsmc_nand.c adding
> a new compatible value.
> 
> The MTD maintainers have had time enough to ACK that oneliner and it
> shouldn't be a big issue, so:
> 
> Please pull this into your tree.

Hi,

Sorry for a late feedback on this, but after merging, this doesn't seem to
build due to lack of vic_of_init symbol visibility (i.e. it's exported out of
drivers/irqchip/irq-vic.c, but it's not actually defined in any header file.

Also, a couple of small merge conflicts with the timer and irq cleanup
branches.

Would you mind rebasing on top of the depends/cleanup branch in arm-soc, sort
out the breakage (and test it) and resubmit?


Thanks!

-Olof

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

* [GIT PULL] Nomadik devicetree and cleanups
  2013-01-28 21:31 ` Olof Johansson
@ 2013-01-28 21:48   ` Linus Walleij
  2013-01-28 22:36   ` Linus Walleij
  1 sibling, 0 replies; 8+ messages in thread
From: Linus Walleij @ 2013-01-28 21:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jan 28, 2013 at 10:31 PM, Olof Johansson <olof@lixom.net> wrote:
> On Tue, Jan 22, 2013 at 10:19:16AM +0100, Linus Walleij wrote:
>> Hi ARM SoC guys,
>>
>> This patch series converts the Nomadik to use Device Tree.
>>
>> Changes outside of the subsystem are constrained to pinctrl (my subsystem
>> and thus OK:ed) and a oneline in drivers/mtd/nand/fsmc_nand.c adding
>> a new compatible value.
>>
>> The MTD maintainers have had time enough to ACK that oneliner and it
>> shouldn't be a big issue, so:
>>
>> Please pull this into your tree.
>
> Hi,
>
> Sorry for a late feedback on this, but after merging, this doesn't seem to
> build due to lack of vic_of_init symbol visibility (i.e. it's exported out of
> drivers/irqchip/irq-vic.c, but it's not actually defined in any header file.

Hm?
arch/arm/include/asm/hardware/vic.h
int vic_of_init(struct device_node *node, struct device_node *parent);

> Also, a couple of small merge conflicts with the timer and irq cleanup
> branches.

Do you think the above also comes from that branch?

> Would you mind rebasing on top of the depends/cleanup branch in arm-soc, sort
> out the breakage (and test it) and resubmit?

I'll try!

Yours,
Linus Walleij

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

* [GIT PULL] Nomadik devicetree and cleanups
  2013-01-28 21:31 ` Olof Johansson
  2013-01-28 21:48   ` Linus Walleij
@ 2013-01-28 22:36   ` Linus Walleij
  2013-01-29 17:36     ` Olof Johansson
  1 sibling, 1 reply; 8+ messages in thread
From: Linus Walleij @ 2013-01-28 22:36 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jan 28, 2013 at 10:31 PM, Olof Johansson <olof@lixom.net> wrote:

> Would you mind rebasing on top of the depends/cleanup branch in arm-soc, sort
> out the breakage (and test it) and resubmit?

So Olof, please try this instead, based on the ARM depends/cleanup HEAD
when I fetched it:

The following changes since commit f8060f5446b1f2782f0a8ca9be2d870ea4198aee:

  Merge tag 'gic-vic-to-irqchip' of
git://sources.calxeda.com/kernel/linux into next/cleanup (2013-01-14
19:55:03 -0800)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
tags/nmk-dt-on-cleanups

for you to fetch changes up to dea3eacd087cfa692ea20aafbfaf4827607afe45:

  ARM: nomadik: get rid of <mach/hardware.h> (2013-01-28 23:25:40 +0100)

----------------------------------------------------------------
Nomadik Device Tree conversion rebased on ARM SoC cleanup branch

This patch set converts the Nomadik (mach-nomadik) to
Device Tree and delete the old board files, paving the
road for single zImage.

----------------------------------------------------------------
Linus Walleij (11):
      ARM: nomadik: move last custom calls to pinctrl
      ARM: nomadik: initial devicetree support
      ARM: nomadik: move pin maps to cpu file
      ARM: nomadik: move remaining PrimeCells to device tree
      ARM: nomadik: add FSMC NAND
      ARM: nomadik: move GPIO and pinctrl to device tree
      ARM: nomadik: convert SMSC91x ethernet to device tree
      ARM: nomadik: migrate MMC/SD card support to device tree
      ARM: nomadik: add I2C devices to the device tree
      ARM: nomadik: delete old board files
      ARM: nomadik: get rid of <mach/hardware.h>

 .../devicetree/bindings/arm/ste-nomadik.txt        |  27 ++
 .../devicetree/bindings/mtd/fsmc-nand.txt          |   2 +-
 arch/arm/Kconfig                                   |   2 +
 arch/arm/boot/dts/Makefile                         |   1 +
 arch/arm/boot/dts/ste-nomadik-s8815.dts            |  30 ++
 arch/arm/boot/dts/ste-nomadik-stn8815.dtsi         | 256 +++++++++++++++
 arch/arm/mach-nomadik/Kconfig                      |  10 +-
 arch/arm/mach-nomadik/Makefile                     |   6 -
 arch/arm/mach-nomadik/board-nhk8815.c              | 353 --------------------
 arch/arm/mach-nomadik/cpu-8815.c                   | 358 +++++++++++++++------
 arch/arm/mach-nomadik/cpu-8815.h                   |   4 -
 arch/arm/mach-nomadik/i2c-8815nhk.c                |  88 -----
 arch/arm/mach-nomadik/include/mach/hardware.h      |  90 ------
 arch/arm/mach-nomadik/include/mach/irqs.h          |   2 -
 arch/arm/mach-nomadik/include/mach/uncompress.h    |   1 -
 drivers/mtd/nand/fsmc_nand.c                       |   1 +
 drivers/pinctrl/pinctrl-nomadik.c                  |   4 +
 17 files changed, 588 insertions(+), 647 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/ste-nomadik.txt
 create mode 100644 arch/arm/boot/dts/ste-nomadik-s8815.dts
 create mode 100644 arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
 delete mode 100644 arch/arm/mach-nomadik/board-nhk8815.c
 delete mode 100644 arch/arm/mach-nomadik/cpu-8815.h
 delete mode 100644 arch/arm/mach-nomadik/i2c-8815nhk.c
 delete mode 100644 arch/arm/mach-nomadik/include/mach/hardware.h

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

* [GIT PULL] Nomadik devicetree and cleanups
  2013-01-28 22:36   ` Linus Walleij
@ 2013-01-29 17:36     ` Olof Johansson
  2013-01-30 22:21       ` Linus Walleij
  0 siblings, 1 reply; 8+ messages in thread
From: Olof Johansson @ 2013-01-29 17:36 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jan 28, 2013 at 11:36:59PM +0100, Linus Walleij wrote:
> On Mon, Jan 28, 2013 at 10:31 PM, Olof Johansson <olof@lixom.net> wrote:
> 
> > Would you mind rebasing on top of the depends/cleanup branch in arm-soc, sort
> > out the breakage (and test it) and resubmit?
> 
> So Olof, please try this instead, based on the ARM depends/cleanup HEAD
> when I fetched it:
> 
> The following changes since commit f8060f5446b1f2782f0a8ca9be2d870ea4198aee:
> 
>   Merge tag 'gic-vic-to-irqchip' of
> git://sources.calxeda.com/kernel/linux into next/cleanup (2013-01-14
> 19:55:03 -0800)
> 
> are available in the git repository at:
> 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
> tags/nmk-dt-on-cleanups

Beautiful! Pulled. Zero conflicts. :)


-Olof

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

* [GIT PULL] Nomadik devicetree and cleanups
  2013-01-29 17:36     ` Olof Johansson
@ 2013-01-30 22:21       ` Linus Walleij
  2013-01-31 23:20         ` Olof Johansson
  0 siblings, 1 reply; 8+ messages in thread
From: Linus Walleij @ 2013-01-30 22:21 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jan 29, 2013 at 6:36 PM, Olof Johansson <olof@lixom.net> wrote:
> On Mon, Jan 28, 2013 at 11:36:59PM +0100, Linus Walleij wrote:
>> On Mon, Jan 28, 2013 at 10:31 PM, Olof Johansson <olof@lixom.net> wrote:
>>
>> > Would you mind rebasing on top of the depends/cleanup branch in arm-soc, sort
>> > out the breakage (and test it) and resubmit?
>>
>> So Olof, please try this instead, based on the ARM depends/cleanup HEAD
>> when I fetched it:
>>
>> The following changes since commit f8060f5446b1f2782f0a8ca9be2d870ea4198aee:
>>
>>   Merge tag 'gic-vic-to-irqchip' of
>> git://sources.calxeda.com/kernel/linux into next/cleanup (2013-01-14
>> 19:55:03 -0800)
>>
>> are available in the git repository at:
>>
>>
>>   git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
>> tags/nmk-dt-on-cleanups
>
> Beautiful! Pulled. Zero conflicts. :)

So as I heard this blew up for selecting OF instead of USE_OF here
is yet another pull request, with this oneliner change in the relevant
patch ("ARM: nomadik: delete old board files"):

- select OF
+ select USE_OF

I have tried to provoke builderrors with the defconfig but couldn't.

Here is then yet another pull request, and let's hope it works this
time around:

The following changes since commit f8060f5446b1f2782f0a8ca9be2d870ea4198aee:

  Merge tag 'gic-vic-to-irqchip' of
git://sources.calxeda.com/kernel/linux into next/cleanup (2013-01-14
19:55:03 -0800)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
tags/nomadik-devicetree-v2

for you to fetch changes up to 2cac860881884564c86eeda4f622d8a7ca9b089c:

  ARM: nomadik: get rid of <mach/hardware.h> (2013-01-30 22:55:34 +0100)

----------------------------------------------------------------
Nomadik Device Tree conversion rebased on ARM SoC cleanup branch

This patch set converts the Nomadik (mach-nomadik) to
Device Tree and delete the old board files, paving the
road for single zImage.

This version also selects USE_OF instead of just OF.

----------------------------------------------------------------
Linus Walleij (11):
      ARM: nomadik: move last custom calls to pinctrl
      ARM: nomadik: initial devicetree support
      ARM: nomadik: move pin maps to cpu file
      ARM: nomadik: move remaining PrimeCells to device tree
      ARM: nomadik: add FSMC NAND
      ARM: nomadik: move GPIO and pinctrl to device tree
      ARM: nomadik: convert SMSC91x ethernet to device tree
      ARM: nomadik: migrate MMC/SD card support to device tree
      ARM: nomadik: add I2C devices to the device tree
      ARM: nomadik: delete old board files
      ARM: nomadik: get rid of <mach/hardware.h>

 .../devicetree/bindings/arm/ste-nomadik.txt        |  27 ++
 .../devicetree/bindings/mtd/fsmc-nand.txt          |   2 +-
 arch/arm/Kconfig                                   |   2 +
 arch/arm/boot/dts/Makefile                         |   1 +
 arch/arm/boot/dts/ste-nomadik-s8815.dts            |  30 ++
 arch/arm/boot/dts/ste-nomadik-stn8815.dtsi         | 256 +++++++++++++++
 arch/arm/mach-nomadik/Kconfig                      |  10 +-
 arch/arm/mach-nomadik/Makefile                     |   6 -
 arch/arm/mach-nomadik/board-nhk8815.c              | 353 --------------------
 arch/arm/mach-nomadik/cpu-8815.c                   | 358 +++++++++++++++------
 arch/arm/mach-nomadik/cpu-8815.h                   |   4 -
 arch/arm/mach-nomadik/i2c-8815nhk.c                |  88 -----
 arch/arm/mach-nomadik/include/mach/hardware.h      |  90 ------
 arch/arm/mach-nomadik/include/mach/irqs.h          |   2 -
 arch/arm/mach-nomadik/include/mach/uncompress.h    |   1 -
 drivers/mtd/nand/fsmc_nand.c                       |   1 +
 drivers/pinctrl/pinctrl-nomadik.c                  |   4 +
 17 files changed, 588 insertions(+), 647 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/ste-nomadik.txt
 create mode 100644 arch/arm/boot/dts/ste-nomadik-s8815.dts
 create mode 100644 arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
 delete mode 100644 arch/arm/mach-nomadik/board-nhk8815.c
 delete mode 100644 arch/arm/mach-nomadik/cpu-8815.h
 delete mode 100644 arch/arm/mach-nomadik/i2c-8815nhk.c
 delete mode 100644 arch/arm/mach-nomadik/include/mach/hardware.h

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

* [GIT PULL] Nomadik devicetree and cleanups
  2013-01-30 22:21       ` Linus Walleij
@ 2013-01-31 23:20         ` Olof Johansson
  2013-02-01  8:42           ` Linus Walleij
  0 siblings, 1 reply; 8+ messages in thread
From: Olof Johansson @ 2013-01-31 23:20 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jan 30, 2013 at 11:21:06PM +0100, Linus Walleij wrote:
> On Tue, Jan 29, 2013 at 6:36 PM, Olof Johansson <olof@lixom.net> wrote:
> > On Mon, Jan 28, 2013 at 11:36:59PM +0100, Linus Walleij wrote:
> >> On Mon, Jan 28, 2013 at 10:31 PM, Olof Johansson <olof@lixom.net> wrote:
> >>
> >> > Would you mind rebasing on top of the depends/cleanup branch in arm-soc, sort
> >> > out the breakage (and test it) and resubmit?
> >>
> >> So Olof, please try this instead, based on the ARM depends/cleanup HEAD
> >> when I fetched it:
> >>
> >> The following changes since commit f8060f5446b1f2782f0a8ca9be2d870ea4198aee:
> >>
> >>   Merge tag 'gic-vic-to-irqchip' of
> >> git://sources.calxeda.com/kernel/linux into next/cleanup (2013-01-14
> >> 19:55:03 -0800)
> >>
> >> are available in the git repository at:
> >>
> >>
> >>   git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
> >> tags/nmk-dt-on-cleanups
> >
> > Beautiful! Pulled. Zero conflicts. :)
> 
> So as I heard this blew up for selecting OF instead of USE_OF here
> is yet another pull request, with this oneliner change in the relevant
> patch ("ARM: nomadik: delete old board files"):
> 
> - select OF
> + select USE_OF
> 
> I have tried to provoke builderrors with the defconfig but couldn't.
> 
> Here is then yet another pull request, and let's hope it works this
> time around:

Dropping and replacing branches is awkward, and you rewrote history here. It'd
be better to just take a fixup patch on top that switches the two selects.


-Olof

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

* [GIT PULL] Nomadik devicetree and cleanups
  2013-01-31 23:20         ` Olof Johansson
@ 2013-02-01  8:42           ` Linus Walleij
  0 siblings, 0 replies; 8+ messages in thread
From: Linus Walleij @ 2013-02-01  8:42 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Feb 1, 2013 at 12:20 AM, Olof Johansson <olof@lixom.net> wrote:
> On Wed, Jan 30, 2013 at 11:21:06PM +0100, Linus Walleij wrote:
>> So as I heard this blew up for selecting OF instead of USE_OF here
>> is yet another pull request, with this oneliner change in the relevant
>> patch ("ARM: nomadik: delete old board files"):
>>
>> - select OF
>> + select USE_OF
>>
>> I have tried to provoke builderrors with the defconfig but couldn't.
>>
>> Here is then yet another pull request, and let's hope it works this
>> time around:
>
> Dropping and replacing branches is awkward, and you rewrote history here. It'd
> be better to just take a fixup patch on top that switches the two selects.

Sure, I'll fix...

Yours,
Linus Walleij

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

end of thread, other threads:[~2013-02-01  8:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-22  9:19 [GIT PULL] Nomadik devicetree and cleanups Linus Walleij
2013-01-28 21:31 ` Olof Johansson
2013-01-28 21:48   ` Linus Walleij
2013-01-28 22:36   ` Linus Walleij
2013-01-29 17:36     ` Olof Johansson
2013-01-30 22:21       ` Linus Walleij
2013-01-31 23:20         ` Olof Johansson
2013-02-01  8:42           ` Linus Walleij

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).