Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B25C1C43334 for ; Wed, 22 Jun 2022 12:28:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 260A2811A6; Wed, 22 Jun 2022 14:28:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="q929CILJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 447D1801C3; Wed, 22 Jun 2022 14:28:55 +0200 (CEST) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 85780811A6 for ; Wed, 22 Jun 2022 14:28:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x735.google.com with SMTP id d128so12364506qkg.8 for ; Wed, 22 Jun 2022 05:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=RFBt+/C85Xtyw37336I6iqzGh3cqq1UcZ99xG9F8U9A=; b=q929CILJ2/9mL/aQs7lc8vJELsgNqBd27PBN7V8QWitRqNTVPRA6gV/Ew7bBaVQcKQ QnaedrPk3oBEyk2Ow58uRz1V9Z7ZlnJkqj+wcXqXp2YZKCyykkYE2oI0al+Yx9i+fu5O 2V+ZiHaGEuouvJ9AYgqhOALTzbm4EP6JTKbSU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RFBt+/C85Xtyw37336I6iqzGh3cqq1UcZ99xG9F8U9A=; b=cBAWU0wOnetfORy0+SodDX/PXDBnzqTF2s+/iNO4DqU3ptJMvT2iSVGh58IXvbyHBJ 0Y0PS+NnifbKuY7wNbEW/El6TMD6e8G8jjdRgvw5MCsr9C/bxjPOQL9AJcyzWthyxbmx 0QhX+1yZRi+T6Q2te9GN6Cz/MqGUTikI8uYxJaPfh0PMtAiLMtqwrc+MGWyxu/st9PVy 6LmTlxijSuna0ppqOAjOuu7pQYG41jNWy5xxdKLgFvKNUwvNPkH2Z1VImuHZ8YEH3ngJ 02NkHeZEr95M2GCLhpKeiC4d2R8nFd+yaz17oG20eQYzzeGv34QkBrqYlcm3QuL16Qp+ UL0w== X-Gm-Message-State: AJIora+lcR0zw/LEDC1uC40DLiOl/WRAhmHUQsgZhssAWbwuqmTbbIbw 275dyS/wKmI19FO1tNM8nBnkBA== X-Google-Smtp-Source: AGRyM1tG+3UaSxOaiVpxZ24tu+T4dmhrc5z72eBhdD81FRVuo9jEH7nqVxthCnYM4OLByduoP8W5HQ== X-Received: by 2002:a37:a5d0:0:b0:6a6:7cbc:dc2a with SMTP id o199-20020a37a5d0000000b006a67cbcdc2amr2011542qke.496.1655900931194; Wed, 22 Jun 2022 05:28:51 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id bi20-20020a05620a319400b006a6dcd92eb3sm15785790qkb.121.2022.06.22.05.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 05:28:50 -0700 (PDT) Date: Wed, 22 Jun 2022 08:28:48 -0400 From: Tom Rini To: Eugen.Hristev@microchip.com Cc: Sergiu.Moga@microchip.com, u-boot@lists.denx.de Subject: Re: OHCI: What is the current status with Driver Model Message-ID: <20220622122848.GZ2484912@bill-the-cat> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PcoH5N6Jh04pHA8O" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --PcoH5N6Jh04pHA8O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 22, 2022 at 06:34:58AM +0000, Eugen.Hristev@microchip.com wrote: > On 6/14/22 6:01 PM, Sergiu.Moga@microchip.com wrote: > > On 07.06.2022 18:27, Sergiu Moga wrote: > >> Hello, > >> > >> I want to convert our AT91 OHCI driver to Driver Model, but I am not > >> sure whether OHCI is fully supported or not in Driver Model. From what > >> I can see in `drivers/usb/host/` there are some OHCI drivers > >> registered into Driver Model, but the documentation[1] (perhaps > >> outdated) seems to specify that OHCI is not supported. > >> > >> Could you please tell me what is the current status of OHCI with > >> Driver Model? > >> > >> > >> [1] > >> https://u-boot.readthedocs.io/en/latest/develop/driver-model/usb-info.= html > >> > >> > >> Regards, > >> > >> Sergiu > >> > > Hello, > >=20 > > My apologies, Simon, I forgot to add you to cc. Do you happen to know > > the answer to my question? > >=20 > > Regards, > >=20 > > Sergiu > >=20 >=20 > + Tom >=20 > Hi Tom, >=20 > You have been asking about this Yes, I guess the documentation is out of date. With the exception of ohci-at91 and ohci-lpc32xx all of the other drivers support DM. The ohci-da8xx implementation is likely the easiest one to follow as it didn't do any rewriting but rather added a probe function and data structures to otherwise make use of the existing callers. It would be better to do a bigger re-org of the code as at this point DM_USB migration deadline has passed so all boards should be fixed up when updating the ohci-at91 driver. Thanks. --=20 Tom --PcoH5N6Jh04pHA8O Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmKzCv0ACgkQFHw5/5Y0 tyyASgwAmiBen+DXMoxkpj581TKb6xPQuydBpn0icnyHzWIWMin+jsG5cM8b8J72 /d31s7lRzZYC4JI6sY49gBmtIaWHq+4GllcGdGM+hvVqAYlYbWwlBu7b5IF43TSM elYwDpMjtJS5AMK+jVspROQBSvTfX7PntDbA3TN4jUdAHLbljl04Mx/RjhGcH/Dl 6DPimdu5TvRCW43FUZDNy4ije7YoyDBF8K/DD04HRfJGEn14YCYMsjHZzXvilton p9SnN0e8LAzbGCMqI55AngXOhCkt5raelwSvSVaeOc56DaeNggp6R0gOImnhV2jP vDpLw9H1wobUc6Belwu9RjzLY7I38WQqs8lxQRFGqnaRr3P/9i4VEcqr08M7Oxus oXXIFzOZ9BksM6WPQShK6QORY/MkHkRYpg3jKvbGgtiOxSUYF2c5LH826P+se41M 8hDD6WxM7iCreUOsVEjM1WWgrhRFRD7s4TpODa+GVWu5ozYniipFkZzzn+aCe6+s gDdWbug3 =tRSG -----END PGP SIGNATURE----- --PcoH5N6Jh04pHA8O--