linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/9] ARM: kirkwood: convert a few more boards to DT
@ 2013-08-01 15:07 Thomas Petazzoni
  2013-08-01 15:07 ` [PATCHv2 1/9] ARM: kirkwood: convert d2net_v2 " Thomas Petazzoni
                   ` (9 more replies)
  0 siblings, 10 replies; 30+ messages in thread
From: Thomas Petazzoni @ 2013-08-01 15:07 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

Here is a set of patches that converts a few additional Kirkwood
boards to use the Device Tree. I intend to continue this effort with
the remaining Kirkwood boards. It is based on the mvebu/boards branch
of linux-mvebu.git, which allows to use the Ethernet DT bindings.

Note that I don't have access to any of the platforms that are being
converted in this patch series, so this means that:

 - A careful review would be useful

 - Testing from owners of the boards would be appreciated. The DT
   conversion of Kirkwood boards is a process that has now been
   started a while ago, and we would like to finalize it. If board
   owners don't react by testing the proposed patches, then the
   support for those boards might be broken.

To ease testing, the branch containing those changes has been pushed
to:

  https://github.com/MISL-EBU-System-SW/mainline-public/tree/kirkwood-dt-conversion-step1-v2

and kernel images for the affected boards have been uploaded to the
following locations. They contain the correct appended DTB, and a
small initramfs to ease testing:

  http://free-electrons.com/~thomas/pub/kirkwood/uImage.kirkwood-d2net-v2
  http://free-electrons.com/~thomas/pub/kirkwood/uImage.kirkwood-mv88f6281gtw-ge
  http://free-electrons.com/~thomas/pub/kirkwood/uImage.kirkwood-net2big-v2
  http://free-electrons.com/~thomas/pub/kirkwood/uImage.kirkwood-net5big-v2

In detail:

 * Patch 1 converts the d2net_v2 board completely to DT.

 * Patches 2, 3, 4 and 5 remove support for boards that have already
   been converted to the Deice Tree, but for which the legacy board
   file was not removed.

 * Patch 6 converts the mv88f6281gtw_ge board to DT.

   The remaining devices probed in a legacy way are the mv643xx_eth
   driver, and the DSA switch (note that I have an Armada 370 platform
   with a DSA switch, so I'll have to look at how to make this appear
   in the DT). I've left the Ethernet device not converted to DT
   because the interaction with the DSA switch is a bit special.

 * Patch 7 converts the LaCie Net{2,5}Big v2 platforms to DT

   The remaining device probed is the one managed by the leds-netxbig
   driver. For Ethernet, see above. For leds-netxbig, Simon Guinot is
   currently working on this (see the LAKML thread "Location for a
   kind of GPIO bus driver").

 * Patch 8 removes some common code for LaCie boards that has become
   useless after the DT conversions.

 * Patch 9 adjusts kirkwood_defconfig after the DT conversions.

Changes since v1:

 * Rebased on top of linux-mvebu.git/mvebu/boards
 * Use the Ethernet DT binding where possible and do the corresponding
   simplication.
 * Use the lacie,ns2-leds driver DT binding where possible, as
   suggested by Simon Guinot
 * Fix the LaCie Net{2,5}Big conversion, where the function doing the
   legacy registration of devices was not being called for board-dt.c.
 * Ensure DTB files are produced for all boards.
 * Fixed various mistakes in the .dts files.

Thomas

Thomas Petazzoni (9):
  ARM: kirkwood: convert d2net_v2 to DT
  ARM: kirkwood: remove support for legacy booting of Dockstar
  ARM: kirkwood: remove support for legacy booting of Guruplug
  ARM: kirkwood: remove support for legacy booting of Sheevaplug
  ARM: kirkwood: remove LaCie boards that are supported through DT
  ARM: kirkwood: convert the mv88f6281gtw_ge board to DT
  ARM: kirkwood: convert LaCie Net{2,5}Big v2 platforms to DT
  ARM: kirkwood: remove unused common code for LaCie platforms
  ARM: kirkwood: update defconfig after DT conversions

 arch/arm/boot/dts/Makefile                     |   4 +
 arch/arm/boot/dts/kirkwood-d2net-v2.dts        | 231 ++++++++++++++
 arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 125 ++++++++
 arch/arm/boot/dts/kirkwood-net2big-v2.dts      | 219 +++++++++++++
 arch/arm/boot/dts/kirkwood-net5big-v2.dts      | 265 ++++++++++++++++
 arch/arm/configs/kirkwood_defconfig            |  15 +-
 arch/arm/mach-kirkwood/Kconfig                 |  96 ++----
 arch/arm/mach-kirkwood/Makefile                |  15 +-
 arch/arm/mach-kirkwood/board-dt.c              |   7 +
 arch/arm/mach-kirkwood/board-mv88f6281gtw_ge.c |  50 +++
 arch/arm/mach-kirkwood/board-netxbig_v2.c      | 199 ++++++++++++
 arch/arm/mach-kirkwood/common.h                |  12 +
 arch/arm/mach-kirkwood/d2net_v2-setup.c        | 231 --------------
 arch/arm/mach-kirkwood/dockstar-setup.c        | 111 -------
 arch/arm/mach-kirkwood/guruplug-setup.c        | 133 --------
 arch/arm/mach-kirkwood/lacie_v2-common.c       | 114 -------
 arch/arm/mach-kirkwood/lacie_v2-common.h       |  16 -
 arch/arm/mach-kirkwood/mv88f6281gtw_ge-setup.c | 172 ----------
 arch/arm/mach-kirkwood/netspace_v2-setup.c     | 293 -----------------
 arch/arm/mach-kirkwood/netxbig_v2-setup.c      | 422 -------------------------
 arch/arm/mach-kirkwood/sheevaplug-setup.c      | 161 ----------
 21 files changed, 1139 insertions(+), 1752 deletions(-)
 create mode 100644 arch/arm/boot/dts/kirkwood-d2net-v2.dts
 create mode 100644 arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
 create mode 100644 arch/arm/boot/dts/kirkwood-net2big-v2.dts
 create mode 100644 arch/arm/boot/dts/kirkwood-net5big-v2.dts
 create mode 100644 arch/arm/mach-kirkwood/board-mv88f6281gtw_ge.c
 create mode 100644 arch/arm/mach-kirkwood/board-netxbig_v2.c
 delete mode 100644 arch/arm/mach-kirkwood/d2net_v2-setup.c
 delete mode 100644 arch/arm/mach-kirkwood/dockstar-setup.c
 delete mode 100644 arch/arm/mach-kirkwood/guruplug-setup.c
 delete mode 100644 arch/arm/mach-kirkwood/lacie_v2-common.c
 delete mode 100644 arch/arm/mach-kirkwood/lacie_v2-common.h
 delete mode 100644 arch/arm/mach-kirkwood/mv88f6281gtw_ge-setup.c
 delete mode 100644 arch/arm/mach-kirkwood/netspace_v2-setup.c
 delete mode 100644 arch/arm/mach-kirkwood/netxbig_v2-setup.c
 delete mode 100644 arch/arm/mach-kirkwood/sheevaplug-setup.c

-- 
1.8.1.2

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

end of thread, other threads:[~2013-10-14 11:26 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01 15:07 [PATCHv2 0/9] ARM: kirkwood: convert a few more boards to DT Thomas Petazzoni
2013-08-01 15:07 ` [PATCHv2 1/9] ARM: kirkwood: convert d2net_v2 " Thomas Petazzoni
2013-08-02 14:31   ` Simon Guinot
2013-10-12 15:26     ` Thomas Petazzoni
2013-08-02 14:46   ` [PATCH] leds: leds-ns2: depends on ARCH_KIRKWOOD Simon Guinot
2013-08-03 18:16     ` Jason Cooper
2013-08-05 22:50       ` Bryan Wu
2013-08-13  9:58   ` [PATCHv2 1/9] ARM: kirkwood: convert d2net_v2 to DT Mark Rutland
2013-10-12 15:29     ` Thomas Petazzoni
2013-10-14 11:26       ` Mark Rutland
2013-08-01 15:07 ` [PATCHv2 2/9] ARM: kirkwood: remove support for legacy booting of Dockstar Thomas Petazzoni
2013-08-03 18:27   ` Jason Cooper
2013-08-01 15:07 ` [PATCHv2 3/9] ARM: kirkwood: remove support for legacy booting of Guruplug Thomas Petazzoni
2013-08-02 12:49   ` Jason Cooper
2013-08-02 13:08     ` Arnaud Patard (Rtp)
2013-08-01 15:07 ` [PATCHv2 4/9] ARM: kirkwood: remove support for legacy booting of Sheevaplug Thomas Petazzoni
2013-08-01 15:07 ` [PATCHv2 5/9] ARM: kirkwood: remove LaCie boards that are supported through DT Thomas Petazzoni
2013-08-01 15:07 ` [PATCHv2 6/9] ARM: kirkwood: convert the mv88f6281gtw_ge board to DT Thomas Petazzoni
2013-08-01 15:07 ` [PATCHv2 7/9] ARM: kirkwood: convert LaCie Net{2, 5}Big v2 platforms " Thomas Petazzoni
2013-08-02 21:25   ` Simon Guinot
2013-08-03 17:12     ` Jason Cooper
2013-08-02 21:34   ` [PATCH] leds: leds-netxbig: depends on ARCH_KIRKWOOD Simon Guinot
2013-08-03 14:12     ` Jason Cooper
2013-08-05 22:52       ` Bryan Wu
2013-08-06 12:17         ` Jason Cooper
2013-08-06 17:40           ` Bryan Wu
2013-08-01 15:07 ` [PATCHv2 8/9] ARM: kirkwood: remove unused common code for LaCie platforms Thomas Petazzoni
2013-08-02 21:45   ` Simon Guinot
2013-08-01 15:07 ` [PATCHv2 9/9] ARM: kirkwood: update defconfig after DT conversions Thomas Petazzoni
2013-08-03 18:56 ` [PATCHv2 0/9] ARM: kirkwood: convert a few more boards to DT Jason Cooper

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