]> git.baikalelectronics.ru Git - uboot.git/commit
musb: sunxi: switch to the device model
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Sep 2017 20:10:35 +0000 (22:10 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 3 Oct 2017 17:12:05 +0000 (19:12 +0200)
commit9f063b1cbc8c625f6cd9eed49b51d54f085a910a
tree5212d24fc7d3d4dbf1c53d409dd6399a5547270b
parent4bf9b840ba7302c8b238e4d4634b4889d8ebc2ac
musb: sunxi: switch to the device model

The device model was implemented so far using a hook that needed to be
called from the board support, without DT support and only for the host.

Switch to probing both in peripheral and host mode through the DT.

Reviewed-by: Ɓukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/include/asm/arch-sunxi/usb_phy.h
board/sunxi/board.c
drivers/usb/musb-new/sunxi.c