[U-Boot] [PATCH v3 15/16] dm: Add README for driver model

Simon Glass sjg at chromium.org
Fri Oct 18 19:05:10 CEST 2013


Hi Marek,

On Fri, Jun 28, 2013 at 3:26 PM, Marek Vasut <marex at denx.de> wrote:

> Dear Simon Glass,
>
> > From: Pavel Herrmann <morpheus.ibis at gmail.com>
> >
> > This adds a README to help with understanding of this series.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> > Changes in v3:
> > - Updated README.txt to cover changes since version 2
> >
> > Changes in v2:
> > - Removed pointer return values in favour of integer
> > - Use driver_bind() in dm_init() instead of writing new code
> > - Allow driver_bind() to support a NULL parent
> > - Add dm_warn() to warn about impending doom
> > - Standardise variable names (e.g. uclass instead of class)
> > - Remove relocation functions
> > - Add new header file for lists
> > - Add new util file to hold utility functions
> > - Allow a driver to bind to only one uclass
> > - Remove unneeded arguments to uclass_bind(), uclass_unbind()
> > - Rename struct device's 'bus' to 'parent'
> > - Rename data structures to hopefully be clearer
> > - Put platform_data definitions in their own header file
> > - Add U_BOOT_DEVICE to declare platform_data
> > - Add auto-probing feature for platform_data to avoid driver_bind() calls
> > - Add simple unit test functions
> > - Add test infrastructure for driver model
> > - Add integration tests for driver model
> > - Add device tree support in driver model
> > - Add automatic allocation of platform_data for FDT
> > - Add automatic allocation of priv data for devices
> > - Add automatic allocation of device-specific priv data for uclasses
> > - Add GPIO uclass and tests
> > - Add sandbox GPIO driver
> > - Update gpio command to use driver model
> > - Add tests for core code
> > - Add script to run tests
> > - Add a single include/dm.h to bring in driver model code
>
> You might _really_ want to reorder the readme in front of the actual DM
> patches.
>

Will do.

Regards,
Simon


More information about the U-Boot mailing list