
This patch seires enables cpsw to adopt driver model. This has been tested on AM335x beagle bone black (logs [1] with am335x_boneblack_defconfig and am335x_boneblack_vboot_defconfig. Also pushed a branch for testing [2]
[1]: http://pastebin.ubuntu.com/12252448/ [2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git cpsw-dt-conversion
Mugunthan V N (6): drivers: of: add support for get device address based on index am335x_evm: prepare for eth driver model support am335x_evm: do not define usb ether gadget when Eth DM is defined drivers: net: cpsw: prepare driver for device model migration drivers: net: cpsw: convert driver to adopt device driver model defconfig: am335x: bbb: enable ethernet driver model
board/ti/am335x/board.c | 7 + configs/am335x_boneblack_vboot_defconfig | 1 + drivers/core/device.c | 18 ++ drivers/net/cpsw.c | 379 +++++++++++++++++++++++++++---- include/configs/am335x_evm.h | 3 + include/cpsw.h | 2 + include/dm/device.h | 10 + include/fdtdec.h | 14 ++ lib/fdtdec.c | 35 +++ 9 files changed, 424 insertions(+), 45 deletions(-)