[U-Boot] [PATCH 10/13] musb: sunxi: switch to the device model

Simon Glass sjg at chromium.org
Tue Sep 12 12:28:34 UTC 2017


On 8 September 2017 at 11:34, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> 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.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---
>  arch/arm/include/asm/arch-sunxi/usb_phy.h |  7 +---
>  board/sunxi/board.c                       |  1 +-
>  drivers/usb/musb-new/sunxi.c              | 56 +++++++++++-------------
>  3 files changed, 27 insertions(+), 37 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list