]> git.sur5r.net Git - u-boot/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)
commit3a61b080acee941a1b14b709b58ff9cde0b367bc
tree5212d24fc7d3d4dbf1c53d409dd6399a5547270b
parentcfa34996b0beb90e9b63a5b6f89c78123a2d428e
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