From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 28 Jun 2013 23:26:20 +0200 Subject: [U-Boot] [PATCH v3 15/16] dm: Add README for driver model In-Reply-To: <1371613960-28678-16-git-send-email-sjg@chromium.org> References: <1371613960-28678-1-git-send-email-sjg@chromium.org> <1371613960-28678-16-git-send-email-sjg@chromium.org> Message-ID: <201306282326.20644.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Glass, > From: Pavel Herrmann > > This adds a README to help with understanding of this series. > > Signed-off-by: Simon Glass > --- > 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. Best regards, Marek Vasut