[{"id":1766951,"web_url":"http://patchwork.ozlabs.org/comment/1766951/","msgid":"<CAPnjgZ0RVei41nnUTw=vLN84=4nL_FcPrwAkhss_ECEQk+-yRw@mail.gmail.com>","list_archive_url":null,"date":"2017-09-12T12:28:34","subject":"Re: [U-Boot] [PATCH 10/13] musb: sunxi: switch to the device model","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 8 September 2017 at 11:34, Maxime Ripard\n<maxime.ripard@free-electrons.com> wrote:\n> The device model was implemented so far using a hook that needed to be\n> called from the board support, without DT support and only for the host.\n>\n> Switch to probing both in peripheral and host mode through the DT.\n>\n> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>\n> ---\n>  arch/arm/include/asm/arch-sunxi/usb_phy.h |  7 +---\n>  board/sunxi/board.c                       |  1 +-\n>  drivers/usb/musb-new/sunxi.c              | 56 +++++++++++-------------\n>  3 files changed, 27 insertions(+), 37 deletions(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"uiA6rVit\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"ARb2BFBb\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xs46Z0gBKz9t7V\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 22:36:36 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 94ED7C22018; Tue, 12 Sep 2017 12:31:20 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 11144C22002;\n\tTue, 12 Sep 2017 12:30:18 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 3A108C21DF7; Tue, 12 Sep 2017 12:29:01 +0000 (UTC)","from mail-qt0-f169.google.com (mail-qt0-f169.google.com\n\t[209.85.216.169])\n\tby lists.denx.de (Postfix) with ESMTPS id 5652BC21FCD\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 12:28:56 +0000 (UTC)","by mail-qt0-f169.google.com with SMTP id m35so25125682qte.1\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 05:28:56 -0700 (PDT)","by 10.200.37.200 with HTTP; Tue, 12 Sep 2017 05:28:34 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=kGCQmQmWDhgqRCt1gBYtEnEv636HVIDZ30KddltfygQ=;\n\tb=uiA6rVit9fvpEXyi2zS7alsUw/S/Z7RHDdU2f5sbOLMNTo2FYLPlpSnHFJrXi3Kvjb\n\t4OqdC92mHITKw74gu3O3sJV3ZR3CJJ45v6jLkR+WU4eLwJzcAyvhBrvoWD4uMPUyJFVn\n\tOpoyBsEwqGuagkKS/5R6K2zVLvlylIhkdV467szqHOkZTMjbnM87dTvXfyi9fyM+S6J3\n\tuKiPEVAE5DnL1fqPCi2s0h1uFIGsT+43HzoQfAx1jCakgbSj9D5aDj2vgHod+WHbi5KH\n\tFUp9WSkIn7XaAHsV7i5EDeVc8qnm05+ejhi4bU3zyMYoaeyzhvcnbDl+2wKXQHnUaFaF\n\tJI4g==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=kGCQmQmWDhgqRCt1gBYtEnEv636HVIDZ30KddltfygQ=;\n\tb=ARb2BFBbq4xoO9uaPBWr8xbds8GbEoNFhWdBleeaqnQu13TDha2vF5Bu1/cGTMWkeI\n\tZmNuo6ZT9c78tE0Vjn1CycBdh+3cWsV+m/WPrQ7VE7bGl4YxdtX85KuViaHZqHnH/ura\n\t3SpqRQ3ty1ww+mICD8w0WXe8heOwJ/GVVdVOE="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=kGCQmQmWDhgqRCt1gBYtEnEv636HVIDZ30KddltfygQ=;\n\tb=h9eBKWWsMG9BqVtWWJ4r9bGajcG7bi2b7zIFHlBfLEy3vIwkvDMGbn8qda5sTvATSF\n\toF5zU6u5Q5fbcYZzX/nbr/Tm0NALjZfqgPtMqmsHiz+t0nmen/ZB9iK00PTSmrJdKVqw\n\tAckpMA1wLDu2T49qYffeJfmLELQX5JHR0RzU+K82Q3kRw4i7tq42cre1iRtN+ZJLwK1D\n\t1M2uaNfbKTlYeEtLth3XVZefz5QwJwxdDCYaLkIXiXG7A2g7rUMP/8eE9fdLsVjWlN+l\n\tTONETV8ILM1VUfDHpuVnue2sF72iVAK8cyIB/ZtDvTgxyxqtCORIOzR90QQnZ33HdnBZ\n\tLrYw==","X-Gm-Message-State":"AHPjjUjWN1KEZj6bv0l+iLlSVcVnVrovUeAstFFzrNhZFAu5Ozo2Rjn+\n\ttzNaPyzHh+NViyGt5AegA5vinKvshXGKqEE5Dsm0KQ==","X-Google-Smtp-Source":"AOwi7QBD3jcMbAWni4mpghwI35NTS2GBwEE/uivVNm5zGH5DFhhpaV2g/piCQJxZIpQvDcVs5lOuV0EYd2ovDhWJ+ug=","X-Received":"by 10.237.37.182 with SMTP id x51mr20189699qtc.5.1505219335077; \n\tTue, 12 Sep 2017 05:28:55 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<fa22bb997123f4af7dd9b37ec1bb78fe0549d626.1504891631.git-series.maxime.ripard@free-electrons.com>","References":"<cover.3b9463250a55d25afdf3b221b80a90b4e7811c1e.1504891631.git-series.maxime.ripard@free-electrons.com>\n\t<fa22bb997123f4af7dd9b37ec1bb78fe0549d626.1504891631.git-series.maxime.ripard@free-electrons.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Tue, 12 Sep 2017 06:28:34 -0600","X-Google-Sender-Auth":"qVlJj-KAtNRhpQUdkQK5uuzUX7k","Message-ID":"<CAPnjgZ0RVei41nnUTw=vLN84=4nL_FcPrwAkhss_ECEQk+-yRw@mail.gmail.com>","To":"Maxime Ripard <maxime.ripard@free-electrons.com>","Cc":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tTom Rini <trini@konsulko.com>, Marek Vasut <marex@denx.de>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>,\n\tJagan Teki <jagan@openedev.com>","Subject":"Re: [U-Boot] [PATCH 10/13] musb: sunxi: switch to the device model","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]