All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 00/14] Versatile Express device tree port
@ 2010-08-18 18:59 Lorenzo Pieralisi
       [not found] ` <1282158000-23081-1-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
  0 siblings, 1 reply; 46+ messages in thread
From: Lorenzo Pieralisi @ 2010-08-18 18:59 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	grant.likely-s3s/WqlpOiPyB63q8FvJNQ
  Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ, nico-vtqb6HGKxmzR7s880joybQ,
	catalin.marinas-5wv7dgnIgG8, philippe.robin-5wv7dgnIgG8,
	jeremy.kerr-Z7WLFzj8eWMS+FvcfC7Uqw

This patchset provides an initial version of device tree enabled kernel on
an ARM Versatile Express board. The patchset applies to Jeremy Kerr's tree:

	git://kernel.ubuntu.com/jk/dt/linux-2.6.git dtbimage
	commit: 4cb80ac96489220554d28f6fde527aeef83e628b

The patched kernel version is available on my public ARM git tree:

	git://linux-arm.org/linux-2.6-lp.git ve-fdt

It has been tested on HW ARM Versatile Express board, with both static and DT 
configurations.

It contains fixes for generic device tree features and clock configuration,
code to patch Versatile Express peripherals drivers and build system.

Clock names as well as amba device names are temporary waiting for OF bindings
definition (clocks).
The Versatile Express board specific init code has been split into DT and 
non-DT code in order to factor out common code between the two configs. 

A static inline function has been added to the platform bus in order 
to initialize the OF match table and avoid cluttering code with preprocessor
macros.

Drivers ( and GIC, sp804, PL310 specific code) device tree init is an initial
stab at configuring peripherals with device tree data, so some choices 
especially concerning error codes are arguable and require thorough review.

The whole patchset is a request for comments on code and methodology. 

Cheers.

Lorenzo Pieralisi (14):
  ARM: amba device memory allocation fix
  ARM: vexpress: fix clocks definition to comply with new framework
  ARM: fix add instruction to set the flags
  ARM: r1 DT mach id init
  ARM: vexpress: fix typo in addruart
  platform: add function to initialize OF match table
  drivers/smsc911x: add DT support
  ARM: versatile-i2c driver DT port
  ARM: ARM flash driver DT port
  drivers/USB: isp1760 DT platform parsing and binding
  ARM: PMU: add device tree probing
  ARM: vexpress: add board support for DT probing
  ARM: vexpress: Definition of vexpress dts specification
  ARM: vexpress: add device tree build system and dtbuImage

 arch/arm/Kconfig                                  |    4 +-
 arch/arm/Makefile                                 |    2 +-
 arch/arm/boot/Makefile                            |   10 +-
 arch/arm/boot/dt/dtb.S                            |    3 +
 arch/arm/boot/dts/vexpress.dts                    |  199 +++++++++++++++++++++
 arch/arm/include/asm/pmu.h                        |    6 +
 arch/arm/kernel/Makefile                          |    3 +-
 arch/arm/kernel/head.S                            |    2 +-
 arch/arm/kernel/pmu-of.c                          |   30 +++
 arch/arm/kernel/pmu.c                             |   18 ++-
 arch/arm/mach-vexpress/Kconfig                    |    7 +
 arch/arm/mach-vexpress/Makefile                   |    5 +-
 arch/arm/mach-vexpress/core.h                     |   15 ++-
 arch/arm/mach-vexpress/ct-ca9x4-base.c            |  108 +++++++++++
 arch/arm/mach-vexpress/ct-ca9x4-of.c              |  192 ++++++++++++++++++++
 arch/arm/mach-vexpress/ct-ca9x4.c                 |   93 ----------
 arch/arm/mach-vexpress/include/mach/clkdev.h      |    2 +-
 arch/arm/mach-vexpress/include/mach/ct-ca9x4.h    |    2 +
 arch/arm/mach-vexpress/include/mach/debug-macro.S |    2 +-
 arch/arm/mach-vexpress/v2m-base.c                 |  197 ++++++++++++++++++++
 arch/arm/mach-vexpress/v2m-of.c                   |   94 ++++++++++
 arch/arm/mach-vexpress/v2m.c                      |  167 +-----------------
 arch/arm/mm/Kconfig                               |    2 +-
 drivers/amba/bus.c                                |    2 +-
 drivers/i2c/busses/i2c-versatile.c                |    6 +
 drivers/mtd/maps/integrator-flash.c               |    6 +
 drivers/net/Makefile                              |    3 +-
 drivers/net/smsc911x-of.c                         |   53 ++++++
 drivers/net/smsc911x.c                            |   28 ++-
 drivers/net/smsc911x.h                            |    8 +
 drivers/usb/host/Makefile                         |    4 +-
 drivers/usb/host/isp1760-hcd.h                    |    7 +
 drivers/usb/host/isp1760-if.c                     |   43 +++--
 drivers/usb/host/isp1760-of.c                     |   36 ++++
 include/linux/platform_device.h                   |   11 ++
 35 files changed, 1067 insertions(+), 303 deletions(-)
 create mode 100644 arch/arm/boot/dts/vexpress.dts
 create mode 100644 arch/arm/kernel/pmu-of.c
 create mode 100644 arch/arm/mach-vexpress/ct-ca9x4-base.c
 create mode 100644 arch/arm/mach-vexpress/ct-ca9x4-of.c
 create mode 100644 arch/arm/mach-vexpress/v2m-base.c
 create mode 100644 arch/arm/mach-vexpress/v2m-of.c
 create mode 100644 drivers/net/smsc911x-of.c
 create mode 100644 drivers/usb/host/isp1760-of.c

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

end of thread, other threads:[~2010-08-25  8:24 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-18 18:59 [RFC PATCH 00/14] Versatile Express device tree port Lorenzo Pieralisi
     [not found] ` <1282158000-23081-1-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59   ` [RFC PATCH 01/14] ARM: amba device memory allocation fix Lorenzo Pieralisi
     [not found]     ` <1282158000-23081-2-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59       ` [RFC PATCH 02/14] ARM: vexpress: fix clocks definition to comply with new framework Lorenzo Pieralisi
     [not found]         ` <1282158000-23081-3-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59           ` [RFC PATCH 03/14] ARM: fix add instruction to set the flags Lorenzo Pieralisi
     [not found]             ` <1282158000-23081-4-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59               ` [RFC PATCH 04/14] ARM: r1 DT mach id init Lorenzo Pieralisi
     [not found]                 ` <1282158000-23081-5-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59                   ` [RFC PATCH 05/14] ARM: vexpress: fix typo in addruart Lorenzo Pieralisi
     [not found]                     ` <1282158000-23081-6-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59                       ` [RFC PATCH 06/14] platform: add function to initialize OF match table Lorenzo Pieralisi
     [not found]                         ` <1282158000-23081-7-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59                           ` [RFC PATCH 07/14] drivers/smsc911x: add DT support Lorenzo Pieralisi
     [not found]                             ` <1282158000-23081-8-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59                               ` [RFC PATCH 08/14] ARM: versatile-i2c driver DT port Lorenzo Pieralisi
     [not found]                                 ` <1282158000-23081-9-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59                                   ` [RFC PATCH 09/14] ARM: ARM flash " Lorenzo Pieralisi
     [not found]                                     ` <1282158000-23081-10-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59                                       ` [RFC PATCH 10/14] drivers/USB: isp1760 DT platform parsing and binding Lorenzo Pieralisi
     [not found]                                         ` <1282158000-23081-11-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59                                           ` [RFC PATCH 11/14] ARM: PMU: add device tree probing Lorenzo Pieralisi
     [not found]                                             ` <1282158000-23081-12-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59                                               ` [RFC PATCH 12/14] ARM: vexpress: add board support for DT probing Lorenzo Pieralisi
     [not found]                                                 ` <1282158000-23081-13-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 18:59                                                   ` [RFC PATCH 13/14] ARM: vexpress: Definition of vexpress dts specification Lorenzo Pieralisi
     [not found]                                                     ` <1282158000-23081-14-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 19:00                                                       ` [RFC PATCH 14/14] ARM: vexpress: add device tree build system and dtbuImage Lorenzo Pieralisi
     [not found]                                                         ` <1282158000-23081-15-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2010-08-18 22:03                                                           ` Grant Likely
2010-08-18 21:55                                                       ` [RFC PATCH 13/14] ARM: vexpress: Definition of vexpress dts specification Grant Likely
     [not found]                                                         ` <AANLkTimb1vgf1v3TQKsBFBPGrxr9iPpKY3Z6fzfAEPgZ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-20 17:51                                                           ` Lorenzo Pieralisi
     [not found]                                                         ` <977313260285850582@unknownmsgid>
2010-08-20 20:32                                                           ` Grant Likely
     [not found]                                                             ` <AANLkTi=WiHd06=e4d_WdCe+HMfFhj-Q=xRS_4f-TzGUs-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-20 21:03                                                               ` M. Warner Losh
     [not found]                                                                 ` <20100820.150336.619446192412742106.imp-uzTCJ5RojNnQT0dZR+AlfA@public.gmane.org>
2010-08-20 21:37                                                                   ` Grant Likely
2010-08-23 15:47                                                               ` Lorenzo Pieralisi
     [not found]                                                             ` <1086814508538526416@unknownmsgid>
2010-08-25  8:24                                                               ` Grant Likely
2010-08-18 22:30                                                   ` [RFC PATCH 12/14] ARM: vexpress: add board support for DT probing Grant Likely
2010-08-18 23:56                                                   ` Mitch Bradley
     [not found]                                                     ` <4C6C7310.1070103-D5eQfiDGL7eakBO8gow8eQ@public.gmane.org>
2010-08-19  0:03                                                       ` Grant Likely
2010-08-18 21:36                                               ` [RFC PATCH 11/14] ARM: PMU: add device tree probing Grant Likely
     [not found]                                                 ` <AANLkTinz2CWrzPk3BtM6tWxu1udeAS1LFzjACB9spq-y-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-20 10:56                                                   ` Lorenzo Pieralisi
     [not found]                                                 ` <-4778531030339335058@unknownmsgid>
2010-08-25  7:39                                                   ` Grant Likely
2010-08-18 21:27                                           ` [RFC PATCH 10/14] drivers/USB: isp1760 DT platform parsing and binding Grant Likely
2010-08-18 21:22                                       ` [RFC PATCH 09/14] ARM: ARM flash driver DT port Grant Likely
     [not found]                                         ` <AANLkTik2gPYrP+xh-jhFLWjVbr8dwCuCMnVXXvYP56e4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-20 10:29                                           ` Catalin Marinas
     [not found]                                             ` <1282300189.3888.4.camel-uqmqopRKlSLZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2010-08-25  7:40                                               ` Grant Likely
2010-08-18 21:17                                   ` [RFC PATCH 08/14] ARM: versatile-i2c " Grant Likely
2010-08-18 21:17                               ` [RFC PATCH 07/14] drivers/smsc911x: add DT support Grant Likely
2010-08-19  0:30                                 ` Grant Likely
2010-08-20 10:24                                 ` Lorenzo Pieralisi
     [not found]                                 ` <-4137939526196482437@unknownmsgid>
2010-08-20 21:14                                   ` Grant Likely
2010-08-18 20:58                       ` [RFC PATCH 05/14] ARM: vexpress: fix typo in addruart Grant Likely
2010-08-18 20:56                   ` [RFC PATCH 04/14] ARM: r1 DT mach id init Grant Likely
2010-08-18 19:26               ` [RFC PATCH 03/14] ARM: fix add instruction to set the flags Grant Likely
2010-08-18 19:25           ` [RFC PATCH 02/14] ARM: vexpress: fix clocks definition to comply with new framework Grant Likely
2010-08-18 19:24       ` [RFC PATCH 01/14] ARM: amba device memory allocation fix Grant Likely
2010-08-18 19:14   ` [RFC PATCH 00/14] Versatile Express device tree port Grant Likely
2010-08-19  2:45   ` Jeremy Kerr
2010-08-23  8:49     ` Jeremy Kerr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.