]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: ehci-mx6: support driver model
authorPeng Fan <van.freenix@gmail.com>
Fri, 17 Jun 2016 06:19:27 +0000 (14:19 +0800)
committerMarek Vasut <marex@denx.de>
Sun, 7 Aug 2016 19:55:42 +0000 (21:55 +0200)
commitbb42fb4f102883dafcb14aa585cb45dd13228b4f
tree4e6da0d139763a1aed9d10f2432514c46d254736
parent2863a9bfc29092be37f8beee230883367b057065
dm: ehci-mx6: support driver model

Support driver model for ehci mx6 driver.
Consolidate code to be shared between DM and non-DM, such as
introducing ehci_mx6_common_init.
For simplicity, some old fasion code are keeped for DM usage,
such as board_ehci_power and board_usb_phy_mode. And 'dr-mode',
usbphy and vbus handling code for DM is not added now.
These will be added in future patches.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Simon Glass <sjg@chromium.org>
drivers/usb/host/ehci-mx6.c