dm: Add base driver model support
Add driver model functionality for generic board. This includes data structures and base code for registering devices and uclasses (groups of devices with the same purpose, e.g. all I2C ports will be in the same uclass). The feature is enabled with CONFIG_DM. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NMarek Vasut <marex@denx.de> Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com> Signed-off-by: NViktor Křivák <viktor.krivak@gmail.com> Signed-off-by: NTomas Hlavacek <tmshlvck@gmail.com>
Showing
drivers/core/Makefile
0 → 100644
drivers/core/device.c
0 → 100644
drivers/core/lists.c
0 → 100644
drivers/core/root.c
0 → 100644
drivers/core/uclass.c
0 → 100644
drivers/core/util.c
0 → 100644
include/dm.h
0 → 100644
include/dm/device-internal.h
0 → 100644
include/dm/device.h
0 → 100644
include/dm/lists.h
0 → 100644
include/dm/platdata.h
0 → 100644
include/dm/root.h
0 → 100644
include/dm/uclass-id.h
0 → 100644
include/dm/uclass-internal.h
0 → 100644
include/dm/uclass.h
0 → 100644
include/dm/util.h
0 → 100644
想要评论请 注册 或 登录