u-boot/include/dm
Simon Glass d7af6a4851 dm: spi: Add a uclass for SPI
Add a uclass which provides access to SPI buses and includes operations
required by SPI.

For a time driver model will need to co-exist with the legacy SPI interface
so some parts of the header file are changed depending on which is in use.
The exports are adjusted also since some functions are not available with
driver model.

Boards must define CONFIG_DM_SPI to use driver model for SPI.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
(Discussed some follow-up comments which will address in future add-ons)
2014-10-22 10:36:46 -06:00
..
device-internal.h dm: core: Allow parents to pass data to children during probe 2014-10-22 10:36:46 -06:00
device.h dm: core: Add a clarifying comment on struct udevice's seq member 2014-10-22 10:36:46 -06:00
lists.h dm: fix comments 2014-10-22 10:32:16 -06:00
platdata.h dm: include <linker_lists.h> from platdata.h and uclass.h 2014-10-22 10:32:17 -06:00
root.h dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
test.h dm: Add child_pre_probe() and child_post_remove() methods 2014-07-23 14:08:37 +01:00
uclass-id.h dm: spi: Add a uclass for SPI 2014-10-22 10:36:46 -06:00
uclass-internal.h dm: Introduce device sequence numbering 2014-07-23 14:07:25 +01:00
uclass.h dm: include <linker_lists.h> from platdata.h and uclass.h 2014-10-22 10:32:17 -06:00
ut.h dm: Add basic tests 2014-03-04 12:15:29 -05:00
util.h dm: fix include guard 2014-10-22 10:32:17 -06:00