public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/7] [RFC] Driver model, take 1
Date: Wed, 22 Aug 2012 20:28:35 +0200	[thread overview]
Message-ID: <201208222028.35454.marex@denx.de> (raw)
In-Reply-To: <1345564853-24500-1-git-send-email-marex@denx.de>

Dear Marek Vasut,

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

Expanding CC ... guys, please start ripping us to shreds :-)

> 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

Best regards,
Marek Vasut

  parent reply	other threads:[~2012-08-22 18:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Marek Vasut [this message]
2012-09-04  1:06   ` [U-Boot] [PATCH 0/7] [RFC] Driver model, take 1 Graeme Russ
2012-09-04  6:44     ` Marek Vasut
2012-09-04  6:48       ` Graeme Russ
2012-09-14 18:34 ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201208222028.35454.marex@denx.de \
    --to=marek.vasut@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox