public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/7] [RFC] Driver model, take 1
@ 2012-08-21 16:00 Marek Vasut
  2012-08-21 16:00 ` [U-Boot] [PATCH 1/7] dm: Add skeleton support for cores and drivers Marek Vasut
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Marek Vasut @ 2012-08-21 16:00 UTC (permalink / raw)
  To: u-boot

I'm submitting hereby the initial code for the driver model. This is a RFC
patch, please give it a spin and scream :-)

The GPIO api should now use the new approach on the sandbox target. There's also
"dm" command, that allows dumping the driver tree.

Marek Vasut (5):
  dm: sandbox: Add necessary linker sections
  dm: sandbox: Add necessary GD sections
  dm: REMOVE: sandbox binding experiment
  dm: gpio: Add draft GPIO core and convert sandbox to use it
  dm: Add "dm dump" command

Pavel Herrmann (2):
  dm: Add skeleton support for cores and drivers
  dm: add dummy demo driver and core

 Makefile                               |    3 +
 arch/sandbox/cpu/u-boot.lds            |   35 ++-
 arch/sandbox/include/asm/global_data.h |    9 +
 arch/sandbox/lib/board.c               |   25 ++
 common/dm/Makefile                     |   40 ++++
 common/dm/core.c                       |  150 ++++++++++++
 common/dm/debug.c                      |  106 +++++++++
 common/dm/driver.c                     |  404 ++++++++++++++++++++++++++++++++
 common/dm/lists.c                      |  138 +++++++++++
 common/dm/root.c                       |  103 ++++++++
 common/dm/tree.c                       |  164 +++++++++++++
 common/dm/tree.h                       |   31 +++
 drivers/demo/Makefile                  |   42 ++++
 drivers/demo/core.c                    |  236 +++++++++++++++++++
 drivers/demo/demo.c                    |   67 ++++++
 drivers/gpio/Makefile                  |    2 +
 drivers/gpio/core.c                    |  365 +++++++++++++++++++++++++++++
 drivers/gpio/sandbox.c                 |   58 ++++-
 include/asm-generic/gpio.h             |   19 ++
 include/configs/sandbox.h              |    2 +
 include/dm/core_numbering.h            |   35 +++
 include/dm/debug.h                     |   33 +++
 include/dm/demo.h                      |   37 +++
 include/dm/manager.h                   |   57 +++++
 include/dm/options.h                   |   46 ++++
 include/dm/structures.h                |  154 ++++++++++++
 26 files changed, 2352 insertions(+), 9 deletions(-)
 create mode 100644 common/dm/Makefile
 create mode 100644 common/dm/core.c
 create mode 100644 common/dm/debug.c
 create mode 100644 common/dm/driver.c
 create mode 100644 common/dm/lists.c
 create mode 100644 common/dm/root.c
 create mode 100644 common/dm/tree.c
 create mode 100644 common/dm/tree.h
 create mode 100644 drivers/demo/Makefile
 create mode 100644 drivers/demo/core.c
 create mode 100644 drivers/demo/demo.c
 create mode 100644 drivers/gpio/core.c
 create mode 100644 include/dm/core_numbering.h
 create mode 100644 include/dm/debug.h
 create mode 100644 include/dm/demo.h
 create mode 100644 include/dm/manager.h
 create mode 100644 include/dm/options.h
 create mode 100644 include/dm/structures.h

-- 
1.7.10.4

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

end of thread, other threads:[~2012-09-14 18:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21 16:00 [U-Boot] [PATCH 0/7] [RFC] Driver model, take 1 Marek Vasut
2012-08-21 16:00 ` [U-Boot] [PATCH 1/7] dm: Add skeleton support for cores and drivers Marek Vasut
2012-09-14 18:29   ` Tom Rini
2012-08-21 16:00 ` [U-Boot] [PATCH 2/7] dm: sandbox: Add necessary linker sections Marek Vasut
2012-08-21 16:00 ` [U-Boot] [PATCH 3/7] dm: sandbox: Add necessary GD sections Marek Vasut
2012-08-21 16:00 ` [U-Boot] [PATCH 4/7] dm: REMOVE: sandbox binding experiment Marek Vasut
2012-08-21 16:00 ` [U-Boot] [PATCH 5/7] dm: gpio: Add draft GPIO core and convert sandbox to use it Marek Vasut
2012-08-29 12:00   ` Pavel Herrmann
2012-08-21 16:00 ` [U-Boot] [PATCH 6/7] dm: add dummy demo driver and core Marek Vasut
2012-08-21 16:00 ` [U-Boot] [PATCH 7/7] dm: Add "dm dump" command Marek Vasut
2012-08-22 18:28 ` [U-Boot] [PATCH 0/7] [RFC] Driver model, take 1 Marek Vasut
2012-09-04  1:06   ` Graeme Russ
2012-09-04  6:44     ` Marek Vasut
2012-09-04  6:48       ` Graeme Russ
2012-09-14 18:34 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox